Solved

fstab for removable drives

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to learn Linux? 10 61
Linux haproxy: stop temporary haproxy service 9 44
Linux VM 6 90
Backup Raspberri Pi over the netowrk to a Windows Share 5 42
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

803 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