creating new filesystem

 
# df -h
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c1d0s0      4.5G   4.3G   129M    98%    /
/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                     1.0G   832K   1.0G     1%    /etc/svc/volatile
objfs                      0K     0K     0K     0%    /system/object
/usr/lib/libc/libc_hwcap1.so.1
                       4.5G   4.3G   129M    98%    /lib/libc.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                   1.0G    76K   1.0G     1%    /tmp
swap                   1.0G    24K   1.0G     1%    /var/run
/dev/dsk/c1d0s7        235G   916M   232G     1%    /export/home

I have the above as my filesystem and their respective capacity. i need to shrink /dev/dsk/c1d0s7 so taht i can create another filesystem to install oracle. i learnt that a ufs filesystem is unshrinkable.

How do i know if i am uing a ufs filesystem or that can anyone advise otherwise knowing that oracle installtion will take at least 4GB space.

Thanks

The easiest way to check the type of FileSystem you are using is:

# cat /etc/vfstab

df -n

Will also tell you filsystem type. In this case it is almost certain to be ufs and since you appear have no unallocated space on the disk, you will need to:

back up /export/home

unmount /export/home

use format to reallocate the space from slice 7 to two or more smaller partitions.

newfs the new partitions

remount the smaller slice 7

restore your backup

create a mount point for your new partition

update /etc/vfstab

mount the new filesystem(s)

install oracle.

See '/etc/mnttab' which will give u currently mounted filesystem info,If u try shrink any ufs filesystem,you may lost ur data.

`df -n ' is best command for knowing the filesystem type.

Thanks all, i will have a look at what reborg said and will let you know