
Re: debug option not working
Hi,
Quote:
Here is my output with and without the debug option. Identical. Am I doing something wrong? My man page lists this as the correct method for getting the debug output.
Code:
[root@asdtest asd]# ntfs-3g -o ro,debug /dev/sdb1 /mnt/usb/
This is the correct way of getting debug output when accessing data from a user process, but in your situation, mounting failed and no data could be accessed.
Code:
ntfs_mst_post_read_fixup: magic: 0x44414142 size: 1024 usa_ofs: 21333 usa_count: 21332: Invalid argument
Record 0 has no FILE magic (0x44414142)
Failed to load $MFT: Input/output error
This is a severe error, which should only occur when a sector is partially written, but a usa_count of 21332 is wrong, so there must be another explanation such as bad partition table or bad boot sector, or software bug, or whatever. Did this occur after you acted on the partition table ?
For fixing this kind of error, I would recommend using chkdsk on a Windows box, provided the partition table is correct. Before doing that, it would be useful you got more information about the error, and post the result of :
Code:
ntfsfix -n /dev/sdb1
Please use a recent version of ntfsfix and do not forget the -n option.
Regards
Jean-Pierre