Solved

fstab for removable drives

Posted on 2014-11-25
3
134 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

867 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now