DragonFly BSD
DragonFly users List (threaded) for 2013-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Fwd: Resize HAMMER filesystem

From: Sven Gaerner <sgaerner@xxxxxxx>
Date: Fri, 3 May 2013 07:24:34 +0200

On Fri, May 03, 2013 at 12:43:48AM -0400, Pierre Abbat wrote:
> On Thursday, May 02, 2013 21:08:21 Sven Gaerner wrote:
> > You would like to run something like this:
> > 
> >  $ newfs_hammer -L DATA2 /dev/serno/ABCDEF
> >  $ mount /dev/serno/ABCDEF /mnt
> >  $ mkdir /mnt/pfs
> >  $ hammer mirror-copy /pfs/source /mnt/pfs/master
> > 
> > When the copy operation has been finished, you have to upgrade the
> > destination PFS to be a master PFS, otherwise you cannot read-write mount
> > the filesystem.
> > 
> Can I copy the root filesystem this way? Or do I use cpdup and lose the 
> history?

I think this is not possible. You can create a backup PFS for the root
filesystem this way. But the root filesystem is not a PFS. The root filesystem
is the HAMMER filesystem, not a PFS inside. I guess cpdup is the only way to
copy the root filesystem.


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]