XFS crash on lvm
Hi,
I use 2.4.18-xfs with lvm-tools-1.0.1rc4_iop10-fr2 lvm-base-1.2-fr1
I havw a 200GB lv. I had 2.4.16 running after fiddling with usb the whole machine crashed, reboot, the fs was corrupt. I had to zerosize the journal log, xfs_repair, everything in lost+found.
Reformating the fs didnt do the trick (ext3 or xfs) I got told when mounting the empty fs, the superblock was not found. Ok I did another xfs_repair, after I could reformat again and mount the empty xfs fs.
Put some data, after 10 hours I got this in kernel log:
Apr 2 18:07:33 dumbo Corruption of in-memory data detected. Shutting down filesystem: lvm(58,1) Apr 2 18:07:33 dumbo Please umount the filesystem, and rectify the
problem(s)
again the fs is corrupt. I searched google for this error and found somthing in sgi's mailinglist archive. Too bad oss.sgi.com is down since about 2 days :-(
thats why I ask here, anyone has an idea whats wrong here ? sofar I had only the best experience with lvm and xfs! all my other volumes seem intact....
Anyone got an Idea what I should do ?
sofar im waiting for oss.sgi.com to come back online to check what I can find about this error my kernel throws...
thx alot for any help.
regards,
Christophe
Signature · 5 lines
Christophe Zwecker mail: [email protected] Hamburg, Germany fon: +49 179 3994867 http://www.zwecker.de "Who is General Failure ? And why is he reading my disk ??"
Quoted 8 lines · Christophe Zwecker
Hi,
I use 2.4.18-xfs with lvm-tools-1.0.1rc4_iop10-fr2 lvm-base-1.2-fr1
I havw a 200GB lv. I had 2.4.16 running after fiddling with usb the whole machine crashed, reboot, the fs was corrupt. I had to zerosize the journal log,
xfs_repair, everything in lost+found.
Are you running on ide with write caching enabled? corruption after a crash is possible in that configuration. Also the forced shutdown path did used to corrupt the filesystem, so once you hit a forced shutdown it is possible to end up with a zeroed superblock and lose your root directory too. That is fixed in current code - which is difficult to get right now. There are ftp mirrors, here is one:
ftp://ftp.thebarn.com/mirror/SGI
Quoted 7 lines
Reformating the fs didnt do the trick (ext3 or xfs) I got told when mounting the empty fs, the superblock was not found. Ok I did another
xfs_repair, after I could reformat again and mount the empty xfs fs.Put some data, after 10 hours I got this in kernel log:
Quoted 8 lines
Apr 2 18:07:33 dumbo Corruption of in-memory data detected. Shutting down filesystem: lvm(58,1) Apr 2 18:07:33 dumbo Please umount the filesystem, and rectify theproblem(s)
again the fs is corrupt. I searched google for this error and found somthing in sgi's mailinglist archive. Too bad oss.sgi.com is down since about 2 days :-(
oss is getting rebuilt from scratch - and I suspect, that since it was scheduled to be relocated on Friday anyway, it will not be back until after that. Please don't complain to me about it by the way!
A new kernel should help, at least the forced shutdown will not trample on the filesystem.
Steve
Signature · 2 lines
Steve Lord voice: +1-651-683-3511 Principal Engineer, Filesystem Software email: [email protected]
im gonna kill myself! :-)
the 200gb volume was made of a 160gb and a 40 gb partition. I order for the kernel to see the whole 160gb I had applied the ide patch to the kernel, which I forgot to apply to 2.4.18!!
so now Im rebuilding 2.4.18-xfs with new ide driver, pretty sure everything be back after reboot, I alrady had used the xfs patch from below.
damn, Im stupid :-)
thx for your help anyways, you mentioning the patch made it click :-.)
regards,
Christophe
Quoted 10 lines · Steve Lord
Quoted 8 lines · Christophe Zwecker
Hi,
I use 2.4.18-xfs with lvm-tools-1.0.1rc4_iop10-fr2 lvm-base-1.2-fr1
I havw a 200GB lv. I had 2.4.16 running after fiddling with usb the whole machine crashed, reboot, the fs was corrupt. I had to zerosize the journal log,
xfs_repair, everything in lost+found.
Quoted 8 lines
Are you running on ide with write caching enabled? corruption after a crash is possible in that configuration. Also the forced shutdown path did used to corrupt the filesystem, so once you hit a forced shutdown it is possible to end up with a zeroed superblock and lose your root directory too. That is fixed in current code - which is difficult to get right now. There are ftp mirrors, here is one:
ftp://ftp.thebarn.com/mirror/SGI
Christophe Zwecker mail: [email protected]
Hamburg, Germany fon: +49 179 3994867
http://www.zwecker.de
"Who is General Failure ? And why is he reading my disk ??"
Hi!
Quoted 4 lines · Christophe Zwecker
[...]
the 200gb volume was made of a 160gb and a 40 gb partition. I order for the kernel to see the whole 160gb I had applied the ide patch to the kernel, which I forgot to apply to 2.4.18!!
What's the maximum hard drive space a 2.4.18 kernel is able to see without the IDE patch applied? Where did you get this IDE patch from?
Thanks for the info!
Greetings,
Holger
Quoted 3 lines · Christophe Zwecker
the 200gb volume was made of a 160gb and a 40 gb partition. I order for the kernel to see the whole 160gb I had applied the ide patch to the kernel, which I forgot to apply to 2.4.18!!
welcome to the club. I had to go fetch 400GB over the wire last time I did that, and zapped the data because I thought there was some other error.
Quoted 3 lines
so now Im rebuilding 2.4.18-xfs with new ide driver, pretty sure everything be back after reboot, I alrady had used the xfs patch from below.
it will be, at least it was with reiserfs.
Quoted 1 line
damn, Im stupid :-)
we're both stupid then. =)
Signature · 1 line
Terje
Quoted 3 lines · Holger Rauch
What's the maximum hard drive space a 2.4.18 kernel is able to see without the IDE patch applied?
like 134 GB or so I think., here my kernel boot msg withouth the patch:
Apr 1 21:18:26 dumbo hdc: 268435455 sectors (137439 MB) w/2048KiB
Cache, CHS=266305/16/63, UDMA(100)
with:
Apr 4 10:24:13 dumbo hdc: 320173056 sectors (163929 MB) w/2048KiB
Cache, CHS=19929/255/63, UDMA(100)
Quoted 1 line
Where did you get this IDE patch from?
http://www.kernel.org/pub/linux/kernel/people/hedrick/ide-2.4.18/
enjoy
Christophe
Signature · 6 lines
Christophe Zwecker :Sysctl Susannenstr. 26-28 20357 Hamburg phon/fax: +49 40 43099296/7 mail: [email protected]