[DragonFlyBSD - Bug #1255] (Closed) creating hammer pfs is more complicated than expected
bugtracker-admin at leaf.dragonflybsd.org
bugtracker-admin at leaf.dragonflybsd.org
Mon Feb 24 08:41:18 PST 2014
Issue #1255 has been updated by tuxillo.
Status changed from In Progress to Closed
Hi,
With the following commit:
commit 5f22d366f0149afba788dcc6ad06e551840ec1ed
Author: Thomas Nikolajsen <thomas at dragonflybsd.org>
Date: Wed Apr 20 00:18:20 2011 +0200
hammer.8: improve general description and markup
There were additions to the manpage. See an excerpt.
pfs-master dirpath [options]
Create a pseudo-filesystem (PFS) inside a HAMMER file system. Up
to 65536 PFSs can be created. Each PFS uses an independent inode
numbering space making it suitable for replication.
The pfs-master directive creates a PFS that you can read, write,
and use as a mirroring source.
A PFS can only be truly destroyed with the pfs-destroy directive.
Removing the softlink will not destroy the underlying PFS.
A PFS can only be created in the root PFS (PFS# 0), not in a PFS
created by pfs-master or pfs-slave (PFS# >0).
It is recommended that dirpath is of the form <fs>/pfs/<name>
(i.e. located in pfs directory at root of HAMMER file system).
It is recommended to use a null mount to access a PFS, except for
root PFS, for more information see HAMMER(5).
Closing this one.
Cheers,
Antonio Huete
----------------------------------------
Bug #1255: creating hammer pfs is more complicated than expected
http://bugs.dragonflybsd.org/issues/1255#change-11842
* Author: corecode
* Status: Closed
* Priority: Normal
* Assignee: tuxillo
* Category: manpage
* Target version: 3.8.0
----------------------------------------
I just tried to create a pfs, but the information given in the man page was not
sufficient.
Specifically, the correct procedure seems to be:
cd /pfs
hammer pfs-master foo
cd /
mkdir foo
echo "/pfs/foo /foo null rw 0 0" >> /etc/fstab
mount /foo
I did a
hammer pfs-master /foo
which did not yield the desired effect at all.
We either need to document what needs to be done, or add a high level command
(hammer pfs-add?) which performs all these steps.
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs
mailing list