Skip to contentSkip to conversation

lvcreate contiguous flag question

linux-lvm Jorg de Jong 2 participants 2 messages Sep 9, 2001 – Sep 10, 2001

lore
Share & tools
lore
#0 lore raw

Hi,

I created a lv with the option --contiguous y.
But since my disks are rather full the created lv was NOT contiguous.

Strange.

If I try to change the allocation policy from contiguous to next free and to contiugues again for this lv, it will fail. It will only let me set it to next free. This makes sence since the lv is already fragmented.

But why is a newly created lv that has a allocation policy contiguous but is fragmented non the less not reset to next free ? Or not created at all ?

regards,

Jorg de Jong.

#1 lore raw
Quoted 5 lines · Jorg de Jong

Hi,

I created a lv with the option --contiguous y.
But since my disks are rather full the created lv was NOT contiguous.

Quoted 8 lines

Strange.

If I try to change the allocation policy from contiguous to next free and to contiugues again for this lv, it will fail. It will only let me set it to next free. This makes sence since the lv is already fragmented.

But why is a newly created lv that has a allocation policy contiguous but is fragmented non the less not reset to next free ? Or not created at all ?

It shouldn't be silently created next free.

Will check the code...

Quoted 14 lines

regards,

Jorg de Jong.

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

Signature · 15 lines
Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
[email protected]                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-