 |
|
Page 1 of 1
|
[ 8 posts ] |
|
| Author |
Message |
|
ThaNerd
Joined: Mon Feb 18, 2008 03:46 Posts: 4
|
 Failed to open inode
I've been using ntfs-3g for a while, now, without any hoes. But recently, i had problems with one of my disks and changed how they are all plugged in my box... A disk that was correctly handled before doesn't seem to work anymore.
Below is a copy-paste of three things:
The error message (with the command issued), then a "head" command, where you can see the "NTFS" disk header, and finally, a "version" command.
Code: www / # ntfs-3g /dev/hde1 /mnt/stor8 Failed to open inode: No such file or directory Failed to mount '/dev/hde1': No such file or directory www / # head /dev/hde1 [color=darkred](output removed because it makes a bug in mysql on ntfs-3g server)[/color] www / # ntfs-3g --version ntfs-3g: Unknown option '--version'.
ntfs-3g 1.810 - Third Generation NTFS Driver
Copyright (C) 2005-2006 Yura Pakhuchiy Copyright (C) 2006-2007 Szabolcs Szakacsits
Usage: ntfs-3g <device|image_file> <mount_point> [-o option[,...]]
Options: ro, force, locale=, uid=, gid=, umask=, fmask=, dmask=, streams_interface=. Please see details in the manual.
Example: ntfs-3g /dev/sda1 /mnt/win -o force,locale=en_EN.UTF-8
Ntfs-3g news, support and information: http://ntfs-3g.org www / #
(most parts have been deleted in "head" output because it causes a bug in mysql on this server) Now here's a few things you might need to know. - All this happends on a Linux Gentoo box, with a 2.6.22 kernel. - i have other NTFS disks on the same machine which are supported correctly - the "e" tells you it's not a classic setup. I actually have 6 hdd in this machine. hde and hdf are plugged onto a "Silicon Image, Inc. PCI0680 Ultra ATA-133 Host Controller" - hdf mounts correctly, but is vfat. - i didn't clearly check wether that hard disk has worked previously or not, but i *think* i remember it worked when it was on /dev/hdd. I fiddled a bit on my disks recently after having burnt one 300 gigs disk, changing them of place. Don't ever plug a hard disk's molex in when the computer is running ;D There is another error that came up but i consider it irrelevant. See below Code: www / # ntfs-3g /dev/hde2 /mnt/stor8 Error opening partition device: No such device or address Failed to startup volume: No such device or address Failed to mount '/dev/hde2': No such device or address You seem to have a SoftRAID/FakeRAID hardware and must use an activated, different device under /dev/mapper/, (e.g. /dev/mapper/nvidia_eahaabcc1) to mount NTFS. Please see the 'dmraid' documentation for help.
i don't have a /dev/mapper/ nor anything named dmraid
Thanks in advance for your help...
Oh, and before anyone suggests, "you should just put that disk back onto /dev/hdd", because if hdf works with vfat, there's nothing to "force" me to move it...
|
| Mon Feb 18, 2008 04:10 |
|
 |
|
szaka
Tuxera CTO
Joined: Tue Nov 21, 2006 23:15 Posts: 1645
|
You're using a very old, unsafe, and slow release of the NTFS-3G driver. You should upgrade:
http://packages.gentoo.org/package/sys-fs/ntfs3g
http://ntfs-3g.org/releases.html
What software did you use to create the NTFS partition? I think I know what the problem is.
|
| Mon Feb 18, 2008 14:05 |
|
 |
|
ThaNerd
Joined: Mon Feb 18, 2008 03:46 Posts: 4
|
I am currently upgrading ntfs-3g with version 1.2129 (i update my portage tree every two days in a cron job, but rarely ever "emerge world)
I've had this disk for a while now. And i'm not the kind of guys who formats such a big disk very often, thus i think it's been formatted under Windows XP Pro. But t could also be created with Partition Magic. I don't think i formatted it when i went to Vista, though.
So, the emerge ended, and i tried to issue this command again. No changes... So i -- even if i hate that -- rebooted the computer, and tried again, with no more luck.
|
| Tue Feb 19, 2008 11:49 |
|
 |
|
szaka
Tuxera CTO
Joined: Tue Nov 21, 2006 23:15 Posts: 1645
|
Partition Magic is indeed known to corrupt NTFS in all sort of ways and we are handling several of them already. But not your case ... yet ;)
Ok, I made a special driver for you. It will give more information what the problem is. Then we will know what corruption type needs to be cured.
The driver is at http://ntfs-3g.org/ntfs-3g-1.2219.tgz
Installation:
- remove the old ntfs-3g driver
- tar xzf ntfs-3g-1.2219.tgz
- cd ntfs-3g-1.2219
- ./configure (the ./ part is important)
- make
- sudo make install
- ntfs-3g /dev/hde2 /mnt/stor8
Then please send me the full output.
Thanks, Szaka
|
| Tue Feb 19, 2008 13:49 |
|
 |
|
ThaNerd
Joined: Mon Feb 18, 2008 03:46 Posts: 4
|
I did everything you asked me, and another thing (because as i said, there is NOT supposed to be any /dev/hde2 partition defined), all piping to a file (except in one occasion when i didn't know yet how to pipe stderr and copied thru a serie of "echo" commands.
So, i'll PM you an url with the log file...
|
| Thu Feb 21, 2008 13:26 |
|
 |
|
szaka
Tuxera CTO
Joined: Tue Nov 21, 2006 23:15 Posts: 1645
|
Quote: Error reading bootsector: Input/output error Failed to mount '/dev/hde1': Input/output error NTFS is either inconsistent, or you have hardware faults,
The error has changed and this one definitely refers to a hardware problem. More info: http://ntfs-3g.org/support.html#ioerror
|
| Fri Feb 22, 2008 00:46 |
|
 |
|
ThaNerd
Joined: Mon Feb 18, 2008 03:46 Posts: 4
|
I just found this in /var/log/messages. I guess i should have checked there before bugging you...
Code: Feb 21 11:21:04 www hde: dma_timer_expiry: dma status == 0x61 Feb 21 11:21:14 www hde: DMA timeout error Feb 21 11:21:14 www hde: dma timeout error: status=0xeb { Busy } Feb 21 11:21:14 www ide: failed opcode was: unknown Feb 21 11:21:14 www hde: DMA disabled Feb 21 11:21:14 www hdf: DMA disabled Feb 21 11:21:14 www ide2: reset: master: error (0xff?); slave: failed Feb 21 11:21:14 www hde: status error: status=0xff { Busy } Feb 21 11:21:14 www ide: failed opcode was: unknown Feb 21 11:21:14 www hde: drive not ready for command Feb 21 11:21:15 www ide2: reset: master: error (0xff?); slave: failed Feb 21 11:21:15 www end_request: I/O error, dev hde, sector 63 Feb 21 11:21:15 www Buffer I/O error on device hde1, logical block 0 Feb 21 11:21:15 www end_request: I/O error, dev hde, sector 71 Feb 21 11:21:15 www Buffer I/O error on device hde1, logical block 1 Feb 21 11:21:15 www end_request: I/O error, dev hde, sector 79 Feb 21 11:21:15 www Buffer I/O error on device hde1, logical block 2 Feb 21 11:21:15 www end_request: I/O error, dev hde, sector 87 Feb 21 11:21:15 www Buffer I/O error on device hde1, logical block 3 Feb 21 11:21:15 www end_request: I/O error, dev hde, sector 63 Feb 21 11:21:15 www Buffer I/O error on device hde1, logical block 0 Feb 21 11:29:20 www end_request: I/O error, dev hde, sector 63 Feb 21 11:29:20 www Buffer I/O error on device hde1, logical block 0 Feb 21 11:29:20 www end_request: I/O error, dev hde, sector 71 Feb 21 11:29:20 www Buffer I/O error on device hde1, logical block 1 Feb 21 11:29:20 www end_request: I/O error, dev hde, sector 79 Feb 21 11:29:20 www Buffer I/O error on device hde1, logical block 2 Feb 21 11:29:20 www end_request: I/O error, dev hde, sector 87 Feb 21 11:29:20 www Buffer I/O error on device hde1, logical block 3 Feb 21 11:29:20 www end_request: I/O error, dev hde, sector 63 Feb 21 11:29:20 www Buffer I/O error on device hde1, logical block 0 Feb 21 11:29:39 www end_request: I/O error, dev hde, sector 63 Feb 21 11:29:39 www Buffer I/O error on device hde1, logical block 0 Feb 21 11:29:39 www end_request: I/O error, dev hde, sector 71 Feb 21 11:29:39 www Buffer I/O error on device hde1, logical block 1 Feb 21 11:29:39 www end_request: I/O error, dev hde, sector 79 Feb 21 11:29:39 www Buffer I/O error on device hde1, logical block 2 Feb 21 11:29:39 www end_request: I/O error, dev hde, sector 87 Feb 21 11:29:39 www Buffer I/O error on device hde1, logical block 3 Feb 21 11:29:39 www end_request: I/O error, dev hde, sector 63 Feb 21 11:29:39 www Buffer I/O error on device hde1, logical block 0
Would it help to turn it into ext3? I guess all my data's lost, but well...
|
| Fri Feb 22, 2008 04:11 |
|
 |
|
szaka
Tuxera CTO
Joined: Tue Nov 21, 2006 23:15 Posts: 1645
|
ThaNerd wrote: Would it help to turn it into ext3?
No. They are hardware errors what software can't fix. Quote: I guess all my data's lost, but well...
Not necessarily. In theory a software could be written which saves data from those areas of the disk which are still working.
|
| Fri Feb 22, 2008 12:01 |
|
|
|
Page 1 of 1
|
[ 8 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 3 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
|
|
 |