iT邦幫忙

DAY 11
1

FalconStor CDP solution - DiskSafe系列 第 11

DiskSafe mount snashot

  • 分享至 

  • xImage
  •  

DiskSafe可以列出policy的所有snapshot,後經由snapshot mount指令將其mount起來使用。
DiskSafe可以列出policy的所有snapshot,後經由snapshot mount指令將其mount起來使用。因為snapshot實質上是儲存在CDP server,所以[ 真正的運作是,DiskSafe會請CDP server根據這個snapshot建立一個TimeView,並把他assign給自己。TimeView是一個依照snapshot的內容所建立的SAN resource,所以DiskSafe的機器上此刻會看到多一個disk,snapshot list命令也可以看到他,接下來就可以在Linux上把他mount起來使用。從以下的例子可以看到mount snapshot之後多出了一個sdj的disk:

  1. 一開始的snapshot list

    dscli snapshot list sdb

    ….以上略....
    Snapshot 171:
    Snapshot Timestamp = 1317969871(2011/10/07 14:44:31)
    Snapshot Blocks Count = 65536
    Mounted = NO

    Snapshot count : 171

    Command succeeded

  2. mount最後這一個snapshot, timestamp為1317969871

    dscli snapshot mount sdb timestamp=1317969871

    Mount snapshot with timestamp 1317969871 of sdb

    Snapshot mounted, get the information...

    Snapshot device name: /dev/sdj
    Command succeeded

  3. Mount snapshot之後的snapshot list

    dscli snapshot list sdb

    ….以上略....
    Snapshot 171:
    Snapshot Timestamp = 1317969871(2011/10/07 14:44:31)
    Snapshot Blocks Count = 65536
    Mounted = YES
    Mounted as = /dev/sdj

    Snapshot count : 171

    Command succeeded

從log則可以看到這些動作:

2011-10-07 16:22:02 (T3052772240) |I|  dsksaferpc_mounttimeview_1_svc IN
2011-10-07 16:22:04 (T3052772240) |C|  [INFO] Disk /dev/sdb:0 snapshot mounted. Timestamp: 2011-10-07 14:44:31.
2011-10-07 16:22:04 (T3052772240) |R|  Succeeded to mount snapshot for disk /dev/sdb with mirror disk /dev/sdf with timestamp 1317969871
2011-10-07 16:22:06 (T3052772240) |I|  dsksaferpc_mounttimeview_1_svc OUT
2011-10-07 16:22:06 (T3052772240) |I|  dsksaferpc_getdisklist_1_svc IN, filter: 0, force refresh: TRUE
2011-10-07 16:22:06 (T3052772240) |I|  Refresh disks information begin...
2011-10-07 16:22:06 (T3052772240) |I|  Getting disks information from kernel driver...
2011-10-07 16:22:06 (T3052772240) |I|  Got disks information from kernel driver
2011-10-07 16:22:06 (T3052772240) |R|  Disk 2192(/dev/sdj) arrived, ID: FALCON__IPSTOR_DISK_____6000d7741de47f69761d00004e8eb965, capacity: 536870912, number of partitions: 0, is dynamic disk: no

相關文章


上一篇
Snapshot簡介
下一篇
DiskSafe unmount snapshot
系列文
FalconStor CDP solution - DiskSafe30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言