The disk management is the important part of any system.
Lets see how this task is performed on the HP-Unix system.
HP-UX: Disk Management
Here are the steps to follow:
1- Open the prompt.
2- ioscan -fnC disk = Search Attach disk with HP server
3- pvcreate -f /dev/rdsk/c0t1d0 = Initialize a disk for use with LVM
4- Create the device structure needed for a new volume group.
cd /dev
mkdir vgdata
cd vgdata
mknod group c 64 0x010000
5- vgcreate vgdata /dev/dsk/c0t1d0 = Create volume group vgdata
Note: if your expecting to use more than 16 physical disks use the -p option, range from 1 to 256 disks.
6- vgdisplay -v vgdata = Display volume group vgdata
7- pvcreate -f /dev/rdsk/c0t4d0 = Add another disk to volume group
vgextend vgdata /dev/dsk/c0t4d0
8- vgreduce vgdata /dev/dsk/c0t4d0 = Remove disk from volume group
No comments:
Post a Comment