mounting question
ok i have a question about a failing drive on my system and how it is mounted..
i have the drive set up in fstab to mount on boot like this /dev/sdb1 /mnt/drive1 ext3 defaults 1 2 however if the drive fails it will hault the boot. is there a way to set it up to still allow boot even the drive is dead or not there?? also if the drive does fail .....how do i get to edit the fstab from command line to get the system back up till the drive is replaced. i feel that day is comming soon ....i ordered a new drive however i would like to know the answers to these questions. Any help would be great. |
Quote:
/dev/sdb1 /mnt/drive1 ext3 noauto,user 1 2 (If you only allow root access then take out the user parameter.) Quote:
---------------- Steve Stites |
ok i will try that
|
nah that didnt work
Bad format on line 10 i added that line then rebooted after unpluging hard drive |
Try:
/dev/sdb1 /mnt/drive1 ext3 defaults,noauto,user 0 0 The "user" isn't necessary if you will try to mount it as root. Who is the owner of the filesystem? If it is root, then delete ",user". See the mount manpage for details on the mount options. If you unplugged the drive, then your drive assignments may have changed. A hard disk that used to be /dev/sdc might then be /dev/sdb. |
Quote:
|
Quote:
worked ......what does the 0 0 do ? |
jailbait
i wanted you to clearify somthing you said...you said
Boot a live CD and edit /etc/fstab from the live CD. could you explain how i would go about that ? |
Quote:
mkdir /sparrow mount -t ext3 /dev/sda3 /sparrow You need to use one of the editors installed on the live CD. vim is the almost universal editor on live CDs, so: vim /sparrow/etc/fstab make the necessary changes to fstab and save it. umount /sparrow to make sure the cache is flushed before you reboot: umount /sparrow ---------------------- Steve Stites |
need to be mounted at startup?
well lets dig a bit deeper......would i have to have to mount /dev/sdb1 in fstab to use samba ?? the samba share is on /mnt/data
only make sence i would have to have it fstab i dont want to have to mount it manually the os is Fedora 8, seems to mount auto anyway, regaurdles of fstab |
All times are GMT -5. The time now is 01:47 AM. |