I''m quite new to ZFS. It is so very easy to create new filesystems using "zfs create zpool/fs" that sometimes I doubt what to do: create a directory (like on ufs) or do a zfs create.. Can somebody give some advise on -when- to use a "normal" directory and -when- it is better to create a "zpool/fssysstem" I know this is related to personal taste, but -some- good advice might exist ;-) -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D ++ http://nagual.nl/ + SunOS sxde 01/08 ++
On 07 June, 2008 - Dick Hoogendijk sent me these 0,6K bytes:> I''m quite new to ZFS. It is so very easy to create new filesystems > using "zfs create zpool/fs" that sometimes I doubt what to do: create a > directory (like on ufs) or do a zfs create.. > > Can somebody give some advise on -when- to use a "normal" directory > and -when- it is better to create a "zpool/fssysstem" > > I know this is related to personal taste, but -some- good advice might > exist ;-)When you need different accounting (df) or FS options (compression, ...) for a specific tree.. /Tomas -- Tomas ?gren, stric at acc.umu.se, http://www.acc.umu.se/~stric/ |- Student at Computing Science, University of Ume? `- Sysadmin at {cs,acc}.umu.se
Dick Hoogendijk wrote:> I''m quite new to ZFS. It is so very easy to create new filesystems > using "zfs create zpool/fs" that sometimes I doubt what to do: create a > directory (like on ufs) or do a zfs create.. > > Can somebody give some advise on -when- to use a "normal" directory > and -when- it is better to create a "zpool/fssysstem"My guess is this - A filesystem gives you resource management, snapshots and statistics (fsstat). A filesystem per project could be useful for archiving, version control, etc. With resource management comes responsibility, which means you have to make *decisions*. You have to decide if you want to dedicate resources or want to implement a separate snapshot policy. If you expect to need lots of directories, it''s probably easier to keep them that way, unless you don''t fear the forest for the trees... Hmmm, lousy metaphor. Cheers, Henk
Dick Hoogendijk wrote:> I''m quite new to ZFS. It is so very easy to create new filesystems > using "zfs create zpool/fs" that sometimes I doubt what to do: create a > directory (like on ufs) or do a zfs create.. > > Can somebody give some advise on -when- to use a "normal" directory > and -when- it is better to create a "zpool/fssysstem" > > I know this is related to personal taste, but -some- good advice might > exist ;-) > >IMHO, you should make a new file system when you want a different policy or option implemented. There are many options that can be implemented: compression, copies, read-only, export for import on another host, or quotas, that can be implemented. If you aren''t using a different policy or option, then a directory is probably fine. -- richard