[linux-lvm] merging 2 logical volumes in same volume group

Bipin Butala bipinbipin at hotmail.com
Fri Apr 4 22:06:01 UTC 2003


i have two logical volumes in the same volume group and was
wondering if/how it would be possible to merge them into a single
logical volume, without having to migrate the data.

i attempted to extend the filesystem at the time of creation but
ran into the error
  "not enough physical extents to create"
i couldn't find much documentation regarding this error.
any suggestions or ideas are greatly appreciated.

here are some outputs.

[root at fido-1]# ls /dev/fido_vg/
group  lv1-fido  lv2-fido

[root at fido-1]# pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- ACTIVE   PV "/dev/hdg1" of VG "fido_vg" [55.91 GB / 412 MB free]
pvscan -- ACTIVE   PV "/dev/hde1" of VG "fido_vg" [55.91 GB / 416 MB free]
pvscan -- ACTIVE   PV "/dev/hdf1" of VG "fido_vg" [57.24 GB / 0 free]
pvscan -- ACTIVE   PV "/dev/hdf2" of VG "fido_vg" [57.24 GB / 496 MB free]
pvscan -- total: 4 [226.33 GB] / in use: 4 [226.33 GB] / in no VG: 0 [0]

[root at fido-1]# lvscan
lvscan -- ACTIVE            "/dev/fido_vg/lv1-fido" [111.01 GB] contiguous 
striped[2]
lvscan -- ACTIVE            "/dev/fido_vg/lv2-fido" [114 GB]
lvscan -- 2 logical volumes with 225.01 GB total in 1 volume group
lvscan -- 2 active logical volumes


regards,

                  B | P | N


Bipin E Butala
Unix and Multimedia Engineer
3232 Blaisdell Ave S (apt.#105)
Minneapolis, MN 55408
(612) 747-4218




_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963





More information about the linux-lvm mailing list