Re: LVM: 200G + 200G = 376G ?!?

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

 



On Wed, 2005-08-10 at 19:11 +0200, Colin Brace wrote:
> Hi all,
> 
> I have two 200G HDs with which I would like to create is single LVM volume.
> 
> To begin with, I created one single primary partition on each of the
> drives. Here is the fdisk output:
> 
> Disk /dev/sda: 200.0 GB, 200049647616 bytes
> 255 heads, 63 sectors/track, 24321 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
> Device Boot      Start         End      Blocks   Id  System
> /dev/sda1               1       24321   195358401   83  Linux
> 
> Disk /dev/sdb: 203.9 GB, 203928109056 bytes
> 255 heads, 63 sectors/track, 24792 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
> Device Boot      Start         End      Blocks   Id  System
> /dev/sdb1               1       24792   199141708+  83  Linux
> 
> Next I ran pvcreate on each. With vgcreate I then created a groups
> called "zinka" consisting of /dev/sda1 /dev/sdb1
> 
> Now I wanted to create a single logical volume called "films":
> 
>     lvcreate -n films -L 400G zinka
> 
> However, lvcreate complained:
> 
>     Insufficient free extents (96310) in volume group zinka: 102400 required
> 
> By trial and error, I discovered that I could only make a volume 376G in
> size. What is happening to those other 24Gs?
> 
> Here is the output of vgdisplay:
> 
>   --- Volume group ---
>   VG Name               zinka
>   System ID
>   Format                lvm2
>   Metadata Areas        2
>   Metadata Sequence No  8
>   VG Access             read/write
>   VG Status             resizable
>   MAX LV                0
>   Cur LV                1
>   Open LV               0
>   Max PV                0
>   Cur PV                2
>   Act PV                2
>   VG Size               376.21 GB
>   PE Size               4.00 MB
>   Total PE              96310
>   Alloc PE / Size       96256 / 376.00 GB
>   Free  PE / Size       54 / 216.00 MB
>   VG UUID               TzCRA5-y8er-O14N-4b8D-fQMA-J1l0-iCYKtR

What's the output of "fdisk -l" and "vgdisplay -v"?

You could also do "lvextend --extents +54 /dev/zinka/films" to at least
use up that unallocated 216MB.

Paul.
-- 
Paul Howarth <paul@xxxxxxxxxxxx>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux