random29
07-24-2001, 04:11 AM
Hopefully someone can answer this puzzling question.
I have 2 hard drives installed. On my primary master drive (IBM 75GXP 80GB UltraDMA/100) I have both Winblows98 and Linux installed. On my primary slave drive (IBM 75GXP 14.4 UltraDMA/33) I have 3 fat32 partitions for games, apps, swap file, etc. Here is a partial listing of what I have in my /etc/fstab
/dev/hda5 on / type ext2 (rw)
/dev/hda7 on /home type ext2 (rw)
/dev/hda1 on /mnt/win_c type vfat (rw,
nosuid, nodev, umask=0,
codepage=850
iocharset=iso8559-1)
/dev/hda6 on /usr type ext2 (rw)
I'm running Linux Mandrake 8.0. When I booted my computer today, I got the following message
"/dev/hda6 was not cleanly unmounted.. checking forced". And I got a similar message "/dev/hda7 was not cleanly unmounted.. checking forced".
Why should I be getting this message? I know what damadge simply shutting off the power can do to your filesystems in Linux which is why I always first "Logout" of X then at the bash shell I type (as root)
shutdown -t3 -h now.
It is my understanding that the command "shutdown" when used with the "-h" switch unmounts all file systems specified in the /etc/fstab file. Could I be wrong?
I'm really concerned about this. I've had to reinstall Linux before because my filesystems were too corrupt for "e2fsck" to fix. If this happens again, I might just stick with Winblows98.. which would be pretty sad.
This leads to another question:
I know the proper syntax to use with the "e2fsck" command, e2fsck -a /dev/hda5 for example. But, the problem is you can't use e2fsck on a mounted filesystem (for good reason) nor can you "umount" a filesytem in use. So, it seems to me, the only way around this is booting from a Linux floppy disk. I made one using the "mkbootdisk" command. I booted my computer with the floppy disk and typed the following at the prompt:
linux 1
I then typed "mount" as root to see what partitions were mounted. Sure enough, /dev/hda5, /dev/hda6, were mounted. With those partitions mounted and "busy" running "e2fsck" is out of the question yet again.
I know that depending on how you've configured your /etc/fstab, that e2fsck, or is it fsck.*, will check the partition at boot-up for errors. But, I'd like to be alittle proactive. I'd like to be able to run e2fsck whenever I want, so that my filesystem will never be so %*%$ up I need to reinstall the OS.
Any help would be greatly appreciated?
:)
I have 2 hard drives installed. On my primary master drive (IBM 75GXP 80GB UltraDMA/100) I have both Winblows98 and Linux installed. On my primary slave drive (IBM 75GXP 14.4 UltraDMA/33) I have 3 fat32 partitions for games, apps, swap file, etc. Here is a partial listing of what I have in my /etc/fstab
/dev/hda5 on / type ext2 (rw)
/dev/hda7 on /home type ext2 (rw)
/dev/hda1 on /mnt/win_c type vfat (rw,
nosuid, nodev, umask=0,
codepage=850
iocharset=iso8559-1)
/dev/hda6 on /usr type ext2 (rw)
I'm running Linux Mandrake 8.0. When I booted my computer today, I got the following message
"/dev/hda6 was not cleanly unmounted.. checking forced". And I got a similar message "/dev/hda7 was not cleanly unmounted.. checking forced".
Why should I be getting this message? I know what damadge simply shutting off the power can do to your filesystems in Linux which is why I always first "Logout" of X then at the bash shell I type (as root)
shutdown -t3 -h now.
It is my understanding that the command "shutdown" when used with the "-h" switch unmounts all file systems specified in the /etc/fstab file. Could I be wrong?
I'm really concerned about this. I've had to reinstall Linux before because my filesystems were too corrupt for "e2fsck" to fix. If this happens again, I might just stick with Winblows98.. which would be pretty sad.
This leads to another question:
I know the proper syntax to use with the "e2fsck" command, e2fsck -a /dev/hda5 for example. But, the problem is you can't use e2fsck on a mounted filesystem (for good reason) nor can you "umount" a filesytem in use. So, it seems to me, the only way around this is booting from a Linux floppy disk. I made one using the "mkbootdisk" command. I booted my computer with the floppy disk and typed the following at the prompt:
linux 1
I then typed "mount" as root to see what partitions were mounted. Sure enough, /dev/hda5, /dev/hda6, were mounted. With those partitions mounted and "busy" running "e2fsck" is out of the question yet again.
I know that depending on how you've configured your /etc/fstab, that e2fsck, or is it fsck.*, will check the partition at boot-up for errors. But, I'd like to be alittle proactive. I'd like to be able to run e2fsck whenever I want, so that my filesystem will never be so %*%$ up I need to reinstall the OS.
Any help would be greatly appreciated?
:)