Hello to everyone.
ZFS represents for me a forever challenge. It always presents complex situations to solve and understands. What I'm trying to do is to copy again all the files that were present inside the zpool "31-03-2022-b",after previously upgraded 13.1 to 14-CURRENT. Since the upgrade didn't work and in any case I don't need to use the 14-CURRENT anymore, I would like to delete all its files and copy again the 13.1 files that I had previously copied to another disk, but to my surprise I see that there is no longer the same space as there was at the beginning on the (dataset or zpool ?) "31-03-2022-b". Instead of perform a new installation,I'm trying to remove manually every file and copy the files previously backupped and related to FreeBSD 13.1,that was previously installed to the same zpool. It seems to me that more files I remove,less space remains in the zpool. And when I copy the same files that I deleted previously, the space doesn't increase again. These are the commands that I issue to access the zpool and to copy the files from the external disk to it.
unfortunately I'm not able to copy again the same files on the starting zpool,since it says that the space available is not enough. Now it says : 17.9 GiB of 45.3 GiB free (60% used) ; I'm sure that at the beginning on this zpool there was more than 45 GB.
This is what happens after some time I started to copy the usr directory from the external disk to the source disk (I repeat : the same directory at the beginning fits perfectly on the source disk)
ZFS represents for me a forever challenge. It always presents complex situations to solve and understands. What I'm trying to do is to copy again all the files that were present inside the zpool "31-03-2022-b",after previously upgraded 13.1 to 14-CURRENT. Since the upgrade didn't work and in any case I don't need to use the 14-CURRENT anymore, I would like to delete all its files and copy again the 13.1 files that I had previously copied to another disk, but to my surprise I see that there is no longer the same space as there was at the beginning on the (dataset or zpool ?) "31-03-2022-b". Instead of perform a new installation,I'm trying to remove manually every file and copy the files previously backupped and related to FreeBSD 13.1,that was previously installed to the same zpool. It seems to me that more files I remove,less space remains in the zpool. And when I copy the same files that I deleted previously, the space doesn't increase again. These are the commands that I issue to access the zpool and to copy the files from the external disk to it.
Code:
zpool import -f -R /mnt/zroot2 zroot2 ---> external disk / zpool
zpool import -f -R /mnt/zroot zroot
zfs mount zroot/ROOT/31-03-2022-b (original zpool)
cd /mnt/zroot
rm -r usr
cd /mnt/zroot2/zroot2/Freebsd-13 (directory where I have copied the FreeBSD 13.1 files)
rsync -avxHAX usr --exclude '*.core' /mnt/zroot (copying the 13.1 files from the external disk to the source zpool)
unfortunately I'm not able to copy again the same files on the starting zpool,since it says that the space available is not enough. Now it says : 17.9 GiB of 45.3 GiB free (60% used) ; I'm sure that at the beginning on this zpool there was more than 45 GB.
This is what happens after some time I started to copy the usr directory from the external disk to the source disk (I repeat : the same directory at the beginning fits perfectly on the source disk)
Code:
.....
usr/local/www/apache24/
rsync: [receiver] mkstemp "/mnt/zroot/usr/local/share/zenity/.zenity.ui.ODPCn1" failed: No space left on device (28)
rsync: [generator] recv_generator: mkdir "/mnt/zroot/usr/local/www/nginx-dist" failed: No space left on device (28)
*** Skipping any contents from this failed directory ***
rsync: [generator] recv_generator: mkdir "/mnt/zroot/usr/local/www/wordpress" failed: No space left on device (28)
*** Skipping any contents from this failed directory ***
rsync: [generator] failed to set times on "/mnt/zroot/usr/local/x86_64-portbld-freebsd13.1": No space left on device (28)
rsync: [generator] recv_generator: mkdir "/mnt/zroot/usr/local/x86_64-portbld-freebsd13.1/bin" failed: No space left on device (28)
*** Skipping any contents from this failed directory ***
rsync: [generator] recv_generator: mkdir "/mnt/zroot/usr/local/x86_64-portbld-freebsd13.1/lib" failed: No space left on device (28)
*** Skipping any contents from this failed directory ***
usr/local/www/nginx-dist/
usr/local/www/wordpress/
usr/local/x86_64-portbld-freebsd13.1/
usr/local/x86_64-portbld-freebsd13.1/bin/
usr/local/x86_64-portbld-freebsd13.1/lib/
rsync: [generator] failed to set times on "/mnt/zroot/usr/no": No space left on device (28)
usr/no/
rsync: [generator] recv_generator: mkdir "/mnt/zroot/usr/no/sbin-n" failed: No space left on device (28)
*** Skipping any contents from this failed directory ***
rsync: [generator] recv_generator: mkdir "/mnt/zroot/usr/no/sbin-si" failed: No space left on device (28)
*** Skipping any contents from this failed directory ***
rsync: [generator] recv_generator: mkdir "/mnt/zroot/usr/no/sbin_" failed: No space left on device (28)
*** Skipping any contents from this failed directory ***
usr/no/sbin-n/
rsync: [generator] recv_generator: mkdir "/mnt/zroot/usr/no/sr" failed: No space left on device (28)
*** Skipping any contents from this failed directory ***
usr/no/sbin-si/
usr/no/sbin_/
usr/no/sr/
rsync: [generator] recv_generator: mkdir "/mnt/zroot/usr/no/src-" failed: No space left on device (28)
*** Skipping any contents from this failed directory ***
usr/no/src-/
rsync: [generator] recv_generator: mkdir "/mnt/zroot/usr/no/src-si" failed: No space left on device (28)
*** Skipping any contents from this failed directory ***
usr/no/src-si/
rsync: [generator] failed to set times on "/mnt/zroot/usr/obj": No space left on device (28)
rsync: [generator] recv_generator: mkdir "/mnt/zroot/usr/obj/usr" failed: No space left on device (28)