Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 09-03-2011, 11:40 AM   #1
Registered: Jul 2004
Location: Nottingham, England
Distribution: Fedora 17, Centos 6.3 x86_64
Posts: 35

Rep: Reputation: 2
LVM on DRBD - how do I get these to mount automatically after reboot?

I've a Fedora 14 system running a DRBD device which is the physical volume for a LVM.

After reboot, the DRBD hosted LVM volume group isn't active, and so if I have any mount points in the fstab the server fails to boot.

How do I get these to automatically activate and mount following a reboot?
Old 09-05-2011, 09:37 AM   #2
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 13,834

Rep: Reputation: 1453Reputation: 1453Reputation: 1453Reputation: 1453Reputation: 1453Reputation: 1453Reputation: 1453Reputation: 1453Reputation: 1453Reputation: 1453
I have been reticent to take this off the "zero-reply" list as I haven't touched this. However, I see no-one else has responded, so ...
This sounds like a "timing" issue.
Are you sure you don't have things arse-about ?. Maybe the DRBD [cs]hould be defined on LVM pv's, and contain a "simple" filesystem rather than (yet another) block device driver that LVM exposes. Redhat does the scan for LVM entities early in the boot process - if your network infrastructure isn't up and active, you won't find that LVM on DRBD.
nfs has a separate mount module that incorporates timeouts for fstab to ensure the network (eventually) comes up so mounts can complete. You might be in need of something similar.

Else you could remove the entries from fstab altogether and do the mounts in rc.local - also enables you to include sleep(s) in need.

Last edited by syg00; 09-05-2011 at 09:38 AM.


drbd, fedora 14, lvm

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DRBD can't mount on Secondary Patric.F Linux - Server 2 12-20-2010 05:28 AM
Device already mounted or mount point busy with CentOS/corosync/pacemaker/DRBD aschoessler Linux - Server 1 04-02-2010 09:11 AM
How to make a DRBD node start itself as a primary node automatically? pyruby Linux - Newbie 1 01-29-2010 01:41 PM
Automatically mount after reboot rust8y Linux - Newbie 1 05-25-2008 11:25 PM
LVM Partitions Automatically Unmount r_s_karthikeyan Linux - Newbie 1 01-03-2007 08:48 AM

All times are GMT -5. The time now is 08:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration