Solved

fstab for removable drives

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

757 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

21 Experts available now in Live!

Get 1:1 Help Now