Solaris - Extend root partition without losing data

Posted on 2005-03-29
Medium Priority
Last Modified: 2013-12-21
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

Question by:frustrated16
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Accepted Solution

kusuma_hs earned 500 total points
ID: 13650795

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.


Author Comment

ID: 13650829
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?

Expert Comment

ID: 13651116
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month12 days, 13 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question