/ full on WHR-HP-G54

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
ipn1nj4
DD-WRT Novice


Joined: 14 Dec 2006
Posts: 2

PostPosted: Thu Dec 14, 2006 15:38    Post subject: / full on WHR-HP-G54 Reply with quote
/ # df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 2.8M 2.8M 0 100% /

DD-WRT v23 SP2
Linux 2.4.34-pre2 #170 Fri Sep 15 20:10:21 CEST 2006 mips unknown


Is this normal? My /var/log/messages file is zero bytes. I would like to have some spare disk space to use logging. Thoughts?
Sponsor
Yasha
DD-WRT User


Joined: 08 Jun 2006
Posts: 217
Location: BFE, USA

PostPosted: Thu Dec 14, 2006 17:22    Post subject: Re: / full on WHR-HP-G54 Reply with quote
Yes. The base fs is squashfs, it's a read-only partition that's made for the base firmware, syslog and the like use ram /var should be mapped to /tmp.
_________________
--It is no measure of health to be well adjusted in a profoundly sick society.
WRT-350N (Stock firmware 1.03.2) --WAP
WHR-HP-G54(Openwrt /w x-wrt) --Gateway
JohnnyPrimus
DD-WRT User


Joined: 26 Oct 2006
Posts: 369

PostPosted: Thu Dec 14, 2006 17:26    Post subject: Reply with quote
I've seen this problem too, not all devices have such limited space though, so the /tmp mapping wholly to /var is not a universal fix (thus i'd imagine, it has not been merged to source tree).

add this to startup script to give syslog a writable target:

touch /tmp/messages
mount --bind /tmp/messages /var/log/messages
ipn1nj4
DD-WRT Novice


Joined: 14 Dec 2006
Posts: 2

PostPosted: Fri Dec 15, 2006 12:39    Post subject: Reply with quote
So can I mount a smb filesystem and use that for my tmp? What startup script do I add this to? /etc/init.d/rcs?

Thanks for your help
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum