Re: Corrupted filesystem: thoughts?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le Tue, 7 Oct 2014 21:56:57 +1100
Dave Chinner <david@xxxxxxxxxxxxx> écrivait:

> Is the log clean? (use xfs_logprint -t <dev> to determine that)
> 

No, it wasn't, that was probably the source of most of the ominous
messages. The many files in lost+found were probably deleted files

In case this may help someone, before running xfs_repair I've mounted
the volume in "ro,nonrecovery" mode, then ran this command to make a
listing of files with their inodes: 

 find /mnt/raid/ -print0 | xargs --null ls -di | gzip - > FILELIST.gz

Now I can reconnect manually most of the files in lost+found by
searching for them in FILELIST.

-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac@xxxxxxxxxxxxxx>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs





[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux