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

Re: [linux-lvm] grow lv bug



On Wed, Sep 23, 2009 at 07:55:09AM +1000, Hugh wrote:
> Yes I did. I used --setphysicalvolumesize
> it responded that it was successful.

Without any warning messages?

>From the man page:

      --setphysicalvolumesize size
	Overrides  the  automatically-detected size of the PV.  Use with
	care, or prior to reducing the physical size of the device.

If you change the physical size of the device, it detects the new size
automatically and you don't need that argument.  But that argument instructs
LVM to pretend the device is some size other than the one it really is...

Maybe we should require --force as well and add a 'Please confirm you
know what this actually does' prompt.

Alasdair


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