I configured my freebsd server with iscsi and zfs
my /etc/ctl.conf
Then I connected the NAS in iSCSI to FreeBSD and perform periodic backups.
Everything works perfectly. What if I take snapshots? What can I restore?
Is it possible to set usage access logs?
# zfs create -V %disk space% GB -o compression=on %PATH%
my /etc/ctl.conf
Code:
auth-group ag0 {
chap %USERNAME% %PASSWORD%
}
portal-group pg0 {
discovery-auth-group no-authentication
listen 0.0.0.0
listen [::]
}
target iqn.bsd01.lan.F2000:target0 {
auth-group ag0
portal-group pg0
lun 0 {
path /dev/zvol/%path%
size %SPACE%G
}
}
Everything works perfectly. What if I take snapshots? What can I restore?
Is it possible to set usage access logs?