There is problem during dump/restore.
Trond Endrestøl
Trond.Endrestol at fagskolen.gjovik.no
Tue Jan 5 14:24:57 UTC 2016
On Tue, 5 Jan 2016 14:19-0000, Matthew Seaman wrote:
> 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.
It's UFS. Read the post again.
/dev/da0p2 aka /mnt/test, is a brand new 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
--
+-------------------------------+------------------------------------+
| Vennlig hilsen, | Best regards, |
| Trond Endrestøl, | Trond Endrestøl, |
| IT-ansvarlig, | System administrator, |
| Fagskolen Innlandet, | Gjøvik Technical College, Norway, |
| tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, |
| sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. |
+-------------------------------+------------------------------------+
More information about the freebsd-questions
mailing list