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

[linux-lvm] pvresize not implemented, any way to use pvcreate instead?

pvresize on RHEL4U1 returns with

> # pvresize --help
>   pvresize: Resize a physical volume in use by a volume group
> Not implemented.  Use pvcreate options.

Does this imply that I can use pvcreate to resize a pv? Or is there
any other non-destructive way not involving creating new pvs?

My setup is as follows, I have a SAN exported lun that is EFI
partitioned and has only one partition which is used by LVM as a
pv. We will be adding new disks and I would like to extend this one
exported lun, instead of having several luns/pv in one vg later. I
understand that this does not matter for LVM (and is a problem that
LVM solves), but I'd like to keep the management on the SAN side
simple for the adminstrative staff.

AFAIU this was possible with LVM1, and perhaps is also possible with
LVM2 with a workaround until pvresize is written.

And as a side question: Would parted be able to autodetect the new
disk's size and properly resize partition table and partition?

Axel.Thimm at ATrpms.net

Attachment: pgp1MTQW2es2x.pgp
Description: PGP signature

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