Re: [Hampshire] LVM problems

Top Page
Author: Hugo Mills
Date:  
To: lug, Hampshire LUG Discussion List
Subject: Re: [Hampshire] LVM problems

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x57298100.hantslug.org.uk.1052': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Tue Oct 26 15:40:46 2010 BST
gpg: using DSA key 20ACB3BE515C238D
gpg: Can't check signature: No public key
On Tue, Oct 26, 2010 at 03:35:34PM +0100, Vic wrote:
>
> > # lvresize --setphysicalvolumesize 117016887296b /dev/sda5
> > # lvresize /dev/sda5
>
> I think those should be "pvresize", shouldn't they?


D'oh! Yes, you're quite right. My mistake. Sorry, Chris.

> The first one *might* also be unnecessary - but we're into speculation
> territory here, as I don't think I've ever had to use pvresize...


I wasn't sure if the first was necessary either.

I *have* used pvresize, and quite recently -- I was shifting data
off a filesystem on LVM on RAID5 into the space vacated by the RAID5
as I took individual volumes out of it. However, I didn't encounter
this particular issue on the way.

Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
                      --- vi: The core of evil. ---