How to re-allocate disk space on solaris 10


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users How to re-allocate disk space on solaris 10
# 1  
Old 12-12-2006
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.
# 2  
Old 12-13-2006
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,
DN2
# 3  
Old 12-13-2006
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 12:46 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 8-How to check unallocated physical volumn and how allocate it to a disk?

How can I check unallocated physical volumn size on Solaris 8? And how do I allocate it? As you can see /TSHE_applics is nearly full with 97% used and we need to allocate some more disk space as there are 2 more projects that requires a few more installation on it by October 2010. Filesystem ... (2 Replies)
Discussion started by: Wanida
2 Replies

2. Solaris

Re-allocate disk space

I am running out of space, and would like to reallocate some "wasted" space. Here is what I see: > df -h Filesystem Size Used Avail Use% Mounted on /dev/dsk/c0t0d0s0 5.4G 4.5G 860M 85% / swap 2.0G 1.3M 2.0G 1% /etc/svc/volatile swap ... (4 Replies)
Discussion started by: ippy98
4 Replies

3. Solaris

disk space solaris 10

I got 4 hd each of 75GB. The os sun solaris 10 is installed on disk 0 and is almost full. see at df -k shows the following $ df -k Dateisystem kByte belegt verfügbar Kapazität Eingehängt auf /dev/dsk/c1t0d0s0 6856805 6388140 400097 95% / /devices 0 ... (3 Replies)
Discussion started by: j2me
3 Replies

4. Solaris

solaris 8 / disk space almost full

Hi All, My Solaris 8 firewall server is getting full on the / filesystem. I don't know which one should I delete. I think there's no more to delete on the file like logs or temp file. Does someone knows about deleting a safe file (or folder) on FS like /usr, /opt, /platform, /kernel, /sbin?... (7 Replies)
Discussion started by: itik
7 Replies

5. Shell Programming and Scripting

Disk Space availability on solaris machine

Hi, I have a question regarding finding free space on the disk of a solaris machine. Many mount points are available in my machine. Right now i am using df -b option to get the free disk space available. I have an assignment to check free space on the disk. I pass the directory as a... (3 Replies)
Discussion started by: raghu.amilineni
3 Replies

6. Programming

How to get free disk space size in C/C++ program( Solaris system)

How to get free disk space size in C/C++ program( Solaris system)? Is there any standard function or system function? Just like "df" or "getdfree" in Linux. (4 Replies)
Discussion started by: yidu
4 Replies

7. UNIX for Dummies Questions & Answers

allocate more space to /home

Hi all Is there a way to allocate more space to a partition? For example my /home is almost full , at 96% so can I move memory from lets say / to /home? df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda3 6190692 2571688 3304532 44% / /dev/sda2... (2 Replies)
Discussion started by: mcraul
2 Replies

8. UNIX for Advanced & Expert Users

How to allocate swap space?

Hi all, I would like to know how i can mount swap on /tmp at boot time, I mean even before the actual script that does the mounting kicks in? i tried this mount -F tmpfs swap /tmp (nothing happens it just hangs during the booting) I also tried this /usr/lib/fs/tmpfs/mount swap /tmp... (3 Replies)
Discussion started by: wrapster
3 Replies

9. Solaris

command to find free disk space on solaris

In linux df is the command to find free space what is the equivalent command in the Solaris (2 Replies)
Discussion started by: harishankar
2 Replies

10. Solaris

Disk space management on Solaris

Hi, I'm using sun solaris. Using df -h I have the following: Filesystem size used avail capacity Mounted on /dev/md/dsk/d2 12G 7.1G 4.6G 61% / /proc 0K 0K 0K 0% /proc mnttab 0K 0K 0K 0% ... (5 Replies)
Discussion started by: HSN
5 Replies
Login or Register to Ask a Question