increasing root / partition

Dear all,

I have a root partition which is 20 G in size. I have var and /tmp as seperate file systems. But this 20 G of root is not sufficeint.

I want to increase the size of the / partition.

Is there any way to increase with out down time.

my df -k output is

Filesystem             size   used  avail capacity  Mounted on
/dev/md/dsk/d0          20G    17G   2.6G    87%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                    24G   2.2M    24G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
fd                       0K     0K     0K     0%    /dev/fd
swap                    24G   304K    24G     1%    /tmp
swap                    24G    23M    24G     1%    /var/run
/dev/dsk/c6t600A0B800067BCDE000002A64B15CBB4d0s2
                        25G    15G   9.7G    61%    /oradata/db01
/dev/dsk/c6t600A0B800067BCDE000002A94B15CC16d0s2
                        25G   6.2G    18G    26%    /oradata/db02
/dev/dsk/c6t600A0B800067BCDE000002B54B15D391d0s2
                       9.8G   161M   9.6G     2%    /oradata/admin
/dev/dsk/c6t600A0B800067BCDE000002AD4B15D169d0s2
                        25G   7.0G    17G    29%    /oradata/db03
/dev/dsk/c6t600A0B800067BCDE000002B94B15D54Bd0s2
                        20G   1.4G    18G     8%    /oraarch
/dev/dsk/c6t600A0B800067BCDE000002B74B15D4F6d0s2
                        59G    44G    14G    76%    /orabkup
/dev/dsk/c6t600A0B800067BF47000004354BF9EEACd0s2
                        59G    34G    24G    59%    /orabkup1
/dev/md/dsk/d3          99G   6.6G    91G     7%    /ora1
/dev/dsk/c6t600A0B800067BCDE000002B34B15D325d0s2
                       9.8G    79M   9.7G     1%    /oradata/dba
/dev/lofi/126           94M   4.0M    80M     5%    /global/.devices/node@2
/dev/lofi/127           94M   4.0M    80M     5%    /global/.devices/node@1

Thanks and Regards
Rj

The short answer is: No.

But you can do this with minimal downtime. Look at "LiveUpgrade" as a method to increase the size of the / partition. This would require several reboots but you could schedule them after normal production hours.

I have used this method several times to increase the size of root and upgrade systems from Sol8 to Sol10.

HTH

Hi Blue screen,

Can I move the folder /usr/local which is under / currently to /ora1 folder or mount point which has more space. If so , any steps for doing that...

Regards
rj

Be careful about doing that. I know Oracle looks for specific commands in /usr/local during installs. I'm not sure how the installation would proceed if the executables were moved to another location.

You could try the tar(1) command to pack up the files in /usr/local and then use the ln command to create a symbolic link to the new location back to /usr/local. BUT, I am not sure how this would affect your Oracle install. Some thing like this might work:

cd /usr
tar cvf /tmp/local.tar local
cd /ora
tar xvf /tmp/local.tar
cd /usr
rm -rf local
ln -s /ora/local /usr/local

Dont forget to change your PATH variable (in $HOME/.profile and /etc/profile) to point to the new directories.

HTH

Rj

If you have resources, better go for SVM.

make another volume, and attach to root.
after that, run Growfs on that volume.

Refer Sun docs for SVM, would be of great help.