Java Mailing List Archive

http://www.redhatconfig.com/

Home » Ubuntu Technical Support »

Re: Size Problem

Felipe Figueiredo

2008-06-12

Replies: Find Java Web Hosting

Author LoginPost Reply
On Wednesday 11 June 2008 21:31:59 Karl Larsen wrote:
>   I have a real problem with /dev/sda5. I put the /karl directories on
> it and got a 100% full warning. But for gods sake I had doubled the size
> with fdisk and saved it. Here is what df says:
> /dev/sda5         8657308  8216216    1316 100% /mnt
>
> But here is what I did with fdisk and mkfs.ext3 earlier today:
>
> /dev/sda5        2193     4625   19543041  83 Linux
>
> according to fdisk.
>
> Which of these is correct?
>

Both of them.

One is reporting the partition size, and the other is reporting the filesystem
size. Fdisk doesn't mess with filesystems, which is why it's not recommended
for those who don't know exactly what they're doing. You could avoid this by
using parted, or something higher level like that.

You need to resize the filesystem to match the new partition size.
man resize2fs is your friend.

regards
FF

--
ubuntu-users mailing list
ubuntu-users@(protected)
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.