gg234
31st July 2006, 18:11
Hi,
I ma trying configure drbd in debian sarge i ahve configured the /etc/drbd.conf file as suggested in NFS how to when i try to run the following command
#drbdadm up all
Lower device (/dev/sda2) is already mounted
Command '/sbin/drbdsetup /dev/drbd0 disk /dev/sda2 internal -1 --on-io-error=detach' terminated with exit code 20
I have not done anything on creating new partition for this is it necessary to create new partition for drbd or we can use internal option.
My configuration as follows
on test {
device /dev/drbd0;
disk /dev/sda2;
address 172.2.5.213:7788;
meta-disk internal;
# meta-disk is either 'internal' or '/dev/ice/name [idx]'
#
# You can use a single block device to store meta-data
# of multiple DRBD's.
# E.g. use meta-disk /dev/hde6[0]; and meta-disk /dev/hde6[1];
# for two different resources. In this case the meta-disk
# would need to be at least 256 MB in size.
#
# 'internal' means, that the last 128 MB of the lower device
# are used to store the meta-data.
# You must not give an index with 'internal'.
}
on test1 {
device /dev/drbd0;
disk /dev/sda2;
address 172.2.5.232:7788;
meta-disk internal;
}
}
i really need some help here
thanks for your help
I ma trying configure drbd in debian sarge i ahve configured the /etc/drbd.conf file as suggested in NFS how to when i try to run the following command
#drbdadm up all
Lower device (/dev/sda2) is already mounted
Command '/sbin/drbdsetup /dev/drbd0 disk /dev/sda2 internal -1 --on-io-error=detach' terminated with exit code 20
I have not done anything on creating new partition for this is it necessary to create new partition for drbd or we can use internal option.
My configuration as follows
on test {
device /dev/drbd0;
disk /dev/sda2;
address 172.2.5.213:7788;
meta-disk internal;
# meta-disk is either 'internal' or '/dev/ice/name [idx]'
#
# You can use a single block device to store meta-data
# of multiple DRBD's.
# E.g. use meta-disk /dev/hde6[0]; and meta-disk /dev/hde6[1];
# for two different resources. In this case the meta-disk
# would need to be at least 256 MB in size.
#
# 'internal' means, that the last 128 MB of the lower device
# are used to store the meta-data.
# You must not give an index with 'internal'.
}
on test1 {
device /dev/drbd0;
disk /dev/sda2;
address 172.2.5.232:7788;
meta-disk internal;
}
}
i really need some help here
thanks for your help