You are not logged in.

#1 2012-08-27 13:57:37

qiuwei
Member
Registered: 2009-12-18
Posts: 245

[Solved]No space left on device

Hi,all

I got into this problem recently, when I tried to update the whole system:

[wqiu@wqiu-host /]$ sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 unity is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Targets (9): bootchart-1.20-1  hspell-1.2-1  hwids-20120815-1  initscripts-2012.08.3-1
             libatasmart-0.19-1  libgssglue-0.4-1  udisks-1.0.4-5  xf86-video-intel-2.20.5-1
             xorg-server-common-1.12.4-1

Total Download Size:    1.61 MiB
Total Installed Size:   5.05 MiB
Net Upgrade Size:       -0.01 MiB

Proceed with installation? [Y/n] y
:: Retrieving packages from core...
 hwids-20120815-1-any              273.9 KiB  1852K/s 00:00 [################################] 100%
error: could not rename /var/cache/pacman/pkg/hwids-20120815-1-any.pkg.tar.xz.part to /var/cache/pacman/pkg/hwids-20120815-1-any.pkg.tar.xz (No space left on device)
warning: failed to retrieve some files from core
 initscripts-2012.08.3-1-any        23.8 KiB   792K/s 00:00 [################################] 100%
error: could not rename /var/cache/pacman/pkg/initscripts-2012.08.3-1-any.pkg.tar.xz.part to /var/cache/pacman/pkg/initscripts-2012.08.3-1-any.pkg.tar.xz (No space left on device)
warning: failed to retrieve some files from core
 libgssglue-0.4-1-x86_64            29.4 KiB  1074K/s 00:00 [################################] 100%
error: could not rename /var/cache/pacman/pkg/libgssglue-0.4-1-x86_64.pkg.tar.xz.part to /var/cache/pacman/pkg/libgssglue-0.4-1-x86_64.pkg.tar.xz (No space left on device)
warning: failed to retrieve some files from core
:: Retrieving packages from extra...
 bootchart-1.20-1-x86_64            18.8 KiB   675K/s 00:00 [################################] 100%
 hspell-1.2-1-x86_64               647.0 KiB  2.16M/s 00:00 [################################] 100%
 libatasmart-0.19-1-x86_64          25.5 KiB  2.52M/s 00:00 [################################] 100%
 udisks-1.0.4-5-x86_64             147.4 KiB  1672K/s 00:00 [################################] 100%
 xf86-video-intel-2.20.5-1-x86_64  459.7 KiB  2008K/s 00:00 [################################] 100%
error: could not rename /var/cache/pacman/pkg/xf86-video-intel-2.20.5-1-x86_64.pkg.tar.xz.part to /var/cache/pacman/pkg/xf86-video-intel-2.20.5-1-x86_64.pkg.tar.xz (No space left on device)
warning: failed to retrieve some files from extra
 xorg-server-common-1.12.4-1-...    25.0 KiB  2.66M/s 00:00 [################################] 100%
error: could not rename /var/cache/pacman/pkg/xorg-server-common-1.12.4-1-x86_64.pkg.tar.xz.part to /var/cache/pacman/pkg/xorg-server-common-1.12.4-1-x86_64.pkg.tar.xz (No space left on device)
warning: failed to retrieve some files from extra
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

However, there is plenty of space:

[wqiu@wqiu-host /]$ df -h
Filesystem      Size  Used Avail Use% Mounted on
rootfs           36G   30G  5.9G  84% /
dev             1.9G     0  1.9G   0% /dev
run             1.9G  376K  1.9G   1% /run
/dev/sda7        36G   30G  5.9G  84% /
shm             1.9G  4.4M  1.9G   1% /dev/shm
tmpfs           1.9G  136K  1.9G   1% /tmp
/dev/sda6        92M   20M   67M  23% /boot
/dev/sda5       209G  146G   63G  71% /media/Program_Data
/dev/sda2        49G   42G  7.5G  85% /media/Windows7_OS

I'm using the same partition for / and /home. The file system is btrfs.

[wqiu@wqiu-host /]$ df -i
Filesystem       Inodes  IUsed    IFree IUse% Mounted on
rootfs                0      0        0     - /
dev              491548    423   491125    1% /dev
run              492254    450   491804    1% /run
/dev/sda7             0      0        0     - /
shm              492254      9   492245    1% /dev/shm
tmpfs            492254     47   492207    1% /tmp
/dev/sda6         24096     29    24067    1% /boot
/dev/sda5      65703608 441797 65261811    1% /media/Program_Data
/dev/sda2       8037868 141055  7896813    2% /media/Windows7_OS

I already tried to clean the cache of pacman, but it didn't help.
Thanks a lot!

Last edited by qiuwei (2012-08-27 14:52:09)

Offline

#2 2012-08-27 14:56:12

qiuwei
Member
Registered: 2009-12-18
Posts: 245

Re: [Solved]No space left on device

OK, I found the cause which is still the typical "running out of inodes" problem.
After I deleted several directories of small files, every goes well now.
But I'm still confused, since btrfs is claimed that it can dynamically allocate inodes.

Offline

Board footer

Powered by FluxBB