SUMMARY: zfs snapshot - 2nd explanation

From: Clift, Tom CIV NSWCDD, K55 <robert.clift_at_navy.mil>
Date: Wed Dec 16 2009 - 16:16:53 EST
I was wrong with my first explanation of the -r with the zfs snapshot command.

The -r will create a .zfs directory for every dataset (zfs filesystem).

 Darren Dunham's email sums it up well:

A descendant dataset isn't a file or directory, it's another zfs
filesystem.

So if you have:

# zfs list
data-pool/data-pool
data-pool/data-pool/other
data-pool/data-pool/fs

These aren't directories in the filesystem, these are separate
filesystems (datasets).  They just happen to (usually) be mounted within
the first dataset.

Your command will snapshot the top filesystem only.

data-pool/data-pool
data-pool/data-pool@Tuesday
data-pool/data-pool/other
data-pool/data-pool/fs

  Objects in the
other filesystems are not captured.  With -r, it will snapshot the other
filesystems as well.

data-pool/data-pool
data-pool/data-pool@Tuesday
data-pool/data-pool/other
data-pool/data-pool/other@Tuesday
data-pool/data-pool/fs
data-pool/data-pool/fs@Tuesday

Tom Clift
NSWCDD - K55
540-653-8023

[demime 1.01b removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Dec 16 16:18:04 2009

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:15 EST