FOLDER on ZFS RAID POOL

cosbern

New Member
Apr 2, 2022
10
1
3
Hi guys
i have a problem, i searched the forum but i can't find any hint about it, or at least nothing that i can understand.
So, i created a zfs mirror pool to store my backup on my server and called it DATI. The system won't let me use it for backup so i create a folder via GUI called BKPLOCAL, so if i click it on edit it say DIRECTORY: /DATI. I use it for my backup and everything is ok.
Now, i need to take one of those backup and move to another location but can't find a way!! How do i access the folder that i created and copy my file? I can't find a way! ANy help?
Thanks guys
 
Can you send me the output of the following commands?

Code:
cat /etc/pve/storage.cfg
pvesm status
zpool status -v
df -h
 
root@einstein:~# cat /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content backup,vztmpl,iso

zfspool: DATI
pool DATI/vmdata
content images,rootdir
mountpoint /DATI/vmdata
sparse 0

zfspool: DATA2
pool DATA2
content rootdir,images
mountpoint /DATA2
nodes einstein

dir: BKPLOCAL
path /DATI
content snippets,rootdir,backup,images,iso,vztmpl
prune-backups keep-all=1
shared 0

root@einstein:~# pvesm status
storage 'BKPREMOTOOMV' is not online
Name Type Status Total Used Available %
BKPLOCAL dir active 460059648 71972864 388086784 15.64%
DATA2 zfspool active 942669824 775650588 167019236 82.28%
DATI zfspool active 399303872 11216976 388086896 2.81%
local dir active 28465204 19179548 7814376 67.38%

root@einstein:~# zpool status -v
pool: DATA2
state: ONLINE
scan: scrub repaired 0B in 00:31:10 with 0 errors on Sun Sep 11 00:55:11 2022
config:

NAME STATE READ WRITE CKSUM
DATA2 ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
ata-TOSHIBA_HDWD110_419N3ATFS ONLINE 0 0 0
ata-TOSHIBA_HDWD110_4199KYVFS ONLINE 0 0 0

errors: No known data errors

pool: DATI
state: ONLINE
status: Some supported and requested features are not enabled on the pool.
The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
the pool may no longer be accessible by software that does not support
the features. See zpool-features(7) for details.
scan: scrub repaired 0B in 00:09:52 with 0 errors on Sun Sep 11 00:33:55 2022
config:

NAME STATE READ WRITE CKSUM
DATI ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
ata-WDC_WD5000AAKX-60U6AA0_WD-WCC2E4SP1XYA ONLINE 0 0 0
wwn-0x50014ee6afcb4ba2 ONLINE 0 0 0



root@einstein:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 15G 0 15G 0% /dev
tmpfs 3.0G 1.8M 3.0G 1% /run
/dev/mapper/pve-root 28G 19G 7.5G 72% /
tmpfs 15G 28M 15G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
DATI 439G 69G 371G 16% /DATI
DATA2 160G 128K 160G 1% /DATA2
DATA2/subvol-104-disk-1 8.0G 717M 7.4G 9% /DATA2/subvol-104-disk-1
DATA2/subvol-104-disk-0 8.0G 520M 7.5G 7% /DATA2/subvol-104-disk-0
DATI/vmdata 381G 10G 371G 3% /DATI/vmdata
DATA2/subvol-109-disk-0 32G 13G 20G 41% /DATA2/subvol-109-disk-0
DATI/vmdata/subvol-110-disk-0 8.0G 725M 7.3G 9% /DATI/vmdata/subvol-110-disk-0
/dev/fuse 128M 20K 128M 1% /etc/pve
tmpfs 3.0G 20K 3.0G 1% /run/user/0




THANK YOU FOR THE HELP YOU ARE PROVIDING!!
 
Backups should be located under: /DATI/dump
 
Depending on what your use case is. Do you want to share it once with just one computer? Just use rsync / scp. Do you want to do it on a more permanent basis between multiple hosts? NFS / SMB would be the better choice.
 
Nfs or smb would be perfect so i can share beetween various PC for backup redundancy! Any suggestiob on how to.do.it?

Thank you very very much!
 
Nfs or smb would be perfect so i can share beetween various PC for backup redundancy! Any suggestiob on how to.do.it?

Thank you very very much!
Optimal would be a separate server, that all hosts can access independently. This could be a TrueNAS or OpenMediaVault instance, for example. You could also virtualize this, but generally you want this to be separate from the cluster, which is why I recommend getting a separate server as a backup share.

Please be aware that this by itself does not provide backup redundancy - you would have to take additional measure for that on the network share (additional offsite backup to the cloud, RAID/ZFS, ...) depending on your needs
 
Last edited:
Optimal would be a separate server, that all hosts can access independently. This could be a TrueNAS or OpenMediaVault instance, for example. You could also virtualize this, but generally you want this to be separate from the cluster, which is why I recommend getting a separate server as a backup share.
When already buying a dedicated server for backups I would use the Proxmox Backup Server instead of SMB/NFS shares. Way faster, backups only need a fraction of the space and you can set it up for stuff like ransomware protection.
 
Last edited: