Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cat: /etc/cron.monthly/zfs-auto-snapshot: No such file or directory #29

Open
MickSt opened this issue Jan 6, 2025 · 2 comments
Open

Comments

@MickSt
Copy link

MickSt commented Jan 6, 2025

When I run the script on a freshly installed PVE, I get this error. Afterwards no automatic snapshots are created.

~# bash ./postinstall Mon Jan 6 11:53:09 AM CET 2025 Starting Installation Mon Jan 6 11:53:09 AM CET 2025 Setting locales Mon Jan 6 11:53:10 AM CET 2025 Setting Proxmox package repositories to pve-no-subscription Mon Jan 6 11:53:10 AM CET 2025 Setting Ceph package repositories to quincynosubscription Mon Jan 6 11:53:10 AM CET 2025 Downloading latest package lists Mon Jan 6 11:53:10 AM CET 2025 Upgrading system to latest version - Depending on your version this could take a while... Mon Jan 6 11:53:10 AM CET 2025 Installing toolset - Depending on your version this could take a while... Mon Jan 6 11:53:10 AM CET 2025 Enabling SDN features Mon Jan 6 11:53:10 AM CET 2025 Adjusting ZFS level 1 arc (Min: 512, Max: 1024) Mon Jan 6 11:53:10 AM CET 2025 Setting swappiness to 60 % Mon Jan 6 11:53:10 AM CET 2025 Setting zfs-auto-snapshot retention: monthly = 3 cat: /etc/cron.monthly/zfs-auto-snapshot: No such file or directory Mon Jan 6 11:53:10 AM CET 2025 Setting zfs-auto-snapshot retention: weekly = 6 cat: /etc/cron.weekly/zfs-auto-snapshot: No such file or directory Mon Jan 6 11:53:10 AM CET 2025 Setting zfs-auto-snapshot retention: daily = 14 cat: /etc/cron.daily/zfs-auto-snapshot: No such file or directory Mon Jan 6 11:53:10 AM CET 2025 Setting zfs-auto-snapshot retention: frequent = 12 cat: /etc/cron.d/zfs-auto-snapshot: No such file or directory Mon Jan 6 11:53:10 AM CET 2025 Setting zfs-auto-snapshot retention: hourly = 96 cat: /etc/cron.hourly/zfs-auto-snapshot: No such file or directory Mon Jan 6 11:53:10 AM CET 2025 Configuring pve-conf-backup Mon Jan 6 11:53:10 AM CET 2025 Configuring swap storage Mon Jan 6 11:53:10 AM CET 2025 Setting default volblocksize=16k to all zfspool storages Mon Jan 6 11:53:11 AM CET 2025 Removing virtio-win updater if exists Mon Jan 6 11:53:11 AM CET 2025 Updating initramfs - This will take some time... Mon Jan 6 11:53:51 AM CET 2025 Proxmox postinstallation finished!

@ako77
Copy link

ako77 commented Jan 18, 2025

Same here...?!

Sat Jan 18 11:43:30 PM CET 2025 Setting zfs-auto-snapshot retention: monthly = 1
cat: /etc/cron.monthly/zfs-auto-snapshot: No such file or directory
Sat Jan 18 11:43:30 PM CET 2025 Setting zfs-auto-snapshot retention: weekly = 2
cat: /etc/cron.weekly/zfs-auto-snapshot: No such file or directory
Sat Jan 18 11:43:30 PM CET 2025 Setting zfs-auto-snapshot retention: daily = 7
cat: /etc/cron.daily/zfs-auto-snapshot: No such file or directory
Sat Jan 18 11:43:30 PM CET 2025 Setting zfs-auto-snapshot retention: frequent = 7
cat: /etc/cron.d/zfs-auto-snapshot: No such file or directory
Sat Jan 18 11:43:30 PM CET 2025 Setting zfs-auto-snapshot retention: hourly = 72
cat: /etc/cron.hourly/zfs-auto-snapshot: No such file or directory

@ako77
Copy link

ako77 commented Jan 18, 2025

I guess, we have to install zfs-auto-snapshot first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants