[OpenIndiana-discuss] Layout of zfs fs

Harry Putnam reader at newsguy.com
Tue Oct 27 22:30:01 UTC 2020


"Coalson, Timothy Scott (S&T-Student)" <tsc5yc at mst.edu> writes:

> ________________________________
> From: Harry Putnam <reader at newsguy.com>
> Sent: Sunday, October 25, 2020 4:29 PM
> To: openindiana-discuss at openindiana.org <openindiana-discuss at openindiana.org>
> Subject: [OpenIndiana-discuss] Layout of zfs fs
>
> ...
> In my case, running ubuntu 20:10 /usr is also zfs and part of rpool.
> ...
>
> (sorry for any formatting stupidity)
> Wait, are you sharing /usr across ubuntu and openindiana?  I hope not...

Sorry, my bad.  I am running as stated, but I am actually testing a
long running Openindian on hardware and A VBox vm of openindiana on a
windows host.   The last two are where I was and am testing

> Personally, I would use symlinks instead of making your mountpoint
> situation complicated.  If you don't need to separately snapshot or
> send each subfolder, I don't know what advantage there is to making
> more fs'es.

sorry for confusing things with info about ubuntu,

Here is the cited case from my msg you are responding to:

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

You may note that exactly the same number of fs are created either
way. Not sure where symlinks would be especially useful.

But its also likely that I'm off in left field somwhere.




More information about the openindiana-discuss mailing list