p
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
You can perform settings according to the actual conditions. In this example, enter the command
mkfs.ext3 /dev/sdb1
create the file system for sdb1. The interface is displayed as follows:
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
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 39 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
Step 7
Run the following command to create a directory. Then assign a name to the directory as required.
mkdir
/directoryname
Step 8
Run the following command to mount the device to the directory:
mount
/dev/sdb1 /directoryname
----End
Result
After that, the S5600 can be used to access data.
If an AS uses a LUN successfully and you want to delete the port of the host corresponding to
the LUN, you need to run the umount command on the AS first. Otherwise, the AS fails to use
the LUN again. Enter the following command:
umount /dev/sdb1
NOTE
Before deleting the mapping of an LUN on the OSM3.0 main interface, you need to run the umount
command on the AS.
3 Configuring the Storage System
OceanStor S5600 Storage System
Initial Configuration Guide
3-56
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 02 (2009-09-30)