tuvok
02-18-2002, 08:05 PM
Hi Guys
I have this server ( RedHAt 6.2 ) it kept asking for fsck and a lot of drive errors, so i thought the drive was physically damaged, i put in a new drive, and cp'd all the info i needed over from old drive, now the server keeps asking for fsck "hda6 was not porperly unmounted" yet i always /sbin/reboot or /sbin/shutdown -h now so what could be causing this. I am really stuck. Why would a drive no unmount when you have shut down and rebooted properly.
cheers
bitserve
02-19-2002, 12:16 AM
This has happened to me for several different reasons. I'm not going to assume that you used any default partitioning, as I never haved. What's the mount point for hda6, and what filesystem?
Usually it's a result of a glibc update gone wrong, a kernel upgrade gone wrong, or some other reason that will cause your machine to be unable to run the filesystem utilities that it needs to unmount the drives.
However, since you only mention a problem with hda6, I'd say that it's probably more specific to that partition, and need more information.
Let us know if you resolve it.
jahsh
02-21-2002, 03:16 PM
try running this:
fsck /dev/hda6
then say yes to all
c3r3br0
02-22-2002, 05:43 PM
I'm not familiar with Red Hat 6.2, but fsck is used to check filesystems, i.e. /, /usr, /var, /etc. This is why when you copied from one disk to another it didn't do anyhting, because the filesystem is messed up, not the disk.
Run fsck on teh filesystem you're having problems with. You're suppose to do it when it is unmounted, but i've neveerhad any problems. If it doesn't sole the problem, then:
fsck -y will try to repair any filesystem problems
fsck -p is a watered down version of fsck -y.
Unmount the filesystem you're having problems with run fsck on it. If it is one for the OS : /, /etc, /var, /usr, then you will need to reboot into service mode so that teh fileysstem is unmounted and then run fsck on it.
Hope I helped.