Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logical Volume is in inconsistent state after running Windows chkdsk. #29

Open
BlueGoliath opened this issue Aug 12, 2019 · 29 comments
Open

Comments

@BlueGoliath
Copy link

Running chkdsk on a UDF partition formatted using GParted results in a working and usable UDF disk... however, running chkdsk anytime after results in an "Logical Volume is in inconsistent state" warning when checking the drives info via udfinfo.

Disk is a Seagate backup plus 1TB USB 3.0 drive.

@pali
Copy link
Owner

pali commented Aug 12, 2019

Can you create small UDF partition with this problem and provide dump of it?

@BlueGoliath
Copy link
Author

The only HDD I have is 1TB. How do I provide a dump?

Sorry, not exactly Linux savvy here. I've been trying to get a working UDF disk working for about 6 hours with multiple attempts made in Linux and in Windows 10.

@pali
Copy link
Owner

pali commented Aug 12, 2019

As you are using GParted, just create e.g. 10MB partition on it, not need to do full 1TB. And once you have it in that "non-working" state create dump via dd command (sudo dd if=/dev/your_partition of=/path/to/file_dump)

@BlueGoliath
Copy link
Author

BlueGoliath commented Aug 12, 2019

Alright. Here if chkdsk's output(if it helps anyway):

The type of the file system is UDF.
Volume Shared_Files is UDF version 2.01.

CHKDSK is verifying ICBs ...
ICB verification completed.
CHKDSK is looking for orphan ICBs ...
Search for orphans completed.
CHKDSK is verifying ICB links ...
ICB link verification completed.
CHKDSK is verifying link counts and parent entries ...
Link count and parent entry verification completed.
CHKDSK is checking system files.
CHKDSK is checking the directory tree for cycles.
CHKDSK is identifying lost files.
Lost file identification completed.
CHKDSK is verifying object size for ICBs with alternate data streams ...
ICB object size verification completed.
Correcting errors in Space Bitmap Descriptor at block 0.
Correcting errors in Unallocated Space Descriptor in the Volume
Descriptor Sequence.
Correcting errors in the Volume Descriptor Sequence.

Windows has made corrections to the file system.
No further action is required.

9983 KB total disk space.
1 KB in 2 files.
1 KB in 3 directories.
0 KB in 1 stream directories.
3 KB in use by the system.
9977 KB available on disk.

512 bytes in each allocation unit.
19966 total allocation units on disk.
19954 allocation units available on disk.

and uploaded is the dump.
dump.log

Disk is a 512 emulated(512 logical, 4096 phyiscal) drive. Don't know if that matters or not.

@pali
Copy link
Owner

pali commented Aug 12, 2019

udfinfo is right about inconsistent state. Logical Volume Integrity Descriptor is in Open state. And therefore fixing UDF filesystem is needed prior to using it.

Seems that you hit a bug in windows chkdsk which just damaged UDF filesystem.

@smagnani is working on fsck.udf so maybe would know about this problem or could look how to integrate fix procedure for these problems.

@BlueGoliath
Copy link
Author

Is there anyone at MS that could be contacted to check into this? I know at least one Microsoft employee on Reddit that I could try contacting but IDK but kind of response i'd actually get...

@smagnani
Copy link
Contributor

The dump is from after chkdsk has "repaired" the partition?
One thing that's important is to dismount the partition before dumping it, otherwise the dump can show phantom problems (LVID in open state) that aren't really there.
It would be useful to compare before-and-after dumps, i.e. do a dump in Linux after you've dismounted the partition but just before you unplug it or reboot to Windows. After running chkdsk either shutdown Windows or ask it to eject the drive (UDF is fragile, it's very important to dismount cleanly whenever possible), then do a dump in Linux (you may have to dismount the partition first if it gets automounted when the drive is attached).

--Steve

@smagnani
Copy link
Contributor

Also it might help to know versions of software components involved: Windows 7/10/?, which Linux kernel/distro, which GParted version.

@smagnani
Copy link
Contributor

Pali, from udfinfo output it does not look like the program checks to see whether the requested partition is currently mounted. That could explain a "udfinfo: Warning: Logical Volume is in inconsistent state" message where one isn't expected.

@BlueGoliath
Copy link
Author

Thanks smag.

Just for the giggles, I tried mounting and unmounting the disk from Gnome Disks right after using Gparted and you are correct: the warning only ever shows when it's mounted but NOT when it isn't.

Gparted doesn't mount the disk after formatting either and that dump was made directly after using Gparted without mounting.

Here is the log after Gparted but WITHOUT mounting it:

dump_before_nomount.log

I'm using Arch Linux which currently has Gparted V1 and I am using 5.2.8-zen1-1-zen kernel.

@BlueGoliath
Copy link
Author

Can you clarify on how "fragile" UDF is? I want this to be a shared drive between Windows and Linux and really don't want to manually unmount it every time...

@BlueGoliath
Copy link
Author

Same output behavior even after running chkdsk, warning shows when mounted but not when mounted:

dump_after_nomount.log

@smagnani
Copy link
Contributor

Pali, one thing I see in comparing the dumps is that chkdsk does not expect a terminating block following the 12 blocks of the VRS. That's why it complains about the Unallocated Space Descriptor. When it "repairs" the partition the terminating block becomes marked as unallocated volume space.

@smagnani
Copy link
Contributor

About fragility...I think you're seeing some of it - although I'd like to get to the bottom of it because you're seeing interoperatbility problems I haven't. It's late here so for now let me just point you to some recent threads:
https://lkml.org/lkml/2019/8/9/571 (IMO this is a serious Windows/Linux interoperability issue)
https://lkml.org/lkml/2019/7/9/596 (Issue 1 is fixed upstream now. Issue 4 might affect your 1 TB partitioning.)

@smagnani
Copy link
Contributor

Last for tonight...Ty, what version of Windows are you using? Can you right-click on chkdsk.exe (I think it's in C:\Windows\System32) and find its version property?

@BlueGoliath
Copy link
Author

Right, sorry for forgetting that.

File version is 10.0.18956.1000. Windows version is Windows 10 Pro for Workstations(insider preview).

Build is 18956.rs_prerelease.190803-1414.

@BlueGoliath
Copy link
Author

BlueGoliath commented Aug 13, 2019

I should also bring up that files made from within Linux are marked as read only in Windows. I assumed this was normal but the second link seems to describe this as an issue...

edit: and making them writable is persistent and is only needed once.

@pali
Copy link
Owner

pali commented Aug 13, 2019

Pali, from udfinfo output it does not look like the program checks to see whether the requested partition is currently mounted. That could explain a "udfinfo: Warning: Logical Volume is in inconsistent state" message where one isn't expected.

That is truth. But any other file disk utility (e.g. e2fsprogs) do not work correctly when using them on mounted file system.

I will probably add some checks if partition is mounted also for read-only operations. Or at least print warning that output data may be bogus.

@smagnani
Copy link
Contributor

smagnani commented Aug 13, 2019

Ty -

My chkdsk is 10.0.17134.1. I can get it to produce the same output yours does, so at least Microsoft hasn't introduced new bugs in your insider preview.

I think the "errors in Space Bitmap Descriptor at block 0" in your chkdsk output is a result of the issue described here:
7ac5640

That one can be worked around with a tweak to mkudffs. Pali, I remember said you were having trouble getting github to pull from my fork; can you just apply the change to your repo as a patch instead? Do you need me to mail you a .patch file?

Interestingly, there are no reports of Unallocated Space Descriptor errors unless you run chkdsk with /f. So that's apparently a bug in chkdsk, which is disappointing since it's really the only game in town at the moment. I wonder if chkdsk would like it better if mkudffs terminated the VRS with an actual Terminating Descriptor instead of a block of zeroes. If so we could work around that too.

@smagnani
Copy link
Contributor

Never mind. The standard is pretty clear, the block following the VRS has to be all zero (or unrecorded, which doesn't apply for HD media). So I guess the takeaway here is, always run chkdsk without the '/f' option first, and only re-run with repairs enabled if something is actually reported as wrong in the check-only pass.

Ty, can you clarify what you mean by "files made from within Linux are marked as read only in Windows"? Are files individually read-only in Windows, but the volume as a whole is writable? Or does Windows treat the volume as a whole as read-only? I've seen a lot of the latter, usually when the udfs.sys driver thinks the bitmap is missing or unusable, but I can't say I've seen the former.

@BlueGoliath
Copy link
Author

Individual folders and files. The media as a whole is writable.

@pali
Copy link
Owner

pali commented Aug 14, 2019

And are you able to change permissions for those individual folders and files either on Linux via chmod or on Windows via properties dialog?

@BlueGoliath
Copy link
Author

In Windows, yes. In Linux they are always writable.

@smagnani
Copy link
Contributor

Ty - nice catch. I never noticed that this was occurring, probably because I work much more in Linux than Windows.

This looks like an issue we might be able to fix in the Linux UDF driver. The problem is that UDF defines a slightly different set of basic file permissions than Linux - specifically, UDF has "delete" and "change attribute" permissions for each access class (user/group/other). There are no equivalents for these in Linux.

When the Linux UDF driver creates a file (or directory), no UDF delete or change attribute permissions are granted. It seems the lack of delete permission is what causes Windows to mark an item read-only when its permissions otherwise indicate that it should be read-write. If anyone (U or G or O) had delete permission the item would not be marked read-only.

For the record, I can't see that the UDF change attribute permission has any effect in Windows.

@BlueGoliath
Copy link
Author

BlueGoliath commented Aug 15, 2019

Thanks. I was just booting back and forth to make sure that both Linux and Windows where playing nice together with the UDF drive and ran into it.

So, with everything said, can UDF be used safety at all on a portable HDD? If not, is there rough guesses as to when it'll be in a usable state? I'd really like to offload my shared Windows games(Proton) and project files to it. Currently I'm using an NTFS drive but Linux corrupts it so often that I need to redownload games and repair it in Windows ...it's becoming a real bother. No other cross-platform FS(Fat32/64) that i'm aware of besides UDF has a rich feature set.

FYI, Windows sometimes runs chkdsk on startup... does it actually do anything that hurts the data at all?

@smagnani
Copy link
Contributor

I sent a patch upstream for the read-only issue, we'll see how it goes:
https://lkml.org/lkml/2019/8/19/555

Whether UDF can be used "safely" is a tricky question to answer. It depends on your use case and risk tolerance. My personal feeling is that UDF works best in read-only filesystems or those that are lightly updated. The more heavily the filesystem is updated, or the more UDF features it makes use of, the less I'd recommend it. From what you've said I think the same might be true for NTFS.

In part because UDF is not journaled, it's also a poor choice for users who don't want to dismount the filesystem gracefully. Reminds me of the Bad Old Days of SVR4 where filesystems were so very easy to corrupt.

The lack of a viable open-source fscker for UDF is a huge problem, especially given reports of filesystem damage caused by the only alternative (Windows chkdsk). I've personally lost an entire USB stick of files to a chkdsk 'repair'. The loss may have been provoked by corruption from some (now fixed) Linux UDF driver bugs, but at this point I would never attempt a chkdsk repair on a personal filesystem without making a backup first.

Having spent a good bit of time reviewing and trying to improve some open-source attempts at a UDF fscker, I can say that the richness of the standard makes development of a complete checker daunting. To avoid creating damage in places where none existed, any checker has to refuse to repair a filesystem that makes use of UDF features it doesn't support. Filesystem drivers probably need to adopt more of a "first do no harm" strategy for similar reasons.

Earlier you mentioned a Microsoft contact - it may help move the ball forward if we can bring recently identified bugs to Microsoft's attention:
https://lkml.org/lkml/2019/7/9/596
https://lkml.org/lkml/2019/7/11/294

@BlueGoliath
Copy link
Author

I think I just answered my own question:

`The type of the file system is UDF.
Volume Shared_Files is UDF version 2.01.

CHKDSK is verifying ICBs ...
Error in allocation descriptors for ICB at block 180749669. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 631684747 to 25262080 in ICB at block 180749669.
Correcting Recorded Blocks field in ICB at block 180749669.
Correcting invalid Object Size 631684747 to 25262080 in ICB at block 180749669.
Error in allocation descriptors for ICB at block 180847453. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 702382140 to 48643072 in ICB at block 180847453.
Correcting Recorded Blocks field in ICB at block 180847453.
Correcting invalid Object Size 702382140 to 48643072 in ICB at block 180847453.
Error in allocation descriptors for ICB at block 183297402. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 3396492 to 1256960 in ICB at block 183297402.
Correcting Recorded Blocks field in ICB at block 183297402.
Correcting invalid Object Size 3396492 to 1256960 in ICB at block 183297402.
Error in allocation descriptors for ICB at block 183357951. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 511328 to 327680 in ICB at block 183357951.
Correcting Recorded Blocks field in ICB at block 183357951.
Correcting invalid Object Size 511328 to 327680 in ICB at block 183357951.
Error in allocation descriptors for ICB at block 183426349. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 462864 to 164352 in ICB at block 183426349.
Correcting Recorded Blocks field in ICB at block 183426349.
Correcting invalid Object Size 462864 to 164352 in ICB at block 183426349.
Error in allocation descriptors for ICB at block 183426355. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 467984 to 94720 in ICB at block 183426355.
Correcting Recorded Blocks field in ICB at block 183426355.
Correcting invalid Object Size 467984 to 94720 in ICB at block 183426355.
Error in allocation descriptors for ICB at block 183431705. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 507400 to 98816 in ICB at block 183431705.
Correcting Recorded Blocks field in ICB at block 183431705.
Correcting invalid Object Size 507400 to 98816 in ICB at block 183431705.
Error in allocation descriptors for ICB at block 183476295. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 491296 to 431616 in ICB at block 183476295.
Correcting Recorded Blocks field in ICB at block 183476295.
Correcting invalid Object Size 491296 to 431616 in ICB at block 183476295.
Error in allocation descriptors for ICB at block 183478138. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 2515470 to 1305600 in ICB at block 183478138.
Correcting Recorded Blocks field in ICB at block 183478138.
Correcting invalid Object Size 2515470 to 1305600 in ICB at block 183478138.
Error in allocation descriptors for ICB at block 183483053. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 2754062 to 1848832 in ICB at block 183483053.
Correcting Recorded Blocks field in ICB at block 183483053.
Correcting invalid Object Size 2754062 to 1848832 in ICB at block 183483053.
Error in allocation descriptors for ICB at block 183492739. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1036814 to 258560 in ICB at block 183492739.
Correcting Recorded Blocks field in ICB at block 183492739.
Correcting invalid Object Size 1036814 to 258560 in ICB at block 183492739.
Error in allocation descriptors for ICB at block 183494919. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1144846 to 111104 in ICB at block 183494919.
Correcting Recorded Blocks field in ICB at block 183494919.
Correcting invalid Object Size 1144846 to 111104 in ICB at block 183494919.
Error in allocation descriptors for ICB at block 183496512. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 440080 to 106496 in ICB at block 183496512.
Correcting Recorded Blocks field in ICB at block 183496512.
Correcting invalid Object Size 440080 to 106496 in ICB at block 183496512.
Error in allocation descriptors for ICB at block 183513377. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 412424 to 14848 in ICB at block 183513377.
Correcting Recorded Blocks field in ICB at block 183513377.
Correcting invalid Object Size 412424 to 14848 in ICB at block 183513377.
Error in allocation descriptors for ICB at block 183611907. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 15155 to 8704 in ICB at block 183611907.
Correcting Recorded Blocks field in ICB at block 183611907.
Correcting invalid Object Size 15155 to 8704 in ICB at block 183611907.
Correcting Recorded Blocks field in ICB at block 183620034.
Correcting Recorded Blocks field in ICB at block 183620449.
Correcting Recorded Blocks field in ICB at block 183639672.
Correcting Recorded Blocks field in ICB at block 183669654.
Error in allocation descriptors for ICB at block 184570917. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1868128 to 283648 in ICB at block 184570917.
Correcting Recorded Blocks field in ICB at block 184570917.
Correcting invalid Object Size 1868128 to 283648 in ICB at block 184570917.
Error in allocation descriptors for ICB at block 230473853. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 2507677 to 2137600 in ICB at block 230473853.
Correcting Recorded Blocks field in ICB at block 230473853.
Correcting invalid Object Size 2507677 to 2137600 in ICB at block 230473853.
Error in allocation descriptors for ICB at block 230500827. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1846632 to 118784 in ICB at block 230500827.
Correcting Recorded Blocks field in ICB at block 230500827.
Correcting invalid Object Size 1846632 to 118784 in ICB at block 230500827.
Error in allocation descriptors for ICB at block 230502706. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 2036576 to 446464 in ICB at block 230502706.
Correcting Recorded Blocks field in ICB at block 230502706.
Correcting invalid Object Size 2036576 to 446464 in ICB at block 230502706.
Error in allocation descriptors for ICB at block 230524760. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 443752 to 295424 in ICB at block 230524760.
Correcting Recorded Blocks field in ICB at block 230524760.
Correcting invalid Object Size 443752 to 295424 in ICB at block 230524760.
Error in allocation descriptors for ICB at block 230531122. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 452440 to 102912 in ICB at block 230531122.
Correcting Recorded Blocks field in ICB at block 230531122.
Correcting invalid Object Size 452440 to 102912 in ICB at block 230531122.
Error in allocation descriptors for ICB at block 230531900. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 3497832 to 2542080 in ICB at block 230531900.
Correcting Recorded Blocks field in ICB at block 230531900.
Correcting invalid Object Size 3497832 to 2542080 in ICB at block 230531900.
Error in allocation descriptors for ICB at block 230532193. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 509448 to 107520 in ICB at block 230532193.
Correcting Recorded Blocks field in ICB at block 230532193.
Correcting invalid Object Size 509448 to 107520 in ICB at block 230532193.
Error in allocation descriptors for ICB at block 230532375. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 238936 to 91136 in ICB at block 230532375.
Correcting Recorded Blocks field in ICB at block 230532375.
Correcting invalid Object Size 238936 to 91136 in ICB at block 230532375.
Error in allocation descriptors for ICB at block 230532385. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1892184 to 130560 in ICB at block 230532385.
Correcting Recorded Blocks field in ICB at block 230532385.
Correcting invalid Object Size 1892184 to 130560 in ICB at block 230532385.
Error in allocation descriptors for ICB at block 230553765. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 3426072 to 94720 in ICB at block 230553765.
Correcting Recorded Blocks field in ICB at block 230553765.
Correcting invalid Object Size 3426072 to 94720 in ICB at block 230553765.
Error in allocation descriptors for ICB at block 230575920. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 508264 to 82944 in ICB at block 230575920.
Correcting Recorded Blocks field in ICB at block 230575920.
Correcting invalid Object Size 508264 to 82944 in ICB at block 230575920.
Error in allocation descriptors for ICB at block 230609261. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 4991496 to 86528 in ICB at block 230609261.
Correcting Recorded Blocks field in ICB at block 230609261.
Correcting invalid Object Size 4991496 to 86528 in ICB at block 230609261.
Error in allocation descriptors for ICB at block 230609607. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 513544 to 225792 in ICB at block 230609607.
Correcting Recorded Blocks field in ICB at block 230609607.
Correcting invalid Object Size 513544 to 225792 in ICB at block 230609607.
Error in allocation descriptors for ICB at block 230613442. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 530776 to 166400 in ICB at block 230613442.
Correcting Recorded Blocks field in ICB at block 230613442.
Correcting invalid Object Size 530776 to 166400 in ICB at block 230613442.
Error in allocation descriptors for ICB at block 230618028. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 518480 to 99328 in ICB at block 230618028.
Correcting Recorded Blocks field in ICB at block 230618028.
Correcting invalid Object Size 518480 to 99328 in ICB at block 230618028.
Error in allocation descriptors for ICB at block 230628787. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 511496 to 206336 in ICB at block 230628787.
Correcting Recorded Blocks field in ICB at block 230628787.
Correcting invalid Object Size 511496 to 206336 in ICB at block 230628787.
Error in allocation descriptors for ICB at block 230653776. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 597792 to 434688 in ICB at block 230653776.
Correcting Recorded Blocks field in ICB at block 230653776.
Correcting invalid Object Size 597792 to 434688 in ICB at block 230653776.
Error in allocation descriptors for ICB at block 230655770. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 2515470 to 402432 in ICB at block 230655770.
Correcting Recorded Blocks field in ICB at block 230655770.
Correcting invalid Object Size 2515470 to 402432 in ICB at block 230655770.
Error in allocation descriptors for ICB at block 230659871. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 237848 to 86528 in ICB at block 230659871.
Correcting Recorded Blocks field in ICB at block 230659871.
Correcting invalid Object Size 237848 to 86528 in ICB at block 230659871.
Error in allocation descriptors for ICB at block 230659872. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 2754062 to 250368 in ICB at block 230659872.
Correcting Recorded Blocks field in ICB at block 230659872.
Correcting invalid Object Size 2754062 to 250368 in ICB at block 230659872.
Error in allocation descriptors for ICB at block 230678122. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1662990 to 501760 in ICB at block 230678122.
Correcting Recorded Blocks field in ICB at block 230678122.
Correcting invalid Object Size 1662990 to 501760 in ICB at block 230678122.
Correcting invalid Information Length 1136 to 1040 in ICB at block 230678336.
Correcting invalid Object Size 1136 to 1040 in ICB at block 230678336.
Error in allocation descriptors for ICB at block 230685079. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 404724 to 18432 in ICB at block 230685079.
Correcting Recorded Blocks field in ICB at block 230685079.
Correcting invalid Object Size 404724 to 18432 in ICB at block 230685079.
Error in allocation descriptors for ICB at block 230738294. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 2332368 to 2192896 in ICB at block 230738294.
Correcting Recorded Blocks field in ICB at block 230738294.
Correcting invalid Object Size 2332368 to 2192896 in ICB at block 230738294.
Error in allocation descriptors for ICB at block 230744720. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 2323664 to 1246208 in ICB at block 230744720.
Correcting Recorded Blocks field in ICB at block 230744720.
Correcting invalid Object Size 2323664 to 1246208 in ICB at block 230744720.
Error in allocation descriptors for ICB at block 230745325. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 2414360 to 894464 in ICB at block 230745325.
Correcting Recorded Blocks field in ICB at block 230745325.
Correcting invalid Object Size 2414360 to 894464 in ICB at block 230745325.
Error in allocation descriptors for ICB at block 230766565. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 3426072 to 601088 in ICB at block 230766565.
Correcting Recorded Blocks field in ICB at block 230766565.
Correcting invalid Object Size 3426072 to 601088 in ICB at block 230766565.
Error in allocation descriptors for ICB at block 230788780. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 3807440 to 2835456 in ICB at block 230788780.
Correcting Recorded Blocks field in ICB at block 230788780.
Correcting invalid Object Size 3807440 to 2835456 in ICB at block 230788780.
Error in allocation descriptors for ICB at block 230822652. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 3977496 to 2052608 in ICB at block 230822652.
Correcting Recorded Blocks field in ICB at block 230822652.
Correcting invalid Object Size 3977496 to 2052608 in ICB at block 230822652.
Error in allocation descriptors for ICB at block 230872722. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 2754062 to 1731584 in ICB at block 230872722.
Correcting Recorded Blocks field in ICB at block 230872722.
Correcting invalid Object Size 2754062 to 1731584 in ICB at block 230872722.
Error in allocation descriptors for ICB at block 230875887. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 99611 to 78336 in ICB at block 230875887.
Correcting Recorded Blocks field in ICB at block 230875887.
Correcting invalid Object Size 99611 to 78336 in ICB at block 230875887.
Error in allocation descriptors for ICB at block 230880132. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1145870 to 1105920 in ICB at block 230880132.
Correcting Recorded Blocks field in ICB at block 230880132.
Correcting invalid Object Size 1145870 to 1105920 in ICB at block 230880132.
Error in allocation descriptors for ICB at block 230886637. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1037838 to 558592 in ICB at block 230886637.
Correcting Recorded Blocks field in ICB at block 230886637.
Correcting invalid Object Size 1037838 to 558592 in ICB at block 230886637.
Error in allocation descriptors for ICB at block 230887352. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 267272 to 86528 in ICB at block 230887352.
Correcting Recorded Blocks field in ICB at block 230887352.
Correcting invalid Object Size 267272 to 86528 in ICB at block 230887352.
Error in allocation descriptors for ICB at block 230890906. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1662990 to 910336 in ICB at block 230890906.
Correcting Recorded Blocks field in ICB at block 230890906.
Correcting invalid Object Size 1662990 to 910336 in ICB at block 230890906.
Error in allocation descriptors for ICB at block 230909515. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 15155 to 8704 in ICB at block 230909515.
Correcting Recorded Blocks field in ICB at block 230909515.
Correcting invalid Object Size 15155 to 8704 in ICB at block 230909515.
Error in allocation descriptors for ICB at block 230937194. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 239653 to 15360 in ICB at block 230937194.
Correcting Recorded Blocks field in ICB at block 230937194.
Correcting invalid Object Size 239653 to 15360 in ICB at block 230937194.
Error in allocation descriptors for ICB at block 230965979. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 15155 to 8704 in ICB at block 230965979.
Correcting Recorded Blocks field in ICB at block 230965979.
Correcting invalid Object Size 15155 to 8704 in ICB at block 230965979.
Error in allocation descriptors for ICB at block 231157150. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1063708 to 218112 in ICB at block 231157150.
Correcting Recorded Blocks field in ICB at block 231157150.
Correcting invalid Object Size 1063708 to 218112 in ICB at block 231157150.
Error in allocation descriptors for ICB at block 231220033. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 4178264 to 90624 in ICB at block 231220033.
Correcting Recorded Blocks field in ICB at block 231220033.
Correcting invalid Object Size 4178264 to 90624 in ICB at block 231220033.
Error in allocation descriptors for ICB at block 231262912. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 9252876 to 5489664 in ICB at block 231262912.
Correcting Recorded Blocks field in ICB at block 231262912.
Correcting invalid Object Size 9252876 to 5489664 in ICB at block 231262912.
Error in allocation descriptors for ICB at block 231387885. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 354072 to 288256 in ICB at block 231387885.
Correcting Recorded Blocks field in ICB at block 231387885.
Correcting invalid Object Size 354072 to 288256 in ICB at block 231387885.
Error in allocation descriptors for ICB at block 231472438. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 2846720 to 490496 in ICB at block 231472438.
Correcting Recorded Blocks field in ICB at block 231472438.
Correcting invalid Object Size 2846720 to 490496 in ICB at block 231472438.
Error in allocation descriptors for ICB at block 231516403. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 576000 to 210944 in ICB at block 231516403.
Correcting Recorded Blocks field in ICB at block 231516403.
Correcting invalid Object Size 576000 to 210944 in ICB at block 231516403.
Error in allocation descriptors for ICB at block 231583385. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 473600 to 230912 in ICB at block 231583385.
Correcting Recorded Blocks field in ICB at block 231583385.
Correcting invalid Object Size 473600 to 230912 in ICB at block 231583385.
Error in allocation descriptors for ICB at block 231680242. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1907552 to 336384 in ICB at block 231680242.
Correcting Recorded Blocks field in ICB at block 231680242.
Correcting invalid Object Size 1907552 to 336384 in ICB at block 231680242.
Error in allocation descriptors for ICB at block 231883781. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 4910088 to 147968 in ICB at block 231883781.
Correcting Recorded Blocks field in ICB at block 231883781.
Correcting invalid Object Size 4910088 to 147968 in ICB at block 231883781.
Error in allocation descriptors for ICB at block 231909137. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 530776 to 139776 in ICB at block 231909137.
Correcting Recorded Blocks field in ICB at block 231909137.
Correcting invalid Object Size 530776 to 139776 in ICB at block 231909137.
Error in allocation descriptors for ICB at block 231989104. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 2515470 to 586240 in ICB at block 231989104.
Correcting Recorded Blocks field in ICB at block 231989104.
Correcting invalid Object Size 2515470 to 586240 in ICB at block 231989104.
Error in allocation descriptors for ICB at block 232003659. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1036814 to 481280 in ICB at block 232003659.
Correcting Recorded Blocks field in ICB at block 232003659.
Correcting invalid Object Size 1036814 to 481280 in ICB at block 232003659.
Error in allocation descriptors for ICB at block 232005696. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1144846 to 332800 in ICB at block 232005696.
Correcting Recorded Blocks field in ICB at block 232005696.
Correcting invalid Object Size 1144846 to 332800 in ICB at block 232005696.
Error in allocation descriptors for ICB at block 232005882. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 267112 to 98816 in ICB at block 232005882.
Correcting Recorded Blocks field in ICB at block 232005882.
Correcting invalid Object Size 267112 to 98816 in ICB at block 232005882.
Error in allocation descriptors for ICB at block 232012203. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1662990 to 683520 in ICB at block 232012203.
Correcting Recorded Blocks field in ICB at block 232012203.
Correcting invalid Object Size 1662990 to 683520 in ICB at block 232012203.
Error in allocation descriptors for ICB at block 232023969. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 411500 to 15872 in ICB at block 232023969.
Correcting Recorded Blocks field in ICB at block 232023969.
Correcting invalid Object Size 411500 to 15872 in ICB at block 232023969.
Error in allocation descriptors for ICB at block 232036762. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 15155 to 8704 in ICB at block 232036762.
Correcting Recorded Blocks field in ICB at block 232036762.
Correcting invalid Object Size 15155 to 8704 in ICB at block 232036762.
ICB verification completed.
CHKDSK is looking for orphan ICBs ...
Search for orphans completed.
CHKDSK is verifying ICB links ...
ICB link verification completed.
CHKDSK is verifying link counts and parent entries ...
Link count and parent entry verification completed.
CHKDSK is checking system files.
CHKDSK is checking the directory tree for cycles.
CHKDSK is identifying lost files.
Lost file identification completed.
CHKDSK is verifying object size for ICBs with alternate data streams ...
ICB object size verification completed.
Correcting errors in Space Bitmap Descriptor at block 0.
Correcting partition free space for partition 0 to 1723594812 in Logical Volume
Integrity Descriptor.

Windows has checked the file system and found problems.
Run CHKDSK with the /F (fix) option to correct these.

976760575 KB total disk space.
114722767 KB in 17457 files.
1878 KB in 1600 directories.
0 KB in 1 stream directories.
238523 KB in use by the system.
861797406 KB available on disk.

   512 bytes in each allocation unit.

1953521150 total allocation units on disk.
1723594812 allocation units available on disk.

C:\Users\young>chkdsk /f D:
The type of the file system is UDF.
Volume Shared_Files is UDF version 2.01.

CHKDSK is verifying ICBs ...
Error in allocation descriptors for ICB at block 180749669. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 631684747 to 25262080 in ICB at block 180749669.
Correcting Recorded Blocks field in ICB at block 180749669.
Correcting invalid Object Size 631684747 to 25262080 in ICB at block 180749669.
Error in allocation descriptors for ICB at block 180847453. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 702382140 to 48643072 in ICB at block 180847453.
Correcting Recorded Blocks field in ICB at block 180847453.
Correcting invalid Object Size 702382140 to 48643072 in ICB at block 180847453.
Error in allocation descriptors for ICB at block 183297402. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 3396492 to 1256960 in ICB at block 183297402.
Correcting Recorded Blocks field in ICB at block 183297402.
Correcting invalid Object Size 3396492 to 1256960 in ICB at block 183297402.
Error in allocation descriptors for ICB at block 183357951. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 511328 to 327680 in ICB at block 183357951.
Correcting Recorded Blocks field in ICB at block 183357951.
Correcting invalid Object Size 511328 to 327680 in ICB at block 183357951.
Error in allocation descriptors for ICB at block 183426349. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 462864 to 164352 in ICB at block 183426349.
Correcting Recorded Blocks field in ICB at block 183426349.
Correcting invalid Object Size 462864 to 164352 in ICB at block 183426349.
Error in allocation descriptors for ICB at block 183426355. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 467984 to 94720 in ICB at block 183426355.
Correcting Recorded Blocks field in ICB at block 183426355.
Correcting invalid Object Size 467984 to 94720 in ICB at block 183426355.
Error in allocation descriptors for ICB at block 183431705. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 507400 to 98816 in ICB at block 183431705.
Correcting Recorded Blocks field in ICB at block 183431705.
Correcting invalid Object Size 507400 to 98816 in ICB at block 183431705.
Error in allocation descriptors for ICB at block 183476295. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 491296 to 431616 in ICB at block 183476295.
Correcting Recorded Blocks field in ICB at block 183476295.
Correcting invalid Object Size 491296 to 431616 in ICB at block 183476295.
Error in allocation descriptors for ICB at block 183478138. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 2515470 to 1305600 in ICB at block 183478138.
Correcting Recorded Blocks field in ICB at block 183478138.
Correcting invalid Object Size 2515470 to 1305600 in ICB at block 183478138.
Error in allocation descriptors for ICB at block 183483053. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 2754062 to 1848832 in ICB at block 183483053.
Correcting Recorded Blocks field in ICB at block 183483053.
Correcting invalid Object Size 2754062 to 1848832 in ICB at block 183483053.
Error in allocation descriptors for ICB at block 183492739. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1036814 to 258560 in ICB at block 183492739.
Correcting Recorded Blocks field in ICB at block 183492739.
Correcting invalid Object Size 1036814 to 258560 in ICB at block 183492739.
Error in allocation descriptors for ICB at block 183494919. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1144846 to 111104 in ICB at block 183494919.
Correcting Recorded Blocks field in ICB at block 183494919.
Correcting invalid Object Size 1144846 to 111104 in ICB at block 183494919.
Error in allocation descriptors for ICB at block 183496512. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 440080 to 106496 in ICB at block 183496512.
Correcting Recorded Blocks field in ICB at block 183496512.
Correcting invalid Object Size 440080 to 106496 in ICB at block 183496512.
Error in allocation descriptors for ICB at block 183513377. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 412424 to 14848 in ICB at block 183513377.
Correcting Recorded Blocks field in ICB at block 183513377.
Correcting invalid Object Size 412424 to 14848 in ICB at block 183513377.
Error in allocation descriptors for ICB at block 183611907. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 15155 to 8704 in ICB at block 183611907.
Correcting Recorded Blocks field in ICB at block 183611907.
Correcting invalid Object Size 15155 to 8704 in ICB at block 183611907.
Correcting Recorded Blocks field in ICB at block 183620034.
Correcting Recorded Blocks field in ICB at block 183620449.
Correcting Recorded Blocks field in ICB at block 183639672.
Correcting Recorded Blocks field in ICB at block 183669654.
Error in allocation descriptors for ICB at block 184570917. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1868128 to 283648 in ICB at block 184570917.
Correcting Recorded Blocks field in ICB at block 184570917.
Correcting invalid Object Size 1868128 to 283648 in ICB at block 184570917.
Error in allocation descriptors for ICB at block 230473853. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 2507677 to 2137600 in ICB at block 230473853.
Correcting Recorded Blocks field in ICB at block 230473853.
Correcting invalid Object Size 2507677 to 2137600 in ICB at block 230473853.
Error in allocation descriptors for ICB at block 230500827. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1846632 to 118784 in ICB at block 230500827.
Correcting Recorded Blocks field in ICB at block 230500827.
Correcting invalid Object Size 1846632 to 118784 in ICB at block 230500827.
Error in allocation descriptors for ICB at block 230502706. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 2036576 to 446464 in ICB at block 230502706.
Correcting Recorded Blocks field in ICB at block 230502706.
Correcting invalid Object Size 2036576 to 446464 in ICB at block 230502706.
Error in allocation descriptors for ICB at block 230524760. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 443752 to 295424 in ICB at block 230524760.
Correcting Recorded Blocks field in ICB at block 230524760.
Correcting invalid Object Size 443752 to 295424 in ICB at block 230524760.
Error in allocation descriptors for ICB at block 230531122. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 452440 to 102912 in ICB at block 230531122.
Correcting Recorded Blocks field in ICB at block 230531122.
Correcting invalid Object Size 452440 to 102912 in ICB at block 230531122.
Error in allocation descriptors for ICB at block 230531900. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 3497832 to 2542080 in ICB at block 230531900.
Correcting Recorded Blocks field in ICB at block 230531900.
Correcting invalid Object Size 3497832 to 2542080 in ICB at block 230531900.
Error in allocation descriptors for ICB at block 230532193. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 509448 to 107520 in ICB at block 230532193.
Correcting Recorded Blocks field in ICB at block 230532193.
Correcting invalid Object Size 509448 to 107520 in ICB at block 230532193.
Error in allocation descriptors for ICB at block 230532375. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 238936 to 91136 in ICB at block 230532375.
Correcting Recorded Blocks field in ICB at block 230532375.
Correcting invalid Object Size 238936 to 91136 in ICB at block 230532375.
Error in allocation descriptors for ICB at block 230532385. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1892184 to 130560 in ICB at block 230532385.
Correcting Recorded Blocks field in ICB at block 230532385.
Correcting invalid Object Size 1892184 to 130560 in ICB at block 230532385.
Error in allocation descriptors for ICB at block 230553765. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 3426072 to 94720 in ICB at block 230553765.
Correcting Recorded Blocks field in ICB at block 230553765.
Correcting invalid Object Size 3426072 to 94720 in ICB at block 230553765.
Error in allocation descriptors for ICB at block 230575920. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 508264 to 82944 in ICB at block 230575920.
Correcting Recorded Blocks field in ICB at block 230575920.
Correcting invalid Object Size 508264 to 82944 in ICB at block 230575920.
Error in allocation descriptors for ICB at block 230609261. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 4991496 to 86528 in ICB at block 230609261.
Correcting Recorded Blocks field in ICB at block 230609261.
Correcting invalid Object Size 4991496 to 86528 in ICB at block 230609261.
Error in allocation descriptors for ICB at block 230609607. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 513544 to 225792 in ICB at block 230609607.
Correcting Recorded Blocks field in ICB at block 230609607.
Correcting invalid Object Size 513544 to 225792 in ICB at block 230609607.
Error in allocation descriptors for ICB at block 230613442. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 530776 to 166400 in ICB at block 230613442.
Correcting Recorded Blocks field in ICB at block 230613442.
Correcting invalid Object Size 530776 to 166400 in ICB at block 230613442.
Error in allocation descriptors for ICB at block 230618028. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 518480 to 99328 in ICB at block 230618028.
Correcting Recorded Blocks field in ICB at block 230618028.
Correcting invalid Object Size 518480 to 99328 in ICB at block 230618028.
Error in allocation descriptors for ICB at block 230628787. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 511496 to 206336 in ICB at block 230628787.
Correcting Recorded Blocks field in ICB at block 230628787.
Correcting invalid Object Size 511496 to 206336 in ICB at block 230628787.
Error in allocation descriptors for ICB at block 230653776. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 597792 to 434688 in ICB at block 230653776.
Correcting Recorded Blocks field in ICB at block 230653776.
Correcting invalid Object Size 597792 to 434688 in ICB at block 230653776.
Error in allocation descriptors for ICB at block 230655770. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 2515470 to 402432 in ICB at block 230655770.
Correcting Recorded Blocks field in ICB at block 230655770.
Correcting invalid Object Size 2515470 to 402432 in ICB at block 230655770.
Error in allocation descriptors for ICB at block 230659871. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 237848 to 86528 in ICB at block 230659871.
Correcting Recorded Blocks field in ICB at block 230659871.
Correcting invalid Object Size 237848 to 86528 in ICB at block 230659871.
Error in allocation descriptors for ICB at block 230659872. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 2754062 to 250368 in ICB at block 230659872.
Correcting Recorded Blocks field in ICB at block 230659872.
Correcting invalid Object Size 2754062 to 250368 in ICB at block 230659872.
Error in allocation descriptors for ICB at block 230678122. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1662990 to 501760 in ICB at block 230678122.
Correcting Recorded Blocks field in ICB at block 230678122.
Correcting invalid Object Size 1662990 to 501760 in ICB at block 230678122.
Correcting invalid Information Length 1136 to 1040 in ICB at block 230678336.
Correcting invalid Object Size 1136 to 1040 in ICB at block 230678336.
Error in allocation descriptors for ICB at block 230685079. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 404724 to 18432 in ICB at block 230685079.
Correcting Recorded Blocks field in ICB at block 230685079.
Correcting invalid Object Size 404724 to 18432 in ICB at block 230685079.
Error in allocation descriptors for ICB at block 230738294. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 2332368 to 2192896 in ICB at block 230738294.
Correcting Recorded Blocks field in ICB at block 230738294.
Correcting invalid Object Size 2332368 to 2192896 in ICB at block 230738294.
Error in allocation descriptors for ICB at block 230744720. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 2323664 to 1246208 in ICB at block 230744720.
Correcting Recorded Blocks field in ICB at block 230744720.
Correcting invalid Object Size 2323664 to 1246208 in ICB at block 230744720.
Error in allocation descriptors for ICB at block 230745325. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 2414360 to 894464 in ICB at block 230745325.
Correcting Recorded Blocks field in ICB at block 230745325.
Correcting invalid Object Size 2414360 to 894464 in ICB at block 230745325.
Error in allocation descriptors for ICB at block 230766565. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 3426072 to 601088 in ICB at block 230766565.
Correcting Recorded Blocks field in ICB at block 230766565.
Correcting invalid Object Size 3426072 to 601088 in ICB at block 230766565.
Error in allocation descriptors for ICB at block 230788780. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 3807440 to 2835456 in ICB at block 230788780.
Correcting Recorded Blocks field in ICB at block 230788780.
Correcting invalid Object Size 3807440 to 2835456 in ICB at block 230788780.
Error in allocation descriptors for ICB at block 230822652. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 3977496 to 2052608 in ICB at block 230822652.
Correcting Recorded Blocks field in ICB at block 230822652.
Correcting invalid Object Size 3977496 to 2052608 in ICB at block 230822652.
Error in allocation descriptors for ICB at block 230872722. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 2754062 to 1731584 in ICB at block 230872722.
Correcting Recorded Blocks field in ICB at block 230872722.
Correcting invalid Object Size 2754062 to 1731584 in ICB at block 230872722.
Error in allocation descriptors for ICB at block 230875887. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 99611 to 78336 in ICB at block 230875887.
Correcting Recorded Blocks field in ICB at block 230875887.
Correcting invalid Object Size 99611 to 78336 in ICB at block 230875887.
Error in allocation descriptors for ICB at block 230880132. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1145870 to 1105920 in ICB at block 230880132.
Correcting Recorded Blocks field in ICB at block 230880132.
Correcting invalid Object Size 1145870 to 1105920 in ICB at block 230880132.
Error in allocation descriptors for ICB at block 230886637. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1037838 to 558592 in ICB at block 230886637.
Correcting Recorded Blocks field in ICB at block 230886637.
Correcting invalid Object Size 1037838 to 558592 in ICB at block 230886637.
Error in allocation descriptors for ICB at block 230887352. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 267272 to 86528 in ICB at block 230887352.
Correcting Recorded Blocks field in ICB at block 230887352.
Correcting invalid Object Size 267272 to 86528 in ICB at block 230887352.
Error in allocation descriptors for ICB at block 230890906. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1662990 to 910336 in ICB at block 230890906.
Correcting Recorded Blocks field in ICB at block 230890906.
Correcting invalid Object Size 1662990 to 910336 in ICB at block 230890906.
Error in allocation descriptors for ICB at block 230909515. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 15155 to 8704 in ICB at block 230909515.
Correcting Recorded Blocks field in ICB at block 230909515.
Correcting invalid Object Size 15155 to 8704 in ICB at block 230909515.
Error in allocation descriptors for ICB at block 230937194. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 239653 to 15360 in ICB at block 230937194.
Correcting Recorded Blocks field in ICB at block 230937194.
Correcting invalid Object Size 239653 to 15360 in ICB at block 230937194.
Error in allocation descriptors for ICB at block 230965979. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 15155 to 8704 in ICB at block 230965979.
Correcting Recorded Blocks field in ICB at block 230965979.
Correcting invalid Object Size 15155 to 8704 in ICB at block 230965979.
Error in allocation descriptors for ICB at block 231157150. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1063708 to 218112 in ICB at block 231157150.
Correcting Recorded Blocks field in ICB at block 231157150.
Correcting invalid Object Size 1063708 to 218112 in ICB at block 231157150.
Error in allocation descriptors for ICB at block 231220033. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 4178264 to 90624 in ICB at block 231220033.
Correcting Recorded Blocks field in ICB at block 231220033.
Correcting invalid Object Size 4178264 to 90624 in ICB at block 231220033.
Error in allocation descriptors for ICB at block 231262912. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 9252876 to 5489664 in ICB at block 231262912.
Correcting Recorded Blocks field in ICB at block 231262912.
Correcting invalid Object Size 9252876 to 5489664 in ICB at block 231262912.
Error in allocation descriptors for ICB at block 231387885. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 354072 to 288256 in ICB at block 231387885.
Correcting Recorded Blocks field in ICB at block 231387885.
Correcting invalid Object Size 354072 to 288256 in ICB at block 231387885.
Error in allocation descriptors for ICB at block 231472438. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 2846720 to 490496 in ICB at block 231472438.
Correcting Recorded Blocks field in ICB at block 231472438.
Correcting invalid Object Size 2846720 to 490496 in ICB at block 231472438.
Error in allocation descriptors for ICB at block 231516403. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 576000 to 210944 in ICB at block 231516403.
Correcting Recorded Blocks field in ICB at block 231516403.
Correcting invalid Object Size 576000 to 210944 in ICB at block 231516403.
Error in allocation descriptors for ICB at block 231583385. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 473600 to 230912 in ICB at block 231583385.
Correcting Recorded Blocks field in ICB at block 231583385.
Correcting invalid Object Size 473600 to 230912 in ICB at block 231583385.
Error in allocation descriptors for ICB at block 231680242. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1907552 to 336384 in ICB at block 231680242.
Correcting Recorded Blocks field in ICB at block 231680242.
Correcting invalid Object Size 1907552 to 336384 in ICB at block 231680242.
Error in allocation descriptors for ICB at block 231883781. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 4910088 to 147968 in ICB at block 231883781.
Correcting Recorded Blocks field in ICB at block 231883781.
Correcting invalid Object Size 4910088 to 147968 in ICB at block 231883781.
Error in allocation descriptors for ICB at block 231909137. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 530776 to 139776 in ICB at block 231909137.
Correcting Recorded Blocks field in ICB at block 231909137.
Correcting invalid Object Size 530776 to 139776 in ICB at block 231909137.
Error in allocation descriptors for ICB at block 231989104. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 2515470 to 586240 in ICB at block 231989104.
Correcting Recorded Blocks field in ICB at block 231989104.
Correcting invalid Object Size 2515470 to 586240 in ICB at block 231989104.
Error in allocation descriptors for ICB at block 232003659. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1036814 to 481280 in ICB at block 232003659.
Correcting Recorded Blocks field in ICB at block 232003659.
Correcting invalid Object Size 1036814 to 481280 in ICB at block 232003659.
Error in allocation descriptors for ICB at block 232005696. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1144846 to 332800 in ICB at block 232005696.
Correcting Recorded Blocks field in ICB at block 232005696.
Correcting invalid Object Size 1144846 to 332800 in ICB at block 232005696.
Error in allocation descriptors for ICB at block 232005882. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 267112 to 98816 in ICB at block 232005882.
Correcting Recorded Blocks field in ICB at block 232005882.
Correcting invalid Object Size 267112 to 98816 in ICB at block 232005882.
Error in allocation descriptors for ICB at block 232012203. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 1662990 to 683520 in ICB at block 232012203.
Correcting Recorded Blocks field in ICB at block 232012203.
Correcting invalid Object Size 1662990 to 683520 in ICB at block 232012203.
Error in allocation descriptors for ICB at block 232023969. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 411500 to 15872 in ICB at block 232023969.
Correcting Recorded Blocks field in ICB at block 232023969.
Correcting invalid Object Size 411500 to 15872 in ICB at block 232023969.
Error in allocation descriptors for ICB at block 232036762. Truncating
invalid allocation descriptors.
Correcting invalid Information Length 15155 to 8704 in ICB at block 232036762.
Correcting Recorded Blocks field in ICB at block 232036762.
Correcting invalid Object Size 15155 to 8704 in ICB at block 232036762.
ICB verification completed.
CHKDSK is looking for orphan ICBs ...
Search for orphans completed.
CHKDSK is verifying ICB links ...
ICB link verification completed.
CHKDSK is verifying link counts and parent entries ...
Link count and parent entry verification completed.
CHKDSK is checking system files.
CHKDSK is checking the directory tree for cycles.
CHKDSK is identifying lost files.
Lost file identification completed.
CHKDSK is verifying object size for ICBs with alternate data streams ...
ICB object size verification completed.
Correcting errors in Space Bitmap Descriptor at block 0.
Correcting partition free space for partition 0 to 1723594812 in Logical Volume
Integrity Descriptor.
Correcting errors in Unallocated Space Descriptor in the Volume
Descriptor Sequence.
Correcting errors in the Volume Descriptor Sequence.

Windows has made corrections to the file system.
No further action is required.

976760575 KB total disk space.
114722767 KB in 17457 files.
1878 KB in 1600 directories.
0 KB in 1 stream directories.
238523 KB in use by the system.
861797406 KB available on disk.

   512 bytes in each allocation unit.

1953521150 total allocation units on disk.
1723594812 allocation units available on disk.`

With only three games on a freshly formatted drive from Linux to Windows this all happened.

The Microsoft contact is just someone who posts the Insider previews on the Windows subreddit. I don't have MS on speed dial sadly, but i'll give it a shot.

@smagnani
Copy link
Contributor

Sorry. I wish it were ready for prime-time, I really do.

If you're able to get something like this to happen on a smaller filesystem, or can provide a recipe for how you populated this one, I can try to reconstruct the crashed airplane to see if there might be other Linux driver bugs we haven't found yet. I've never seen reports of "Error in allocation descriptors" before, never mind such extensive ones. There was a driver bug I fixed awhile back that could cause problems on large filesystems (https://lkml.org/lkml/2017/10/12/327) but I don't think bad allocation descriptors was one of the symptoms, and it doesn't look like your partition is quite large enough.

@pali
Copy link
Owner

pali commented Dec 4, 2019

I will probably add some checks if partition is mounted also for read-only operations. Or at least print warning that output data may be bogus.

Check added for udfinfo and udflabel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants