pvresize not implemented, any way to use pvcreate instead?

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

 



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?

Thanks!
-- 
Axel.Thimm at ATrpms.net

Attachment: pgprDYwWN9cga.pgp
Description: PGP signature

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux