Red Hat LINUX VIRTUAL SERVER 4.6 - ADMINISTRATION Manuale di Installazione Pagina 235

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 296
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 234
Chapter 13. Miscellaneous tasks 215
10.List the contents of the directory again. You should see that many entries were added
after the device was put online. The four entries in bold are the WWPNs available from
this FCP device.
# ls -F
0x5005076306138411/ cmb_enable host0/ peer_wwnn subsystem@
0x500507630613c411/ cutype in_recovery peer_wwpn uevent
0x500507630a10016c/ devtype lic_version port_remove
0x500507630a13016c/ driver@ modalias port_rescan
availability failed online power/
card_version hardware_version peer_d_id status
11.The lsluns command will show all of the available LUNs from a single WWPN. In the
following example, the first WWPN is used:
# lsluns -p 0x5005076306138411
Scanning for LUNs on adapter 0.0.3b16
at port 0x5005076306138411:
0x4010400000000000
0x4010400100000000
0x4010400200000000
...
12.Bring a LUN online. In this example, the next free LUN is
4014402600000000. Change the
directory to the first WWPN and list the contents:
# cd 0x5005076306138411
# ls
access_denied in_recovery status unit_add
failed power uevent unit_remove
13.The output shows that there is no active LUN under this WWPN. Bring the LUN online by
echoing the value into the unit_add file and list the contents of the directory:
# echo 0x4014402600000000 > unit_add
# ls -F
0x4014402600000000/ failed power/ uevent unit_remove
access_denied in_recovery status unit_add
14.Note that a new directory with the LUN value is created:
# lszfcp -D
0.0.010a/0x500507630503c73d/0x4020400800000000 0:0:0:1074282528
# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 1074282528
Vendor: IBM Model: 2107900 Rev: .310
Type: Direct-Access ANSI SCSI revision: 05
15.Now a /dev/sda directory exists. Check that there are no partitions:
# fdisk -l /dev/sda
Disk /dev/sda: 8589 MB, 8589934592 bytes
64 heads, 32 sectors/track, 8192 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
Vedere la pagina 234
1 2 ... 230 231 232 233 234 235 236 237 238 239 240 ... 295 296

Commenti su questo manuale

Nessun commento