The UNIX Forums
"Join the Network of UNIX System Users"


 
Subject: how to re-allocate disk space on solaris 10
hulkrana
Newbie
Rank: 1



UID 179
Digest Posts 0
Credits 0
Posts 19
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 5, 2007 01:05 AM  Profile | P.M. 
how to re-allocate disk space on solaris 10



how to re-allocate disk space on solaris 10



i am not very good at unix and seek help here. i tried to install oracle 10g on a 64 bit sun sparc machine with solaris 10 as os. after i installed solaris 10, the current file system on the machine looks like this:

/dev/dsk/c0t0d0s0 5104758 4854293 199418 97% /
/devices 0 0 0 0% /devices
ctfs 0 0 0 0% /system/contract
proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
swap 971856 1024 970832 1% /etc/svc/volatile
objfs 0 0 0 0% /system/object
fd 0 0 0 0% /dev/fd
swap 971184 352 970832 1% /tmp
swap 970896 64 970832 1% /var/run
/dev/dsk/c0t0d0s7 32858997 32601 32497807 1% /export/home

then, i created oracle directory as /u01/app/oracle. it automatically mount from /dev/dsk/c0t0d0s0. now disk space in that partition is almost full (97%). i need to use /dev/dsk/c0t0d0s7 because this partition got enough space. if i create /u01/app/oracle under /dev/dsk/c0t0d0s7, will the mount point be under /export/home? from file system angle, it will show directory like: /export/home/u01/app/oracle? please help me to figure out this part correctly. thanks for your help.


Top
Hopper
Newbie
Rank: 1



UID 176
Digest Posts 0
Credits 0
Posts 58
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 5, 2007 01:05 AM  Profile | P.M. 
slice7 is mounted on export/home! if you create /u01/app/oracle it is on the / filesystem on slice0.
if you like to have a new filesystem /u01/..... you have to add a new disk to the system or shrink /export/home (slice7) and create a new slice on the disk. if there is no needed data on slice7, boot with cd and make a new layout with "format" edit /etc/vfstab and you are done. (all data on the affected slices will be lost!!!)
if you need to save the data, you need a second disk and the tool "lu". the tool can merge or splitt filesystems an all you need is a reeboot after all is done.

hth,
Top
feelexit
Newbie
Rank: 1



UID 142
Digest Posts 0
Credits 0
Posts 25
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 5, 2007 01:05 AM  Profile | P.M. 
dukenuke2:

thanks for your advice. i couldn't add a new disk to the machine. so only way is to boot from cd and make a new layout for a new slice. but could you be more specific with the procedures? how about configuring partition to make slice0 big enough by re-installing solaris 10? also i have found that solaris 10 has a manage console. on the console, there is management tool storage/disks, go to there, i see the partition on the whole disk. the management tool allow you to view and modify disk partition information or create a file system on solaris disk partition. i guess i still can not change the partition through this tool. am i right?


last edited by duke0001 : 12-13-2006 at 10:46 am.
Top
 

 

All times are GMT, the time now is Jul 31, 2010 03:34 AM

Powered by Discuz! 5.0.0  © 2001-2006 UNIX Forums
Processed in 0.005103 second(s), 8 queries

Clear Cookies - Contact Us - UNIX Help - Archiver - WAP