Re: zfs and snapshots



Thomas Schweikle <tps@xxxxxxxxx> writes:
# zfs snapshot zroot@snap
#

# zfs list
NAME USED AVAIL REFER MOUNTPOINT
zroot 8.63G 16.7G 428M legacy

How do I access a snapshot taken from zroot?

The ZFS snapshots for each ZFS file system should be in its
root/.zfs/snapshot/{snapshot name}. In your example above,
the snapshot should be in /.zfs/snapshot/snap.

ZFS snapshots don't cross mount points unless you use -r, so your
snapshot command above won't snapshot the other ZFS's in that pool.
To snapshot all of them:

zfs snapshot -r zroot@snap

after which you'll find a .zfs/snapshot/snap subdirectory in each ZFS's
root.

# ls -la /.snap

You're thinking of the temporary, non-ZFS snapshots created by dump(8)
or fsck, or perhaps what you read under newfs -n.

HTH,
-WBE
.



Relevant Pages

  • the point of ZFS snapshots
    ... What is the point of ZFS snapshots? ... make a snapshot, then bring the service backup and backup the snapshot to ...
    (SunManagers)
  • Re: Automatically destroy old ZFS snapshots
    ... The very nature of the WAFL filesystem on the NetApp didn't allow ... only the old data is copied to the snapshot if the file is subsequently ... WAFL snapshots and ZFS snapshots are quite similar. ... Netapp does not allow snapshot manipulation via the filesystem. ...
    (comp.unix.solaris)
  • Re: zfs and snapshots
    ... schrieb patpro ~ patrick proniewski: ... Thomas Schweikle wrote: ... I am trying to create a snapshot: ...
    (comp.unix.bsd.freebsd.misc)
  • Re: zfs and snapshots
    ... Thomas Schweikle wrote: ... I am trying to create a snapshot: ... KVM IP 16 ports APC ...
    (comp.unix.bsd.freebsd.misc)