HAMMER, disk mirroring and secure NFS

Sepherosa Ziehau sepherosa at gmail.com
Sun Mar 26 06:44:04 PDT 2017


On Sun, Mar 26, 2017 at 9:02 PM, Jasse Jansson <jasse at yberwaffe.com> wrote:
>
>
> On 2017-03-26 14:41, Tomohiro Kusumi wrote:
>>
>> You can either directly copy between fses, or you can dump the binary
>> from one fs to stdout (and redirect it to a file) and later restore.
>> Both are technically the same thing.
>>
>> The source fs can be either independent fs or some master PFS within
>> the fs. This comes from the fact that PFS is technically nothing much
>> different from the default fs itself. The default fs is actually just
>> another PFS whose id is 0. The idea of PFS is quite difficult to
>> understand and there's no good written document either.
>
> A PFS is more like a namespace, I got that.
>
>> In either of above cases, you need the both source and destination to
>> be already mounted as fs, otherwise you can't copy. It's HAMMER's
>> internal id number based logical copying, but not
>> device/partition/dataset/etc based copying.
>
> Poorly worded question, apperantly. I'll try again.
>
> Can the target PFS (the mirror) be mounted (yeah, I know, read only) and
> then accessed as any other filesystem, i.e. I can ls, cd and then cp a
> single file from the ro-pfs-mirror to another filesystem ?

Yep, that works.


More information about the Users mailing list