[DRBD-user] /home on /dev/drbd0

Gernot W. Schmied gernot.schmied at chello.at
Sat Sep 3 11:15:00 CEST 2005

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


H Stephan,

Thanks for the suggestion, I am not using heartbeat though because I
don't neet it in my setup. Anyway, I'll have a look at the drbddisk
script to learn something from it.

Regards,
Gernot

Stephan Rattai wrote:
> Hi,
> 
> I used to have /home on a drbd device.
> 
> 1) There is a resource-script (drbddisk) for heartbeat which does that. You
> may want to take a look at hearbeat if you don't already have it.
> 
> 2) The mount is clearly a job for the hearbeat Filsystem script.
> 
> 3)I don't remember the Filesystem-script fsck's before the mount, but you may
> want to fsck before each mount as the filesystem might be in an inconsistent
> state after a crash.
> 
> 4) That's done by heartbeat, too when the the Filesystem script gets a 'stop'.
> 
> You might want to consider problems like /home not being available on the
> secondary node which might lead to problems logging in as normal user for
> example. You could use a rudimentary homedir.
> 
> I hope this helps
> regards
> Stephan
> 
> 
>>Hi,
>>
>>I'd like to move the content of /home to /dev/drbd0 and mount /dev/drbd0
>>as /home. I've some related questions for system boot/shutdown:
>>
>>1)Where should I place the "drbdadm primary all" command sequence? The
>>systems always starts in secondary/secondary state, I guess this
>>behavior is a feature and intended ?!?
>>
>>2)Where/when in the system boot procedure (Gentoo/FC4) is a good time to
>>mount /dev/drbd devices?
>>
>>3)Where and how to integrate such a mountpoint in regular bootup fsck.ext3?
>>
>>4)Where/when should I unmount the drbd devices at system shutdown,
>>especially if one contains /home?
>>
>>
>>Thanks for your help,
>>Gernot
>>
>>_______________________________________________
>>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