On Monday, January 19, 2015 at 10:20:04 AM UTC+5:30, cassiope wrote: > On Mon, 19 Jan 2015 03:50:01 +0100, andmalc wrote: > > > 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 > > Regardless of whether you use systemd or some other init system, using > UUIDs is supposed to be less susceptible. > > You can get the proper UUIDs using blkid() (see its man page). Use of > UUIDs is at least partially explained in the fstab man page.
Somewhere between UUIDs and /dev/sd* is LABELs [On gpt disk PARTLABEL's also] I prefer these though they dont always work eg grub does not have the necessary options to completely switch to labels -- 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/31946c4a-13d2-40fb-a2b2-067cc8615...@googlegroups.com