Chad Kerner
2008-Jun-27 06:23 UTC
[Lustre-discuss] Repairing a filesystem with lfsck output
Hello, I have a filesystem that went south in a fairly bad way. The lfsck(ran in read-only mode) listed 31216 files that were ''not created'' and in the lfsck output log there were error messages about dangling inodes and when they were all added up, they equated out to 31216 dangling inodes. The question is: Is there a way to map the dangling inodes to the files in order to save the data? Chad -- Chad Kerner - ckerner at ncsa.uiuc.edu Systems Engineer, Storage Enabling Technologies National Center for Supercomputing Applications http://www.ncsa.uiuc.edu/~ckerner
Andreas Dilger
2008-Jun-27 23:41 UTC
[Lustre-discuss] Repairing a filesystem with lfsck output
On Jun 27, 2008 01:23 -0500, Chad Kerner wrote:> I have a filesystem that went south in a fairly bad way. The > lfsck(ran in read-only mode) listed 31216 files that were ''not created'' > and in the lfsck output log there were error messages about dangling > inodes and when they were all added up, they equated out to 31216 > dangling inodes. The question is: Is there a way to map the dangling > inodes to the files in order to save the data?Likely, yes. It depends on what is actually wrong. It MAY be that there is just a problem with one of the ostdb files and you don''t have any problem at all... Do you get IO errors when trying to access one of the dangling inodes? If not, then you probably don''t need to do anything. Cheers, Andreas -- Andreas Dilger Sr. Staff Engineer, Lustre Group Sun Microsystems of Canada, Inc.