On Mar 17, 2009, at 4:45 PM, Grant Lowe wrote:

bash-3.00# zfs create -b 8192 -V 44Gb oracle/prd_data/db1

I'm trying to set a mountpoint.  But trying to mount it doesn't work.

bash-3.00# zfs list
NAME                  USED  AVAIL  REFER  MOUNTPOINT
oracle               44.0G   653G  25.5K  /oracle
oracle/prd_data      44.0G   653G  24.5K  /oracle/prd_data
oracle/prd_data/db1  22.5K   697G  22.5K  -
bash-3.00# zfs set mountpoint=/opt/mis/oracle/data/db1 oracle/ prd_data/db1 cannot set property for 'oracle/prd_data/db1': 'mountpoint' does not apply to datasets of this type

The issue is, you can't set a mountpoint on a zvol, there's no filesystem on there yet. Once you've created whatever (non-ZFS) filesystem on that zvol,
then you can either mount it manually or set up an entry in /etc/vfstab.

-Chris

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to