Snapshot mystery?


#1

Having set # lpreserver cronsnap start tank auto
there are kept only the latest 13 snapshots.
I mean, that would have worked before, but I can’t say when.

% zfs list -t snapshot -r tank/usr/home/martin
NAME USED AVAIL REFER MOUNTPOINT
tank/usr/home/martin@auto-2017-10-04-11-20-00 4,40M - 306G -
tank/usr/home/martin@auto-2017-10-04-11-25-00 4,38M - 306G -
tank/usr/home/martin@auto-2017-10-04-11-30-00 24,9M - 306G -
tank/usr/home/martin@auto-2017-10-04-11-35-00 4,85M - 306G -
tank/usr/home/martin@auto-2017-10-04-11-40-00 4,37M - 306G -
tank/usr/home/martin@auto-2017-10-04-11-45-00 4,39M - 306G -
tank/usr/home/martin@auto-2017-10-04-11-50-00 9,73M - 306G -
tank/usr/home/martin@auto-2017-10-04-11-55-00 8,15M - 306G -
tank/usr/home/martin@auto-2017-10-04-12-00-00 7,36M - 306G -
tank/usr/home/martin@auto-2017-10-04-12-05-00 4,84M - 306G -
tank/usr/home/martin@auto-2017-10-04-12-10-00 4,83M - 306G -
tank/usr/home/martin@auto-2017-10-04-12-15-00 4,82M - 306G -
tank/usr/home/martin@auto-2017-10-04-12-20-00 4,38M - 306G -
% cat /etc/crontab | grep ‘snap’
*/5 * * * * root /usr/local/share/lpreserver/backend/runsnap.sh tank auto
% about

===================
General information

boot environment now (N) … 12.0-CURRENT-up-20170921_103145 NR 2017-09-21
after restart ® … 12.0-CURRENT-up-20170921_103145 NR 2017-09-21
boot loader …………………………………… BSD
type ……………………… EFI
CPU ………………………………………………………… Intel® Core™ i7-6500U CPU @ 2.50GHz
number of cores ……………… 4
host ……………………………………………………… TrueOS-Infinity
memory ………………………………………………… 16384 MB available, 10301 MB free
OS git branch ……………………………………………………………………………………… drm-next
OS git revision ………………………………………………………………………………… 075edd7be
OS kernel build time ………………………………………………………… Mon 2017 Sep 18 15:04:04 UTC
OS kernel identity …………………………………………… (uname -i) GENERIC
OS platform (architecture) ……………………… (uname -m) amd64
OS release level ………………………………………………… (uname -r) 12.0-CURRENT
OS version and patch level …… (freebsd-version) 12.0-CURRENT
TrueOS package set ………………… UNSTABLE
TrueOS version …………………………… TrueOS-Desktop-201707111911
uptime ………………………………………………… 1:27
user …………………………………………………… martin

More (TrueOS Desktop):

desktop environment …… Lumina
sound card driver ………… pcm0: <Realtek ALC269 (Internal Analog)> (play/rec) default
wireless driver ……………… iwm0
X11 drivers ………………………… modesetting_drv.so

#2

Hi,
the output of /var/log/lpreserver/lpreserver.log may help.


#3

Wed Oct 4 13:50:00 CEST 2017: Creating snapshot on tank
Wed Oct 4 13:50:00 CEST 2017: Pruning old snapshot: auto-2017-10-04-12-45-00
Wed Oct 4 13:50:00 CEST 2017: INFO: tank/ROOT/12.0-CURRENT-up-20170921_103145 has 0 references held
Wed Oct 4 13:50:00 CEST 2017: INFO: tank/tmp has 0 references held
Wed Oct 4 13:50:00 CEST 2017: INFO: tank/usr/home has 0 references held
Wed Oct 4 13:50:00 CEST 2017: INFO: tank/usr/home/martin has 0 references held
Wed Oct 4 13:50:00 CEST 2017: INFO: tank/usr/jails has 0 references held
Wed Oct 4 13:50:00 CEST 2017: INFO: tank/usr/obj has 0 references held
Wed Oct 4 13:50:00 CEST 2017: INFO: tank/usr/ports has 0 references held
Wed Oct 4 13:50:00 CEST 2017: INFO: tank/usr/src has 0 references held
Wed Oct 4 13:50:00 CEST 2017: INFO: tank/var/audit has 0 references held
Wed Oct 4 13:50:00 CEST 2017: INFO: tank/var/log has 0 references held
Wed Oct 4 13:50:00 CEST 2017: INFO: tank/var/mail has 0 references held
Wed Oct 4 13:50:00 CEST 2017: INFO: tank/var/tmp has 0 references held
Wed Oct 4 13:50:00 CEST 2017: Destroying snapshot auto-2017-10-04-12-45-00 on tank, with 0 refs
Wed Oct 4 13:55:00 CEST 2017: Creating snapshot on tank
Wed Oct 4 13:55:00 CEST 2017: Pruning old snapshot: auto-2017-10-04-12-50-00
Wed Oct 4 13:55:00 CEST 2017: INFO: tank/ROOT/12.0-CURRENT-up-20170921_103145 has 0 references held
Wed Oct 4 13:55:00 CEST 2017: INFO: tank/tmp has 0 references held
Wed Oct 4 13:55:00 CEST 2017: INFO: tank/usr/home has 0 references held
Wed Oct 4 13:55:00 CEST 2017: INFO: tank/usr/home/martin has 0 references held
Wed Oct 4 13:55:00 CEST 2017: INFO: tank/usr/jails has 0 references held
Wed Oct 4 13:55:00 CEST 2017: INFO: tank/usr/obj has 0 references held
Wed Oct 4 13:55:00 CEST 2017: INFO: tank/usr/ports has 0 references held
Wed Oct 4 13:55:00 CEST 2017: INFO: tank/usr/src has 0 references held
Wed Oct 4 13:55:00 CEST 2017: INFO: tank/var/audit has 0 references held
Wed Oct 4 13:55:00 CEST 2017: INFO: tank/var/log has 0 references held
Wed Oct 4 13:55:00 CEST 2017: INFO: tank/var/mail has 0 references held
Wed Oct 4 13:55:00 CEST 2017: INFO: tank/var/tmp has 0 references held
Wed Oct 4 13:55:00 CEST 2017: Destroying snapshot auto-2017-10-04-12-50-00 on tank, with 0 refs
Wed Oct 4 14:00:00 CEST 2017: Creating snapshot on tank
Wed Oct 4 14:00:00 CEST 2017: Pruning old snapshot: auto-2017-10-04-12-55-00
Wed Oct 4 14:00:00 CEST 2017: INFO: tank/ROOT/12.0-CURRENT-up-20170921_103145 has 0 references held
Wed Oct 4 14:00:00 CEST 2017: INFO: tank/tmp has 0 references held
Wed Oct 4 14:00:00 CEST 2017: INFO: tank/usr/home has 0 references held
Wed Oct 4 14:00:00 CEST 2017: INFO: tank/usr/home/martin has 0 references held
Wed Oct 4 14:00:00 CEST 2017: INFO: tank/usr/jails has 0 references held
Wed Oct 4 14:00:00 CEST 2017: INFO: tank/usr/obj has 0 references held
Wed Oct 4 14:00:00 CEST 2017: INFO: tank/usr/ports has 0 references held
Wed Oct 4 14:00:00 CEST 2017: INFO: tank/usr/src has 0 references held
Wed Oct 4 14:00:00 CEST 2017: INFO: tank/var/audit has 0 references held
Wed Oct 4 14:00:00 CEST 2017: INFO: tank/var/log has 0 references held
Wed Oct 4 14:00:00 CEST 2017: INFO: tank/var/mail has 0 references held
Wed Oct 4 14:00:00 CEST 2017: INFO: tank/var/tmp has 0 references held
Wed Oct 4 14:00:00 CEST 2017: Destroying snapshot auto-2017-10-04-12-55-00 on tank, with 0 refs
Wed Oct 4 14:05:00 CEST 2017: Creating snapshot on tank
Wed Oct 4 14:05:00 CEST 2017: Pruning old snapshot: auto-2017-10-04-13-00-00
Wed Oct 4 14:05:00 CEST 2017: INFO: tank/ROOT/12.0-CURRENT-up-20170921_103145 has 0 references held
Wed Oct 4 14:05:00 CEST 2017: INFO: tank/tmp has 0 references held
Wed Oct 4 14:05:00 CEST 2017: INFO: tank/usr/home has 0 references held
Wed Oct 4 14:05:00 CEST 2017: INFO: tank/usr/home/martin has 0 references held
Wed Oct 4 14:05:00 CEST 2017: INFO: tank/usr/jails has 0 references held
Wed Oct 4 14:05:00 CEST 2017: INFO: tank/usr/obj has 0 references held
Wed Oct 4 14:05:00 CEST 2017: INFO: tank/usr/ports has 0 references held
Wed Oct 4 14:05:00 CEST 2017: INFO: tank/usr/src has 0 references held
Wed Oct 4 14:05:00 CEST 2017: INFO: tank/var/audit has 0 references held
Wed Oct 4 14:05:00 CEST 2017: INFO: tank/var/log has 0 references held
Wed Oct 4 14:05:00 CEST 2017: INFO: tank/var/mail has 0 references held
Wed Oct 4 14:05:00 CEST 2017: INFO: tank/var/tmp has 0 references held
Wed Oct 4 14:05:00 CEST 2017: Destroying snapshot auto-2017-10-04-13-00-00 on tank, with 0 refs
Wed Oct 4 14:10:00 CEST 2017: Creating snapshot on tank
Wed Oct 4 14:10:00 CEST 2017: Pruning old snapshot: auto-2017-10-04-13-05-00
Wed Oct 4 14:10:00 CEST 2017: INFO: tank/ROOT/12.0-CURRENT-up-20170921_103145 has 0 references held
Wed Oct 4 14:10:00 CEST 2017: INFO: tank/tmp has 0 references held
Wed Oct 4 14:10:00 CEST 2017: INFO: tank/usr/home has 0 references held
Wed Oct 4 14:10:00 CEST 2017: INFO: tank/usr/home/martin has 0 references held
Wed Oct 4 14:10:00 CEST 2017: INFO: tank/usr/jails has 0 references held
Wed Oct 4 14:10:00 CEST 2017: INFO: tank/usr/obj has 0 references held
Wed Oct 4 14:10:00 CEST 2017: INFO: tank/usr/ports has 0 references held
Wed Oct 4 14:10:00 CEST 2017: INFO: tank/usr/src has 0 references held
Wed Oct 4 14:10:00 CEST 2017: INFO: tank/var/audit has 0 references held
Wed Oct 4 14:10:00 CEST 2017: INFO: tank/var/log has 0 references held
Wed Oct 4 14:10:00 CEST 2017: INFO: tank/var/mail has 0 references held
Wed Oct 4 14:10:00 CEST 2017: INFO: tank/var/tmp has 0 references held
Wed Oct 4 14:10:00 CEST 2017: Destroying snapshot auto-2017-10-04-13-05-00 on tank, with 0 refs
Wed Oct 4 14:15:00 CEST 2017: Creating snapshot on tank
Wed Oct 4 14:15:00 CEST 2017: Pruning old snapshot: auto-2017-10-04-13-10-00
Wed Oct 4 14:15:00 CEST 2017: INFO: tank/ROOT/12.0-CURRENT-up-20170921_103145 has 0 references held
Wed Oct 4 14:15:00 CEST 2017: INFO: tank/tmp has 0 references held
Wed Oct 4 14:15:00 CEST 2017: INFO: tank/usr/home has 0 references held
Wed Oct 4 14:15:00 CEST 2017: INFO: tank/usr/home/martin has 0 references held
Wed Oct 4 14:15:00 CEST 2017: INFO: tank/usr/jails has 0 references held
Wed Oct 4 14:15:00 CEST 2017: INFO: tank/usr/obj has 0 references held
Wed Oct 4 14:15:00 CEST 2017: INFO: tank/usr/ports has 0 references held
Wed Oct 4 14:15:00 CEST 2017: INFO: tank/usr/src has 0 references held
Wed Oct 4 14:15:00 CEST 2017: INFO: tank/var/audit has 0 references held
Wed Oct 4 14:15:00 CEST 2017: INFO: tank/var/log has 0 references held
Wed Oct 4 14:15:00 CEST 2017: INFO: tank/var/mail has 0 references held


#4

Are you running low on disk space on tank pool ?


#5

I don’t think so. Disk Usage Warning is set to 70% Full and I’ve never got a warning.
% zfs list tank
NAME USED AVAIL REFER MOUNTPOINT
tank 403G 54,4G 23K none


#6

You are using the 88% of the disk space. Please the output of zpool list tank


#7

zpool list tank
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
tank 472G 403G 68,8G - 55% 85% 1.00x ONLINE -


#8

Sorry, you are using the 85% of disk space. Auto snapshot removal disk percentage is 75%.


#9

Very nice! ZFS Snapshot does something that is not wanted, and does not say a single word? For real?


#10

You really don’t want to run out of space on zfs. I learned that by borking the system to a crawl by letting torrents eat all my free space. The system became so bad that I could not figure out how to revert to working system, so I just plugged disk to nas4free box and copied stuff to backup folder. So I’d say it does best to keep system operational for you :wink:


#11