Page 1 of 1

Wrong filesystem size in v2.6-4GB USB stick images? ** solv

Posted: Thu Jul 31, 2008 9:17 am
by web_smith
Hi,

is it possible, that the file system size of the third partition used as /data partition is the size usually used at the 2GB stick?
The partition size seems ok:

root@meteohub:/data/weather$ fdisk -l

Disk /dev/sda: 4110 MB, 4110417920 bytes
16 heads, 32 sectors/track, 15680 cylinders
Units = cylinders of 512 * 512 = 262144 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 1664 425968 83 Linux
/dev/sda2 1665 2176 131072 82 Linux swap
/dev/sda3 2177 15100 3308544 83 Linux

but the file system size seems to small:

root@meteohub:/data/weather$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/sda1 412524 220797 170429 56% /
/dev/mtdblock4 6528 5564 964 85% /initrd
/dev/sda1 412524 220797 170429 56% /dev/.static/dev
tmpfs 2048 32 2016 2% /dev
/dev/sda3 1354092 239336 1045972 19% /data
tmpfs 15188 628 14560 4% /var/volatile
tmpfs 15188 0 15188 0% /dev/shm
root@meteohub:/data/weather$

Just about 1.3GB instead of 3.3GB.

Can anyone confirm this?

History: I upgraded from 2.3e to 2.6 using the new USB stick image (4GB) and then to 2.6a using regular update.

Stefan

Re:Wrong filesystem size in v2.6-4GB USB stick images?

Posted: Thu Jul 31, 2008 8:11 pm
by admin
Updates don't change the size of the data partition. Did you install the usb stick image 2.3 or 2.6?

I am quite sure that both usb stick images have a data partition sized correctly. What was the exact filename of the usb stick image you used for initial set-up?

Re:Wrong filesystem size in v2.6-4GB USB stick images?

Posted: Fri Aug 01, 2008 8:33 am
by web_smith
Hi,

I have meteohub-v2.6-4GB.rar, downloaded Jul 21st, with meteohub-v2.6-4GB.dd from Jul 11th, 9 p.m.
I mentioned the history of the upgrade just to be sure to mention it, as I used the backup/restore function in meteohub.

The partition size is correct, but the filesystem in the partition is 1.3GB big instead of about 3.3GB.

I just confirmed the different size:

mount -o loop,offset=570425344 meteohub-v2.6-4GB.dd /mnt/

spider:/mnt # df /mnt
Filesystem 1K-blocks Used Available Use% Mounted on
/home/jsj/Wetterstationen/meteohub-v2.6-4GB.dd
1354092 33148 1252160 3% /mnt

I think I am starting over with a fixed filesystem (resize2fs /dev/loop0) - I am unsure about online resizing on the slug with the usb stick, maybe I am trying this later today, when I am near the slug.

Greetings,

Stefan

Re:Wrong filesystem size in v2.6-4GB USB stick images?

Posted: Fri Aug 01, 2008 9:31 am
by web_smith
I have another glitch in the very image:

/data/log/messages is a symbolic link to /mnt/var/log/messages, which obviously does not exist.

Please fix the link to
/var/log/messages or
/var/volatile/log/messages

Greetings,

Stefan

Re:Wrong filesystem size in v2.6-4GB USB stick images?

Posted: Fri Aug 01, 2008 1:23 pm
by admin
ok, I will inspect the image. Thanks for the exact and valuable feedback.

Re:Wrong filesystem size in v2.6-4GB USB stick images?

Posted: Sat Aug 02, 2008 10:29 am
by admin
A new image has been installed. Download of "meteohub-v2.6-4GB.rar" now delivers the corrected image.

Thanks for pointing on this