I’ve got a Venus DS3R Pro2 external drive unit with two drives set up as RAID-1, and the raid volume is formatted as ext4.
it is listed in /etc/fstab as:
UUID
7 thoughts on - Mount Options
You need the noauto option.
UUID
thanks, Keith.
But I don’t think that’s what I want. I want it to mount when the system boots, but if for some reason it is not powered on, I don’t want it to hang up the whole boot process.
noauto says it won’t mount based on “mount -a”, and AFAIK that’s how the filesystems from fstab all get mounted at boot. No?
Fred
If you used autofs to mount it, and nothing tried to access it, I wonder if that would help.
Yes, you’re right. You can configure automount as Barry suggested. If you want to be lazy about it, you can add the appropriate mount command to rc.local. mount /mnt/backup should do it. AFAIK there is no option you can add to an fstab entry to make a failed mount of it nonfatal on boot (that functionality is built in to the startup scripts IIRC).
–keith
You want the nofail option.
Peter
Didn’t the nofail option disappear from CentOS 7?
Ted Miller Elkhart, IN, USA
That would be news to me, and it would be a serious loss of functionality if it did.
7 thoughts on - Mount Options
You need the noauto option.
UUID
thanks, Keith.
But I don’t think that’s what I want. I want it to mount when the system boots, but if for some reason it is not powered on, I don’t want it to hang up the whole boot process.
noauto says it won’t mount based on “mount -a”, and AFAIK that’s how the filesystems from fstab all get mounted at boot. No?
Fred
If you used autofs to mount it, and nothing tried to access it, I wonder if that would help.
Yes, you’re right. You can configure automount as Barry suggested. If you want to be lazy about it, you can add the appropriate mount command to rc.local. mount /mnt/backup should do it. AFAIK there is no option you can add to an fstab entry to make a failed mount of it nonfatal on boot (that functionality is built in to the startup scripts IIRC).
–keith
You want the nofail option.
Peter
Didn’t the nofail option disappear from CentOS 7?
Ted Miller Elkhart, IN, USA
That would be news to me, and it would be a serious loss of functionality if it did.
Peter