On Thursday, May 02, 2013 21:08:21 Sven Gaerner wrote: > On Thu, May 02, 2013 at 07:34:14PM +0200, Charles Rapenne wrote: > > Let imagine you have dragonfly installed on a 250 Gb disk, and you > > want to move it to a 500 Gb disk without reinstalling, how could you > > dump your existing disk and grow the HAMMER partition ? > > Please have a look at the man page. You can achieve this via "hammer > mirror-copy". This also ensures that all the stored history is copied. > > 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. > > You will be asked to create the destination PFS. Then everything will be > copied. You can also interrupt and continue at a later time. The source can > also be used during the copy operation.
Can I copy the root filesystem this way? Or do I use cpdup and lose the history? Pierre -- Jews use a lunisolar calendar; Muslims use a solely lunar calendar.