25 Jun
2008
25 Jun
'08
18:17
Carlos E. R. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > > The Wednesday 2008-06-25 at 10:45 -0500, Moby wrote: > >> This is part of the ongoing saga with, what appears to be, a bug >> either in the kernel or reiserfs or both with OpenSuSE 11. Fairly >> extensively documented at >> https://bugzilla.novell.com/show_bug.cgi?id=389656 >> >> My machine has had hard crashes due to the above mentioned bug. >> After the last hard crash ( >> which occurred while doing rpmbuild on xorg src rpm) , I had to run >> fsck. fskc reports clean now (ran it one more time just to be sure), >> but I am stuck with /usr/src/packages/BUILD/xxx directories that I >> cannot delete. Attempts to delete those directory trees give the >> following error: >> >> cannot remove `xorg-server-1.4.2/GL': Input/output error >> >> Attempts to do ls -il on a directory to get the inode result in the >> same error. However, I was able to mv the above-mentioned BUILD to >> BUILD.000. So now it looks like the / resiferfs has corruption >> caused by last hard crash that is not recoverable with >> fsck.reiserfs. *MAJOR SIGH* > > How were you fsck-ing that partition? If that is the root filesystem > and can not be umounted then the reiserfsck program can not do aa > complete job. This is different from ext3, which can be checked while > mounted r/o. The procedure is to run the test from a rescue system in > DVD (the install disk) or from another partition (ie, boooting from > another partition). > > - -- Cheers, > Carlos E. R. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.4-svn0 (GNU/Linux) > > iD8DBQFIYoPetTMYHG2NR9URAveHAJwM3y3b5jYTEaOFxSirFBn06Nba1QCghGTi > JMLZ466nlsxzmSQFueiOVak= > =QHQb > -----END PGP SIGNATURE----- Steps for fsck: 1) Boot to single-user mode: init 1 2) Remount root as Ro: mount -remount,ro / 3) Do fsck: fsck.resiserfs --fix-fixable --rebuild-tree /dev/The fsck ran fine and the reason I say so is because it did claim to have found and fixed various inconsistencies, in addition to giving me some stuff in /lost+found. The undeleteable directory trees, as I mentioned in a subsequent post on the list, turned to be entries with corrupted uid's and gid's. Doing chown one by one from the top down allowed me to finally delete them. The bad uid and gids where low integers, 200+ (such as 286, 256 etc). -- --Moby They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org