I was trying to add GCC 2.95.2 to my SPARC 10 station however got the
error:
cpio: Cannot write "reloc/lib/libstdc++.a.2.10.0", errno 28, No space
left on device
I found that it is the root partition which is running out of space. It
only got about 65M free. How can I increase the size of the root
partition?
Here is the output of "df -k":
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t3d0s0 91415 25947 65377 29% /
/dev/dsk/c0t3d0s6 211607 171324 40072 82% /usr
/dev/dsk/c0t3d0s7 413639 257 412969 1% /export
I would like to learn from Solaris expert before I attempt to do
anything on the root partition.
TIA and Happy New Year!
David
Sent via Deja.com
http://www.deja.com/
Never split your root disk in partitions (unless it's 18G or larger).
There's no need any more.
You have to do a ufsdump to tape, repartition the disk, newfs, installboot
and ufsrestore.
Takes a couple of hours but you'll never create a to small root
partition again ;-)
Happy New Year! ;-)
/Thommy M.
>
> I found that it is the root partition which is running out of space. It
> only got about 65M free. How can I increase the size of the root
> partition?
>
> Here is the output of "df -k":
>
> Filesystem kbytes used avail capacity Mounted on
> /dev/dsk/c0t3d0s0 91415 25947 65377 29% /
> /dev/dsk/c0t3d0s6 211607 171324 40072 82% /usr
> /dev/dsk/c0t3d0s7 413639 257 412969 1% /export
>
Someone else mentioned that you could save to tape, repartition and
then dump it all back. That's fine and perhaps the easiest way to go.
Another option is to use ufsdump/ufsrestore to dump / over to a file
on either /usr or /export since you have enough space free. Then you
could boot from the Solaris CD-ROM or via network, repartition and use
ufsrestore to dump that file back to /. It's a little more work than
tape, but if you don't have a tape drive, it might be your only
option.
If you need more details, write me and I'll step ya through it.
Joshua
Paul
In article <92h5t8$kt8$1...@nnrp1.deja.com>,
: I was trying to add GCC 2.95.2 to my SPARC 10 station however got the
: error:
: cpio: Cannot write "reloc/lib/libstdc++.a.2.10.0", errno 28, No space
: left on device
That would be pkgadd unloading the temporary file somewhere in /var,
/var/spool if I remember right.
What you could do is a :
mkdir -p /export/tmp/gcc
pkgtrans -s gcc-2.95.2-sparc-local /export/tmp/gcc
cd /export/tmp/gcc
pkgadd -d .
rm -rf /export/tmp/gcc #Note, this is just the package file in a directory format
Which will probably explode your /usr file system since it will
install in /usr/local.
So before you do the pkgadd, mv /usr/local to /export/usr/local
(if you already have a /usr/local), and symlink /export/usr/local to
/usr/local.
Gack. Looks like a 1g drive. I'd make that one big partition if I
had it all to do again. Might split /var off on it's own, but with
1G, I'd start looking for another drive... ;-)
Hope this helps.
Ben
: I found that it is the root partition which is running out of space. It
>I was trying to add GCC 2.95.2 to my SPARC 10 station however got the
>error:
>cpio: Cannot write "reloc/lib/libstdc++.a.2.10.0", errno 28, No space
>left on device
>I found that it is the root partition which is running out of space. It
>only got about 65M free. How can I increase the size of the root
>partition?
>Here is the output of "df -k":
>Filesystem kbytes used avail capacity Mounted on
>/dev/dsk/c0t3d0s0 91415 25947 65377 29% /
>/dev/dsk/c0t3d0s6 211607 171324 40072 82% /usr
>/dev/dsk/c0t3d0s7 413639 257 412969 1% /export
Disk's are cheap. Go buy yourself a bigger disk.