xfs
[Top] [All Lists]

Re: "No such file or directory" (still) (was Re: file corruption during

To: Dan Hollis <goemon@xxxxxxxxx>
Subject: Re: "No such file or directory" (still) (was Re: file corruption during emacs build on XFS logical volume
From: Steve Lord <lord@xxxxxxx>
Date: 08 Jan 2002 14:54:00 -0600
Cc: "Ralf G. R. Bergs" <rabe@xxxxxxxxxxxxxx>, Linux XFS <linux-xfs@xxxxxxxxxxx>
In-reply-to: <Pine.LNX.4.33.0201081205390.8416-100000@sasami.anime.net>
References: <Pine.LNX.4.33.0201081205390.8416-100000@sasami.anime.net>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Tue, 2002-01-08 at 14:08, Dan Hollis wrote:
> On 8 Jan 2002, Steve Lord wrote:
> > Hmm, I suspect it is not the same problem - but let me guess, this is
> > the system where you cannot run xfs_repair since there is no other
> > disk, or device present?
> 
> Yes
> 
> > Could you try what Ralf did, run xfs_db -r on the device (will work
> > on a mounted fs). Then run the blockget -n command - this appears to
> > do some consistency checks.
> 
> # xfs_db -r /dev/hda2
> xfs_db: blockget -n
> dir 25165952 block 0 bad stale tail count 2
> dir ino 25165952 missing leaf entry for 1c9a34eb/16d
> dir ino 25165952 missing leaf entry for 3366553e/97
> dir 46327620 size is 25, should be 24
> dir 58771462 bad size in entry at 6
> dir 67175607 bad size in entry at 6
> block 0/5859 type unknown not expected
> disconnected inode 176237, nlink 1
> block 3/5348 type unknown not expected
> disconnected inode 25243683, nlink 1
> disconnected inode 25243684, nlink 1
> disconnected inode 25243685, nlink 1
> disconnected inode 29460069, nlink 1
> disconnected inode 29460070, nlink 1
> disconnected inode 29460071, nlink 1
> disconnected inode 42106615, nlink 1
> disconnected inode 42106616, nlink 1
> disconnected inode 42106617, nlink 1
> disconnected inode 46344864, nlink 1
> disconnected inode 46344865, nlink 1
> disconnected inode 46344866, nlink 1
> disconnected inode 46344867, nlink 1
> disconnected inode 46344868, nlink 1
> disconnected inode 46344869, nlink 1
> disconnected inode 46344870, nlink 1
> disconnected inode 46344871, nlink 1
> disconnected inode 46344872, nlink 1
> disconnected inode 46344873, nlink 1
> disconnected inode 46344874, nlink 1
> disconnected inode 46344875, nlink 1
> disconnected inode 46344876, nlink 1
> disconnected inode 46344877, nlink 1
> disconnected inode 46344878, nlink 1
> disconnected inode 46344879, nlink 1
> disconnected inode 46344880, nlink 1
> disconnected inode 46344881, nlink 1
> disconnected inode 46344882, nlink 1
> disconnected inode 46344883, nlink 1
> disconnected inode 46344884, nlink 1
> disconnected inode 46344885, nlink 1
> disconnected inode 46344886, nlink 1
> disconnected inode 46344887, nlink 1
> disconnected inode 46344888, nlink 1
> disconnected inode 46344889, nlink 1
> disconnected inode 46344890, nlink 1
> disconnected inode 46344891, nlink 1
> disconnected inode 46344892, nlink 1
> disconnected inode 46344893, nlink 1
> disconnected inode 46344894, nlink 1
> disconnected inode 46344895, nlink 1
> disconnected inode 46344896, nlink 1
> disconnected inode 46344897, nlink 1
> disconnected inode 46344898, nlink 1
> disconnected inode 46344899, nlink 1
> disconnected inode 46344900, nlink 1
> disconnected inode 46344901, nlink 1
> disconnected inode 46344902, nlink 1
> disconnected inode 46344903, nlink 1
> disconnected inode 46344904, nlink 1
> disconnected inode 46344905, nlink 1
> disconnected inode 46344906, nlink 1
> disconnected inode 46344907, nlink 1
> disconnected inode 46344910, nlink 1
> disconnected inode 46344911, nlink 1
> disconnected inode 46344916, nlink 1
> disconnected inode 46326464, nlink 1
> disconnected inode 46326465, nlink 1
> disconnected inode 46205206, nlink 1
> disconnected inode 46326513, nlink 1
> disconnected inode 46326514, nlink 1
> disconnected inode 46326515, nlink 1
> disconnected inode 46326517, nlink 1
> disconnected inode 46326518, nlink 1
> disconnected inode 46326519, nlink 1
> disconnected inode 46326520, nlink 1
> disconnected inode 46326521, nlink 1
> disconnected inode 46326522, nlink 1
> disconnected inode 46326525, nlink 1
> disconnected inode 46326526, nlink 1
> disconnected inode 46326527, nlink 1
> disconnected inode 58794944, nlink 1
> disconnected inode 58794945, nlink 1
> disconnected inode 58794946, nlink 1
> disconnected inode 58794947, nlink 1
> disconnected inode 58794948, nlink 1
> disconnected inode 58794968, nlink 1
> disconnected inode 58794969, nlink 1
> disconnected inode 58794970, nlink 1
> disconnected inode 67174913, nlink 1
> disconnected inode 67174914, nlink 1
> disconnected inode 67174915, nlink 1
> disconnected inode 67174916, nlink 1
> disconnected inode 67174917, nlink 1
> disconnected inode 71470540, nlink 1
> disconnected inode 71470541, nlink 1
> disconnected inode 71470542, nlink 1
> sb_fdblocks 4808556, counted 4808560


Ugh, that's one toasty little filesystem you have there, but the
corruption is not the same - in Ralf's case there was a single
byte changed.

If you could run the following I could see more of what has happened,
but I am not sure I will be able to deduce the cause:

inode 25165952
p
bmap
dblock 0
p

inode 46327620
p

inode 58771462
p

Thanks

   Steve


> 
> -Dan
> -- 
> [-] Omae no subete no kichi wa ore no mono da. [-]
-- 

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


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