LV resizing problems
This VG in general has been giving me problems; I had to vgcfgrestore last night. I added a 160 gig drive; pvcreated, vgextended.. I then tried to lvextend and resize2fs, but resize2fs thought that it was already at max size. After removing and readding the partition from the VG, I tried e2fsadm, and got:
[dilinger@incandescent dilinger]$ sudo e2fsadm -l 28208 /dev/site/lvol1
e2fsck 1.27 (8-Mar-2002)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information/dev/site/lvol1: 21960/37765120 files (5.0% non-contiguous), 70450278/75526144 blocks
lvextend -- extending logical volume "/dev/site/lvol1" to 440.75 GB lvextend -- doing automatic backup of volume group "site"
lvextend -- logical volume "/dev/site/lvol1" successfully extended resize2fs 1.27 (8-Mar-2002)
The containing partition (or device) is only 75526144 blocks.
You requested a new size of 115539968 blocks.
The LV remains at the old size (284 gigs) when mounted; lvdisplay shows:
--- Logical volume ---
LV Name /dev/site/lvol1 VG Name site LV Write Access read/write LV Status available LV # 2 # open 1 LV Size 440.75 GB Current LE 28208 Allocated LE 28208 Allocation next free Read ahead sectors 120 Block device 58:0
Has anyone seen/solved this problem?
Signature · 4 lines
<dilinger> people fear what they don't understand <zinx> that is not true <zinx> most people fear what they don't understand, and the rest get killed by those people
Hi,
Do a vgdisplay to get the number of free PE (vgdisplay /dev/site) Then,do
sudo e2fsadm -l number_of_free_PE /dev/site/lvol1
Quoted 43 lines · Andres Salomon
This VG in general has been giving me problems; I had to vgcfgrestore last night. I added a 160 gig drive; pvcreated, vgextended.. I then tried to lvextend and resize2fs, but resize2fs thought that it was already at max size. After removing and readding the partition from the VG, I tried e2fsadm, and got:
[dilinger@incandescent dilinger]$ sudo e2fsadm -l 28208
/dev/site/lvol1e2fsck 1.27 (8-Mar-2002)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information/dev/site/lvol1: 21960/37765120 files (5.0% non-contiguous), 70450278/75526144 blocks lvextend -- extending logical volume "/dev/site/lvol1" to 440.75 GB lvextend -- doing automatic backup of volume group "site"
lvextend -- logical volume "/dev/site/lvol1" successfully extended resize2fs 1.27 (8-Mar-2002)
The containing partition (or device) is only 75526144 blocks.
You requested a new size of 115539968 blocks.The LV remains at the old size (284 gigs) when mounted; lvdisplay shows:
--- Logical volume ---
LV Name /dev/site/lvol1 VG Name site LV Write Access read/write LV Status available LV # 2 # open 1 LV Size 440.75 GB Current LE 28208 Allocated LE 28208 Allocation next free Read ahead sectors 120 Block device 58:0Has anyone seen/solved this problem?
Total PE 28208 Alloc PE / Size 28208 / 440.75 GB Free PE / Size 0 / 0
They're all allocated to that LV. They're definitely there, and lvdisplay agrees w/ me there..
Looks like either a bug in e2fsadm, or a typo in the manpage (using the debian unstable package). e2fsadm -l+9769 works; -l 28208 doesn't.
Quoted 62 lines · S�bastien GALLET
Hi,
Do a vgdisplay to get the number of free PE (vgdisplay/dev/site) Then,dosudo e2fsadm -l
number_of_free_PE/dev/site/lvol1Quoted 40 lines · Andres Salomon
This VG in general has been giving me problems; I had to vgcfgrestore last night. I added a 160 gig drive; pvcreated, vgextended.. I then tried to lvextend and resize2fs, but resize2fs thought that it was already at max size. After removing and readding the partition from the VG, I tried e2fsadm, and got:
[dilinger@incandescent dilinger]$ sudo e2fsadm -l 28208
/dev/site/lvol1e2fsck 1.27 (8-Mar-2002)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information/dev/site/lvol1: 21960/37765120 files (5.0% non-contiguous), 70450278/75526144 blocks
lvextend -- extending logical volume "/dev/site/lvol1" to 440.75 GB lvextend -- doing automatic backup of volume group "site" lvextend -- logical volume "/dev/site/lvol1" successfully extended resize2fs 1.27 (8-Mar-2002)
The containing partition (or device) is only 75526144 blocks. You requested a new size of 115539968 blocks.The LV remains at the old size (284 gigs) when mounted; lvdisplay shows:
--- Logical volume ---
LV Name /dev/site/lvol1 VG Name site LV Write Access read/write LV Status available LV # 2 # open 1 LV Size 440.75 GB Current LE 28208 Allocated LE 28208 Allocation next free Read ahead sectors 120 Block device 58:0Quoted 4 lines
Has anyone seen/solved this problem?
_______________________________________________
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 · 4 lines
<dilinger> people fear what they don't understand <zinx> that is not true <zinx> most people fear what they don't understand, and the rest get killed by those people