LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 09-07-2006, 12:14 PM   #1
linuxtesting2
Member
 
Registered: Mar 2004
Location: Norway
Distribution: Freebsd, Fedora, Redhat, Solaris 10
Posts: 169

Rep: Reputation: 30
root file system full


Hi (been playing around again

Solaris 10


im messing around with my solaris 10, and i have done a nice thing to fill up the /, now i just get in dmesg "notice: alloc /: file system is full".

How i did it im not sure, no swap files are added, and i dont remember adding any big files either...

df -h shows
/dev/dsk/c0t0d0s0 siz=29 used=29 mounted on /



Thanks for advice...

Ole

:
 
Old 09-07-2006, 12:33 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,486

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Well, the advice would be to clean unnecessary files, or to move them elsewhere.

You have no idea about what is taking all this space ?
 
Old 09-07-2006, 12:43 PM   #3
linuxtesting2
Member
 
Registered: Mar 2004
Location: Norway
Distribution: Freebsd, Fedora, Redhat, Solaris 10
Posts: 169

Original Poster
Rep: Reputation: 30
i have no clue...hehe....i have just been messing around as allways...

but when i was typing i did a du -h check, and i remember i did have fune with dd command, and i have made a file in the /dev dir that is 28 gb.....heheh....well, learn by mistakes..


Thanks...



Ole
 
Old 09-07-2006, 12:46 PM   #4
linuxtesting2
Member
 
Registered: Mar 2004
Location: Norway
Distribution: Freebsd, Fedora, Redhat, Solaris 10
Posts: 169

Original Poster
Rep: Reputation: 30
hehe,, just had the paste this...

-bash-3.00# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c0t0d0s0 29G 16384E 55G 61586813333752% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 953M 1008K 952M 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
/dev/dsk/c0t0d0s3 9,6G 3,2G 6,4G 34% /usr
fd 0K 0K 0K 0% /dev/fd
/dev/dsk/c0t0d0s4 9,6G 102M 9,4G 2% /var
swap 953M 320K 952M 1% /tmp
swap 952M 40K 952M 1% /var/run
/dev/dsk/c0t0d0s7 9,6G 9,8M 9,5G 1% /export/home
-bash-3.00#


now thats a nice Solairs feature much more avail than capacity....hehe


Ole
 
Old 09-07-2006, 02:17 PM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,486

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Hmmm, not a know feature, I would advice you to boot in failsafe mode and run fsck on the / filesystem.
 
Old 09-15-2006, 10:54 AM   #6
james_ryan
LQ Newbie
 
Registered: Sep 2006
Posts: 2

Rep: Reputation: 0
If you used the default partitions solaris 10 sets up they are too small. Solaris has always done this. The bad thing is you will need to reinstall to fix it. When you do resize the / partition to atleast 5gb. Most packages install in the opt directory which is on the / partition.
 
Old 09-15-2006, 11:03 AM   #7
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,486

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally Posted by james_ryan
If you used the default partitions solaris 10 sets up they are too small. Solaris has always done this.
But not the OP, who has allocated 29 GB for /, which is fine.
Quote:
The bad thing is you will need to reinstall to fix it.
There are other ways than reinstalling if you have enough space available elsewhere (another partition or another disk).
 
Old 08-15-2007, 05:41 AM   #8
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: FreeBSD, Debian, Mint, Puppy
Posts: 3,284

Rep: Reputation: 172Reputation: 172
well first off look for any 'core' files and get rid of them
what I usually do is,
starting at the root of the full up filesystem
Code:
du -ds * | sort -n

68652   snipsnap-1.0b3-uttoxeter
80426   public_html
86080   lib.tar
86352   lib
99088   bin.tar
99678   bin
132102  w
173632  gcc-3.4.6-sol8-sparc-local
1510748 apps
get the sizes in order and drill down cleaning out the biggest stuff

probably loads of rubbish in /var
failed patches and whatnot.
if you use the updater and try to do too many at once it
will fill up var with loads of patch files

Last edited by bigearsbilly; 08-15-2007 at 05:43 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
file system full check liguorir Linux - Software 2 03-27-2007 08:53 PM
System hangs on boot - "Mounting root file system" fails with Via VT6410 enabled Eagleorn Linux - Hardware 3 09-21-2006 12:58 PM
write error (file system full?) naijaguy Linux - Newbie 2 02-10-2005 10:55 AM
Boot Error: Root file system /dev/root adtomar Linux - Networking 0 12-27-2004 10:50 AM
/home file system 100% full gromo Linux - Enterprise 5 11-04-2004 09:47 PM


All times are GMT -5. The time now is 09:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration