Operating System - HP-UX
1827464 Members
4852 Online
109965 Solutions
New Discussion

Re: Filesystem Extending Queries.

 
kunjuttan
Super Advisor

Filesystem Extending Queries.

Hi Gurus,
I am having an Hp rx7640 server running hp-ux11.23 os.Existing Fs size is 50GB.I want to make it 100GB.
The problem is,I created and presented 100GB LUN to the particular host.but when I run the ioscan command it is showing 2 new devices.SO i am confused that in which disk I have to create the PV.I am giving the two new paths which is showing in the ioscan output.Pls help

disk 34 0/3/1/0.1.17.0.0.0.2 sdisk CLAIMED DEVICE HP HSV200
/dev/dsk/c18t0d2 /dev/rdsk/c18t0d2
disk 33 0/3/1/0.1.16.0.0.0.2 sdisk CLAIMED DEVICE HP HSV200
/dev/dsk/c16t0d2 /dev/rdsk/c16t0d2

23 REPLIES 23
Kapil Jha
Honored Contributor

Re: Filesystem Extending Queries.

These 2 disk are the same disk, you have 2 FC card and seocnd is the alternate link to the disk.
/dev/dsk/c18t0d2
/dev/dsk/c16t0d2

t0d2 is one disk.

If you want to be sure check serial number from cstm, if its EMC LUN check powermt or inq unitilty.

You can do pvcreate on any of the LUNs don do it on both it would be the same thing.

Its just one lun with 2 name.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
kunjuttan
Super Advisor

Re: Filesystem Extending Queries.

Thanx.
I am having HP-EVA 8400 storage.
kunjuttan
Super Advisor

Re: Filesystem Extending Queries.

And also I am having only one FC card,but two ports.
SoorajCleris
Honored Contributor

Re: Filesystem Extending Queries.

Hi ,

Do pvcreate on one device, then extend the VG with both path. Thats it.

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
kunjuttan
Super Advisor

Re: Filesystem Extending Queries.

But how can I give that Sooraj.If I am having 2 FC cards it will show four devices and I have to give all these four paths while extending VG??If I use single device what will happen??
Kapil Jha
Honored Contributor

Re: Filesystem Extending Queries.

4 paths??

Well see you do pvcreate on a disk, does not matter if you use name c18t0d2 or c16t0d2 it would be same thing.

When u extend VG with alternate path it would show as alternate path in vgdisplay -v
even if u have 8 alternate paths you can go ahead and extend the VG with all the devices.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
kunjuttan
Super Advisor

Re: Filesystem Extending Queries.

If I use single device with vgextend what will happen??
kunjuttan
Super Advisor

Re: Filesystem Extending Queries.

please help..
Kapil Jha
Honored Contributor

Re: Filesystem Extending Queries.

If you use single device with vgextend nothing would happen :)

if that path or FC goes down your VG would not be accessible.

And if you add other paths as well with vgextend nothing would happen :)

except if your one FC card failes your VG would still be active with other FC card and you would be more happy.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Torsten.
Acclaimed Contributor

Re: Filesystem Extending Queries.

Unless you are using autopath/securepath you should vgextend the alternate links.

You can get details about the vdisks using the "evainfo" utility (from web).

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!   
Torsten.
Acclaimed Contributor

Re: Filesystem Extending Queries.

... but check it again!

HSV200 is *NOT* an EVA 8400!

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!   
Prasanth V Aravind
Trusted Contributor

Re: Filesystem Extending Queries.

you can add one device to vg & extend filesystem. But remember that you are accessing the lun through single path. there won't be any redundancy.

so always recommended to add the second path also to the vg, which os automatically detect as pvlink.

it seems you have hp eva storage, install evainfo software in your hp box though which you can easily identify newly added luns.

Gudlcuk
Prasanth
Torsten.
Acclaimed Contributor

Re: Filesystem Extending Queries.

With an EVA 8x00 I would expect up to 8 pathes to each vdisk ...

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!   
kunjuttan
Super Advisor

Re: Filesystem Extending Queries.

So what will be the command?Is the following?what about pvcreate .Is it not necessory to uase all the paths??pls help.its very critical.Thats what i am asking for each and every thing.

#pvcreate /dev/rdsk/cxtxdx

Extend the existing VG,
#vgextend vgsapdata1 /dev/dsk/cxtxdx /dev/dsk/cxtxdx /dev/dsk/cxtxdx /dev/dsk/cxtxdx

Kapil Jha
Honored Contributor

Re: Filesystem Extending Queries.

Yups thats the thing you can do it with out worrying.
If you further wants to check, you can always reduce the other paths.
right now I suppose with whatever you have provided best thing is to extend VG with all links.
And which storage is that do u have powermt securepath autopath

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Torsten.
Acclaimed Contributor

Re: Filesystem Extending Queries.

Do pvcreate only once, then add (vgextend) all the alternate pathes.

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!   
kunjuttan
Super Advisor

Re: Filesystem Extending Queries.

#vgextend vgsapdata1 /dev/dsk/cxtxdx /dev/dsk/cxtxdx /dev/dsk/cxtxdx /dev/dsk/cxtxdx

above command is to be used.isnt it??
kunjuttan
Super Advisor

Re: Filesystem Extending Queries.

pls confirm,so that i can go ahead..
Torsten.
Acclaimed Contributor

Re: Filesystem Extending Queries.

It will work that way.
Please think about the order of pathes, consider to use the second path on the second HBA, etc ...

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!   
singh sanjeev
Trusted Contributor

Re: Filesystem Extending Queries.

yes..

vgextend
Sanjeev Singh
Benoy Daniel
Trusted Contributor

Re: Filesystem Extending Queries.

Do a pvcreate /dev/rdsk/c16t0d2 and then do a vgextend /dev/dsk/c16t0d2 /dev/dsk/c18t0d2
Chandrahasa s
Valued Contributor

Re: Filesystem Extending Queries.

Hi new disks you can findout using ioscan -fnc out put compare ioscan out put which you had earlier and now,

and also you can go inside /dev/dsk

and run ls -ltr

it shows new device file created with date

by this out put also you can figer out which one is new disk

do vgextend vg new pvs new pvs

Chandra
P Arumugavel
Respected Contributor

Re: Filesystem Extending Queries.

Hi, if u feel difficulty to use the multipath in vgextend, u can go for 11i v3. Where u can have mapping views of persistent to legacy DSF and HW paths.