status of replication tasks in GUI

Status
Not open for further replies.

balrog76

Dabbler
Joined
Jul 25, 2015
Messages
10
Does OpenZFS support this?


---start cut'n'paste from web site

# zfs snapshot -r tank/source@snap1
# zfs send -rnv tank/source@snap1
sending full stream to tank/source@snap1
sending full stream to tank/source/data@snap1
estimated stream size: 10.0G
You can monitor the progress of the send stream by inserting the pv command between the zfs send and the zfs receive commands. In the following example, the first command estimates the stream size. Then with the second command, the snapshot is sent while being monitored at the same time.

# zfs send tank/source@snap1 | pv | zfs recv pond/target
882MB 0:00:10 [95.4MB/s] [ <=> ]

When the snapshot stream is completely received, the progress monitor identifies the total size received. For example:

# zfs send tank/source@snap1 | pv |zfs recv pond/target
10GB 0:01:55 [88.5MG/s] [ <=> ]
--- end cut'n'paste from web site. ----


Or is it only Oracles ZFS? It would really be useful for the GUI to show both the -rnv and | pv | output like above in the "replication status field" instead of just "running".

The info above is taken from here:

http://docs.oracle.com/cd/E36784_01/html/E36835/gnheq.html
 
D

dlavigne

Guest
According to the man page, zfs send supports p, v, and n. I'm not sure if -R is the same as -r...
 
D

dlavigne

Guest
Oh, I see (reads closer), you want to pipe to a command not use the p and v switches...
 
Status
Not open for further replies.
Top