Hi all!
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=f787c482-fb92-4ba7-87d6-cfeaef6b64c2 /mnt/backup ext4 defaults,users 0 2
if the external unit (which attaches via e-sata) is NOT powered on when the system boots, it hangs and drops to a maintenance prompt.
I'd sure like to have it defer that particular mount and continue to boot.
I've been perusing various mount man pages, but don't see any ext4 (or non-filesystem-specific) opotions to allow this.
Can any of you offer helpful advice in this matter?
Thanks!
Fred
On 2014-11-18, Fred Smith fredex@fcshome.stoneham.ma.us wrote:
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=f787c482-fb92-4ba7-87d6-cfeaef6b64c2 /mnt/backup ext4 defaults,users 0 2
if the external unit (which attaches via e-sata) is NOT powered on when the system boots, it hangs and drops to a maintenance prompt.
I'd sure like to have it defer that particular mount and continue to boot.
You need the noauto option.
UUID=f787c482-fb92-4ba7-87d6-cfeaef6b64c2 /mnt/backup ext4 defaults,users,noauto 0 2
It's actually documented in the mount man page (as well as the fstab page).
--keith
On Mon, Nov 17, 2014 at 05:23:45PM -0800, Keith Keller wrote:
On 2014-11-18, Fred Smith fredex@fcshome.stoneham.ma.us wrote:
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=f787c482-fb92-4ba7-87d6-cfeaef6b64c2 /mnt/backup ext4 defaults,users 0 2
if the external unit (which attaches via e-sata) is NOT powered on when the system boots, it hangs and drops to a maintenance prompt.
I'd sure like to have it defer that particular mount and continue to boot.
You need the noauto option.
UUID=f787c482-fb92-4ba7-87d6-cfeaef6b64c2 /mnt/backup ext4 defaults,users,noauto 0 2
It's actually documented in the mount man page (as well as the fstab page).
--keith
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
On November 17, 2014 7:50:27 PM CST, Fred Smith fredex@fcshome.stoneham.ma.us wrote:
On Mon, Nov 17, 2014 at 05:23:45PM -0800, Keith Keller wrote:
On 2014-11-18, Fred Smith fredex@fcshome.stoneham.ma.us wrote:
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=f787c482-fb92-4ba7-87d6-cfeaef6b64c2 /mnt/backup ext4 defaults,users 0 2
if the external unit (which attaches via e-sata) is NOT powered on
when
the system boots, it hangs and drops to a maintenance prompt.
I'd sure like to have it defer that particular mount and continue
to boot.
You need the noauto option.
UUID=f787c482-fb92-4ba7-87d6-cfeaef6b64c2 /mnt/backup ext4 defaults,users,noauto 0 2
It's actually documented in the mount man page (as well as the fstab page).
--keith
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.
On 2014-11-18, Fred Smith fredex@fcshome.stoneham.ma.us wrote:
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?
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
On 11/17/2014 09:52 PM, Peter wrote:
On 11/18/2014 02:50 PM, Fred Smith wrote:
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.
You want the nofail option. Peter
Didn't the nofail option disappear from Centos 7? Ted Miller Elkhart, IN, USA