View Snapshot of one volume
[myname]$ hadoop fs -ls /mynamevol_mirror2/.snapshot
Found 5 items
drwxrwxrwx - root root 7 2012-02-24 18:58 /mynamevol_mirror2/.snapshot/mynamevol_mirror2.mirrorsnap.24-Feb-2012-22-35-51
drwxrwxrwx - root root 8 2012-02-24 22:32 /mynamevol_mirror2/.snapshot/mynamevol_mirror2.mirrorsnap.25-Feb-2012-01-48-25
drwxrwxrwx - root root 10 2012-02-25 10:44 /mynamevol_mirror2/.snapshot/mynamevol_mirror2.mirrorsnap.25-Feb-2012-12-05-43
drwxrwxrwx - root root 9 2012-02-24 23:00 /mynamevol_mirror2/.snapshot/mynamevol_mirror2.mirrorsnap.25-Feb-2012-11-09-49
drwxrwxrwx - root root 0 1970-01-01 08:00 /mynamevol_mirror2/.snapshot/mynamevol_mirror2.mirrorsnap.24-Feb-2012-22-26-18
Create a snapshot manually
maprcli volume snapshot create -snapshotname test-snapshot -volume mynamevol
maprcli volume snapshot list -volume mynamevol
maprcli volume snapshot remove -snapshotname test-snapshotc3 -volume mynamevol
maprcli volume snapshot preserve -snapshots 256000083
No comments:
Post a Comment