Strange errors trying to mirror
I'm trying to mirror my root fs and get errors that make no sense. What am I missing?
PV VG Fmt Attr PSize PFree /dev/sda1 vg0 lvm2 a- 111.79G 61.79G /dev/sdb1 vg0 lvm2 a- 111.79G 111.79G
lvconvert -m1 -i 5 vg0/root
Insufficient suitable allocatable extents for logical volume : 7680
more required
Unable to allocate extents for mirror(s).
Then I tried explicitly telling it to allocate from sdb1:
lvconvert -m1 -i 5 vg0/root /dev/sdb1
Not enough PVs with free space available for parallel allocation. Consider --alloc anywhere if desperate.
Unable to allocate extents for mirror(s).
There are two PVs so why does it complain?
What's up with "-i 5"? Doesn't that map to striping? you can't stripe across 5 pv's if you only have 2.
Quoted 27 lines · Phillip Susi
I'm trying to mirror my root fs and get errors that make no sense. �What am I missing?
�PV � � � � VG � Fmt �Attr PSize � PFree
�/dev/sda1 �vg0 �lvm2 a- � 111.79G �61.79G
�/dev/sdb1 �vg0 �lvm2 a- � 111.79G 111.79Glvconvert -m1 -i 5 vg0/root
�Insufficient suitable allocatable extents for logical volume : 7680 more required
�Unable to allocate extents for mirror(s).Then I tried explicitly telling it to allocate from sdb1:
lvconvert -m1 -i 5 vg0/root
/dev/sdb1
�Not enough PVs with free space available for parallel allocation. �Consider --alloc anywhere if desperate.
�Unable to allocate extents for mirror(s).There are two PVs so why does it complain?
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Quoted 2 lines · Bryan Whitehead
What's up with "-i 5"? Doesn't that map to striping? you can't stripe across 5 pv's if you only have 2.
No, -i is for update interval to show progress.