Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1500
  • Last Modified:

Solaris - Extend root partition without losing data

I need to extend the root partition - its on an ultra 10 single disk system. I do not wish to lose data.
How can I do this ?

Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c0t0d0s0      4.3G   4.1G   177M    96%    /
/proc                    0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
fd                       0K     0K     0K     0%    /dev/fd
/dev/dsk/c0t0d0s3      2.5G   268M   2.2G    11%    /var
swap                   1.8G   112K   1.8G     1%    /var/run
/dev/dsk/c0t0d0s4      2.4G   1.7G   658M    73%    /opt
/dev/dsk/c0t0d0s6      1.4G   356K   1.4G     1%    /tmp
/dev/dsk/c0t0d0s5      1.9G     9K   1.8G     1%    /swap

  • 2
1 Solution

As I understand, you are using basic solaris without veritas/solstice/etc...

Hence, you cannot extend root partition straight.

One more thing is 4.7 Gb  for root is quite a big size. it looks like you have other data also in the root. It is good practice not to have anything in the root apart from the OS files. here, u have /var and /opt as separate partititions. Hence root should not grow much.

If you still have space left, I suggest you to create another partition and move the other data from root to new partition.

frustrated16Author Commented:
Thanks - Not using veritas or solstice etc...  
Is there a free product I could use for this?

I was thinking of purchasing another disk - to mirror the current disk - I assume I could use some similar product for this also.

Meanwhile - is there a free product I can use to re-size the root partition?
What version of solaris r u using?

I think if you can upgrade it to 9, it comes with volume manager free..

I am not sure of any other free products for solaris...


Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now