Hello,
I have a freenas system, that offers a iSCSI target for 2 windows servers for backup purposes (server iSCSI targets only differ in size and its a test setup, no production environment so there is no auth on the iSCSI).
I attached screenshots of the iSCSI Share settings for all details of its implementation.
In the next step I want to backup that data to another freenas system offsite (connected via VPN) because the windows server is sitting in the same room as the freenas system.
So I read a lot about snapshots and replication and wanted to implement that.
But I must have missed something in the documentation because it wont let me create a snapshot (for both servers) giving me the error e-mail with:
Can someone explain why snapshots are not working? I'm trying to create the first snapshot, there are no snapshots yet.
I thought that the first snapshot does not take up much space as there is no changed data yet?
EDIT: I know windows backup is not the best and I will use other software later on, it is just a test setup as of right now
EDIT 2: Here is the output of
I foud the following command to be helpful in a way that it shows more info, but I have yet to pinpoint the problem or settings thats keeps me from creating snapshots
regards
lukazy
I have a freenas system, that offers a iSCSI target for 2 windows servers for backup purposes (server iSCSI targets only differ in size and its a test setup, no production environment so there is no auth on the iSCSI).
I attached screenshots of the iSCSI Share settings for all details of its implementation.
In the next step I want to backup that data to another freenas system offsite (connected via VPN) because the windows server is sitting in the same room as the freenas system.
So I read a lot about snapshots and replication and wanted to implement that.
But I must have missed something in the documentation because it wont let me create a snapshot (for both servers) giving me the error e-mail with:
- "Snapshot Backup/Backup-WTS@auto-20181020.0200-2d failed with the following error: cannot create snapshot 'Backup/Backup-WTS@auto-20181020.0200-2d': out of space"
- same thing with the other server
Can someone explain why snapshots are not working? I'm trying to create the first snapshot, there are no snapshots yet.
I thought that the first snapshot does not take up much space as there is no changed data yet?
EDIT: I know windows backup is not the best and I will use other software later on, it is just a test setup as of right now
EDIT 2: Here is the output of
zfs list
and zfs list -o space
(note that sizes vary between this and the screenshots, as there are some days passed in between):Code:
[root@FreeNAS ~]# zfs list NAME USED AVAIL REFER MOUNTPOINT Backup 6.94T 75.3G 139K /mnt/Backup Backup/Backup-SQL 5.46T 3.00T 2.52T - Backup/Backup-WTS 1.49T 1.01T 561G - Backup/jails 117K 75.3G 117K /mnt/Backup/jails Kamera-01 439G 3.08T 439G /mnt/Kamera-01 freenas-boot 2.18G 26.6G 64K none freenas-boot/.system 536M 26.6G 510M legacy freenas-boot/.system/configs-839d4bf50898424ab2b76c72b7c93def 21.8M 26.6G 21.8M legacy freenas-boot/.system/cores 4.86M 26.6G 4.86M legacy freenas-boot/.system/rrd-839d4bf50898424ab2b76c72b7c93def 29K 26.6G 29K legacy freenas-boot/.system/samba4 116K 26.6G 116K legacy freenas-boot/.system/syslog-839d4bf50898424ab2b76c72b7c93def 29K 26.6G 29K legacy freenas-boot/ROOT 1.64G 26.6G 29K none freenas-boot/ROOT/11.1-U5 1.64G 26.6G 845M / freenas-boot/ROOT/Initial-Install 1K 26.6G 825M legacy freenas-boot/ROOT/default 3.74M 26.6G 829M legacy freenas-boot/grub 6.85M 26.6G 6.85M legacy [root@FreeNAS ~]# ^C
Code:
[root@FreeNAS ~]# zfs list -o space NAME AVAIL USED USEDSNAP USEDDS USEDREFRESERV USEDCHILD Backup 75.3G 6.94T 0 139K 0 6.94T Backup/Backup-SQL 3.00T 5.46T 0 2.52T 2.93T 0 Backup/Backup-WTS 1.01T 1.49T 0 561G 962G 0 Backup/jails 75.3G 117K 0 117K 0 0 Kamera-01 3.08T 439G 0 439G 0 15.6M freenas-boot 26.6G 2.18G 0 64K 0 2.17G freenas-boot/.system 26.6G 536M 0 510M 0 26.8M freenas-boot/.system/configs-839d4bf50898424ab2b76c72b7c93def 26.6G 21.8M 0 21.8M 0 0 freenas-boot/.system/cores 26.6G 4.86M 0 4.86M 0 0 freenas-boot/.system/rrd-839d4bf50898424ab2b76c72b7c93def 26.6G 29K 0 29K 0 0 freenas-boot/.system/samba4 26.6G 116K 0 116K 0 0 freenas-boot/.system/syslog-839d4bf50898424ab2b76c72b7c93def 26.6G 29K 0 29K 0 0 freenas-boot/ROOT 26.6G 1.64G 0 29K 0 1.64G freenas-boot/ROOT/11.1-U5 26.6G 1.64G 830M 845M 0 0 freenas-boot/ROOT/Initial-Install 26.6G 1K 0 1K 0 0 freenas-boot/ROOT/default 26.6G 3.74M 0 3.74M 0 0 freenas-boot/grub 26.6G 6.85M 0 6.85M 0 0 [root@FreeNAS ~]#
I foud the following command to be helpful in a way that it shows more info, but I have yet to pinpoint the problem or settings thats keeps me from creating snapshots
Code:
root@FreeNAS:~ # zfs get all | grep Backup-SQL Backup/Backup-SQL type volume - Backup/Backup-SQL creation Thu Feb 22 19:20 2018 - Backup/Backup-SQL used 5.46T - Backup/Backup-SQL available 3.00T - Backup/Backup-SQL referenced 2.53T - Backup/Backup-SQL compressratio 1.56x - Backup/Backup-SQL reservation none default Backup/Backup-SQL volsize 5.37T local Backup/Backup-SQL volblocksize 16K - Backup/Backup-SQL checksum on default Backup/Backup-SQL compression lz4 inherited from Backup Backup/Backup-SQL readonly off default Backup/Backup-SQL copies 1 default Backup/Backup-SQL refreservation 5.46T local Backup/Backup-SQL primarycache all default Backup/Backup-SQL secondarycache all default Backup/Backup-SQL usedbysnapshots 0 - Backup/Backup-SQL usedbydataset 2.53T - Backup/Backup-SQL usedbychildren 0 - Backup/Backup-SQL usedbyrefreservation 2.93T - Backup/Backup-SQL logbias latency default Backup/Backup-SQL dedup off default Backup/Backup-SQL mlslabel - Backup/Backup-SQL sync standard default Backup/Backup-SQL refcompressratio 1.56x - Backup/Backup-SQL written 2.53T - Backup/Backup-SQL logicalused 3.50T - Backup/Backup-SQL logicalreferenced 3.50T - Backup/Backup-SQL volmode default default Backup/Backup-SQL snapshot_limit none default Backup/Backup-SQL snapshot_count none default Backup/Backup-SQL redundant_metadata all default Backup/Backup-SQL org.freenas:description Backup-SQL local root@FreeNAS:~ #
regards
lukazy
Attachments
Last edited: