Changes between Version 7 and Version 8 of Ticket #696, comment 1
- Timestamp:
- Jun 7, 2013, 3:55:29 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #696, comment 1
v7 v8 3 3 If we have for example /dev/mapper/XXXXX-YYYYY then %s=XXXXX and "grep /dev/mapper/'''%s-'''" will work. 4 4 5 But it should be replaced by '''%s''' because '''%s-''' will not work if we get as namea wwid (or an user alias) in /dev/mapper (with multipath it can be defined in "multipaths" section of /etc/multipath.conf) ; because there could be no '-' in the alias, for example:5 But it should be replaced by '''%s''' because '''%s-''' will not work if the name is a wwid (or an user alias) in /dev/mapper (with multipath it can be defined in "multipaths" section of /etc/multipath.conf) ; because there could be no '-' in the alias, for example: 6 6 7 7 /dev/mapper/36050468008b0423a0000400003ab0000 8 8 9 /dev/mapper/vgdbdisk01 9 or : /dev/mapper/vgdbdisk01 10 11 if we have in /etc/multipath.conf : 12 13 {{{ 14 multipaths { 15 wwid 36050468008b0423a0000400003ab0000 16 alias vgdbdisk01 17 } 18 }}}