I have been considering the procedures and applications that would have to be better for me to secure my data.
there are many possibilities to do it, cpio, tar, pax... They are some of the ones I have seen in chapter 18.10 of the handbook.
I thought that I thought that my best solution since my FreeBSD has the ZFS system is to use the snapshot function and the others that it has to facilitate this function.
But for non-ZFS filesystems like Fat32, NTFS would use rsync.
The first problem that I have with rsync is that being a fat32 system and the path seems to be that some of them have characters reserved:
Apparently it's a character problem since du also has problems.
What would be the best way to deal with this kind of problem?
Surely, it will not be the first problem that I will see when trying to copy the hierarchy of a Windows system with NTFS etc...
Another thing that I did not understand is the following my zpool is the following:
But when doing o following with rsync:
I'm sure I'll be doing something wrong, but what's with that extra 10gb weight?
It is a ZFS system, the most correct thing would be to use its tools.
Regards.
there are many possibilities to do it, cpio, tar, pax... They are some of the ones I have seen in chapter 18.10 of the handbook.
I thought that I thought that my best solution since my FreeBSD has the ZFS system is to use the snapshot function and the others that it has to facilitate this function.
But for non-ZFS filesystems like Fat32, NTFS would use rsync.
The first problem that I have with rsync is that being a fat32 system and the path seems to be that some of them have characters reserved:
Code:
rsync: [sender] readlink_stat("/dir/???.mp3") failed: Invalid argument (22)
Apparently it's a character problem since du also has problems.
Code:
du: /dir/???.mp3: Invalid argument
What would be the best way to deal with this kind of problem?
Surely, it will not be the first problem that I will see when trying to copy the hierarchy of a Windows system with NTFS etc...
Another thing that I did not understand is the following my zpool is the following:
Code:
xus@m0:~ $ zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
zroot 117G 20.8G 96.2G - - 1% 17% 1.00x ONLINE -
##du
xus@m0:~ $ du -hs /
21G
###df
xus@m0:~ $ df -h
Filesystem Size Used Avail Capacity Mounted on
zroot/ROOT/default 110G 18G 93G 16% /
But when doing o following with rsync:
Code:
xus@m0:~ $ rsync -anhv /
sent 9.69M bytes received 40.06M bytes 2.69M bytes/sec
total size is 30.38G speedup is 610.66 (DRY RUN)
I'm sure I'll be doing something wrong, but what's with that extra 10gb weight?
It is a ZFS system, the most correct thing would be to use its tools.
Regards.
Last edited by a moderator: