
Dell Compellent Confidential HP-UX Best Practices 11i v2 and 11i v1
Page|35
Type: bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1048576 242712 799608 23% /
/dev/vg00/lvol1 2097152 175408 1906824 8% /stand
/dev/vg00/lvol8 4194304 1379368 2799440 33% /var
/dev/vg00/lvol7 6291456 3018472 3247424 48% /usr
/dev/vg00/lvol6 4194304 20928 4140776 1% /tmp
/dev/vg00/lvol5 10485760 5247280 5197656 50% /opt
/dev/vg00/lvol4 524288 20800 499560 4% /home
rx1620.techsol.beer.town:/Tools
51380224 11460912 37424433 23% /Tools
/dev/vgdemo/lvol1 51249152 79205 47971833 0% /vgdemo/lvol1
/dev/vgdemo_import/lvol1
51249152 79205 47971833 0% /vgdemo_import/lvol1
Mounting to a alternate host
Most of the procedures here are identical to the section Mounting to the same host above; with the
exception of the following.
We would create a new Volume Group to land this newly imported LUN; give this new Volume Group a
VGID, which does not conflict with any VGIDs already in use on this target host. We would also move
the /tmp/vgdemo.map file from the originating host to /tmp on this target host. We would finally
identify the device file of this new LUN on the target host. For the sake of discussion, we will assume
that this new LUN has been discovered as /dev/dsk/c29t0d2 (/dev/rdsk/c29t0d2 accordingly). We will
then import the new LUN with the command.
Type: vgimport –m /tmp/vgdemo.map –v vgdemo_import /dev/dsk/c29t0d2
Beginning the import process on Volume Group "vgdemo_import".
vgimport: Warning: Volume Group belongs to different CPU ID.
Can not determine if Volume Group is in use on another system. Continuing.
Logical volume "/dev/vgdemo_import/lvol1" has been successfully created with lv number 1.
vgimport: Volume group "/dev/vgdemo_import" has been successfully created.
Warning: A backup of this volume group may not exist on this machine.
Please remember to take a backup using the vgcfgbackup command after activating the volume group.
We then vgchange to activate this new Volume Group vgdemo_import, fsck the new Logical Volume and
mount the filesystem for use. The resulting output looks as follows.
Type: bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1048576 242712 799608 23% /
/dev/vg00/lvol1 2097152 175408 1906824 8% /stand
/dev/vg00/lvol8 4194304 1379368 2799440 33% /var
/dev/vg00/lvol7 6291456 3018472 3247424 48% /usr
Comments to this Manuals