[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: resizing an EXT2 partion fails
From: |
Andrew Clausen |
Subject: |
Re: resizing an EXT2 partion fails |
Date: |
Mon, 19 Nov 2001 06:58:29 +1100 |
User-agent: |
Mutt/1.3.17i |
On Sun, Nov 18, 2001 at 11:11:20PM +0800, address@hidden wrote:
> I'm trying to resize an ext2 partition and it fails with
> SIGXFSZ (File size limit exceeded)
I've never seen that before!
What version of Linux are you running?
What version of Parted? Did you compile it yourself?
> Using /dev/hdc
> Information: The operating system thinks the geometry on /dev/hdc is
> 39693/16/63. Therefore, cylinder 1024 ends at 503.999M.
> (parted) print
> Disk geometry for /dev/hdc: 0.000-19536.767 megabytes
> Disk label type: msdos
> Minor Start End Type Filesystem Flags
> 1 0.031 9536.625 primary ext2 boot
> 2 9536.625 9658.687 primary linux-swap
> 4 9658.688 14768.085 primary ext2
>
> resize 4 9658.688 15768.085
>
> This is a trace of what happens
>
> read(3, "\2\0\0\0\3\0\0\0\4\0\0\0\0\0\200#9\0\0\0\0\0\0\0\0\0\0"..., 4096) =
> 4096
> old_mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0x40270000
What does mmap'ing to fd = -1 mean? Prolly not relevant...
> _llseek(3, 18446744071892041728, [15362359296], SEEK_SET) = 0
> read(3, "\377\377\377\377\377\377\377\377\377\377\377\377\377\377"..., 4096)
> = 4096
> _llseek(3, 10127867904, [10127867904], SEEK_SET) = 0
> read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) =
> 4096
> _llseek(3, 10127867904, [10127867904], SEEK_SET) = 0
> write(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) =
> -1 EFBIG (File too large)
Those numbers look sane (the ones in the square brackets...).
I'm not sure what layout of _llseek() strace uses, but I'm assuming
what's in the square brackets is the offset...
Andrew