[DRBD-user] DRBD and LVM

Mike Kim i4varu at yahoo.com
Thu Apr 13 18:46:19 CEST 2006

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


Hello,

I would like to install DRBD on my existing system
which runs ES3 and LVM, and replicate my users home
directory. I was trying to find some example or
tutorial on the web, but so far unsuccessful. My
/etc/fstab is following:

dev/Volume00/root      /                       ext3   
defaults        1 1
LABEL=/boot             /boot                   ext3  
 defaults        1 2
none                    /dev/pts                devpts
 gid=5,mode=620  0 0
/dev/Volume00/home      /home                   ext3  
 defaults        1 2
none                    /proc                   proc  
 defaults        0 0
none                    /dev/shm                tmpfs 
 defaults        0 0
/dev/Volume00/tmp       /tmp                    ext3  
 defaults        1 2
/dev/Volume00/usr       /usr                    ext3  
 defaults        1 2
/dev/Volume00/var  /var                    ext3   
defaults        1 2
/dev/Volume00/swap      swap                    swap  
 defaults        0 0
/dev/cdrom              /mnt/cdrom             
udf,iso9660 noauto,owner,kudzu,r
o 0 0

/etc/drdb.conf
. ...
on sl {
    device     /dev/drbd0;
    disk       /dev/Volume00/home;
    address    192.168.0.102:7788;
    meta-disk  internal;

on s2 {
    device    /dev/drbd0;
    disk      /dev/Volume00/home;
    address   192.168.0.101:7788;
    meta-disk internal;

Could somebody tell from what i have to start. On my
test servers i installed drbd without LVM and it works
fine, but i have no idea from what to start on
existing  
server, do i need to create another mount point to
/dev/drbd0 and then put symbolic link to it ?

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the drbd-user mailing list