Stux
MVP
- Joined
- Jun 2, 2016
- Messages
- 4,419
Hope so! The target version seems to be repeatedly getting pushed out...
Yes. Maybe you should second the feature request ;)
Hope so! The target version seems to be repeatedly getting pushed out...
This might sound quite dumb, but I'm very new here (actually, to forums generally) so can you please tell me how to!Yes. Maybe you should second the feature request ;)
This might sound quite dumb, but I'm very new here (actually, to forums generally) so can you please tell me how to!
log show --style syslog --predicate 'senderImagePath contains[cd] "TimeMachine"' --info
tail
log stream --style syslog --predicate 'senderImagePath contains[cd] "TimeMachine"' --info
2017-11-15 11:27:07.946018+1100 localhost backupd[1817]: (TimeMachine) [com.apple.TimeMachine.TMLogInfo] Quota in effect for '/Volumes/Titan Time Machine': 4 TB (4,000,000,000,000 bytes)
-rw-r--r-- 1 timemachine wheel 225 Dec 31 13:03 .com.apple.TimeMachine.quota.plist -rw-r--r-- 1 timemachine wheel 0 Dec 31 13:03 .com.apple.TimeMachine.quota.plist.FreeNAS-managed -rw-r--r-- 1 timemachine wheel 0 Dec 31 13:03 .com.apple.timemachine.supported
Have you set a quota in the GUI, under Sharing/Apple(AFP)/<sharename>? If you set it as a TimeMachine share there is a box to enter a number which is treated as a number of GiB.Question about this. Under 11.1 I now have the following files:
Code:-rw-r--r-- 1 timemachine wheel 225 Dec 31 13:03 .com.apple.TimeMachine.quota.plist -rw-r--r-- 1 timemachine wheel 0 Dec 31 13:03 .com.apple.TimeMachine.quota.plist.FreeNAS-managed -rw-r--r-- 1 timemachine wheel 0 Dec 31 13:03 .com.apple.timemachine.supported
As you can see, the FreeNAS-managed version of the file is empty. Since I updated from 9.10, what is the best way to make sure the new quote option in FreeNAS 11 is utilized?
Thanks,
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>GlobalQuota</key> <integer>524288000</integer> </dict> </plist>
You are correct, it just works, as my .plist shows some random number for 1TB that I do not remember typing in like that.Have you set a quota in the GUI, under Sharing/Apple(AFP)/<sharename>? If you set it as a TimeMachine share there is a box to enter a number which is treated as a number of GiB.
If you have done that, then it should just work. And what I can confirm is that the result of ls -l in my share dataset is exactly the same as yours and the quota I have set is in the 225Byte .plist file. The fact that one of the files is described as "FreeNAS-managed" does not mean that this is the one FreeNAS has put the data in, it is presumably just an indicator, like a lock file.
This is the content of my .plist file, where 524288000 is my chosen 500GiB quota:
Code:<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>GlobalQuota</key> <integer>524288000</integer> </dict> </plist>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>GlobalQuota</key> <integer>1048576000</integer> </dict> </plist>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>GlobalQuota</key> <integer>524288000</integer> </dict> </plist>
You are correct, it just works, as my .plist shows some random number for 1TB that I do not remember typing in like that.
Code:<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>GlobalQuota</key> <integer>1048576000</integer> </dict> </plist>
Also interesting is in this plist, 1048576000 kilobytes = 0.9765625 TB... not exact. Both based on the "kilo is 1024" notation.
This functionality has now been included in FreeNAS 11.1 :)