La commande 'mapping_list' est utilisée pour afficher les volumes attachés à un serveur/host.
Ainsi, en spécifiant le nom par l'option 'host=', il est possible d'afficher les informations de chaque volume rattaché telles que le nom, la taille, le rôle(Master/Slave) le numéro de série et le verrou éventuel.
La syntaxe est a suivante :
mapping_list [ host=HostName | cluster=ClusterName ] 
Exemple :
# mapping_list
LUN   Volume            Proxy   Size   Master   Serial Number   Locked   Host       
0     h6_rootvg          no      120             8               no       h6   
0     h8_rootvg          no      86              35              no       h8   
0     h5_rootvg          no      86              42              no       h5   
0     quorum_svc_F       no      17              9               no       node1      
1     SVC_001            no      1996            10              no       node1 
L'extrait de documentation officielle est donné ci-dessous:
Listing the Mapping of Volumes to Hosts or Clusters
Lists the mapping of volumes to a specified host or cluster.
mapping_list [ host=HostName | cluster=ClusterName ] Parameters:
| Name | Type | Description | Mandatory | 
|---|---|---|---|
| host | Object name | Host name. | N | 
| cluster | Object name | Cluster name. | N | 
| Id | Name | Default Position | 
|---|---|---|
| lun | LUN | 1 | 
| volume | Volume | 2 | 
| proxy | Proxy | 3 | 
| size | Size | 4 | 
| master | Master | 5 | 
| serial | Serial Number | 6 | 
| locked | Locked | 7 | 
| host | Host | 8 | 
Example:
e mapping_list host=tlib_host_lsihost034_fc10000006072d0190Output:
LUN   Volume                           Size   Master            Serial  Locked
                                                                Number 
----- -------------------------------- ------ ----------------- ------- --------
0     vol-870834-0003                  137                      3       no
1     vol-870834-0004                  137                      4       no
2     vol-870834-0005                  137                      5       no
3     vol-870834-0006                  137                      6       no
4     vol-870834-0007                  34                       7       yes
5     vol-870834-0008                  34                       8       no 
                    
