summaryrefslogtreecommitdiffstats
path: root/tests/user_friendly_names/PURPOSE
blob: a768f9211426167e77c856cfcf3c3d3b6034aca7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57

flow: 

# use user_friendly_names = no
- login to iscsi target
- run multipath -r 
- device appear with their original name

# use user_friendly_names = yes, configure some aliases
- run multipath -r 
- device appear with their alias name

# edit /etc/multipath.conf again, and change use user_friendly_names =
# no
- run multipath -r 
- device appear with their alias name

the rename should work backwards



# conf when using user_friendly_names = yes
defaults {
    polling_interval        5
    getuid_callout          "/lib/udev/scsi_id -g -u -d /dev/%n"
    no_path_retry           fail
    user_friendly_names     yes
    flush_on_last_del       yes
    fast_io_fail_tmo        5
    dev_loss_tmo            30
    max_fds                 4096
}

multipaths {

        multipath {
                wwid                36090a068a0746b89ddee943b5b253db6
                alias               rhev-a24-01_myDev1
        }
        multipath {
                wwid               36090a068a074fb95ddeee43b5b259da7
                alias               rhev-a24-01_myDev2
        }
}

# conf when using user_friendly_names = no

defaults {
    polling_interval        5
    getuid_callout          "/lib/udev/scsi_id -g -u -d /dev/%n"
    no_path_retry           fail
    user_friendly_names     no
    flush_on_last_del       yes
    fast_io_fail_tmo        5
    dev_loss_tmo            30
    max_fds                 4096
}