[DRBD-user] Automated entries in /dev/mapper

Noah Mehl noah at tritonlimited.com
Tue Sep 6 17:34:51 CEST 2011

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


Hey all,

I've got a Ubuntu 10.04 virtual machine and I'm having a problem with drbd lv's showing up in /dev/mapper.  Details:

I have a virtual disk: /dev/vdb with one partition: /dev/vdb1.  I have an nfs resource:

resource nfs {
	device /dev/drbd0;
	disk /dev/vdb1;
	meta-disk internal;
	on nfs01 {
		address 10.0.42.1:7790;
		}
	on nfs02 {
		address 10.0.42.2:7790;
		}
}


I have made the following changes to the lvm.conf:

filter = [ "r|/dev/vdb.*|", "r|/dev/disk/by-path/*|", "r|/dev/block/*|", "a/.*/" ]

write_cache_state = 0

I have deleted the /etc/lvm/cache/.cache

But, every time I reboot, even though pvdisplay and vgdisplay doesn't show my /dev/vdb1 pv, and nfs vg, I still get the lv's in the /dev/mapper folder.  This is a problem when I start drbd, it says the lower level device is busy.  Any ideas?

~Noah

Scanned for viruses and content by the Tranet Spam Sentinel service.



More information about the drbd-user mailing list