Link to home
Start Free TrialLog in
Avatar of Peewee
Peewee

asked on

device out of space

Hi,
i'm trying to install Perl to my solaris 7 server using the pkgadd command.  When doing so it returns the message this device is out of space.

Does this mean my hard disk?  how do i find out what free space i have left and what my hard disk is in space terms.

command line instrcutions would be helpful here.

regards
peewee
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of interiot
interiot

And then to see what's taking using the most space:

du -k /some/dir/path/ | sort -n
pkgadd will generally install perl in /usr/local.
df -k will tell you each mounted file system's actual space and available space. dont go for the % space available, look at the actual kbytes available. if your file system (on which /usr/local) is out of space, then you can download perl source and build it with a --prefix=/some/other/path
Example df -k output:
Filesystem         kbytes    used   avail capacity  Mounted on
/dev/dsk/c0t0d0s0  1967118 1486729  283678    84%    /
-Hemanth
Hi,

If you have lots of room in /usr, the problem is in /var.  pkgadd will temporarily put the files in a subdirectory of /var.  I think it's called /var/spool/pkg/reloc or something.

Do a 'df -k /var' while you are running the pkgadd and you'll see what I mean.

Regards, Nisus.
Avatar of Peewee

ASKER

chaps,
will pick this up when i get back from holiday on the 14th of september.

peewee
Avatar of Peewee

ASKER

many thanks
peter