G A L A X Y ® A U R O U R A L S C O N F I G U R A T I O N A N D S Y S T E M I N T E G R A T I O N G U I D E
28
Section 2 Basic Setup
2.2.3
Linux Client RAID Connections and LUN Preparation
After Fibre channel HBA drivers are installed and loaded (which is not covered in this manual),
you should already have the block device representing the LUN mounted. If you type the
following command you should get a list of mounted storage LUNs:
lsscsi[enter]
the following response will be displayed:
[0:0:0:0] disk ATA HDS722516VLAT80 V34O /dev/sda
[0:0:1:0] cd/dvd PIONEER DVD-RW DVR-109 1.40 /dev/sr0
[2:0:0:0] disk GalaxyIB MyLUN 2091 /dev/sdb
In the example above, the last line shows the Aurora LS LUN [GalaxyIB My LUN]. The Aurora
LS device manufacturer is shown as GalaxyIB, with the My LUN name as the model name.
The version number, 2091, is the version of the Aurora LS driver. Finally, you are most
interested in the device name on the right [/dev/sdb]. The next step for preparing to use this
LUN is to label the device, and create a partition on it. This is done with the Linux ‘parted’
command, by typing the following:
CAUTION: This procedure erases all data on the LUN.
Important
: Be very careful typing these keyed entries in
bold type
.
Go to a new prompt and enter:
parted /dev/sdb[enter]
the responding command line interface is displayed as
:
GNU Parted 1.8.7
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mklabel[enter]
Warning: The existing disk label on /dev/sdb will be destroyed and all data on
this disk will be lost. Do you want to continue?
Yes/No? Yes[enter]
New disk label type? [gpt]?
gpt[enter]
(parted) mkpart[enter]
Partition name? []?
mypart[enter]
File system type? [ext2]?
ext3[enter]
Start?
0[enter]
End? -1[enter]
(parted) quit[enter]
In the example above, the /dev/sdb typed after the parted command specifies the device to
partition as seen from the lsscsi command. When entering the make a label command