Disk Partition

My root / is 99% full. How can I add more space from what is available. My File System is:

Filesystemkbytes usedavailcapacityMounted on

/dev/dsk/c0t0d0s0 4743387 46260316992399%/

/devices 00 00%/devices

ctfs00 00% /system/contract

proc00 00% /proc

mnttab 0000% /etc/mnttab

swap 31604409683159472 1%/etc/svc/volatile

objfts00 00% /system/object

fd 00 00% /dev/fd

swap 337086421139231594727% /tmp

sway3159512 4031594721% /var/run

/dev/dsk/c0t2d0s15164116930976418149919% /opt

/dev/dsk/c0t0d0s734403451473794193214844% /export/home

[613 byte] By [EYLawa] at [2007-11-27 7:04:51]
# 1

I think what you are looking for is this:

http://prefetch.net/blog/index.php/2005/01/29/growing-solaris-ufs-file-systems/

Just try:

newfs -N /dev/dsc/c0t0d0s0

and if there are any space available you can just run

growfs -M /dev/dsc/c0t0d0s0

You didn't mentioned fs type, so I'm silently expecting it is UFS because you still cannot boot from ZFS filesystem (at least as I know) where problems like this are gone.

If you do not have free space after root slice, you can still make another slice move some directory to this new slice and remount new slice as that directory.

jhajasa at 2007-7-12 18:56:09 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...