[DRBD-user] drbd based logical volume not getting marked active on boot

David Coulson david at davidcoulson.net
Sun Jan 13 22:50:07 CET 2013

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Is DRBD started before clvmd? At least on RHEL6, that works for me. The 
init.d script for clvmd will activate any cluster volume groups it 
fined, but your drbd resource has to be running for that to work properly.

On 1/13/13 4:14 PM, Andy Dills wrote:
> I'm trying to setup a gfs2 filesystem on a drbd 'c' volume (to facilitate
> migration of openvz containers).
>
> Everything is working great with the exception of reboots. On reboot, the
> filesystem wasn't getting marked as active, and the only way I could get
> the filesystem to mount on boot is to add this to rc.local:
>
> /sbin/lvchange -aly data/openvz
> /bin/mount -t gfs2 -o noatime,nodiratime /dev/data/openvz /containers/
>
> I feel like there is probably a better way to handle this.
>
> Any suggestions?
>
> Thanks,
> Andy
>
> ---
> Andy Dills
> Xecunet, Inc.
> www.xecu.net
> 301-682-9972
> ---
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user




More information about the drbd-user mailing list