User Tools

Site Tools


storage:dscli_cmd

DSCLI : create

LUN

If you want to create a new LUN (fbvol: fixblock volume for open systems), the default values for type is ds and eam rotateext:

# mkfbvol -extpool P3 -cap 700 -name tsmsrv_0005_Df -volgrp v1 3109

Volgrp

Create a new volume group, type is:

  • scsimask for pSeries
  • scsimap256 for Intel and AMD servers
  • os400mask for AS400
# mkvolgrp -type scsimask VG_syssrv

Hostconnect

Create a new host connection, hosttype can be: pSeries(scsimask), AMDLinuxRHEL(scsimap256), AMDLinuxSuse(scsimap256), LinuxDT(scsimap256), LinuxRF(scsimap256), LinuxRHEL(scsimap256), LinuxSuse(scsimap256), Novell(scsimap256), VMWare(scsimap256), Win2000(scsimap256), Win2003(scsimap256), Win2008(scsimap256), pLinux(scsimap256), iSeries(os400mask)…. for more information lshosttype -type scsiall

# mkhostconnect -wwname 10000000C9222078 -hosttype pSeries -volgrp V6 -ioport I0031,I0030,I0231,I0230,I0301,I0300,I0101,I0100 vios1_fcs0

DSCLI : change / rename

LUN

To update the volume group on a LUN, do not use the <replace> action into chvolgrp command; use an add and remove instead:

# chvolgrp -action add -volume 3005 V1
# chvolgrp -action remove -volume 3005 V2

Rename a LUN

# chfbvol -name tsmsrv_0000_b -quiet 3000

Change an fbvol's extendpool (move online the lun ID 0100 to extendpool P2):

# managefbvol -action migstart –extpool P2 0100

DSCLI : list

List all host connection that aren't register into DS8000:

dscli> lshostconnect -unknown
Date/Time: August 19, 2011 12:48:36 PM CEST IBM DSCLI Version: 7.6.10.511 DS: IBM.2107-75HS222
WWNN             WWPN             ESSIOport
=========================================================
20000000C9555CA7 10000000C9555CA7 I0030,I0031,I0230,I0231
20000000C9555E3C 10000000C9555E3C I0100,I0101,I0300,I0301
storage/dscli_cmd.txt · Last modified: 2021/01/01 21:25 (external edit)