[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] Expanding a LUN and a GFS2 filesystem



pvresize

On Wed, 2012-01-25 at 04:40 -0500, linux-cluster-request redhat com
wrote:

> Message: 2
> Date: Tue, 24 Jan 2012 14:19:58 -0800
> From: Wes Modes <wmodes ucsc edu>
> To: linux-cluster redhat com
> Subject: Re: [Linux-cluster] Expanding a LUN and a GFS2 filesystem
> Message-ID: <4F1F2E8E 4010308 ucsc edu>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> I have not extended the volume.  That was precisely my question.  I
> already understand how to grow the GFS2 filesystem (conceptually).  As
> per https://alteeve.com/w/Grow_a_GFS2_Partition. 
> 
> I've tried to increase the size of the volume with lvextend, but it's
> not having it. 
> 
>     [root test03]# lvextend -L +2T /dev/sdb
>       Path required for Logical Volume "sdb"
>       Please provide a volume group name
>       Run `lvextend --help' for more information.
>     [root test03]# lvextend -L +2T  /dev/mapper/gdcache_vg-gdcache_lv /dev/sdb
>       Extending logical volume gdcache_lv to 4.00 TB
>       Insufficient free space: 524288 extents needed, but only 3 available
>     [root test03]# lvextend -L +2000G  /dev/mapper/gdcache_vg-gdcache_lv /dev/sdb  
>       Extending logical volume gdcache_lv to 3.95 TB
>       Insufficient free space: 512000 extents needed, but only 3 available
>     [root test03]# lvextend -L +1999G  /dev/mapper/gdcache_vg-gdcache_lv /dev/sdb    
>       Extending logical volume gdcache_lv to 3.95 TB
>       Insufficient free space: 511744 extents needed, but only 3 available
> 
> I assume I need to expand the underlying PV or VG.  But how?
> 
> Wes


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]