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