Operating System - HP-UX
1827286 Members
3253 Online
109717 Solutions
New Discussion

Re: create vggroup on EMC San

 
Asif_8
Regular Advisor

create vggroup on EMC San

What are the steps I need to do to create vg group
Here is the "powermt display dev=all" of the other LUNS
powermt display dev=all
CLARiiON ID=CK200073100784 [NMXDB]
Logical device ID=600601605D5D1E003462B41CB324DD11 [LUN 900]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP A, current=SP A
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
10 5/0/13/1/0/4/1.40.149.128.0.0.1 c10t0d1 SP A2 active alive 0 0
11 5/0/13/1/0/4/1.40.151.128.0.0.1 c11t0d1 SP B3 active alive 0 0
8 5/0/13/1/0/4/0.41.149.128.0.0.1 c8t0d1 SP A3 active alive 0 0
9 5/0/13/1/0/4/0.41.151.128.0.0.1 c9t0d1 SP B2 active alive 0 0

CLARiiON ID=CK200073100784 [NMXDB]
Logical device ID=600601605D5D1E0065F7B76DC421DD11 [LUN 902]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
10 5/0/13/1/0/4/1.40.149.128.0.0.2 c10t0d2 SP A2 active alive 0 0
11 5/0/13/1/0/4/1.40.151.128.0.0.2 c11t0d2 SP B3 active alive 0 0
8 5/0/13/1/0/4/0.41.149.128.0.0.2 c8t0d2 SP A3 active alive 0 0
9 5/0/13/1/0/4/0.41.151.128.0.0.2 c9t0d2 SP B2 active alive 0 0

CLARiiON ID=CK200073100784 [NMXDB]
Logical device ID=600601605D5D1E007F2ABC7BC421DD11 [LUN 904]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
10 5/0/13/1/0/4/1.40.149.128.0.0.3 c10t0d3 SP A2 active alive 0 0
11 5/0/13/1/0/4/1.40.151.128.0.0.3 c11t0d3 SP B3 active alive 0 0
8 5/0/13/1/0/4/0.41.149.128.0.0.3 c8t0d3 SP A3 active alive 0 0
9 5/0/13/1/0/4/0.41.151.128.0.0.3 c9t0d3 SP B2 active alive 0 0

CLARiiON ID=CK200073100784 [NMXDB]
Logical device ID=600601605D5D1E00D06A585BB324DD11 [LUN 903]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP A
==============================================================================
---------------- Host --------------- - Stor - -- I/O Path - -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
10 5/0/13/1/0/4/1.40.149.128.0.0.0 c10t0d0 SP A2 active alive 0 0
11 5/0/13/1/0/4/1.40.151.128.0.0.0 c11t0d0 SP B3 active alive 0 0
8 5/0/13/1/0/4/0.41.149.128.0.0.0 c8t0d0 SP A3 active alive 0 0
9 5/0/13/1/0/4/0.41.151.128.0.0.0 c9t0d0 SP B2 active alive 0 0

5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: create vggroup on EMC San

Shalom,

http://docs.hp.com/en/B2355-60105/vgcreate.1M.html

http://docs.hp.com/en/B2355-90692/index.html
http://administratosphere.wordpress.com/2007/10/05/large-lvm-volumes-on-hp-ux/

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

Its no different than a local disk group. Same procedure, different location (disk path)

pvcreate
mkdir /dev/
mknod
vgcreate

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
Jeeshan
Honored Contributor

Re: create vggroup on EMC San

Hi Asif

if you consider your first lun shows in powermt display dev=all
LUN ID - 900

you may follow the steps

1. pvcreate of first disk
2. mkdir
3. mknod
4. vgcreate using the first disk
5. vgextend the next 3 disks
6. lvcreate
7. file system create
8. mkdir mount_point
9. mount.

Have fun!!
a warrior never quits
chandra Sekhar_7
Frequent Advisor

Re: create vggroup on EMC San

Dear Asif,

powermt display dev=all
----------------------
Creating Vg
------------------------------------
#pvcreate /dev/
u r planning to create a volume group is Vg01
# mkdir â p /dev/vg01
# mknod /dev/vg01/group c 64 0x040000
# vgcreate /dev/vg01 /dev/
#vgdisplay â v /dev/vg01
# vgextend /dev/vg01 dev/
#lvcreate â L 2000M â n vol1 /dev/vg01
# mkfs â F vxfs /dev/vg01/vol1
# mkdir â p /vol1
# mount /dev/vg01/vol1 /vol1
# vi /etc/fstab

Regards
Chandra
Sp4admin
Trusted Contributor

Re: create vggroup on EMC San

Hi Asif,

I prefer to use the command line to create LVM stuff. However, you can also use "SAM" to achieve the same results.

Sp,
Minoia
Advisor

Re: create vggroup on EMC San

Hi Asif,
Please don't forget to set the PV TIMEOUT (normally it is 90 seconds on EMC2 SAN) and the LV BAD BLOCK RELOCATION to NONE.
To set up the PV TIMEOUT you have to run, on all disks prymary path, the command
pvchange -t 90 /dev/dsk/
The command must be run after the PV is added into the VG.
To set up the BAD BLOCK RELOCATION you have to create the LV with the option -r N or , if the logical volume is already created, you can change it whith command lvchange

lvchange -r N /dev//

You can find some more detail in EMC2 Manual :"EMC Host Connectivity Guide for HP-UX".
The manual is downloadable from EMC2 powerlink site.

Gianni