Tuesday, July 3, 2012

Solaris 10 - HD Partitioning info

I just installed Solaris 10 in my Asus system: 

My hard drive is a Terabyte big, so I didn?t think much about partitioning 
or customizing the install at all. 

However, now that I need to install Oracle 11g, I am having issues with disk 
space. I don?t understand it??! 

Here is my Solaris system hard disk read out: 



$ df -h 

Filesystem size used avail 
capacity Mounted on 

/dev/dsk/c0d0s0 6.4G 5.5G 914M 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 6.0G 972K 6.0G 
1% /etc/svc/volatile 

objfs 0K 0K 0K 
0% /system/object 

sharefs 0K 0K 0K 
0% /etc/dfs/sharetab 

/usr/lib/libc/libc_hwcap1.so.1 6.4G 5.5G 914M 87% 
/lib/libc.so.1 

fd 0K 0K 
0K 0% /dev/fd 

swap 6.2G 176M 6.0G 
3% /tmp 

swap 6.0G 32K 6.0G 
1% /var/run 

/dev/dsk/c0d0s7 910G 824M 900G 1% 
/export/home 

/export/home/oracle 910G 824M 900G 1% 
/home/oracle 





Oracle claims that there are only 914M of disk space!!! How is that. 

The Swap file seems to have allocated all of the space. 

What can I do to re-allocate space. Does everything looks okay to you guys? 
Oracle is looking at your root file system. Maybe it's thinking of /oracle for it's starting point? You could make /oracle a symbolic link to /export/home/oracle or maybe another spot in /export/home. Or fix the oracle configration in oratab. 
  It is looking on the root slice. There is only 900MB free on your root slice 
which is 6GB. You've allocated most of your space (900GB) to /export/home. 
Where are you trying to install oracle? Can you install it in 
/export/home/oracle? 

I m new to Solaris. What went wrong? How come Solaris doesn't manage disk 
space dynamically like Linux or Windoze. 

I created a directory structure right at the root /app/oracle/oraInventory 
and other ones. 

I already assigned the owners and groups to directories. Mmmm, how could I 
have avoided this pickle? 

Is there a tool that would allow me to relocate the space evenly? 



Below is the tables again: 



$ df -h 



============================================ 

Filesystem size used avail capacity Mounted on 

============================================ 

/dev/dsk/c0d0s0 6.4G 5.5G 910M 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 6.3G 972K 6.3G 1% /etc/svc/volatile 

objfs 0K 0K 0K 0% /system/object 

sharefs 0K 0K 0K 0% /etc/dfs/sharetab 

/usr/lib/libc/libc_hwcap1.so.1 

6.4G 5.5G 910M 87% /lib/libc.so.1 

fd 0K 0K 0K 0% /dev/fd 

swap 6.4G 86M 6.3G 2% /tmp 

swap 6.3G 32K 6.3G 1% /var/run 



============ BELOW is the free space ================ 



/dev/dsk/c0d0s7 910G 1.6G 900G 1% /export/home 

/export/home/oracle 910G 1.6G 900G 1% /home/oracle 





Should I assume that slices are like partitions in the Microsoft world? 

C0d0S0 is partition # 1 

C0d0S7 is partition # 2 



Should I assume that partition # 1 is system and partition # 2 is data. 

0 comments:

Post a Comment

 
Design by BABU | Dedicated to grandfather | welcome to BABU-UNIX-FORUM