There is problem during dump/restore.
    Matthew Seaman 
    matthew at FreeBSD.org
       
    Tue Jan  5 14:19:54 UTC 2016
    
    
  
On 05/01/2016 13:39, Shahin Hasanov wrote:
> Thank you Matthew,
> I have two HDD da0,da1
> da0 is 147GB   - ufs
> da1 is 1.1TB    - zfs
Ah -- there is your problem.  dump/restore only works with UFS.
However, if what you want to do is copy a directory heirarchy from one
place to another preserving ownership and permissions and so forth, then
there are very many ways to do that.
Two suggestions:
  1) Using stuff from the base system only:
  # cd /src/dir
  # tar -cf - . | ( cd /dest/dir ; tar -xvf - )
  2) Using rsync(1) from ports:
  # rsync -avx /src/dir/ /dest/dir/
  (Note the trailing slashes on the directory paths -- they're
   important with rsync.)
	Cheers,
	Matthew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 957 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20160105/095df0e5/attachment.sig>
    
    
More information about the freebsd-questions
mailing list