Comandos de Hardware Solaris



format = slice/partition disk, surface scan, etc. Linux/DOS call this fdisk.

Note that under part submenu, use "label" to save changes to the partition table to disk.

Use "volname" to add a name to the disk volume (shown in format disk list)



prtvtoc : print the volume table of content (vtoc, ie the partition table + disk geometry data)



swap -l list swap info

swap -a /dev/dsk/c... add slide as swap

swap -d /dev/dsk/c... delete slide as swap







drvconfig; disks : create entries in /dev/dsk/c*t* ...

drvconfig; tapes : create entries for backup tape drives in /dev/rmt

: sometime drvcnofig cause problem, device config need boot -r to fix.

devfsadm : "new" solaris command for scanning new storage devices.





drvconfig; tapes; devlinks : tell system to reconfigure for new tape drive, eg /dev/rmt/0cbn etc







Fiber Channel commands:





cfgadm -c configure [c3] # configure controller 3 (HBA), scan san for LUN

# run devfsadm if needed, then see new "disks" in format



cfgadm -c unconfigure c3 # remove all config of the given controller





cfgadm -c unconfigure c0::dsk/c0t11d0 # unconfigure internal scsi disk (eg E250)

# so that dead disk no longer show up in "format"

# but still shows up in cfgadm -al

# (may need a reconfigure reboot to completely clear it)

cfgadm -c unconfigure c3::wwn # remove spurious entries in /etc/cfg/fp/fabric_WWN_map devices.

# such device cause boot warnings if left in there.

cfgadm -o force_update -c unconfigure cX::wwn # forceful manner of above

cfgadm -c unconfigure -o unusable_FCP_dev cX:wwn







luxadm fcode_download -p

display HBA firmware version and driver/path info.

luxadm is probably only for 880 w/ sse dev, and some sun array products.



luxadm probe

display WWN of fc dev



luxadm display [logical_dev]

0 Response to Comandos de Hardware Solaris

Publicar un comentario