andmalc <andm...@gmail.com> writes:

> I have a Jessie VPS with external disks attached.  The disks are specified
> in /etc/fstab with traditional /dev/sdXX naming.  I recently made
> changes to the disks that made a device name invalid but didn't
> notice. When I rebooted, the disk couldn't be found and boot halted in
> rescue mode.
>
> My question is: how can I specify devices in fstab so if they can't be
> found boot proceeds proceeds normally instead of halting?  Would
> mounting with systemd with the 'device-timeout' option as described
> here be a good way?
>
> https://wiki.archlinux.org/index.php/fstab#Automount_with_systemd

Use UUIDs.  A typical line in my /etc/fstab looks like

UUID=edef6980-c414-4718-952e-a6b5e41204c3 /               ext4    
errors=remount-ro 0       1

Here's an introduction to them:

https://liquidat.wordpress.com/2013/03/13/uuids-and-linux-everything-you-ever-need-to-know/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1br3urmm2p....@pfeifferfamily.net

Reply via email to