使用以下过程可删除文件系统、LUN 或项目的自动快照调度表。
hostname:> shares select myproject hostname:shares myproject> select demo_share
hostname:shares myproject/demo_share> snapshots automatic hostname:shares myproject/demo_share snapshots automatic>
可以使用 list 命令查看此共享资源或项目的自动快照调度表列表。
hostname:shares myproject/demo_share snapshots automatic> list Properties: convert = false Automatics: NAME FREQUENCY DAY HH:MM KEEP automatic-000 day - 00:00 4
如果将此属性保留为 convert = false,则在销毁此调度表时将放弃使用该调度表生成的自动快照。
hostname:shares myproject/demo_share snapshots automatic> set convert=true convert = true hostname:shares myproject/demo_share snapshots automatic> commit
可以使用 list 命令查看更改。
hostname:shares myproject/demo_share snapshots automatic> list Properties: convert = true Automatics: NAME FREQUENCY DAY HH:MM KEEP automatic-000 day - 00:00 4
系统将要求您确认。
hostname:shares myproject/demo_share snapshots automatic> destroy automatic-000 This will destroy "automatic-000". Are you sure? (Y/N)
This will destroy "automatic-000". Are you sure? (Y/N) Y