ZFS Question

Trond Endrestøl Trond.Endrestol at fagskolen.gjovik.no
Wed Feb 20 07:39:00 UTC 2013


On Tue, 19 Feb 2013 16:49-0800, Devin Teske wrote:

> Hi,
> 
> What's the difference between:
> 
> zpool create -m /desired_destination POOL_NAME disk_device
> 
> and
> 
> zpool create -m none POOL_NAME disk_device
> zfs create -m /desired_destination POOL_NAME/foo
> 
> We would prefer the former, but see more uses of the latter.
> 
> The whole point is that we want to "keep things simple" and having only a single
> mount-point makes things simpler, but I'm curious about any possible fallbacks
> to using just the pool on the mount point with zero filesystems created
> underneath.
> 
> In other words... does "zfs create" actually buy us anything versus just using
> the pool mounted on the desired location?

It depends on your needs. Maybe you want to adjust the recordsize 
property, or apply compression, or have added redundancy i.e. tuning 
the copies property for some precious files.

I wrote a few words on this matter nearly a year ago:

http://ximalas.info/2012/05/04/when-to-create-a-zfs-filesystem/

Maybe none, some, or all applies to you.


Just my $0.02. 

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+


More information about the freebsd-questions mailing list