[root]# lvextend -L +10G /dev/Scratch/Scratch /dev/sde1
lvextend -- rounding size to stripe boundary size
lvextend -- extending logical volume "/dev/Scratch/Scratch" to 111.02
GB
lvextend -- not enough free/allocatable physical extents to extend
logical
volume "/dev/Scratch/Scratch"
I will try -l now. Here is a disk already in the group. It is an
identical
disk.
[root]# pvdisplay /dev/sdd1
--- Physical volume ---
PV Name /dev/sdd1
VG Name Scratch
PV Size 33.91 GB [71119692 secs] / NOT usable 4.19 MB
[LVM:
161 KB]
PV# 3
PV Status available
Allocatable yes
Cur LV 1
PE Size (KByte) 4096
Total PE 8680
Free PE 60
Allocated PE 8620
PV UUID S02n1R-lmdI-CU75-hMVp-gwxl-PAwk-dQiNP5
I will use its allocated extent size for the new one
lvextend -l +8620 /dev/Scratch/Scratch /dev/sde1
lvextend -- rounding size to stripe boundary size
lvextend -- extending logical volume "/dev/Scratch/Scratch" to 134.70
GB
lvextend -- not enough free/allocatable physical extents to extend
logical
volume "/dev/Scratch/Scratch"
[root]# pvdisplay /dev/sde1
--- Physical volume ---
PV Name /dev/sde1
VG Name Scratch
PV Size 33.91 GB [71119692 secs] / NOT usable 4.19 MB
[LVM:
161 KB]
PV# 4
PV Status NOT available
Allocatable yes
Cur LV 0
PE Size (KByte) 4096
Total PE 8680
Free PE 8680
Allocated PE 0
PV UUID x4xXPp-UXDb-fBfO-tnpb-E4HT-q8qJ-p5X6HT
[root]# lvextend -l +7000 /dev/Scratch/Scratch /dev/sde1
lvextend -- rounding size to stripe boundary size
lvextend -- extending logical volume "/dev/Scratch/Scratch" to 128.37
GB
lvextend -- not enough free/allocatable physical extents to extend
logical
volume "/dev/Scratch/Scratch"
The volume is using striping. Is there some issue with that? Do I
have to
do some other steps to add the new disk so it is available?
_______________________________________________
linux-lvm mailing list
linux-lvm sistina com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/