Re: [Hampshire] LVM problems

Top Page
Author: Chris Smith
Date:  
To: hampshire
Subject: Re: [Hampshire] LVM problems

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x56c38100.hantslug.org.uk.15815': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Tue Oct 26 15:18:17 2010 BST
gpg: using DSA key 11BEF6408586B4B2
gpg: Can't check signature: No public key
On 26/10/10 15:09, Hugo Mills wrote:
> On Tue, Oct 26, 2010 at 03:03:47PM +0100, Vic wrote:
>>
>>> Partition Table: msdos
>>
>> That's that theory dead, then :-)
>>
>> OK, here comes the next one. sda5 is reported as:
>>
>>>  5      257MB   125GB  125GB   logical                lvm

>>
>> But in the pvdisplay output, we get:
>>
>>   PV Name               /dev/sda5
>>   VG Name               pooky_vg
>>   PV Size               148.81 GiB / not usable 2.00 MiB
>>   Allocatable           yes
>>   PE Size               4.00 MiB
>>   Total PE              38095
>>   Free PE               10452
>>   Allocated PE          27643
>>   PV UUID               6vjc8d-5N80-0HrF-JzFb-l8o7-NcBD-bOn76g

>>
>> So it's trying to cram 148GB of PV onto a 125GB partition :-(
>
>    I think you've got it.


Bah! Too many numbers. I completely missed that. :(

>    Chris: Can you show us the output of pvdisplay --maps /dev/sda5,
> please?


Ok, output below. I haven't resized the partitions; they were created
by the Ubuntu Lucid installer (alternate CD) and I haven't touched them
since. I believe I have lvextended the home partition, but that's it.

  --- Physical volume ---
  PV Name               /dev/sda5
  VG Name               pooky_vg
  PV Size               148.81 GiB / not usable 2.00 MiB
  Allocatable           yes
  PE Size               4.00 MiB
  Total PE              38095
  Free PE               10452
  Allocated PE          27643
  PV UUID               6vjc8d-5N80-0HrF-JzFb-l8o7-NcBD-bOn76g


  --- Physical Segments ---
  Physical extent 0 to 4767:
    Logical volume    /dev/pooky_vg/lucid_system_lv
    Logical extents    0 to 4767
  Physical extent 4768 to 5482:
    Logical volume    /dev/pooky_vg/swap_lv
    Logical extents    0 to 714
  Physical extent 5483 to 17402:
    Logical volume    /dev/pooky_vg/home_lv
    Logical extents    0 to 11919
  Physical extent 17403 to 22522:
    Logical volume    /dev/pooky_vg/media_lv
    Logical extents    0 to 5119
  Physical extent 22523 to 27642:
    Logical volume    /dev/pooky_vg/home_lv
    Logical extents    11920 to 17039
  Physical extent 27643 to 38094:
    FREE


Chris
--
Chris Smith <cjs94@???>