Configuring storage in a switched fabric topology

Configuring storage in a switched fabric topology

Figure 1 and Figure 2 shows the standard IRIX storage configuration utilities that you can use to partition and format the storage unit LUNs and to create and mount the file systems. The commands are in bold type.

Note: You must be a root user to use these commands.
Figure 1. Example commands for the IRIX switched fabric storage configuration utility
#/usr/bin/fx -x -d /dev/rdsk/5005076300c003b4/lun1vol/c6p30000
fx version 6.5, Jul  7, 2000
...opening /dev/rdsk/5005076300c003b4/lun1vol/c3p1000

...drive selftest...OK
Scsi drive type == IBM     2105F20         1206

----- please choose one (? for help, .. to quit this menu)-----
[exi]t             [d]ebug/           [l]abel/           [a]uto
[b]adblock/        [exe]rcise/        [r]epartition/

fx> repartition

----- partitions-----
part  type        blocks            Megabytes   (base+size)
  7: xlv        4096 + 71798784       2 + 35058
  8: volhdr        0 + 4096           0 + 2    
 10: volume        0 + 71802880       0 + 35060

capacity is 71802880 blocks

----- please choose one (? for help, .. to quit this menu)-----
[ro]otdrive           [o]ptiondrive         [e]xpert
[u]srrootdrive        [re]size
fx/repartition> o

fx/repartition/optiondrive: type of data partition = (xfs) xfs
Warning: you will need to re-install all software and restore user data
from backups after changing the partition layout.  Changing partitions
will cause all data on the drive to be lost.  Be sure you have the drive
backed up if it contains any user data.  Continue? yes 

----- partitions-----
part  type        blocks            Megabytes   (base+size)
  7: xfs        4096 + 71798784       2 + 35058
  8: volhdr        0 + 4096           0 + 2    
 10: volume        0 + 71802880       0 + 35060

capacity is 71802880 blocks

----- please choose one (? for help, .. to quit this menu)-----
[ro]otdrive           [o]ptiondrive         [e]xpert
[u]srrootdrive        [re]size
fx/repartition> ..

----- please choose one (? for help, .. to quit this menu)-----
[exi]t             [d]ebug/           [l]abel/           [a]uto
[b]adblock/        [exe]rcise/        [r]epartition/

fx>exit
Figure 2. Example commands for the IRIX switched fabric storage configuration utility, part 2
# xlv_make
xlv_make> vol Sharks0
Sharks0
xlv_make> data
Sharks0.data
xlv_make> plex
Sharks0.data.0
xlv_make> ve -force "/dev/dsk/5005076300c003b4/lun1s7/c6p3s0000"
xlv_make> quit

# ls -l /dev/xlv
total 0
brw-------    1 root     sys       192, 10 Mar 12 16:06 Sharks0

# mkfs -t xfs /dev/xlv/Sharks0
meta-data=/dev/xlv/Sharks0       isize=256    agcount=8, agsize=27403 blks
data     =                       bsize=4096   blocks=219218, imaxpct=25
         =                       sunit=0      swidth=0 blks, unwritten=1
naming   =version 1              bsize=4096
log      =internal log           bsize=4096   blocks=1168
realtime =none                   extsz=65536  blocks=0, rtextents=0

# mkdir /lv1_mount
# mount -t xfs /dev/xlv/Sharks0 /lv1_mount
# df -k
Filesystem             Type  kbytes     use     avail  %use Mounted on
/dev/root               xfs  1961580  1750112   211468  90  /
/dev/xlv/Sharks0        xfs   872200      144   872056   1  /lv1_mount
#
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.