Re: zfs and snapshots
- From: Winston <wbe@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 05 Jun 2012 18:15:36 -0400
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
.
- References:
- zfs and snapshots
- From: Thomas Schweikle
- zfs and snapshots
- Prev by Date: Re: zfs and snapshots
- Next by Date: Re: zfs and snapshots
- Previous by thread: Re: zfs and snapshots
- Index(es):
Relevant Pages
|