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

zxfer resuming unneeded disks from sleep #26

Open
petr-fischer opened this issue Jun 4, 2016 · 3 comments
Open

zxfer resuming unneeded disks from sleep #26

petr-fischer opened this issue Jun 4, 2016 · 3 comments

Comments

@petr-fischer
Copy link

petr-fischer commented Jun 4, 2016

Hello, I have 3 ZFS pools on home server (zroot, zusbbackup, zmirror) and I am backuping FreeBSD system (zroot) to the USB drive (zusbbackup) with this cron job:

zxfer -dFPv -R zroot zusbbackup/backups/pf-server

I am putting my big media mirror (zmirror) to sleep after 40 minutes of inactivity.
But - when zxfer starts (zroot -> zusbbackup), my zmirror disks are resumed - I don't want to even touch the zmirror pool by zxfer while backuping different zpools.

Is possible, that zxfer in some internal command call ZFS function, that acts over ALL zpools (some internal snapshot listing or something)?

Any idea?

Thanks very much!

@allanjude
Copy link
Owner

Yes, it does 'zfs list' across everything at the start of the replication

@SnapshotCiTy
Copy link

@petr-fischer could you share how you put disks or pools to sleep? Thx

@petr-fischer
Copy link
Author

petr-fischer commented Nov 12, 2016

@cedrictineo by setting timeout (in /etc/rc.local) [FreeBSD]

camcontrol idle ada1 -t 7200
camcontrol idle ada2 -t 7200
camcontrol idle da1 -t 2400

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

3 participants