[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] File size limit exceeded



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/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]