Oracle Solaris ZFS File System (MOSC)

MOSC Banner

zfs snapshot -r add -t type parameter

edited Jun 24, 2016 5:08AM in Oracle Solaris ZFS File System (MOSC) 1 commentAnswered

How hard would it be to add functionality to the snapshot subcommand to allow for recursive snapshots by dataset type?

Let's say I wanted to snapshot every "fs" dataset within the zpool, excluding zvols.

Currently I have to run multiple snapshot commands or run snapshot -r and remove the snapshots for the zvols manually.

When creating archives of Solaris 10 and 11 installations, there's no reason to backup dump and swap zvols and in some cases, if the size of the dump and swap zvols are large enough, it will cause the zfs snapshot -r {pooilname} to fail because there isn't enough free space to allow for the dump and swap zvols to be included in the snapshot creation process.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center