Hi,

How does one filter iSCSI disks in lvm.conf? In our configurations all iSCSI 
disks belong to virtual machines, so I don't want host server to see LVM on 
those disks.
Just relying on the device names is not reliable, especially if the server has 
hot-swappable disks.

For example

$ ls -l /dev/sd?

brw-r----- 1 root disk 8,   0 Aug 16 21:51 /dev/sda
brw-r----- 1 root disk 8,  16 Aug 18 17:55 /dev/sdb
brw-r----- 1 root disk 8,  32 Sep 17 07:02 /dev/sdc
brw-r----- 1 root disk 8,  48 Sep 14 03:19 /dev/sdd
brw-r----- 1 root disk 8,  64 Aug 17 01:55 /dev/sde
brw-r----- 1 root disk 8,  80 Aug 17 01:55 /dev/sdf
brw-r----- 1 root disk 8,  96 Aug 31 18:37 /dev/sdg
brw-r----- 1 root disk 8, 112 Sep 15 22:55 /dev/sdh

only sda and sdh are actual physical disks, but when this host will be rebooted 
they will become sda and sdb.

I thought to scan only /dev/disk/by-path/ and exclude devices started with 
"ip-", 
but this path doesn't exist during system boot, so I afraid I won't be able to 
load OS from a logical volume.

Thank you,
Vadym



_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to