HP-UNIX:
1) # ioscan -funC disk : Locate the disk you want to use for the creation of volume group.
2) # strings /etc/lvmtab : Shows the physical volumes that are part of LVM.
3) For Hp Unix Version 11:
We need to create a device file called "group" for the volume group which we are about create. The "group" file is a character based file with the major "64" default for Hp_ux and minor number of out choice "0x010000"
# cd /dev/
# mkdir <volume group name>
# chown root:root <volume group name>
# chmod 755 <volume group name>
# cd /volumegroup name
# mknod /dev/volume group name/group c 64 0x010000
# chown root:sys group
# chmod 755 group
4) # pvcreate /dev/rdsk/c#t#d# : PV creation.
5) # vgcreate -s <PE size> /dev/<volume group name> /dev/dsk/c#t#d#
6) # vgdisplay : View the volume group created.
7) # strings /etc/lvmtab : Verify the same.
AIX:
1) # cfgmgr
2) # lspv : Select the physical volumes in the none state.
3) # mkvg -y <volume group name> -s <PP size> <Physical volumes....>
4) # lsvg : List all the volume group.
5) # cd /etc/vg/
6) # ls -l : Verify a "Zero Byte" file is created with the prefix "vg.<VG ID>" has been created..
1) # ioscan -funC disk : Locate the disk you want to use for the creation of volume group.
2) # strings /etc/lvmtab : Shows the physical volumes that are part of LVM.
3) For Hp Unix Version 11:
We need to create a device file called "group" for the volume group which we are about create. The "group" file is a character based file with the major "64" default for Hp_ux and minor number of out choice "0x010000"
# cd /dev/
# mkdir <volume group name>
# chown root:root <volume group name>
# chmod 755 <volume group name>
# cd /volumegroup name
# mknod /dev/volume group name/group c 64 0x010000
# chown root:sys group
# chmod 755 group
4) # pvcreate /dev/rdsk/c#t#d# : PV creation.
5) # vgcreate -s <PE size> /dev/<volume group name> /dev/dsk/c#t#d#
6) # vgdisplay : View the volume group created.
7) # strings /etc/lvmtab : Verify the same.
AIX:
1) # cfgmgr
2) # lspv : Select the physical volumes in the none state.
3) # mkvg -y <volume group name> -s <PP size> <Physical volumes....>
4) # lsvg : List all the volume group.
5) # cd /etc/vg/
6) # ls -l : Verify a "Zero Byte" file is created with the prefix "vg.<VG ID>" has been created..
No comments:
Post a Comment