-----BEGIN PGP SIGNED MESSAGE-----
Am 15.03.14 23:52, schrieb roemer:
> When one creates a new zpool, this automatically creates a root
> filesystem too - and even mounts this. What is now the advantage
> (or disadvantage) of creating further sub-filesystems inside the
> pool using zfs? And what is the difference to simply create
> sub-directories under the zpool root?
> Two advantages, that I can see, are separate compression and quota
> settings. But what about general performance? Is there a
> performance penalty for having multiple zfs filesystems inside one
> pool, perhaps even with different settings?
Technically, a file system (or, in ZFS language: a dataset) is very
similar to a directory and one can have thousands of these without
noticeable performance impacts as far as the ZFS core is concerned.
Under Mac OSX, a mounted file system comes at higher costs than on
other Unix like operating systems, due to the Finder and MDS services,
so I would not suggest to really try to have hundreds of file systems
mounted at the same time. But any reasonable number (some 10) go
without noticeable performance impact.
One additional advantage not in your list is the ability to make
snapshots, including cloning these as new then (almost) independent
read-write file systems, or to use the snapshots as lightweight
backups against user error / application misbehavior. Of course,
these can not replace a true off-site backup, but are nevertheless
useful. For example I used to have parts of my User directory on ZFS
and have it automatically snapshoted every 15 minutes as a cheap
versioning solution. Snapshots can also easily be used for real
off-site backups by the zfs send / receive mechanism.
| Bjoern Kahl +++ Siegburg +++ Germany |
| "googlelogin@-my-domain-" +++ www.bjoern-kahl.de |
| Languages: German, English, Ancient Latin (a bit :-)) |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
-----END PGP SIGNATURE-----
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.