Disk Arrays
cancel
Showing results for 
Search instead for 
Did you mean: 

VA7100 Enquiry

Leon Shen
Frequent Advisor

VA7100 Enquiry

Hi Experts,

I have created 2 LUNs from the VA7100 which I disable the Secure Path. I have copy down the ioscan -FunC disks outputs and it shows c1t2d0(root disk), c3t2d0(cdrom), c5t0d0, c5t0d1, c7t0d0, c7t0d1 (double entries due to SP disable).

My qns is how to choose the right path of the 2 new LUNs of 10GB & 35 GB when I want to put the 2 LUNs into vg03 and create the file systems. Is the following steps correct?

#ioscan -funC disk (scan Harddisk)
#pvcreate -f /dev/rdsk/c5t0d0 (primary controller)
#pvcreate -f /dev/rdsk/c5t0d1 (primary controller)
#mkdir /dev/vg03
#cd /dev/vg03
#mknod /dev/vg03/group c 64 0x030000
#vgcreate /dev/vg03 /dev/dsk/c5t0d0 /dev/dsk/c5t0d1
#lvcreate -L 10000 /dev/vg03/lvol1
#lvcreate -L 35000 /dev/vg03/lvol2
#newfs -F vxfs /dev/vg03/rlvol1
#newfs -F vxfs /dev/vg03/rlvol2
After that, mount the file systems accordingly.

1) Do we need to pvcreate c7t0d0 & c7t0d1 since it is a duplicate copy of c5?
2) Next, do we need to vgcreate c7t0d0 & c7t0d1?
2 REPLIES
Torsten.
Acclaimed Contributor

Re: VA7100 Enquiry

if your array is connected to host via 2 fc connections, you have 2 device files for every LUN. A complete ioscan -fn output may show this. A good idea is to create your vg, lv with SAM. SAM is showing showing you all pathes to a LUN (primary and alternate path). if you want to create your vg manually, you have to pvcreate only one devicefile (c5t0d1) and vgcreate both (c5t0d1 and c7t0d1). vgdisplay will show you only one device witch to devicefiles.

hth

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Bill Costigan
Honored Contributor

Re: VA7100 Enquiry

You only do a single pvcreate per LUN.
You may want to balance the load across both paths.

The command vgextend /dev/vg03 /dev/dsk/c7t0d0
will add the second path as an alternate path. You can switch alternate paths by removing the first path (after adding the second and then re-adding the first back in

e.g.

pri - c5t0d0
alt - none

vgextend vg02 c7t0d0
pri - c5t0d0
alt - c7t0d0

vgreduce vg03 c5t0d0
vgextend vg03 c5t0d0
pri - c7t0d0
alt - c5t0d0

I typically use c5 as the primary for the first PV and c7 as the primary for the second PV