From: Andres Salomon Subject: Re: [linux-lvm] LV resizing problems Message-ID: <20020612150209.GA24812@chunk.voxel.net> References: <20020611200040.GA21603@chunk.voxel.net> <3D0736E0.7090009@ibourgogne.net> Mime-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <3D0736E0.7090009@ibourgogne.net> Sender: linux-lvm-admin@sistina.com Errors-To: linux-lvm-admin@sistina.com Reply-To: linux-lvm@sistina.com List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: Date: Wed Jun 12 10:02:02 2002 List-Id: Content-Type: text/plain; charset="iso-8859-1" To: linux-lvm@sistina.com 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. On Wed, Jun 12, 2002 at 01:56:16PM +0200, S=EF=BF=BDbastien GALLET wrote: >=20 > Hi, > Do a vgdisplay to get the number of free PE (vgdisplay /dev/site) > Then,do >=20 > sudo e2fsadm -l number_of_free_PE /dev/site/lvol1 >=20 >=20 > Andres Salomon wrote: >=20 > >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),=20 > >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? > > > >=20 > > >=20 >=20 >=20 > _______________________________________________ > linux-lvm mailing list > linux-lvm@sistina.com > http://lists.sistina.com/mailman/listinfo/linux-lvm > read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html --=20 people fear what they don't understand that is not true most people fear what they don't understand, and the rest get killed by those people