From: "Heinz J. Mauelshagen" <Mauelshagen@sistina.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] LVM questions & problems.
Date: Tue, 8 May 2001 09:45:49 +0000 [thread overview]
Message-ID: <20010508094549.B31443@sistina.com> (raw)
In-Reply-To: <989251023.1153.5.camel@localhost>; from raheesom@navpoint.com on Mon, May 07, 2001 at 11:57:03AM -0400
On Mon, May 07, 2001 at 11:57:03AM -0400, Rupert Heesom wrote:
> On 07 May 2001 10:28:44 +0000, Heinz J. Mauelshagen wrote:
> > On Sun, May 06, 2001 at 09:05:13PM -0400, Rupert Heesom wrote:
> > > I'm practicing doing some LVM commands, and am coming up with some
> > > problems -
> > >
> > > Most disconcerting is that when I try to create a directory in the LV, I
> > > get the following error - (this does not happen all the time, but almost
> > > all the time 99%) -
> > >
> > > [root@localhost Tmp]# mkdir test1
> > > mkdir: cannot create directory `test1': Input/output error
> >
> > You didn't metion, if the filesystem is still in a sane state.
> >
> > Did you check your syslog for "accessess beyond the end of the device"
> > which indicate fs related problems?
>
> Well, looking at my syslog after mounting my lvol, I saw the following
> msg -
>
> "May 7 11:51:26 localhost kernel: EXT2-fs warning: mounting fs with
> errors, running e2fsck is recommended"
>
> I also saw previous errors which you asked about (lots of them) -
>
> "itmap: Cannot read inode bitmap - block_group = 3, inode_bitmap = 98307
> May 6 14:44:13 localhost kernel: attempt to access beyond end of
> device...."
>
> I have realised what my base problem is.... I have reduced the LV size,
> but not reduced the Ext2 filesystem. For some reason I thought that
> resizing the LV was sufficient.
It likely will be at some point in time in the future.
Triggering the fs resize when a LN gets resized is a TODO item :-)
> Looking further at the HOWTO, and other
> web docs has enlightened me further.
>
> It seems I will try to learn how to use teh e2fsadm util. BTW one of
> the utils seems to be commercial from Powerquest. I have the v4 of
> Partition Magic already. I know it resizes ext2 filesystems, but as far
> as I know needs to be run from within windows (it's been a long time
> since I've used it last). Are the utils such as e2fsadm sufficient /
> good enough without the commercial PM util?
You need to get the resize2fs tool (by Ted Ts'o and Powerquest) in order
to run e2fsadm.
e2fsadm basically is a wrapper which runs either
e2fsck;lvextend;resize2fs
or
e2fsck;resize2fs;lvreduce
resize2fs might already be contained in your distribution.
If not so, use for eg. ftpsearch.lycos.com to figure piles of spaces
where to get it.
>
> --
> regs
> rupert
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
--
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
Mauelshagen@Sistina.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
next prev parent reply other threads:[~2001-05-08 9:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-07 1:05 [linux-lvm] LVM questions & problems Rupert Heesom
2001-05-07 10:28 ` Heinz J. Mauelshagen
2001-05-07 15:57 ` Rupert Heesom
2001-05-08 9:45 ` Heinz J. Mauelshagen [this message]
2001-05-08 16:25 ` Andreas Dilger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010508094549.B31443@sistina.com \
--to=mauelshagen@sistina.com \
--cc=linux-lvm@sistina.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.