Hi Pablo,
For 0.5.2 stable, /root/ /var/tmp and /tmp are symlinks to the
corresponding directories under /rw, which is a tmpfs allocated with
default 8MB. To increase /rw size, adjust the /rw tmpfs entry in fstab.
- Punky
Pablo Escobar wrote:
I Rob,
many thanks for your kick answer. I had allready tried to upload the file to a a different
folder and it didn´t worked but after reading your mail I decided to try again just to be
sure and something extrange happened. On the first try it worked:
[pablo][esplinter][/var/tmp]$ scp tftpboot.tar.gz [email protected]:/root
[email protected]'s password:
tftpboot.tar.gz
100% 194MB 3.9MB/s 00:50
scp: /root/tftpboot.tar.gz: No space left on device
[pablo][esplinter][/var/tmp]$ scp tftpboot.tar.gz [email protected]:/var/tmp
[email protected]'s password:
tftpboot.tar.gz
100% 194MB 3.9MB/s 00:50
scp: /var/tmp/tftpboot.tar.gz: No space left on device
[pablo][esplinter][/var/tmp]$ scp tftpboot.tar.gz [email protected]:/var/local
[email protected]'s password:
tftpboot.tar.gz
100% 194MB 3.5MB/s 00:56
[pablo][esplinter][/var/tmp]$
I have been looking around /etc/fstab , "df" "fdisk" and "mount" commands to try to figure
why it is working this way and I can´t find any configuration which explains it. Is seems
all three directories (/root, /var/tmp and /var/local) are in the same partition so I
think maybe my flash cart is not working ok. It seems strange because I haven´t used it
too much.
many thanks
Pablo.
On Thursday 12 February 2009 21:00:27 Rob Jenkins wrote:
Hi Pablo,
I am not sure what version of Voyage you are using but on mine (an older
fork of Voyage v2) the /tmp directory is part of the /rw directory tree
and therefore only has a few MB assigned to it (looks like you have 8MB
for yours).
You can assign more space to the RW directories in /etc/fstab or just
upload files to a non-RW directory (after remountrw of course)
Hope this helps,
Rob
On Thu, 2009-02-12 at 11:52 -0800, Pablo Escobar wrote:
Hi,
I have been using the stable version of voyage linux installed on a alix
board with a 4gb flash card working great for many months but now I have
found a really strange problem.
I have plenty of free space on the flash card. Here you can see output of
"df" command on voyage machine:
voyage:/var/tftpboot.old# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 3.8G 305M 3.3G 9% /
udev 10M 20K 10M 1% /dev
/dev/disk/by-label/ROOT_FS
3.8G 305M 3.3G 9% /
/dev/disk/by-label/ROOT_FS
3.8G 305M 3.3G 9% /dev/.static/dev
tmpfs 126M 0 126M 0% /lib/init/rw
tmpfs 126M 0 126M 0% /dev/shm
tmpfs 8.0M 1020K 7.1M 13% /rw
but when I run "remountw" on voyage machine and try to upload a 195M file
from my personal computer I get a "no space left" error which I don´t
understand
[mypc][/var/tmp]$ du -sh tftpboot.tar.gz
195M tftpboot.tar.gz
[mypc][esplinter][/var/tmp]$ scp tftpboot.tar.gz r...@voyage:/tmp
r...@voyage's password:
tftpboot.tar.gz
100% 194MB 4.0MB/s 00:49
scp: /tmp/tftpboot.tar.gz: No space left on device
After the "no space left" error the md5sum of the uploaded file is wrong
and I cant decompress it. I have also tried to upload to differents
directories and to upload all the files after decomprising them on my
personal computer but nothing worked.
I haven´t found any message with similar problem on the mailing list and
I have been thinking to disable the /ro and /rw stuff as explained here
http://wiki.voyage.hk/dokuwiki/doku.php?id=remove_ro
¿does anyone knows if doing this can solve my problem?? ¿Maybe is there
any other workaround?
many thanks in advance for any help.
Pablo.
_______________________________________________
Voyage-linux mailing list
[email protected]
http://list.voyage.hk/mailman/listinfo/voyage-linux
_______________________________________________
Voyage-linux mailing list
[email protected]
http://list.voyage.hk/mailman/listinfo/voyage-linux
--
Regards,
Punky
Voyage Solutions (http://solution.voyage.hk)
* Embedded Solutions and Systems
- Mesh Networking, Captive Portal, IP Surveillance, VoIP/PBX
- Network Engineering, Development Platform and Consultation
_______________________________________________
Voyage-linux mailing list
[email protected]
http://list.voyage.hk/mailman/listinfo/voyage-linux