承接著昨天的mount snapshot動作,這個被mount起來的snapshot在DiskSafe端,看起來就像是一個disk,你可以任意的使用它,就像對待任一個disk一樣。你可以把它當成副本,在上面進行的任何實驗都不會損及原始資料。但是在snapshot un-mount之後,TimeView會被移除,所有變動的資料也會跟著消失。Un-mount snapshot的指令為:
dscli snapshot unmount sdb timestamp=1317969871
我們同時可以在log中看到以下的變化:
2011-10-07 16:37:52 (T3052772240) |I| dsksaferpc_unmounttimeview_1_svc mountPoint /dev/sdj
2011-10-07 16:37:54 (T3052772240) |C| [INFO] Disk /dev/sdb:0 snapshot dismounted. Timestamp: 2011-10-07 14:44:31.
2011-10-07 16:37:54 (T3052772240) |R| Succeeded to unmount snapshot for disk /dev/sdb with mirror disk /dev/sdf with timestamp 1317969871
2011-10-07 16:37:54 (T3052772240) |W| Sending echo remove > /sys/block/sdj/device/delete command to remove snapshot device
2011-10-07 16:37:55 (T3052772240) |I| Refresh disks information begin...
2011-10-07 16:37:55 (T3052772240) |I| Getting disks information from kernel driver...
2011-10-07 16:37:55 (T3052772240) |I| Got disks information from kernel driver
2011-10-07 16:37:55 (T3052772240) |R| Disk 2192 removed, ID: FALCON__IPSTOR_DISK_____6000d7741de47f69761d00004e8eb965
2011-10-07 16:37:55 (T3052772240) |I| Refresh disks information end
2011-10-07 16:37:55 (T3052772240) |I| dsksaferpc_unmounttimeview_1_svc OUT