LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   not enough file system space error (https://www.linuxquestions.org/questions/solaris-opensolaris-20/not-enough-file-system-space-error-611449/)

Fredsnet 01-05-2008 11:25 PM

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

jlliagre 01-06-2008 11:52 AM

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.

Fredsnet 01-06-2008 01:07 PM

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

jlliagre 01-06-2008 03:03 PM

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/

Fredsnet 01-06-2008 03:10 PM

Here is the output:

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

Fred

jlliagre 01-06-2008 04:13 PM

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.

Fredsnet 01-06-2008 04:26 PM

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

jlliagre 01-06-2008 06:18 PM

Definitely. Read more closely my previous posting.

Fredsnet 01-06-2008 07:59 PM

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

jlliagre 01-06-2008 10:02 PM

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


All times are GMT -5. The time now is 12:51 AM.