Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
Please write the result of mount command
Original comment by Dr.Sydorenko.O
on 3 Oct 2013 at 6:33
Hi,
I encountered the same problem. Also, any attempts to write something to usb
drive fail:
/opt/home/admin # echo 'hi' > ./tmp
-sh: can't create ./tmp: No space left on device
mounts:
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
usbfs on /proc/bus/usb type usbfs (rw,relatime)
tmpfs on /dev type tmpfs (rw,relatime,size=8k)
tmpfs on /etc type tmpfs (rw,noatime,size=2048k)
tmpfs on /home type tmpfs (rw,relatime,size=1024k)
tmpfs on /media type tmpfs (rw,relatime,size=8k)
tmpfs on /mnt type tmpfs (rw,relatime,size=8k)
tmpfs on /tmp type tmpfs (rw,relatime,size=24576k)
tmpfs on /var type tmpfs (rw,relatime,size=4096k)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/sda2 on /media/tank type ufsd (rw,noatime,sparse,force)
/dev/sdb2 on /media/System type ext4 (rw,noatime,data=ordered)
/dev/sdb2 on /opt type ext4 (rw,noatime,data=ordered)
df -h:
Filesystem Size Used Available Use% Mounted on
rootfs 6.5M 6.5M 0 100% /
/dev/root 6.5M 6.5M 0 100% /
tmpfs 8.0K 0 8.0K 0% /dev
tmpfs 2.0M 140.0K 1.9M 7% /etc
tmpfs 1.0M 8.0K 1016.0K 1% /home
tmpfs 8.0K 0 8.0K 0% /media
tmpfs 8.0K 0 8.0K 0% /mnt
tmpfs 24.0M 76.0K 23.9M 0% /tmp
tmpfs 4.0M 220.0K 3.8M 5% /var
/dev/sda2 2.7T 1.2T 1.5T 44% /media/tank
/dev/sdb2 7.2G 226.0M 7.0G 3% /media/System
/dev/sdb2 7.2G 226.0M 7.0G 3% /opt
BR
Nick
Original comment by cmf.ra...@gmail.com
on 3 Jan 2014 at 9:06
Problem solved. It comes out that the file system ran out of inodes. This can
be checked with 'df -i'.
By default, mkfs has allocated around 7200 inodes on a 8Gb usb stick, which
apparently is not enough for some packages. To increase this value, I
reformatted the volume with -N parameter, e.g.:
mkfs.ext4 -m 0 -T largefile -L Main -N 256000 /dev/sda1
Please note that this will destroy the data, and corresponding backup steps
should be taken.
--
BR
Nick
Original comment by cmf.ra...@gmail.com
on 3 Jan 2014 at 11:20
On the small usb stick you must use mkfs without '-T largefile'
Original comment by Dr.Sydorenko.O
on 12 Mar 2014 at 11:02
Original issue reported on code.google.com by
jorman.f...@gmail.com
on 23 Sep 2013 at 5:29