Re: tmpfs 100% /tmp - No space left on device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, 13 Aug 2013 18:43:29 +0200
Ralf Mardorf <ralf.mardorf@xxxxxxxxxxxxx> 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?

So, your /tmp is larger than RAM size?

If you were successfull building a kernel completely in RAM before, I'd say
quit all unnecessary applications like KDE, firefox, etc. to free up as much
memory as possible...

Notice, though, that if /tmp is getting full and is about the same size as RAM,
the system will start swapping well before /tmp is filled, so you'll get no
performance gain from building in /tmp because effectively you'll be
compiling in the swap partition.

Cheers,
L.

> 
> I could build the kernel-rt before this one,
> [rocketmouse@archlinux ~]$ uname -rm
> 3.8.13-rt14-1-rt x86_64
> 
> Some information:
> 
> [root@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@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@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
> 



-- 
Leonid Isaev
GnuPG key: 0x164B5A6D
Fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux