How to bind the oracle 9i data file to zfs volumes

From: Simon (simon.zcyuan@gmail.com)
Date: Thu Apr 12 2007 - 04:56:49 EDT


Experts,

I'm installing Oracle 9i on Solaris 10 11/06(update 3),I created some
zfs volumes which will be used by oracle data file,as:

# zfs create -V 200m ora_pool/controlfile01_200m
# zfs create -V 800m ora_pool/system_800m
...

# ls -l /dev/zvol/rdsk/ora_pool
lrwxrwxrwx 1 root root 39 Apr 11 12:23
controlfile01_200m -> ../../../../devices/pseudo/zfs@0:1c,raw
lrwxrwxrwx 1 root root 39 Apr 11 13:34 system_800m ->
../../../../devices/pseudo/zfs@0:7c,raw

(Please note above,it's just a link file!)

then bind the data file to these volumes when create database as:
oracle control data file (size:200m)-->
/dev/zvol/rdsk/ora_pool/controlfile01_200m
oracle system data file(size:800m) --> /dev/zvol/rdsk/ora_pool/system_800m
...

it fails with the error:the space of "/devices" is insufficient.I
think this is because above character device files under
"/dev/zvol/rdsk/ora_pool" are link file to point to "/device" node,not
the particular device file.

Compared with the raw volumes which created by vxvm:
# ls -l /dev/vx/rdsk/oradg/controlfile01_200m
crw------- 1 root root 283,99000 Apr 7 22:51 controlfile01_200m

It's a individual character device file,not the link file,this is the
difference between zfs volume and vxvm volume.

Please help to provide solution,any helps are much appreciated !

Best Regards,
Simon
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:52 EDT