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

Re: unmount / ?




On Thu, 1 Jul 2004, William Ballard wrote:

> Due to various instabilities on my machine which I cannot identity: but 
> possibly due to being overclocked; or instabilities in the fglrx ATI 
> driver; or instabilities in ReiserFS, periodically I get some ReiserFS 
> corruption.  I keep a lot of backups.
> 
> For everything besides /, I can unmount then and run fsck on the 
> partitions.  fsck.reiserfs has a couple of options (--fix-fixable) and 
> (--rebuild-tree) that I occasionally need to run.
> 
> But I can't even do this at all to /, because it's in use.  I don't have 
> another linux partition to boot into; and it's probably important to use 
> the latest reiserfstools since I always run the latest kernel.  Knoppix 
> has issues with my hardware.

pick the right partition number

mount -o ro,remount /dev/hda1 /
	-- assumes you have enough memory and it wont try to fix
	the inodes of the program (reiserfs)  you are using to fix the
	supposedly bad disk

	-- you also risk breaking the / parition too if you're nto
	careful, but what the !@##%, its only system files 
	( nothing important :-) that you dont already have it backed up )

	-- you did tar zcvf /another_partition/etc.tgz /etc
	of the current state BEFORE you play w/ fsck'ing :-)

do your reiserfsck/ext2 checks ..
	-- keep your fingers crossed

mount -o rw,remount /dev/hda1 /
mount -av


and yeah... i do it all the time when the machine acts wierd,
since its already acting wiered anyway, nothing loss 
and fsck'ing might fix it

have fun
alvin



Reply to: