Anaksanamune
New Around Here
So today I tried to FTP onto my router and it failed, I then tried samba, but nothing was appearing, so decided to take a look into the logs.
Seems the device is full which I confirmed with:
then I go for a rummage around. My /rom folder:
also my /lib folder is spammed up with .so files and links to other folders containing items that probably should be on sda1
I have installed entware, I assume this is the trouble maker, although I thought it would keep to sda1...
If anyone can help fix me up that would be great as I can't access my external drive and I don't want to delete these files until I know the problem as:
A. are they needed?
B. It may just re-write them all back? - not ideal for the flash.
Also slightly off-topic what are tmpfs and devfs each 117.1M, and where are they (physically)?
Thanks
P.S. Not a Linux Guru, so keep it reasonable
Code:
Jan 25 17:07:52 dnsmasq-dhcp[516]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 60s)
Jan 25 17:08:52 dnsmasq-dhcp[516]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 60s)
Jan 25 17:09:52 dnsmasq-dhcp[516]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 60s)
Jan 25 17:10:52 dnsmasq-dhcp[516]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 60s)
Jan 25 17:11:52 dnsmasq-dhcp[516]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 60s)
Jan 25 17:12:52 dnsmasq-dhcp[516]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 60s)
Jan 25 17:13:52 dnsmasq-dhcp[516]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 60s)
Jan 25 17:14:52 dnsmasq-dhcp[516]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 60s)
Jan 25 17:15:52 dnsmasq-dhcp[516]: failed to write /var/lib/misc/dnsmasq.leases: No space left on device (retry in 60s)
Jan 25 17:16:48 smbd[14731]: [2013/01/25 17:16:48, 0] lib/util.c:Realloc(1073)
Jan 25 17:16:48 smbd[14731]: Memory allocation error: failed to expand to 7760 bytes
Jan 25 17:16:48 smbd[14731]: [2013/01/25 17:16:48, 0] smbd/lanman.c:get_server_info(1136)
Jan 25 17:16:48 smbd[14731]: get_server_info: failed to enlarge servers info struct!
Jan 25 17:16:48 smbd[14731]: [2013/01/25 17:16:48, 0] lib/util.c:Realloc(1073)
Jan 25 17:16:48 smbd[14731]: Memory allocation error: failed to expand to 4096 bytes
Jan 25 17:16:48 smbd[14731]: [2013/01/25 17:16:48, 0] lib/util.c:Realloc(1073)
Jan 25 17:16:48 smbd[14731]: Memory allocation error: failed to expand to 7760 bytes
Jan 25 17:16:48 smbd[14731]: [2013/01/25 17:16:48, 0] smbd/lanman.c:get_server_info(1136)
Jan 25 17:16:48 smbd[14731]: get_server_info: failed to enlarge servers info struct!
Jan 25 17:16:48 smbd[14731]: [2013/01/25 17:16:48, 0] lib/util.c:Realloc(1073)
Jan 25 17:16:48 smbd[14731]: Memory allocation error: failed to expand to 4096 bytes
Seems the device is full which I confirmed with:
Code:
admin@RT-N66U:/# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 22.4M 22.4M 0 100% /
tmpfs 117.1M 2.8M 114.3M 2% /tmp
devfs 117.1M 0 117.1M 0% /dev
/dev/mtdblock4 8.1M 516.0K 7.6M 6% /jffs
/dev/sda1 90.2G 27.2G 58.4G 32% /tmp/mnt/sda1
then I go for a rummage around. My /rom folder:
Code:
drwxr-xr-x 2 admin root 136 Dec 31 22:50 Beceem_firmware/
-rw-r--r-- 1 admin root 1018.4K Dec 31 22:50 asus_base_apps.tgz
-rw-r--r-- 1 admin root 4.1M Dec 31 22:50 downloadmaster_3.1.0.59_mipsel.ipk
drwxr-xr-x 2 admin root 326 Dec 31 22:50 easy-rsa/
drwxr-xr-x 6 admin root 216 Dec 31 22:50 etc/
-rw-r--r-- 1 admin root 349.9K Dec 31 22:50 libcurl_7.21.7-1_mipsel.ipk
-rw-r--r-- 1 admin root 301.4K Dec 31 22:50 libevent_2.0.11-1_mipsel.ipk
-rw-r--r-- 1 admin root 139.8K Dec 31 22:50 libpar2_0.2-5_mipsel.ipk
-rw-r--r-- 1 admin root 7.4K Dec 31 22:50 libsigc++_2.2.3-1_mipsel.ipk
-rw-r--r-- 1 admin root 64.6K Dec 31 22:50 libuclibc++_0.2.2-9_mipsel.ipk
-rw-r--r-- 1 admin root 916.2K Dec 31 22:50 libxml2_2.7.8-1_mipsel.ipk
-rw-r--r-- 1 admin root 529.1K Dec 31 22:50 ncurses_5.7-1_mipsel.ipk
-rw-r--r-- 1 admin root 693.4K Dec 31 22:50 openssl_0.9.7m-5_mipsel.ipk
drwxr-xr-x 2 admin root 26 Dec 31 22:50 openvpn/
-rw-r--r-- 1 admin root 2.4K Dec 31 22:50 optware.asus
-rw-r--r-- 1 admin root 482.5K Dec 31 22:50 optware.oleg
-rw-r--r-- 1 admin root 236.6K Dec 31 22:50 pcre_8.30-1_mipsel.ipk
-rw-r--r-- 1 admin root 8.5K Dec 31 22:50 spawn-fcgi_1.6.3-1_mipsel.ipk
-rw-r--r-- 1 admin root 71.8K Dec 31 22:50 zlib_1.2.5-1_mipsel.ipk
also my /lib folder is spammed up with .so files and links to other folders containing items that probably should be on sda1
I have installed entware, I assume this is the trouble maker, although I thought it would keep to sda1...
If anyone can help fix me up that would be great as I can't access my external drive and I don't want to delete these files until I know the problem as:
A. are they needed?
B. It may just re-write them all back? - not ideal for the flash.
Also slightly off-topic what are tmpfs and devfs each 117.1M, and where are they (physically)?
Thanks
P.S. Not a Linux Guru, so keep it reasonable
Last edited: