Re: [zfs-discuss] ZFS Mount Options

2011-07-25 Thread Andrew Gabriel

Tony MacDoodle wrote:

I have a zfs pool called logs (about 200G).
I would like to create 2 volumes using this chunk of storage.
However, they would have different mount points.
ie. 50G would be mounted as /oarcle/logs
100G would be mounted as /session/logs
 
is this possible?


Yes...

zfs create -o mountpoint=/oracle/logs logs/oracle
zfs create -o mountpoint=/session/logs logs/session

If you don't otherwise specify, the two filesystem will share the pool 
without any constraints.


If you wish to limit their max space...

zfs set quota=50g logs/oracle
zfs set quota=100g logs/session

and/or if you wish to reserve a minimum space...

zfs set reservation=50g logs/oracle
zfs set reservation=100g logs/session


Do I have to use the legacy mount options?


You don't have to.

--
Andrew Gabriel
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] ZFS Mount Options

2011-07-25 Thread Tony MacDoodle
I have a zfs pool called logs (about 200G).
I would like to create 2 volumes using this chunk of storage.
However, they would have different mount points.
ie. 50G would be mounted as /oarcle/logs
100G would be mounted as /session/logs

is this possible? Do I have to use the legacy mount options?

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