[arch-general] tmpfs 100% /tmp - No space left on device

WorMzy Tykashi wormzy.tykashi at gmail.com
Thu Aug 15 06:07:55 EDT 2013


On 13 August 2013 17:43, Ralf Mardorf <ralf.mardorf at alice-dsl.net> wrote:

> Hi :)
>
> when I try to build current linux-rt I get "No space left on device",
> resp. df shows "tmpfs 100% /tmp".
>
> What can I do?
> Add "tmpfs   /tmp         tmpfs   nodev,nosuid,size=3G          0  0"
> to /etc/fstab?
> What should somebody do, assumed there are only 2 GB available by RAM?
>
> I could build the kernel-rt before this one,
> [rocketmouse at archlinux ~]$ uname -rm
> 3.8.13-rt14-1-rt x86_64
>
> Some information:
>
> [root at archlinux rocketmouse]# df -h
> Filesystem      Size  Used Avail Use% Mounted on
> /dev/sda9        35G   24G  9.6G  71% /
> dev             1.8G     0  1.8G   0% /dev
> run             1.9G 1008K  1.9G   1% /run
> tmpfs           1.9G     0  1.9G   0% /dev/shm
> tmpfs           1.9G     0  1.9G   0% /sys/fs/cgroup
> tmpfs           1.9G  1.9G     0 100% /tmp
> /dev/sdb12       48G  9.9G   35G  22% /home/music
> /dev/sda11       57G   23G   32G  43% /mnt/music
> /dev/sdb8        20G  7.3G   12G  40% /mnt/maverick
>
> [rocketmouse at archlinux ~]$ hwinfo --memory
> 01: None 00.0: 10102 Main Memory
>   [Created at memory.66]
>   Unique ID: rdCR.CxwsZFjVASF
>   Hardware Class: memory
>   Model: "Main Memory"
>   Memory Range: 0x00000000-0xe78c6fff (rw)
>   Memory Size: 3 GB + 512 MB
>   Config Status: cfg=new, avail=yes, need=no, active=unknown
>
> [root at archlinux rocketmouse]# cat /etc/fstab
> #
> # /etc/fstab: static file system information
> #
> # <file system> <dir>   <type>  <options>       <dump>  <pass>
> # UUID=f386221b-fc9c-434b-b4e7-b3b1b97be8aa LABEL=archlinux
> /dev/sda9               /               ext3
>  rw,relatime,data=ordered        0 1
>
> # UUID=3e19b702-30ed-4574-91d7-1594fad71842
> /dev/sdb7               none            swap            defaults        0 0
>
> # UUID=4b65ccbf-2219-4734-98fa-16c58d4f60fa
> /dev/sda10              none            swap            defaults,pri=-2 0 0
>
> /dev/sda11                                /mnt/music      ext3
>  noatime,defaults  0 2
> /dev/sdb12                                /home/music     ext4
>  noatime,defaults  0 2
>
> The available rest output of the terminal, when building linux-rt:
>
> cp: failed to extend
> ‘/tmp/yaourt-tmp-rocketmouse/aur-linux-rt/pkg/linux-rt/lib/modules/3.10.6-rt3-1-rt/kernel/sound/usb/snd-usbmidi-lib.ko’:
> No space left on device
>   INSTALL sound/usb/usx2y/snd-usb-us122l.ko
>   INSTALL sound/usb/usx2y/snd-usb-usx2y.ko
> cp: error writing
> ‘/tmp/yaourt-tmp-rocketmouse/aur-linux-rt/pkg/linux-rt/lib/modules/3.10.6-rt3-1-rt/kernel/sound/usb/usx2y/snd-usb-us122l.ko’:
> No space left on device
> cp: failed to extend
> ‘/tmp/yaourt-tmp-rocketmouse/aur-linux-rt/pkg/linux-rt/lib/modules/3.10.6-rt3-1-rt/kernel/sound/usb/usx2y/snd-usb-us122l.ko’:
> No space left on device
> cp: error writing
> ‘/tmp/yaourt-tmp-rocketmouse/aur-linux-rt/pkg/linux-rt/lib/modules/3.10.6-rt3-1-rt/kernel/sound/usb/usx2y/snd-usb-usx2y.ko’:
> No space left on device
> cp: failed to extend
> ‘/tmp/yaourt-tmp-rocketmouse/aur-linux-rt/pkg/linux-rt/lib/modules/3.10.6-rt3-1-rt/kernel/sound/usb/usx2y/snd-usb-usx2y.ko’:
> No space left on device
>   MKDIR
> /tmp/yaourt-tmp-rocketmouse/aur-linux-rt/pkg/linux-rt/lib/firmware/acenic/
>   MKDIR
> /tmp/yaourt-tmp-rocketmouse/aur-linux-rt/pkg/linux-rt/lib/firmware/adaptec/
>   INSTALL
> /tmp/yaourt-tmp-rocketmouse/aur-linux-rt/pkg/linux-rt/lib/firmware/atmsar11.fw
>   MKDIR
> /tmp/yaourt-tmp-rocketmouse/aur-linux-rt/pkg/linux-rt/lib/firmware/bnx2x/
> install: error writing
> ‘/tmp/yaourt-tmp-rocketmouse/aur-linux-rt/pkg/linux-rt/lib/firmware/atmsar11.fw’:
> No space left on device
> install: failed to extend
> ‘/tmp/yaourt-tmp-rocketmouse/aur-linux-rt/pkg/linux-rt/lib/firmware/atmsar11.fw’:
> No space left on device
> make[1]: ***
> [/tmp/yaourt-tmp-rocketmouse/aur-linux-rt/pkg/linux-rt/lib/firmware/atmsar11.fw]
> Error 1
> make[1]: *** Waiting for unfinished jobs....
>   MKDIR
> /tmp/yaourt-tmp-rocketmouse/aur-linux-rt/pkg/linux-rt/lib/firmware/bnx2/
> make: *** [_modinst_post] Error 2
> ==> ERROR: A failure occurred in package_linux-rt().
>     Aborting...
> ==> ERROR: Makepkg was unable to build linux-rt.
> ==> Restart building linux-rt ? [y/N]
> ==> ---------------------------------
> ==>
>
> Regards,
> Ralf
>
> Build the package outside of /tmp. You have plenty of space on /


More information about the arch-general mailing list