vol1
/vol/vol1/qtree
/vol/vol1/-
toaster> snapmirror on
toaster> snapmirror status
Snapmirror is on.
toaster> snapmirror off
toaster> snapmirror status
Snapmirror is off.
toaster>
toaster> snapmirror status
Snapmirror is on.
Source Destination State Lag Status
fridge:home toaster:arc1 Snapmirrored 22:09:58 Idle
toaster:vol1 toaster:arc2 Snapmirrored 01:02:53 Transferring
toaster:vol2 icebox:saved Uninitialized - Transferring (128MB done)
fridge:users toaster:arc3 Snapmirrored 10:14:36 Idle with restart checkpoint (12MB done)
toaster>
toaster> snapmirror status -l arc1
Snapmirror is on.
Source: fridge:home
Destination: toaster:arc1
Type: Volume
Status: Idle
Progress: -
State: Snapmirrored
Lag: 22:09:58
Mirror Timestamp: Wed Aug 8 16:53:04 GMT 2001
Base Snapshot: toaster(0001234567)_arc1.1
Current Transfer Type: -
Current Transfer Error: -
Contents: Replica
Last Transfer Type: Initialize
Last Transfer Size: 1120000 KB
Last Transfer Duration: 00:03:47
Last Transfer From: fridge:home
filer> snapmirror status -q
Snapmirror is on.
vol1 has quiesced/quiescing qtrees:
/vol/vol1/qt0 is quiesced
/vol/vol1/qt1 is quiescing
vol2 is quiescing
toaster> snapmirror store vol1 rst0a,rst1a
snapmirror: Reference Snapshot: snapmirror_tape_5.17.100_21:47:28
toaster>
SNAPMIRROR: store to toaster:rst0a,rst1a has run out of tape.
toaster> snapmirror use toaster:rst0a,rst1a rst0a
toaster>
Wed May 17 23:36:31 GMT [worker_thread:notice]: snapmirror: Store from volume 'vol1' to tape was successful (11 MB in 1:03 minutes, 3 tapes written).
toaster> snapmirror retrieve -h rst0a
Tape Number: 1
WAFL Version: 12
BareMetal Version: 1
Source Filer: toaster
Source Volume: vol0
Source Volume Capacity: 16MB
Source Volume Used Size: 11MB
Source Snapshot: snapmirror_tape_5.17.100_21:47:28
toaster>
toaster> snapmirror retrieve vol8 rst0a
SNAPMIRROR: retrieve from tape to toaster:vol8 has run out of tape.
toaster> snapmirror use toaster:vol8 rst0a
SNAPMIRROR: retrieve from tape to toaster:vol8 has run out of tape.
toaster> snapmirror use toaster:vol8 rst0a
toaster> snapmirror status
Snapmirror is on.
Source Destination State Lag Status
toaster:rst1a,rst0a toaster:dst1 Unknown - Transferring (17MB done)
toaster>
Wed May 17 23:54:29 GMT [worker_thread:notice]: snapmirror: Retrieve from tape to volume 'vol8' was successful (11 MB in 1:30 minutes).
toaster> snapmirror status
Snapmirror is on.
Source Destination State Lag Status
fridge:home toaster:volm1 Uninitialized - Transferring (10GB done)
fridge:mail toaster:volm2 Snapmirrored 01:00:31 Transferring (4423MB done)
toaster> snapmirror abort toaster:volm1 volm2
toaster> snapmirror status
Snapmirror is on.
Source Destination State Lag Status
fridge:home toaster:volm1 Snapmirrored 00:01:25 Idle
fridge:mail toaster:volm2 Snapmirrored 01:03:11 Idle with restart checkpoint (7000MB done)
toaster> snapmirror abort toaster:volm2
toaster> snapmirror status
Snapmirror is on.
Source Destination State Lag Status
fridge:home toaster:volm1 Snapmirrored 00:02:35 Idle
fridge:mail toaster:volm2 Snapmirrored 01:04:21 Idle
toaster> snapmirror status
Snapmirror is on.
Source Destination State Lag Status
fridge:home toaster:volm1 Uninitialized - Transferring (10GB done)
fridge:mail toaster:volm2 Snapmirrored 01:00:31 Transferring (4423MB done)
toaster> snapmirror abort -h toaster:volm1 toaster:volm2
toaster> snapmirror status
Snapmirror is on.
Source Destination State Lag Status
fridge:home toaster:volm1 Snapmirrored 00:02:35 Idle
fridge:mail toaster:volm2 Snapmirrored 01:04:21 Idle
toaster> snapmirror migrate home mirror
negotiating with destination....
Are you sure you want to do this? yes
nfs turned off on source filer
performing final transfer from toaster:home to mirror....
(monitor progress with "snapmirror status")
transfer from toaster:home to mirror successful
starting nfs filehandle migration from home to mirror
source volume home brought offline
source nfs filehandles invalidated
destination toaster:mirror confirms migration
migration complete
toaster> vol status
Volume State Status Options
root online normal root, raidsize=14
mirror online normal
home offline normal
toaster> vol rename home temp
home renamed to temp
you may need to update /etc/exports
toaster> vol rename mirror home
mirror renamed to home
you may need to update /etc/exports
toaster> exportfs -a
na_aggr(1) na_license(1) na_options(1) na_qtree(1) na_vol(1) na_tape(4) na_protocolaccess(8) na_snapmirror(5) na_snapmirror.allow(5) na_snapmirror.conf(5)