Solved

fstab for removable drives

Posted on 2014-11-25
3
141 Views
Last Modified: 2014-12-08
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
0
Comment
Question by:Peter Kuczynski
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
NARANTHIRAN earned 500 total points
ID: 40466161
Try noauto..

/dev/mapper/vg1-data1_lv   /var/mqm  ext3 rw,defaults,noauto      0       2
/dev/mapper/vg2-data2_lv   /usr/mqm  ext3 rw,defaults,noauto     0       2

Open in new window

0
 
LVL 1

Author Comment

by:Peter Kuczynski
ID: 40466595
thank you I will try : )
0
 
LVL 1

Author Closing Comment

by:Peter Kuczynski
ID: 40488152
worked great, thank you!
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question