Avatar of peter
peter
Flag for United States of America

asked on 

fstab for removable drives

Need to set up a virtual server where by I can shut it down, remove the LVM, and move it to another server for high-availability reasons.
So I would like to set up the /etc/fstab that allows the server to boot the server even though the LVM may not be there at the time the server boots.

My LVM looks like this and this seems to be working, but wanted to see if anyone had a better suggestions.
The LVM contains the working directry of Websphere MQ, and Application server, which would be set up to move to another server if the primary became unavailable, then, be moved back. So the /dev/sdc and /dev/sdd should be hot-swappable as well as the server should be able to boot without hanging, if a drive was missing,
 
/dev/mapper/vg1-data1_lv   /var/mqm  ext3 rw,auto,defaults,nofail      0       2
/dev/mapper/vg2-data2_lv   /usr/mqm  ext3 rw,auto,defaults,nofail     0       2
Linux

Avatar of undefined
Last Comment
peter

8/22/2022 - Mon