User tip: On the "Min Profile" build, increase the value of: TMPFS_SIZE

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

User tip: On the "Min Profile" build, increase the value of: TMPFS_SIZE

531 Views
JohnReed
Contributor I

The default value for TMPFS_SIZE is 512k.   "1024k" would work just fine.

 

It's defined in the file:   /etc/rc.d/rc.conf

 

It looks like /var/lib/rpm is hogging up all the space in there:

 

root@freescale /var/lib/rpm$ ls -las
0   drwxr-xr-x 2 mesb mesb  340    Nov 13 2011 .
0   drwxr-xr-x 3 root root  60     Nov 13 2011 ..
96  -rw-r--r-- 1 root root  90112  Nov 13 2011 Basenames
12  -rw-r--r-- 1 root root  12288  Nov 13 2011 Conflictname
20  -rw-r--r-- 1 root root  20480  Nov 13 2011 Dirnames
84  -rw-r--r-- 1 root root  77824  Nov 13 2011 Filemd5s
12  -rw-r--r-- 1 root root  12288  Nov 13 2011 Group
8   -rw-r--r-- 1 root root  8192   Nov 13 2011 Installtid
12  -rw-r--r-- 1 root root  12288  Nov 13 2011 Name
284 -rw-r--r-- 1 root root  282624 Nov 13 2011 Packages
12  -rw-r--r-- 1 root root  12288  Nov 13 2011 Providename
12  -rw-r--r-- 1 root root  12288  Nov 13 2011 Provideversion
12  -rw-r--r-- 1 root root  12288  Nov 13 2011 Requirename
8   -rw-r--r-- 1 root root  8192   Nov 13 2011 Requireversion
12  -rw-r--r-- 1 root root  12288  Nov 13 2011 Sha1header
12  -rw-r--r-- 1 root root  12288  Nov 13 2011 Sigmd5
12  -rw-r--r-- 1 root root  12288  Nov 13 2011 Triggername
root@freescale /var/lib/rpm$ du
608 .
root@freescale /var/lib/rpm$

 

Discovered the problem when I tried installing boa, and boa didn't work properly, so started poking around, and eventually figured out that there was no room left on /var.    

 

JR

Labels (1)
0 Kudos
1 Reply

476 Views
JohnReed
Contributor I

note that this fix is not needed when booted via NFS, as /tmp and /var are not mounted on the ramdisk.  Here's the pertinent message on the console at boot time:

 

Booted NFS, not relocating:  /tmp  /var

 

Mostly just FYI,

 

JR

0 Kudos