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

From: Simon (simon.zcyuan@gmail.com)
Date: Fri Apr 13 2007 - 02:19:16 EDT


Bryan,

Thanks for your reply.

I aslo get some reference from other channels that ZFS volume is not
suitable for raw device accessing,instead,use zfs filesystem.

But another problem raised,why did the zfs allow us to create raw
volume,but can't be used ?

Thanks.
Regards,
Simon

On 4/13/07, Bryan Pepin <bpepin@emc.com> wrote:
> In ZFS, there is no concept of volumes, at least in the traditional
> sense of volume managers. So if you are trying to use the RAW device
> that the zpool command created, I'm pretty sure that is not what ZFS is
> intended for, and will not work.
>
> ZFS uses the concept of storage pools to manage physical storage.
>
> At least that is my understanding....Hope this helps....
>
> -Bryan
>
> Simon wrote:
> > 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
> >
> >
> >
> >
>
> --
> ************************************************
> Bryan Pepin
> Unix Enterprise Systems
>
> EMC Corporation
> 4400 Computer Drive
> Westboro, MA 01580
> 508-898-4776
> bpepin@emc.com
_______________________________________________
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:53 EDT