LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 01-05-2008, 11:25 PM   #1
Fredsnet
LQ Newbie
 
Registered: Dec 2007
Distribution: Solaris 10 8/07
Posts: 27

Rep: Reputation: 15
not enough file system space error


I have been trying to get all the update patches loaded and installed. I had been installing a few at a time without any problem. I finally decided to check a screens worth of patches and let them run. I then started to get the all so popular can't install because of this and that. Some of these patches are larger ones, that won't install because of "Not enough file system space to perform".

I have 9 patches sitting in /var/sadm/spool that won't load for one reason or another. Are patches in spool actually taking up system memory ? Is this why some of the larger ones are erroring with "not enough file system space"?

Should I delete these patches ?

Thanks,

Fred
 
Old 01-06-2008, 11:52 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
What is the available space on your Solaris filesystems ?

When you install a Solaris patch, the overwritten files are backed-up in the /var/sadm/pkg/<packgeName>/save/<patchName>/undo.Z file.

This allows to back-out a patch should something goes wrong.

If you do not care/want this feature, use the "-d" patchadd option.
 
Old 01-06-2008, 01:07 PM   #3
Fredsnet
LQ Newbie
 
Registered: Dec 2007
Distribution: Solaris 10 8/07
Posts: 27

Original Poster
Rep: Reputation: 15
Output of df

df
/ (/dev/dsk/c0d0s0 ): 442224 blocks 372122 files
/devices (/devices ): 0 blocks 0 files
/system/contract (ctfs ): 0 blocks 2147483618 files
/proc (proc ): 0 blocks 16268 files
/etc/mnttab (mnttab ): 0 blocks 0 files
/etc/svc/volatile (swap ): 3271104 blocks 274178 files
/system/object (objfs ): 0 blocks 2147483436 files
/lib/libc.so.1 (/usr/lib/libc/libc_hwcap2.so.1): 442224 blocks 372122 files
/dev/fd (fd ): 0 blocks 0 files
/tmp (swap ): 3271104 blocks 274178 files
/var/run (swap ): 3271104 blocks 274178 files
/export/home (/dev/dsk/c0d0s7 ):469931876 blocks 28327723 files
#

output of du 16256489

My box only has Solaris and was installed with the default disk partions

Thanks,

Fred
 
Old 01-06-2008, 03:03 PM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Please wrap code tags around commands and their output to improve their readability.

Use "df -h" instead of "df" for something usable.

The default disk slice sizing is brain dead

Not sure about what your du command was measuring. Run that one:
Code:
du -ks /var/sadm/pkg/
 
Old 01-06-2008, 03:10 PM   #5
Fredsnet
LQ Newbie
 
Registered: Dec 2007
Distribution: Solaris 10 8/07
Posts: 27

Original Poster
Rep: Reputation: 15
Here is the output:

# du -ks /var/sadm/pkg/
462444 /var/sadm/pkg
#

Fred
 
Old 01-06-2008, 04:13 PM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
I guess I wasn't clear enough.

Run the "df -h" command an post its output surrounded by "code" tags.

Click the "Go advanced" button an use the "#" icon to automatically tag the selected text if you aren't confortable enough to do it yourself.
 
Old 01-06-2008, 04:26 PM   #7
Fredsnet
LQ Newbie
 
Registered: Dec 2007
Distribution: Solaris 10 8/07
Posts: 27

Original Poster
Rep: Reputation: 15
I'm not sure I understand what your asking ?

The command was: "du -ks /var/sadm/pkg/"

The output was: "462444 /var/sadm/pkg"

Am I missing what you are asking ?

Thanks for your patience

Fred
 
Old 01-06-2008, 06:18 PM   #8
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Definitely. Read more closely my previous posting.
 
Old 01-06-2008, 07:59 PM   #9
Fredsnet
LQ Newbie
 
Registered: Dec 2007
Distribution: Solaris 10 8/07
Posts: 27

Original Poster
Rep: Reputation: 15
Didn't realize you are referring to the "df -h" Command

Output as follows:

"Filesystem size used avail capacity Mounted on
/dev/dsk/c0d0s0 4.2G 4.0G 170M 97% /
/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 1.6G 868K 1.6G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
/usr/lib/libc/libc_hwcap2.so.1
4.2G 4.0G 170M 97% /lib/libc.so.1
fd 0K 0K 0K 0% /dev/fd
swap 1.6G 44K 1.6G 1% /tmp
swap 1.6G 20K 1.6G 1% /var/run
/dev/dsk/c0d0s7 225G 521M 222G 1% /export/home"

Fred
 
Old 01-06-2008, 10:02 PM   #10
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Okay. You are still missing the code tags request but anyway, your / partition is almost full.

You should have given more to it at installation time instead of 4.2 GB, given the size of your hard-disk.

One thing you can do is removing existing patch backup file.

You can get the list of these files that way:

Code:
ls -ls $(find /var/sadm/pkg -name undo.Z) | sort -n
 
  


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
An error Occurred during the file system check. Dropping you to shell; the system wil aneikei Linux - Newbie 3 02-11-2010 07:38 PM
About File System in USer Space (FUSE). Sebouh Programming 25 06-08-2007 04:53 AM
file system error gamor Linux - General 4 07-21-2004 09:03 AM
Large tar file taking huge disk space in ext3 file system pcwulf Linux - General 2 10-20-2003 07:45 AM
file system error anoop_chandran Linux - General 1 01-15-2002 08:32 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 03:25 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration