All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] XFS crash on lvm
@ 2002-04-03 16:28 Christophe Zwecker
  2002-04-03 16:56 ` Steve Lord
  0 siblings, 1 reply; 6+ messages in thread
From: Christophe Zwecker @ 2002-04-03 16:28 UTC (permalink / raw)
  To: linux-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
-- 
Christophe Zwecker                     mail: doc@zwecker.de
Hamburg, Germany                        fon: +49 179 3994867
http://www.zwecker.de

"Who is General Failure ?  And why is he reading my disk ??"

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] XFS crash on lvm
  2002-04-03 16:28 [linux-lvm] XFS crash on lvm Christophe Zwecker
@ 2002-04-03 16:56 ` Steve Lord
  2002-04-04  2:15   ` Christophe Zwecker
  0 siblings, 1 reply; 6+ messages in thread
From: Steve Lord @ 2002-04-03 16:56 UTC (permalink / raw)
  To: linux-lvm, doc

On Wed, 2002-04-03 at 16:28, Christophe Zwecker wrote:
> 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

> 
> 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 :-(

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

-- 

Steve Lord                                      voice: +1-651-683-3511
Principal Engineer, Filesystem Software         email: lord@sgi.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] XFS crash on lvm
  2002-04-03 16:56 ` Steve Lord
@ 2002-04-04  2:15   ` Christophe Zwecker
  2002-04-04  3:17     ` Holger Rauch
  2002-04-04  4:15     ` Terje Kvernes
  0 siblings, 2 replies; 6+ messages in thread
From: Christophe Zwecker @ 2002-04-04  2:15 UTC (permalink / raw)
  To: Steve Lord; +Cc: linux-lvm

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

On Thu, 2002-04-04 at 00:56, Steve Lord wrote:
> On Wed, 2002-04-03 at 16:28, Christophe Zwecker wrote:
> > 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


Christophe Zwecker                     mail: doc@zwecker.de
Hamburg, Germany                        fon: +49 179 3994867
http://www.zwecker.de

"Who is General Failure ?  And why is he reading my disk ??"

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] XFS crash on lvm
  2002-04-04  2:15   ` Christophe Zwecker
@ 2002-04-04  3:17     ` Holger Rauch
  2002-04-04  4:34       ` Christophe Zwecker
  2002-04-04  4:15     ` Terje Kvernes
  1 sibling, 1 reply; 6+ messages in thread
From: Holger Rauch @ 2002-04-04  3:17 UTC (permalink / raw)
  To: linux-lvm

Hi!

On 4 Apr 2002, Christophe Zwecker wrote:

> [...] 
> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] XFS crash on lvm
  2002-04-04  2:15   ` Christophe Zwecker
  2002-04-04  3:17     ` Holger Rauch
@ 2002-04-04  4:15     ` Terje Kvernes
  1 sibling, 0 replies; 6+ messages in thread
From: Terje Kvernes @ 2002-04-04  4:15 UTC (permalink / raw)
  To: linux-lvm; +Cc: Steve Lord

Christophe Zwecker <doc@zwecker.de> writes:

> 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.
 
> 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.
 
> damn, Im stupid :-)

  we're both stupid then.  =)

-- 
Terje

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] XFS crash on lvm
  2002-04-04  3:17     ` Holger Rauch
@ 2002-04-04  4:34       ` Christophe Zwecker
  0 siblings, 0 replies; 6+ messages in thread
From: Christophe Zwecker @ 2002-04-04  4:34 UTC (permalink / raw)
  To: linux-lvm

On Thu, 2002-04-04 at 11:18, Holger Rauch wrote:

> 
> 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)

> Where did you get this IDE patch from?

http://www.kernel.org/pub/linux/kernel/people/hedrick/ide-2.4.18/

enjoy

Christophe
-- 
Christophe Zwecker
:Sysctl				
Susannenstr. 26-28		
20357 Hamburg			
phon/fax: +49 40 43099296/7		
mail: czwecker@sysctl.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-04-04  4:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-03 16:28 [linux-lvm] XFS crash on lvm Christophe Zwecker
2002-04-03 16:56 ` Steve Lord
2002-04-04  2:15   ` Christophe Zwecker
2002-04-04  3:17     ` Holger Rauch
2002-04-04  4:34       ` Christophe Zwecker
2002-04-04  4:15     ` Terje Kvernes

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.