No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade
MENU

FAQ-How to Expand Root Partition in Solaris System

Publication Date:  2012-07-24 Views:  10 Downloads:  0
Issue Description
Q:
What methods can be used to expand root partition in Solaris system?
Alarm Information
Null
Handling Process
A:
Two methods are as follows:
(1) Re-install Solaris OS;
(2) If you want to expand root partition without re-installing OS, back up the important data carefully before the operation.
#ufsdump 0uf /dev/rdsk/c0t1d0s2 /dev/rdsk/c0t0d0s0     Backup the original partition to s2 of second HD
#init 0
 OK boot cdrom -s
 Use the format command to increase the size of c0t0d0s0. It is recommended to backup all data in /export/home and /, and allocate some of the /export/home directory’s disk space to /. After the adjustment, you need to run newfs and import the data into /export/home!
#mount /dev/dsk/c0t0d0s0 /mnt
#cd /mnt
#ufsrestore rf /dev/rdsk/c0t1d0s2
#rm restoresymtable
#cd /usr/platform/sun4u/lib/fs/ufs
#installboot bootblk /dev/rdsk/c0t0d0s0  * Install a boot block on the new disk.
#umount /mnt
#reboot
Root Cause
Null
Suggestions
Null

END