 |
|
Page 1 of 1
|
[ 24 posts ] |
|
Failed to read last sector (xxxxxxxxx): Invalid argument
| Author |
Message |
|
gambiting
|
 Failed to read last sector (xxxxxxxxx): Invalid argument
Hi! I have slackware 11.0,and I can't mount any of my ntfs drives.The error I have is:
Failed to read last sector (115346699): Invalid argument
Perhaps the volume is a RAID/LDM but it wasn't setup yet, or the
wrong device was used, or the partition table is incorrect.
Failed to startup volume: Invalid argument
Failed to mount '/dev/sda3': Invalid argument
The device '/dev/sda3' doesn't have a valid NTFS.
Maybe you selected the wrong device? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around?
What is strange,all my volumes works fine in widnows,and with standard linux ntfs(read-only).Any solutions?
|
| Sun Jan 14, 2007 18:25 |
|
 |
|
szaka
Tuxera CTO
Joined: Tue Nov 21, 2006 23:15 Posts: 1645
|
 Slackware 11.0 and ntfs-3g
Please send the outputs of
fdisk -lu
dmraid -ay
dmraid -s
The kernel driver doesn't check full NTFS volume availability that's why it doesn't catch your problem. But this could be fatal for a full read-write driver as ntfs-3g.
|
| Sun Jan 14, 2007 18:32 |
|
 |
|
gambiting
|
for fdisk -lu
Code: Disk /dev/hda: 80.0 GB, 80060424192 bytes 255 heads, 63 sectors/track, 9733 cylinders, total 156368016 sectors Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System /dev/hda1 63 58717574 29358756 83 Linux /dev/hda2 58717575 62910539 2096482+ 82 Linux swap /dev/hda3 * 62910540 156360644 46725052+ 7 HPFS/NTFS
Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors Units = sectors of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System /dev/sda1 63 83891429 41945683+ 83 Linux /dev/sda3 83891430 199238125 57673348 7 HPFS/NTFS /dev/sda4 199238130 312576697 56669284 7 HPFS/NTFS
Disk /dev/sdb: 133 MB, 133283840 bytes 5 heads, 51 sectors/track, 1020 cylinders, total 260320 sectors Units = sectors of 1 * 512 = 512 bytes
for dmraid -ay & dmraid -s
|
| Sun Jan 14, 2007 21:53 |
|
 |
|
szaka
Tuxera CTO
Joined: Tue Nov 21, 2006 23:15 Posts: 1645
|
 Slackware 11.0 and ntfs-3g
Your partition table is corrupt. It says you have 115346696 sectors in
/dev/sdb3 but the NTFS boot sector says you have 115346699. The two must be
equal or even in the worst case the later must be smaller. You can probably
confirm this if you run 'ntfsresize --info --force /dev/sdb3' (this is a
read-only fsck).
What partition manager did you use to setup your problematic NTFS partition
and what software did you use to create the filesystem on it?
Szaka
|
| Sun Jan 14, 2007 22:29 |
|
 |
|
gambiting
|
It doesn't help,it gives:
Code: root@slackware-gambiting:~# ntfsresize --info --force /dev/sda3 ntfsresize v1.13.1 (libntfs 9:0:0) Device name : /dev/sda3 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 59057508864 bytes (59058 MB) Current device size: 59057508352 bytes (59058 MB) Checking filesystem consistency ... 100.00 percent completed Accounting clusters ... Space in use : 55228 MB (93.5%) Collecting resizing constraints ... You might resize at 55227052032 bytes or 55228 MB (freeing 3830 MB). Please make a test run using both the -n and -s options before real resizing!
And I still can't mount it with ntfs-3g(same error).Partitions were created using Windows XP.Is there any way to repair that partition table?
|
| Sun Jan 14, 2007 22:45 |
|
 |
|
szaka
Tuxera CTO
Joined: Tue Nov 21, 2006 23:15 Posts: 1645
|
 Slackware 11.0 and ntfs-3g
The ntfsresize output shows that NTFS is indeed bigger than the partition
which confirms that your partitioning is corrupt (you have found a bug in
ntfsresize).
What does Windows think, how big is the relevant partition in __bytes__?
|
| Sun Jan 14, 2007 23:14 |
|
 |
|
gambiting
|
Hold on,now the windows can't even read that partitions(what's strange they were working yesterday).It says that the drive is unformated,and if I want to format it.The disk menager says it is round 55.00gb.And they can be read using standard linux ntfs driver.Very strange.
|
| Sun Jan 14, 2007 23:49 |
|
 |
|
szaka
Tuxera CTO
Joined: Tue Nov 21, 2006 23:15 Posts: 1645
|
 Slackware 11.0 and ntfs-3g
On Sun, 14 Jan 2007, gambiting wrote:
Quote: Hold on,now the windows can't even read that partitions
That's the expected. I was very surprised Windows accepted it. Quote: (what's strange they were working yesterday).
You had to use some partitioner which corrupted your partition table or the NTFS boot sector. Either explicitly or implicitely (something invoked it). Quote: It says that the drive is unformated,and if I want to format it.The disk menager says it is round 55.00gb.Very strange.
Something made your partition at least 2 kB smaller than it was previously
but not the filesystem. That's why you have this problem.
You must make the relevant partition a bit bigger and things will be fine.
|
| Mon Jan 15, 2007 00:51 |
|
 |
|
Ralph Corderoy
Joined: Thu May 01, 2008 19:03 Posts: 2
|
 Windows XP Creates a Filesystem Larger than the Partition.
szaka wrote: That's the expected. I was very surprised Windows accepted it. Hi, I've come found this thread using search. I've a 500GB SATA hard drive which Windows XP happily partitioned with a single primary partition and then formatted as NTFS. When accessing this disc with Ubuntu 8.04 I find that the partition has been created by Windows XP to be larger than the device. Code: P$ sudo sfdisk -l -uS /dev/sdc
Disk /dev/sdc: 60801 cylinders, 255 heads, 63 sectors/track Units = sectors of 512 bytes, counting from 0
Device Boot Start End #sectors Id System /dev/sdc1 63 976784129 976784067 7 HPFS/NTFS /dev/sdc2 0 - 0 0 Empty /dev/sdc3 0 - 0 0 Empty /dev/sdc4 0 - 0 0 Empty P$ sudo sfdisk -V /dev/sdc Warning: partition 1 extends past end of disk P$
Sure enough, Code: 976784129 + 1 - (60801 * 255 * 63) = 16,065 16,065 / 63 = 255 it looks to have made the partition one cylinder too long past the end of the disk. However, sudo mount /dev/sdc works just fine, as does Code: $ sudo ntfsresize -i /dev/sdc1 ntfsresize v2.0.0 (libntfs 10:0:0) Device name : /dev/sdc1 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 500106781184 bytes (500107 MB) Current device size: 500113442304 bytes (500114 MB) Checking filesystem consistency ... 100.00 percent completed Accounting clusters ... Space in use : 168730 MB (33.7%) Collecting resizing constraints ... You might resize at 168729907200 bytes or 168730 MB (freeing 331377 MB). Please make a test run using both the -n and -s options before real resizing! $ If I alter the partition table to have the partition correctly end at the end of the disc, I get an error on trying to mount or from ntfs-3g.probe -r /dev/sdc1 pointing out it Failed to read last sector, understandably. I think the solution is to resize the NTFS to be within the bounds of the disc, and then shrink the partition to end at the end of the disc. However, I think ntfs-3g folks should be aware that filesystems like this come along. I asked TestDisk's author, Christophe Grenier, about this and he said Quote: It's a very common problem for partition created by Windows or Partition Magic. TestDisk is tolerant with this problem...
Christophe sees an awful lot of Windows discs with his TestDisk work so I wonder if it would be a good idea for ntfs-3g to also become aware that this situation can occur.
Cheers, Ralph Corderoy.
|
| Thu May 01, 2008 19:26 |
|
 |
|
szaka
Tuxera CTO
Joined: Tue Nov 21, 2006 23:15 Posts: 1645
|
Hi Ralph,
Thanks for the info but thankfully no need to worry.
NTFS-3G doesn't need and use the partition size in any way. No matter if the partition size is outside of the disk, if the file system size is inside of the accessible media (what NTFS-3G does test) then NTFS will work fine and no need to fear something can get lost or corrupted.
The relevant NTFS-3G check is for file system, not partition accessibility. By this explicit test, it catches these errors during a mount attempt:
1. RAID/LDM wasn't setup.
2. Corrupt partition table (corrupt file system).
3. Corrupt NTFS boot sector.
I know Christophe and helped him in the past how to fix corrupt partition tables (quite many partitioning tools do it unfortunately but these problems were typically submitted to us because people thought it was NTFS corruption instead of partition table corrupts).
NTFS-3G is used probably on some millions of computers. If there were something horrible wrong then people would start to report it. So, as long as Windows creates the file system correctly, no need to worry. If it starts creating corrupt NTFS then NTFS-3G will immediately catch the problem and we will notify Microsoft.
Regards, Szaka
|
| Sun May 04, 2008 00:24 |
|
 |
|
Ralph Corderoy
Joined: Thu May 01, 2008 19:03 Posts: 2
|
Hi szaka, thanks for your detailed reply. I agree with what you say and wasn't very clear in what I thought could be done. A ex-Windows user putting his hard drive on a Linux machine finds that (a) his partition extends beyond the disc and (b) if he fixes this then ntfs-3g reasonably points out that it `Failed to read last sector' which it doesn't before the partition is resized. Neither of these things showed up under Windows so he may wrongly think Linux is to blame.
I'm guess (b) only happens after the partition is shrunk because ntfs-3g doesn't try to read() the last sector when the partition is bigger than the disc, but just tries to lseek() to that position. Since it isn't an error to seek past the end of the disc as long as you stay inside the partition, lseek() works, but it is an error to seek past the end of the partition, so once the user has made the partition end within the disk, lseek then fails. I think ntfs-3g should do both the lseek() and a read(), if the former works and the latter fails then it suggests the partition ends beyond the disc and the user could be warned.
Anyway, this is all a bit puzzling for the Windows user and perhaps the ntfs-3g FAQ can have an entry explaining that WinXP does erroneously create a partition bigger than the drive, it isn't Linux getting it wrong, and the fix is to first shrink the filesystem so it fits in the disc space, and then shrink the partition.
With that FAQ in place, there may be more help for those that Google in the future.
Cheers, Ralph.
|
| Sun May 04, 2008 12:34 |
|
 |
|
cstuartf
Joined: Wed Sep 03, 2008 11:29 Posts: 2
|
I'm having the same trouble trying to mount a partition bigger than the drive. Is there a way to force ntfs-3g to ignore this error? Up until a few days ago I was using a much older version of ntfs-3g(over a year) and it must have ignored it. I have it mounted with the read-only ntfs driver for now.
here the output of fdisk -lu
Disk /dev/hdb: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders, total 390721968 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xc5fd5877
Device Boot Start End Blocks Id System
/dev/hdb1 63 268430084 134215011 42 SFS
I'm not sure why it shows SFS as the filesystem but it definitely is NTFS and it works perfectly in windows.
Thanks for all of the hard work that made ntfs-3g possible!
|
| Wed Sep 03, 2008 11:57 |
|
 |
|
szaka
Tuxera CTO
Joined: Tue Nov 21, 2006 23:15 Posts: 1645
|
SFS is not a basic NTFS but a dynamic NTFS volume which usually consist of several devices/partitions. You have the error because the end of your NTFS volume is missing, i.e. severely corrupted. The check is exactly there to detect and warn about these problems.
You need to setup your volume properly using the kernel LDM driver, mdadm, etc. This is totally unrelated to NTFS-3G.
|
| Wed Sep 03, 2008 12:40 |
|
 |
|
cstuartf
Joined: Wed Sep 03, 2008 11:29 Posts: 2
|
Thanks
|
| Wed Sep 03, 2008 18:59 |
|
 |
|
Rastaman108037
Joined: Thu Mar 12, 2009 23:40 Posts: 1
|
 Re: Windows XP Creates a Filesystem Larger than the Partition.
I'm having the same problem but I don't know how to fix it. I used Ubuntu 9.04 to install and it apparently screwed up somewhere. Here is my partition table. I'm very newbish with these types of things. How can I fix this? I was just going to start using linux today too... Code: sudo fdisk -lu
Disk /dev/sda: 320.0 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors Units = sectors of 1 * 512 = 512 bytes Disk identifier: 0x6e236e23
Device Boot Start End Blocks Id System /dev/sda1 * 63 543270104 271635021 7 HPFS/NTFS /dev/sda2 543270105 584123399 20426647+ 83 Linux /dev/sda3 584123400 585119429 498015 5 Extended /dev/sda5 584123463 585119429 497983+ 82 Linux swap / Solaris
|
| Thu Mar 12, 2009 23:48 |
|
 |
|
szaka
Tuxera CTO
Joined: Tue Nov 21, 2006 23:15 Posts: 1645
|
 Re: Windows XP Creates a Filesystem Larger than the Partition.
Rastaman108037 wrote: I'm having the same problem but I don't know how to fix it. I used Ubuntu 9.04 to install and it apparently screwed up somewhere. If Ubuntu made your NTFS partition smaller than the NTFS file system then you definitely must report it to them because you may lost data. The fix is either remove Linux and increase the Windows partition, or reinstall Windows, or save the partition table then create one large NTFS partition, resize the NTFS file system to be smaller then restore the original partition table (VERY DANGEROUS, HAVE BACKUP!). Regards, Szaka
|
| Tue Mar 17, 2009 03:45 |
|
 |
|
saidin
Joined: Mon May 18, 2009 14:42 Posts: 2
|
 Re: Failed to read last sector (xxxxxxxxx): Invalid argument
Hi, I have a similar problem to the ones mentioned, and can't figure out how to fix it. Here is a quick backstory, skip it if you want. Quote: A couple of months ago, I had 4 drives: 2x30gb (gentoo & vista), 2x250gb (file storage only). The 250's are ntfs, so that windows can use them for storage. Gentoo was quite happy to mount vista or the 250's.
Then I ran out of space. I swapped out the vista drive for a 500gb drive (and installed using vista's install). Everything continued to work.
Then last week my 30gb (gentoo) got unhappy and really slow. I swapped my old 30gb (old vista drive) and reinstalled gentoo on it. The 250's mount now, but the 500gb vista drive doesn't (note that it has been totally unchanged since the reinstall: It was mounting fine, I backed up work from the dieing 30gb (gentoo) onto it, unplugged all drives and installed gentoo on the spare). Windows still loads the drive fine, but ntfs-3g refuses. With the backstory out the way, here is some output: Code: saidin ~ # grep ntfs /etc/fstab /dev/sdb1 /mnt/store1 ntfs-3g users 0 0 /dev/sdc1 /mnt/store2 ntfs-3g users 0 0 /dev/sdd1 /mnt/vista ntfs-3g users 0 0
Code: saidin ~ # mount /mnt/vista/ Failed to read last sector (976769023): Invalid argument HINTS: Either the volume is a RAID/LDM but it wasn't setup yet, or it was not setup correctly (e.g. by not using mdadm --build ...), or a wrong device is tried to be mounted, or the partition table is corrupt (partition is smaller than NTFS), or the NTFS boot sector is corrupt (NTFS size is not valid). Failed to mount '/dev/sdd1': Invalid argument The device '/dev/sdd1' doesn't have a valid NTFS. Maybe you selected the wrong device? Or the whole disk instead of a partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around?
Code: saidin ~ # ntfsresize --info --force /dev/sdd1 ntfsresize v2.0.0 (libntfs 10:0:0) Device name : /dev/sdd1 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 500105736704 bytes (500106 MB) Current device size: 500105731584 bytes (500106 MB) ERROR: Current NTFS volume size is bigger than the device size! Corrupt partition table or incorrect device partitioning?
Code: saidin ~ # equery list ntfs3g [ Searching for package 'ntfs3g' in all categories among: ] * installed packages [I--] [ ] sys-fs/ntfs3g-1.2531 (0)
(that is the 2009.2.1 ebuild, but I also tried 2009.3.8) Using the kernel driver (mount -t ntfs /dev/sdd1/ /mnt/vista/) I can mount the drive in read only. With ntfsprogs (ntfsmount /dev/sdd1 /mnt/vista/) I can mount in rw. Using vista's drive manager, or diskpart.exe (both run as adminstrator) I am unable to shrink the drive. Any thoughts? Just in case you didn't read (or I said it badly): the vista drive *was* mountable with ntfs3g around a week ago and I have made *no* changes to it.
|
| Mon May 18, 2009 15:00 |
|
 |
|
szaka
Tuxera CTO
Joined: Tue Nov 21, 2006 23:15 Posts: 1645
|
 Re: Failed to read last sector (xxxxxxxxx): Invalid argument
This is your problem: "the partition table is corrupt (partition is smaller than NTFS)". More details: http://ntfs-3g.org/support.html#mbrIf you make the partition entry bigger then the driver will mount NTFS. Others mount it because they don't check for this type of inconsistency.
|
| Mon May 18, 2009 18:42 |
|
 |
|
saidin
Joined: Mon May 18, 2009 14:42 Posts: 2
|
 Re: Failed to read last sector (xxxxxxxxx): Invalid argument
How can I safely make the change? I'm not having any luck with parted. The link doesn't help much. Also, it seems the error is the partition is too big, but you say its too small? Sorry for my confusion..
|
| Mon May 18, 2009 19:22 |
|
 |
|
szaka
Tuxera CTO
Joined: Tue Nov 21, 2006 23:15 Posts: 1645
|
 Re: Failed to read last sector (xxxxxxxxx): Invalid argument
Parted is indeed infamous corrupting file systems this way in the last 6-7 years. The link doesn't explain how to fix the problem because your problem is not related in any way to NTFS. It's a partition table corruption, so you need to look for solution using a recovery or a partitioning software.
The partition (device) size is 500105731584 bytes which is smaller than the 500105736704 bytes NTFS volume size. This is your problem. The partition must be always at least as big as the file systems otherwise your file system is truncated and your data and file system metadata is lost which may mean even more non-accessible data on the partition.
When you started recently one of your partitioner software, it trashed the partition table and consequently the end of your NTFS file system.
|
| Mon May 18, 2009 19:42 |
|
 |
|
msdarmawan
Joined: Fri Nov 30, 2012 05:59 Posts: 2
|
 Re: Failed to read last sector (xxxxxxxxx): Invalid argument
Hi, I've a 3 TB USB external HDD. Everything was fine until last September 2012 and I unplugged the HDD without any problem. But today, I try to mount it with no luck. Then I come to this thread using google search. I use ubuntu 12.04 (Precise). And on windows, it doesn't recognized. I need some advice, please... Thanks. Here are some information you may need : Code: # mount /dev/sdc1 /media/seagate3 Failed to read last sector (732563999): Invalid argument Perhaps the volume is a RAID/LDM but it wasn't setup yet, or the wrong device was used, or the partition table is incorrect. Failed to mount '/dev/sdc1': Invalid argument The device '/dev/sdc1' doesn't have a valid NTFS. Maybe you selected the wrong device? Or the whole disk instead of a partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around? Code: # fdisk -lu
Disk /dev/sdb: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Disk identifier: 0x00013387
Device Boot Start End Blocks Id System /dev/sdb1 63 976768064 488384001 83 Linux Note: sector size is 4096 (not 512)
Disk /dev/sdc: 3000.5 GB, 3000592965632 bytes 255 heads, 63 sectors/track, 45600 cylinders, total 732566642 sectors Units = sectors of 1 * 4096 = 4096 bytes Disk identifier: 0x895fc756
Device Boot Start End Blocks Id System /dev/sdc1 2048 732566047 2930256000 7 HPFS/NTFS Code: # dmraid -ay ERROR: unsupported sector size 4096 on /dev/sdc. No RAID disks Code: # dmraid -s ERROR: unsupported sector size 4096 on /dev/sdc. No RAID disks Code: # ntfsresize --info --force /dev/sdc1 ntfsresize v2.0.0 (libntfs 10:0:0) Failed to read $MFTMirr: Input/output error. ERROR(5): Opening '/dev/sdc1' as NTFS failed: Input/output error NTFS is inconsistent. Run chkdsk /f on Windows then reboot it TWICE! The usage of the /f parameter is very IMPORTANT! No modification was and will be made to NTFS by this software until it gets repaired.
|
| Fri Nov 30, 2012 06:44 |
|
 |
|
jpa
NTFS-3G Lead Developer
Joined: Tue Sep 04, 2007 17:22 Posts: 1008
|
 Re: Failed to read last sector (xxxxxxxxx): Invalid argument
Hi, Quote: Disk /dev/sdc: 3000.5 GB, 3000592965632 bytes 255 heads, 63 sectors/track, 45600 cylinders, total 732566642 sectors Units = sectors of 1 * 4096 = 4096 bytes With a 4K-sector disk, you must use ntfs-3g version at least 2012.1.15. Please post the output of : Code: ntfs-3g 2>&1 | grep ration Code: # ntfsresize --info --force /dev/sdc1 ntfsresize v2.0.0 (libntfs 10:0:0) Hope this was unsuccessful ! You are using a very old ntfsresize which cannot deal with 4K sectors properly and might damage the partition. Please show the file system parameters, using a recent ntfsinfo and a recent ntfsfix : Code: # as root ntfsinfo -fm /dev/sdc1 # and ntfsfix -n /dev/sdc1 Regards Jean-Pierre
|
| Fri Nov 30, 2012 10:21 |
|
 |
|
msdarmawan
Joined: Fri Nov 30, 2012 05:59 Posts: 2
|
 Re: Failed to read last sector (xxxxxxxxx): Invalid argument
Thanks... There should be an additional information on my first post. All the code on my first post was produce on my ubuntu 8.04.04 LTS (Hardy), and I also try to mount on another machine with ubuntu 12.04.01 (Precise), but the result was the same as Hardy. A couple hours laters, I also did try to mount on another machine with ubuntu 10.04.03 LTS (Lucid) OS, and it was auto-mounted successfully ! Here is the info you might need on my Lucid machine : Code: # fdisk -lu
Disk /dev/sdc: 3000.6 GB, 3000592965632 bytes 255 heads, 63 sectors/track, 45600 cylinders, total 732566642 sectors Units = sectors of 1 * 4096 = 4096 bytes Sector size (logical/physical): 4096 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x895fc756
Device Boot Start End Blocks Id System /dev/sdc1 2048 732566047 2930256000 7 HPFS/NTFS Code: # ntfsresize --info --force /dev/sdc1 ntfsresize v2.0.0 (libntfs 10:0:0) Device name : /dev/sdc1 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 3000582144000 bytes (3000583 MB) Current device size: 3000582144000 bytes (3000583 MB) Checking filesystem consistency ... 100.00 percent completed Accounting clusters ... Space in use : 1126303 MB (37.5%) Collecting resizing constraints ... You might resize at 1126302429184 bytes or 1126303 MB (freeing 1874280 MB). Please make a test run using both the -n and -s options before real resizing! Well, I'm happy now, at least on Lucid it work fine. But still wonder why on Hardy and Precise (and also windows) did'nt work ??? Then I replug to Hardy machine to follow your suggestions, here are the result : Code: # ntfs-3g 2>&1 | grep ration # <no result here> Code: # ntfsinfo -fm /dev/sdc1 Failed to read $MFTMirr: Input/output error. Failed to mount '/dev/sdc1': Input/output error. NTFS is inconsistent. Run chkdsk /f on Windows then reboot it TWICE! The usage of the /f parameter is very IMPORTANT! No modification was made to NTFS by this software. Failed to open '/dev/sdc1'. Code: # ntfsfix -n /dev/sdc1 ntfsfix: invalid option -- n ntfsfix v2.0.0 (libntfs 10:0:0)
|
| Mon Dec 03, 2012 12:45 |
|
 |
|
jpa
NTFS-3G Lead Developer
Joined: Tue Sep 04, 2007 17:22 Posts: 1008
|
 Re: Failed to read last sector (xxxxxxxxx): Invalid argument
Hi, Quote: There should be an additional information on my first post. All the code on my first post was produce on my ubuntu 8.04.04 LTS (Hardy), and I also try to mount on another machine with ubuntu 12.04.01 (Precise), but the result was the same as Hardy.
A couple hours laters, I also did try to mount on another machine with ubuntu 10.04.03 LTS (Lucid) OS, and it was auto-mounted successfully ! Here is the info you might need on my Lucid machine : The OS versions are meaningless to me, what I need to know it the ntfs-3g version. Code: # ntfs-3g 2>&1 | grep ration # <no result here> Hmm. You are probably using an archaic version. Code: # ntfsfix -n /dev/sdc1 ntfsfix: invalid option -- n ntfsfix v2.0.0 (libntfs 10:0:0) This is definitely an archaic version. Quote: Well, I'm happy now, at least on Lucid it work fine. But still wonder why on Hardy and Precise (and also windows) did'nt work ??? I suspect you have formatted your 4K sectored disk with an old version of ntfs-3g, designed before any 4K sectored disk existed. The designer could not guess how Microsoft would format such disks, and he guessed wrong. Only since 2012.1.15 ntfs-3g uses the same format as Microsoft for 4K sectored disks, not compatible with the design of older ntfs-3g. If you formatted with an old mkntfs, you have either to keep using old ntfs-3g or reformat your partition. AFAIK chkdsk on Windows repairs such partitions by deleting all files. Regards Jean-Pierre
|
| Mon Dec 03, 2012 14:57 |
|
|
|
Page 1 of 1
|
[ 24 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 2 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|
 |