Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi Guys,
Not sure if this got though as I haven't had a reply.
I have tried changing disks, deleting the node /dev/hdd on shorty and
recreating as well as deleting the partition etc. I have also reinstalled
Centos as a desperate measure with the same error. Not sure what to do
next apart from throw the machine in the river.
Any suggestions?
>
> Hi,
>
> I'm new to drbd and fairly new to Centos, I am trying to setup a NFS
> server using heartbeat.
>
> I managed to get drbd to work using a simple setup of 2 drives on
> different machines, but when I add a further 2 drives I run into this
> error on.
>
> Starting DRBD resources: [ d0 d1 ioctl(,SET_DISK_CONFIG,) failed:
> Invalid argument
> Lower device is already mounted.
>
> cmd /sbin/drbdsetup /dev/drbd1 disk /dev/hdd1 internal -1 failed!
>
> As far as I can tell, hdd1 is not mounted, there is no reference to it in
> fstab etc. - It is a new partition that I created just before running drbd
> and it is not listed in response to mount.
>
> The simple drbd.conf I am trying is below.
>
> Any suggestions on how to fix this would be gratefully received.
>
> Rob
>
> resource drbd0 {
> protocol C;
> syncer {
> rate 12M;
> }
>
> on fs1.bathnetworks.local {
> device /dev/drbd0;
> disk /dev/hde1;
> address 10.0.0.1:7788;
> meta-disk internal;
> }
>
> on shorty.bathnetworks.local {
> device /dev/drbd0;
> disk /dev/hdc1;
> address 10.0.0.2:7788;
> meta-disk internal;
> }
> }
> resource drbd1 {
> protocol C;
> syncer {
> rate 12M;
> }
>
> on fs1.bathnetworks.local {
> device /dev/drbd1;
> disk /dev/hdf1;
> address 10.0.0.1:7789;
> meta-disk internal;
> }
>
> on shorty.bathnetworks.local {
> device /dev/drbd1;
> disk /dev/hdd1;
> address 10.0.0.2:7789;
> meta-disk internal;
> }
> }
>
>
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>