[linux-lvm] cannot extend lv

idsfa at visi.com idsfa at visi.com
Sun Jan 19 12:07:02 UTC 2003


On Sun, Jan 19, 2003 at 10:16:04AM +0000,
Rainer.Lay at informatik.uni-erlangen.de wrote:
> My idea was not to make a 4 stripe set with 4 PV, but a 2 stripe set:
> 
> stripe1: aaaaaaaaabbbbbb
> stripe2: cccccccccdddddd
> 
> so if PV a and c are full, PV b and d are used.

Striping doesn't work that way.  It stripes across all pvs EVENLY
to improve access speeds (the whole reason to stripe).  The only
way to do what you want would have been to use kernel RAID to combine
the physical devices into a single logical device before creating the
stripe set.

> I would create a new lv as you suggested, but drives a and c are two 
> times bigger than b and d, so I thought about the above solution.

I understand, I went through the same exercise two months ago.  I
borrowed a disk from a friend, moved all of the data to it, and rebuilt
my whole VG setup.  It was a major pain in the neck.

Michael
-- 
Think Locally, Act Globally:  
"It's cold in here ... I'd better release a few million tons of CFCs!"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20030119/156ac66a/attachment.sig>


More information about the linux-lvm mailing list