VIOSの仮想デバイスを確認するコマンド

PowerVM-100

VIOSの仮想デバイス確認

VIOSで作り出した仮想ディスクや仮想アダプターなどの仮想デバイスを確認する方法です。



 

仮想デバイスを全てリスト

padminユーザーでログインし、lsdevコマンドリストできます。

[padmin@p7vio11m:]lsdev -virtual
name             status      description
ent13            Available   Virtual I/O Ethernet Adapter (l-lan)
ent14            Available   Virtual I/O Ethernet Adapter (l-lan)
ent15            Available   Virtual I/O Ethernet Adapter (l-lan)
ent16            Available   Virtual I/O Ethernet Adapter (l-lan)
ent17            Defined     Virtual I/O Ethernet Adapter (l-lan)
ent18            Defined     Virtual I/O Ethernet Adapter (l-lan)
ent19            Available   Virtual I/O Ethernet Adapter (l-lan)
ent20            Available   Virtual I/O Ethernet Adapter (l-lan)
ent21            Available   Virtual I/O Ethernet Adapter (l-lan)
ent22            Available   Virtual I/O Ethernet Adapter (l-lan)
ent23            Available   Virtual I/O Ethernet Adapter (l-lan)
vasi0            Available   Virtual Asynchronous Services Interface (VASI)
vasi1            Available   Virtual Asynchronous Services Interface (VASI)
vasi2            Available   Virtual Asynchronous Services Interface (VASI)
vasi3            Available   Virtual Asynchronous Services Interface (VASI)
vasi4            Available   Virtual Asynchronous Services Interface (VASI)
vbsd0            Available   Virtual Block Storage Device (VBSD)
vbsd1            Available   Virtual Block Storage Device (VBSD)
vbsd2            Available   Virtual Block Storage Device (VBSD)
vbsd3            Available   Virtual Block Storage Device (VBSD)
vbsd4            Available   Virtual Block Storage Device (VBSD)
vfchost0         Available   Virtual FC Server Adapter
vfchost1         Available   Virtual FC Server Adapter
vfchost2         Available   Virtual FC Server Adapter
vhost0           Available   Virtual SCSI Server Adapter
vhost1           Available   Virtual SCSI Server Adapter
vhost2           Available   Virtual SCSI Server Adapter
vhost3           Available   Virtual SCSI Server Adapter
vhost4           Available   Virtual SCSI Server Adapter
vhost5           Available   Virtual SCSI Server Adapter
vhost6           Available   Virtual SCSI Server Adapter
vhost7           Available   Virtual SCSI Server Adapter
vhost8           Available   Virtual SCSI Server Adapter
vhost9           Available   Virtual SCSI Server Adapter
vhost10          Available   Virtual SCSI Server Adapter
vhost11          Available   Virtual SCSI Server Adapter
vhost12          Available   Virtual SCSI Server Adapter
vhost13          Available   Virtual SCSI Server Adapter
vhost14          Available   Virtual SCSI Server Adapter
vhost15          Available   Virtual SCSI Server Adapter
vsa0             Available   LPAR Virtual Serial Adapter
hd11_vioc4_hd3   Available   Virtual Target Device - Disk
hd16_nim1_hd1    Available   Virtual Target Device - Disk
hd1_lpar1_hd0    Available   Virtual Target Device - Disk
hd1_lpar2_hd0    Available   Virtual Target Device - Disk
hd1_nim1_hd0     Available   Virtual Target Device - Disk
hd1_vioc1_hd0    Available   Virtual Target Device - Disk
hd1_vioc2_hd0    Available   Virtual Target Device - Disk
hd1_vioc3_hd0    Available   Virtual Target Device - Disk
hd1_vioc4_hd0    Available   Virtual Target Device - Disk
hd8_lpar3_hd0    Available   Virtual Target Device - Disk
hd9_lpar4_hd0    Available   Virtual Target Device - Disk
ent10            Available   EtherChannel / IEEE 802.3ad Link Aggregation
ent11            Available   EtherChannel / IEEE 802.3ad Link Aggregation
ent12            Available   EtherChannel / IEEE 802.3ad Link Aggregation
ent24            Available   Shared Ethernet Adapter
pkcs11           Available   PKCS#11 Device
[padmin@p7vio11m:]

 

 デバイスの属性を確認するコマンド

 こでも同じくlsdevコマンドですが、オプションを指定することで属性を確認できます。

仮想ディスクの例

[padmin@p7vio11m:]lsdev -dev hd1_lpar1_hd0 -attr
attribute       value              description          user_settable

LogicalUnitAddr 0x8100000000000000 Logical Unit Address False
aix_tdev        hdisk6             Target Device Name   False
client_reserve  no                 Client Reserve       True
mig_name                           N/A                  True
mirrored        false              Metro/Global Mirror  True
[padmin@p7vio11m:]

 

仮想ネットワーク・アダプター(Link Aggrigation)の例

[padmin@p7vio11m:]lsdev -dev ent10 -attr
attribute       value               description                                     user_settable

adapter_names   ent0,ent2,ent4,ent6 EtherChannel Adapters                           True
alt_addr        0x000000000000      Alternate EtherChannel Address                  True
auto_recovery   yes                 Enable automatic recovery after failover        True
backup_adapter  NONE                Adapter used when whole channel fails           True
hash_mode       default             Determines how outgoing adapter is chosen       True
interval        long                Determines interval value for IEEE 802.3ad mode True
mode            standard            EtherChannel mode of operation                  True
netaddr         0                   Address to ping                                 True
noloss_failover yes                 Enable lossless failover after ping failure     True
num_retries     3                   Times to retry ping before failing              True
retry_time      1                   Wait time (in seconds) between pings            True
use_alt_addr    no                  Enable Alternate EtherChannel Address           True
use_jumbo_frame no                  Enable Gigabit Ethernet Jumbo Frames            True
[padmin@p7vio11m:]

 



 
 


サブコンテンツ

このページの先頭へ


Warning: Use of undefined constant XML - assumed 'XML' (this will throw an Error in a future version of PHP) in /home/luck777er/it-memo.info/public_html/wp-content/plugins/wp-syntaxhighlighter/wp-syntaxhighlighter.php on line 1048