ITEM: Y1495L

Can you increase a striped LV to an additional hdisk


Question:

Env:    4.1.2.

Desc:   

hdisk2 is new and has been added to the volume group.  Customer
would like to know how to extend a filesystem onto that drive.
/work is about 8GB.  The volume group PP size is 8MB.  The LV for
/work is striped across two drives, with a stripe size of 16kb.  
Customer would like to know fi the filesystem can be increased over
to the third drive, maintaining the striping?

Action: 

The issue here is not increasing the filesystem, but the extendlv
command that is called.  The LV on the customer's system is 1050
8Mb PPs, but the PP size and LV size are basically irrelevant.

Ran the following on a test machine:

  \# mklv -S 16K rootvg 4 hdisk0 hdisk2 : created lv00
  \# extendlv lv00 2 hdisk3

    0516-1040 extendlv: Physical volumes cannot be specified when 
              extending the striped logical volume.

I allocated all the PPs on hdisks0,2:

  \# extendlv lv00 2

    0516-1036 extendlv: Striped logical volume size can only be 
              an even multiple of the striping width.
    0516-788  extendlv: Unable to extend logical volume.

This stripe width (equal to the number of disks) is not changeable.
The logical volume will have to be backed up and recreated onto all
the drives.

Next:   Close.


Support Line: Can you increase a striped LV to an additional hdisk ITEM: Y1495L
Dated: August 1995 Category: N/A
This HTML file was generated 99/06/24~13:30:33
Comments or suggestions? Contact us