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

Re: [linux-lvm] Re: linux-lvm digest, Vol 1 #118 (MSG 5)

On Tue, Apr 03, 2001 at 11:21:38AM -0400, ardy rdb linux-help org wrote:
> Patrick, thanks for responding,

No problem, that's what we're here for :-)

> pvscan -- reading all physical volumes (this may take a while...)
> pvscan -- ACTIVE   PV "/dev/hdb2" of VG "vg0" [4.75 GB / 44 MB free]
> pvscan -- ACTIVE   PV "/dev/hdd2" of VG "vg0" [9.49 GB / 4.78 GB free]
> pvscan -- total: 2 [14.25 GB] / in use: 2 [14.25 GB] / in no VG: 0 [0]
> Since I only have 44 MB free on hdb2, is that the size limit of any new
> additional striped volumes I can create? 

'fraid so. If you need striping then you must have the same amount of space on
all the available volumes, otherwise it can't stripe effectively.
> Can I create unstriped volumes with the balance of the space left on the
> volume group?

Oh yes, a linear (normal) lv will span the remaining space as required so you
can have a 4.78G+44M LV if you want one.
> Can I resize existing striped volumes and make them larger, and if yes, am
> I limited to a maximum of 44MB as shown by pvscan?

Again, I'm afraid so as it stands. 

What you could do is to use pvmove to copy some physical extents from hdb2 to
hdd2 so that would free up some space you could use for your striped volume.
Read the man page for pvmove carefully and I recommend you unmount your volumes
before doing this as there is a lockup bug in pvmove that shows up when the
volumes are busy.


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