[OpenIndiana-discuss] Layout of zfs fs
Harry Putnam
reader at newsguy.com
Sun Oct 25 21:29:50 UTC 2020
I thought I would know the answer to this question eventually from
just using zfs. I have not gotten any closer, so, seeking advice from
experienced zfs users.
What is the better way to arrange zfs fs:
I have data and ongoing work in three directories. Directories that
most often appear like so
/usr/local/src
OK, I want to end up with zfs fs on `local', `src' and in my case
`git'
In my case, running ubuntu 20:10 /usr is also zfs and part of rpool.
I don't want these new zfs fs to go on rpool so have create a zpool
name of `p0'
So should I create the zfs fs by
zfs create ... -o mountpoint=/usr/local p0/local
zfs create ... p0/local/src
zfs create ... p0/local/src/git
(the -p option may be useful above.. I just want it
to be clear what is being done)
ending with /usr/local/src/git
OR like this:
zfs create ... -o mountpoint=/usr/local p0/local
zfs create ... -o mountpoint=/usr/local/src p0/src
zfs create ... -o mountpoint=/usr/local/src/git p0/git
Again ending with /usr/local/src/git
Is one way easier to manage or maintain?
any other pointers quite welcome
More information about the openindiana-discuss
mailing list