Huawei OceanStor VIS6000 series Initial Configuration Manual page 131

Virtual intelligent storage system
Hide thumbs Also See for OceanStor VIS6000 series:
Table of Contents

Advertisement

OceanStor VIS6000 Series Virtual Intelligent Storage
System
Initial Configuration Guide
Step 4 Enter the command fdisk -1 to view the information about all the disks of the AS. The following
information is displayed.
Disk /dev/sda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729
cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot
sda1
1
4463
25607610
Disk /dev/sdb: 1073 MB, 1073741824 bytes 34 heads, 61 sectors/track, 1011
cylinders
Units = cylinders of 2074 * 512 = 1061888 bytes
Disk /dev/sdb doesn't contain a valid partition table
NOTE
Step 5 In this example, the command fdisk /dev/sdb is used to partition the logical disk sdb of the AS
(set according to the actual situation). The following information is displayed.
Command (m for help): n Command action e
Partition number (1-4): 1 First cylinder (1-1011, default 1): 1 Last cylinder
(1-1011, default 1): 1011
Command (m for help): w The partition table has been altered!
Calling ioctl() to re-read partition table. Syncing disks.
Step 6 In this example, the command mkfs.ext3 /dev/sdb1 is used to create a file system for sdb (set
according to the actual situation). The following information is displayed.
mke2fs 1.38 (30-Jun-2005) /dev/sdb is entire device, not just one partition!
Proceed anyway? (y,n) y Filesystem label= OS type: Linux Block size=4096 (log=2)
Fragment size=4096 (log=2) 131072 inodes, 262144 blocks 13107 blocks (5.00%)
reserved for the super user First data block=0 8 block groups 32768 blocks per
group, 32768 fragments per group 16384 inodes per group Superblock backups stored
on blocks: 32768, 98304, 163840, 229376
Issue 08 (2010-05-10)
The UltraPath is not installed.
NOTE
The following part uses the script ql-dynamic-tgt-lun-disc.sh, of the scanning tool of the
QLA2460 FC HBA as an example. You can download the script ql-dynamic-tgt-lun-disc.sh from
http://support.qlogic.com/
Enter:
./ql-dynamic-tgt-lun-disc.sh
To run the script of the scanning tool and automatically scan for the newly-mapped
volume.
The UltraPath is installed.
Enter:
hot_add
To identify loaded volumes. The following information is displayed.
tarting new devices re-scan... scan mptsas HBA host /sys/class/scsi_host/
host1... no new device found run /usr/sbin/upTools -s busscan... found
2:0:0:0->/dev/sdb found 2:0:0:1->/dev/sdc /usr/sbin/hot_add is completed.
NOTE
Sometimes, you need to repeat the command hot_add to scan for the newly-mapped volumes.
Start
1275
10241406
83
Linux
In this example, one volume is mapped to the AS as the logical disk sdb of the AS.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
(to the root directory of Linux).
End
Blocks
82
Linux swap /dev/sda2
extended p
4 Configuring Basic Services
Id
System /dev/
1276
primary partition (1-4) p
4-69

Advertisement

Table of Contents
loading

Table of Contents