xfs
[Top] [All Lists]

Re: Corruption of in-memory data detected.

To: Steve Lord <lord@xxxxxxx>
Subject: Re: Corruption of in-memory data detected.
From: Utz Lehmann <ulehmann@xxxxxxxxxxxxxx>
Date: Thu, 25 Oct 2001 18:17:06 +0200
Cc: Utz Lehmann <ulehmann@xxxxxxxxxxxxxx>, "Martin K. Petersen" <mkp@xxxxxxx>, Marc Schmitt <schmitt@xxxxxxxxxxx>, Eric Sandeen <sandeen@xxxxxxx>, linux-xfs@xxxxxxxxxxx, florin@xxxxxxx
In-reply-to: <200110251538.f9PFcHh16594@jen.americas.sgi.com>; from lord@sgi.com on Thu, Oct 25, 2001 at 10:38:16AM -0500
References: <mkp@mkp.net> <200110251505.f9PF5De15624@jen.americas.sgi.com> <20011025173909.A1336@de.tecosim.com> <200110251538.f9PFcHh16594@jen.americas.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.3.12i
Hi Steve

Steve Lord [lord@xxxxxxx] wrote:
> 
> Utz Lehmann wrote:
> > 
> > Is the loop device unsign safe?
> 
> Damn, there you go complicating things again....
> 
>  I am at least going to dig down into xfs and capture the original
>  error which is shutting us down, from there maybe I can work out
>  where this is coming from.

loop is NOT unsign safe:


donner:/mnt # dd if=/dev/null of=loopfile bs=1024 seek=2247483648
0+0 records in
0+0 records out

donner:/mnt # ls -lh loopfile 
-rw-r--r--    1 root     root         2.1T Oct 25 18:06 loopfile

donner:/mnt # losetup /dev/loop0 loopfile 

donner:/mnt # dd if=/dev/loop0 bs=1024 count=1 skip=2147483648 | head -c10 | 
cat -v 
1+0 records in
1+0 records out
^@^@^@^@^@^@^@^@^@^@

This is ok.

donner:/mnt # seq 1 1000 | dd of=/dev/loop0 bs=1024
3+1 records in
3+1 records out

donner:/mnt # dd if=/dev/loop0 bs=1024 count=1 skip=2147483648 | head -c10 | 
cat -v 
1+0 records in
1+0 records out
1
2
3
4
5


Look just warping around.


Perhaps Marc could make this test with his md device.

utz


<Prev in Thread] Current Thread [Next in Thread>