[CentOS] mount options

Tue Nov 18 02:19:18 UTC 2014
Barry Brimer <lists at brimer.org>

On November 17, 2014 7:50:27 PM CST, Fred Smith <fredex at 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 at 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.