System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to create volume group-steps

SOLVED
Go to solution
Ajin_1
Valued Contributor

How to create volume group-steps


Dear Sir

add a disk and How to create volume group? what are the steps installed.I'm beginner please explain step by step from physically connect the disk.

Thanks & Regards

AJN
Thanks & Regards
Ajin.S
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
5 REPLIES
Johnson Punniyalingam
Honored Contributor
Solution

Re: How to create volume group-steps

Request HW Vendor / Storage Team add "Psyical disk" Once done

# ioscam -fn
# ioscan -fnC disk

Once added / disk are shown claimed.

Procedure to Create "New Volume Group"

# pvcreate /dev/rdsk/cxtxdx -> man pvcreate for more Good examples

# ll /dev/*/group -> display all existing "Minor numbers" of your other volume groups
(you can't use duplicate minor number" you need to use next corresponding minor numbers
example if 01 -> exists you need use 02)

# mkdir /dev/vgname

# mknod /dev/vgname/group c 64 0x######

# vgcreate /dev/vgname -> man "vgcreate"

-p -s (options are very important) -> man vgcreate for options & Syntx
Problems are common to all, but attitude makes the difference
James R. Ferguson
Acclaimed Contributor

Re: How to create volume group-steps

Hi:

The HP documentation site holds a wonderful suite of excellent guides. I suggest you look at:

http://docs.hp.com/en/5992-6576/index.html

Regards!

...JRF...
Steven E. Protter
Exalted Contributor

Re: How to create volume group-steps

Shalom,

docs.hp.com

http://docs.hp.com/en/B2355-90692/index.html

V 2.0 VG
http://docs.hp.com/en/lvm-v2/L2_whitepaper_8.pdf

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sp4admin
Trusted Contributor

Re: How to create volume group-steps

You need to do a couple of steps.

# ioscam -fn
# ioscan -fnC disk
# pvcreate /dev/rdsk/cxtxdx * from the ioscan
# mkdir /dev/vgname
# mknod /dev/vgname/group c 64 0x######
# vgcreate /dev/vgname /dev/dsk/cxtxdx

I suggest you read some of the links that were provided so you get a good understanding on how to complete this task.

sp,
Prasanth Thomas
Valued Contributor

Re: How to create volume group-steps

Hi,

Please let me know the version.
In v3 no need to create the dir and groupfile manually for new VG, just run the vgcreate.

<To avoid manually creating the volume group directory and the group file, use vgcreate. In this case, vgcreate automatically creates the directory and group file if they do not exist for this volume group.
Example
# vgcreate -s 8 -l 3 -p 16 -e 63535 /dev/vg01 /dev/dsk/c3t4d0
To select a particular volume group number or if you want to create the volume group the same way as in releases before March 2008, first create the volume group directory and the group file.
Example
# mkdir /dev/vg01
# mknod /dev/vg01/group c 64 0x010000
# vgcreate -s 8 -l 3 -p 16 -e 63535 /dev/vg01 /dev/dsk/c3t4d0 >>>

Regards,
Prasanth Thomas.