From: Andreas Dilger <adilger@turbolabs.com>
To: linux-lvm <linux-lvm@sistina.com>
Subject: Re: [linux-lvm] File size limit exceeded
Date: Mon Dec 17 01:41:02 2001 [thread overview]
Message-ID: <20011217004350.L855@lynx.no> (raw)
In-Reply-To: <20011217035851.B4880@tiger.bigcats.invalid>; from weissel@netcologne.de on Mon, Dec 17, 2001 at 03:58:51AM +0100
On Dec 17, 2001 03:58 +0100, Wolfgang Weisselberg wrote:
> Goetz Bock (bock@blacknet.de) wrote 160 lines:
> > I've a strange problem with my LVM:
>
> > root # lvcreate -L 20G -n dragon filebase
> > root # mke2fs /dev/filebase/dragon
>
> > File size limit exceeded
>
> Funny, that one popped up over here as well (though I get
> it when lvcreate'ing). I belive it started somewhere after
> kernel 2.4.15 or 16 and/or LVM 1.0.1.
>
> Also funny: It works OK from the console, but not under X -- if
> I use screen on the console and reconnect to that screen under
> X it still works, even creating new windows inside screen.
> (Yes, yes, the ulimits are the same under the console and
> under X for root. X itself doesn't run under root, of course.)
It is a kernel problem, and not limited to LVM. You need to log
in directly as root (no "su -") so that you don't have any ulimit
set for your shell. Block devices moved into the page cache in
2.4.10, and were (incorrectly) affected by file size limits. This
is fixed in 2.4.17-pre(something), or there is a patch to fix this
also (search for "setrlimit" on l-k).
Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/
next prev parent reply other threads:[~2001-12-17 1:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-16 18:40 [linux-lvm] File size limit exceeded Goetz Bock
2001-12-16 21:12 ` Wolfgang Weisselberg
2001-12-17 1:41 ` Andreas Dilger [this message]
2001-12-17 2:41 ` Wolfgang Weisselberg
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=20011217004350.L855@lynx.no \
--to=adilger@turbolabs.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.