zfs and snapshots



Hi!

I am trying to create a snapshot:

# zfs snapshot zroot@snap
#

this does not give back any error. Seems to work:

# zfs list -t snapshot
NAME USED AVAIL REFER MOUNTPOINT
zroot@snap 47K - 428M -
#

But now: since there is no mountpoint for the snapshot ...:

# ls -la /.snap
#

is empty! Is it OK? How do I access a snapshot taken from zroot?
Or --- how do I snapshot zroot mounted to "/"?

# zfs list
NAME USED AVAIL REFER MOUNTPOINT
zroot 8.63G 16.7G 428M legacy
zroot/tmp 5.94M 16.7G 5.94M /tmp
zroot/usr 8.08G 16.7G 7.14G /usr
zroot/usr/home 45.5K 16.7G 45.5K /usr/home
zroot/usr/ports 605M 16.7G 291M /usr/ports
zroot/usr/ports/distfiles 314M 16.7G 314M /usr/ports/distfiles
zroot/usr/ports/packages 31K 16.7G 31K /usr/ports/packages
zroot/usr/src 360M 16.7G 360M /usr/src
zroot/var 120M 16.7G 3.28M /var
zroot/var/crash 9.96M 16.7G 9.96M /var/crash
zroot/var/db 105M 16.7G 100M /var/db
zroot/var/db/pkg 5.05M 16.7G 5.05M /var/db/pkg
zroot/var/empty 31K 16.7G 31K /var/empty
zroot/var/log 438K 16.7G 438K /var/log
zroot/var/mail 94.5K 16.7G 94.5K /var/mail
zroot/var/run 66K 16.7G 66K /var/run
zroot/var/tmp 835K 16.7G 835K /var/tmp


--
Thomas
.



Relevant Pages

  • Re: How to define a non cumulative measure to find last value
    ... Microsoft Corporation ... take the example of implementing a closing balance ... snapshot of the year, or the October snapshot. ... Measures.[Last Non Empty Value]: ...
    (microsoft.public.sqlserver.olap)
  • Re: Current Stock Value by Date
    ... A common real-world problem can arise during implementation of the ... take the example of implementing a closing balance ... snapshot of the year, or the October snapshot. ... Measures.: (Measures.[Last Non Empty Value], ...
    (microsoft.public.sqlserver.olap)
  • Re: Reversing a ZFS mistake
    ... I wanted to create a snapshot of a directory inside of it, ... Maybe it's just a typo but "zfs create" actually creates a file system ... filesystems created were empty. ... on Solaris would have created the filesystems but not mounted them, ...
    (freebsd-questions)
  • Re: Snapshot replication with additional columns in subscriber
    ... What do the snapshot files hold? ... files are empty, the snapshot agent isn't signifying any data to put ... The process does not seem to fail, but the subscriber ...
    (microsoft.public.sqlserver.replication)
  • More on odd ZFS not-quite-deadlock
    ... While things are in the hung state, a "zfs recv" is running. ... receiving an empty snapshot to one of the many datasets on this file ... snapshot takes just about half an hour. ... [This is the zfs recv process that is applying the replication package ...
    (freebsd-stable)