Changes between Version 7 and Version 8 of Ticket #696, comment 1


Ignore:
Timestamp:
Jun 7, 2013, 3:55:29 PM (12 years ago)
Author:
victor gattegno

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #696, comment 1

    v7 v8  
    33If we have for example /dev/mapper/XXXXX-YYYYY then %s=XXXXX and "grep /dev/mapper/'''%s-'''" will work.
    44
    5 But it should be replaced by '''%s''' because '''%s-''' will not work if we get as name 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:
     5But 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:
    66
    77/dev/mapper/36050468008b0423a0000400003ab0000
    88
    9 /dev/mapper/vgdbdisk01
     9or : /dev/mapper/vgdbdisk01
     10
     11if we have in /etc/multipath.conf :
     12
     13{{{
     14multipaths {
     15        wwid    36050468008b0423a0000400003ab0000
     16        alias   vgdbdisk01
     17}
     18}}}