iscsi/lvm

davlaw

Renowned Member
Apr 4, 2012
197
5
83
3 servers online

1 shows physical volumes as /dev/dm-xxx
2 shows physical volumes as /dev/dm-xxx
3 shows physical volumes as /dev/disk/by-id/dm-name-xxxxxx

was kind of a pain to add a lvm on node 1 and 2 because it was seeing volumes as listed on node 3

log into node 3 and added volume there ok

before I punch a hole in something and the whole thing breaks guessing I need to work with multipath.conf or other conf to filter devices properly.

I've worked around the issue of adding the lvm but worried about any future issue I might have...

Thanks..
 
ok.. appears to be different lvm.conf files

server 1

Code:
filter = [ "r|/dev/.*/by-path/.*|", "r|/dev/.*/by-id/.*|", "a/.*/" ]

server 2

Code:
filter = [ "r|/dev/.*/by-path/.*|", "r|/dev/.*/by-id/.*|", "a/.*/" ]

server 3

Code:
filter = [ "a/.*/" ]