This section provides information for configuring storage in an arbitrated loop 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 file systems. The commands are in bold type.
# fx -x -d /dev/rdsk/dks3d0l17s0 ...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
# xlv_make
xlv_make> vol Sharks0
Sharks0
xlv_make> data
Sharks0.data
xlv_make> plex
Sharks0.data.0
xlv_make> ve -force "/dev/rdsk/dks3d0l17s0"
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
#