-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

 Hi roemer,

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?

 Not really.

 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.


 Best regards

    Björn

- -- 
|     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/

iQCVAgUBUyTjmlsDv2ib9OLFAQIzpQP/VdOU581ICrh8olSnyqVrErKuT/FJCHAf
dGygGvv/b9egj8fajOcENwkEY9Lrzv14DNP/EFWmssaNfIpSpUR7TikaumUPMJgV
QfTEj51zWCwbwcWtln9vrMmQ9fk31vicyDhbjs7iph2YVRd+nABMT3c2Tt93WPZg
8WwkngD9TaQ=
=yYu8
-----END PGP SIGNATURE-----

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"zfs-macos" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to zfs-macos+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to