Operating System - HP-UX
1833777 Members
2200 Online
110063 Solutions
New Discussion

Extending striped LV across new disks

 
Trevor McLachlan
Occasional Contributor

Extending striped LV across new disks

I was wondering if I have the correct syntax for extending a logial volume that is currently striped across 4 disks, that are full, and want to extend to 4 newly created disks. Is the syntax -

lvextend -L 120000 /dev/vg01/lvol1 /dev/dsk/cxtxdx /dev/dsk/cxtxdx /dev/dsk/cxtxdx /dev/dsk/cxtxdx ??

With /dev/dsk/cxtxdx being the new disks ?

Thanks
4 REPLIES 4
S.K. Chan
Honored Contributor

Re: Extending striped LV across new disks

Yes the command look ok.
Clemens van Everdingen
Honored Contributor

Re: Extending striped LV across new disks

Hi,

You will be able to extend like this.

BUT: if you want all the disks to be striped together you will need to rebuild the vg completly.

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
John Palmer
Honored Contributor

Re: Extending striped LV across new disks

Hi Trevor,

Yes, you have the correct syntax.

Regards,
John
Clemens van Everdingen
Honored Contributor

Re: Extending striped LV across new disks

Hi,

You answered all our reply's with (N/A)

So I presume we did not answer your question.

Can you explain a bit more, if we didn't understand your question ?

The syntax of your example is correct !

Regards,
C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !