When Moving A Logical Volume Created On A Scsi Device In A Single-Path Environment To An Hdlm Device - Hitachi XP P9500 User Manual

Command suite for linux(r)
Hide thumbs Also See for XP P9500:
Table of Contents

Advertisement

6
Create the logical volume.
.
In the following example, the command creates the logical volume
(lvol1: 100 MB) by using the vg01 volume group:
# lvcreate -L 100M -n lvol1 vg01
Logical volume "lvol1" created
7
Create a file system.
.
The following example shows how to use the mke2fs command to create
a file system on the lvol1 logical volume:
# mke2fs /dev/vg01/lvol1
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
25688 inodes, 102400 blocks
5120 blocks (5.00%) reserved for the super user
First data block=1
13 block groups
8192 blocks per group, 8192 fragments per group
1976 inodes per group
Superblock backups stored on blocks:
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 38 mounts or
180 days, whichever comes first.
override.
8
Create the directory to which the logical volume is to be mounted.
.
The following example shows how to create the /mnt/lvol1 directory:
# mkdir /mnt/lvol1
9
Mount the logical volume.
.
The following example shows how to mount the logical volume to the /
mnt/lvol1 directory:
# mount /dev/vg01/lvol1 /mnt/lvol1
When Moving a Logical Volume Created on a SCSI Device in a Single-
Path Environment to an HDLM Device
This subsection explains the procedure for moving a logical volume created
on a SCSI device in a single-path environment to an HDLM device in a multi-
path environment. Use the following procedure to configure the environment
in
Figure 3-30 Device Configuration When a Logical Volume on a SCSI Device
Is Moved to an HDLM Device on page
8193, 24577, 40961, 57345, 73729
Creating an HDLM Environment
Hitachi Dynamic Link Manager User Guide (for Linux(R))
Use tune2fs -c or -i to
3-172.
3-171

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Dynamic link manager

Table of Contents