验证目标卷状态
中断 SnapMirror 关系后,必须验证目标卷是否具有读/写访问权限,以及目标卷的设置是否与源卷的设置匹配。
关于本任务
- 运行 volume show <volumename> -instance 和 volume snapshot policy show 命令来验证源和目标卷设置,包括卷类型“rw – 读/写访问权限”、快照策略、精简配置、重复数据删除、压缩和自动增大设置。可使用在创建 SnapMirror 关系后记下的卷设置信息来验证目标卷设置。
有关如何使用命令的更多信息,请参阅手册页。
示例
下面显示了目标卷 vs1_dr:vol1 设置的输出:
cluster2::> volume show LUN_SVM0 -instance
Vserver Name: vs1_dr
Volume Name: vol1
Aggregate Name: TDCDM3000H_01_NL_SAS_1
List of Aggregates for FlexGroup Constituents: TDCDM3000H_01_NL_SAS_1
Encryption Type: none
List of Nodes Hosting the Volume: TDCDM3000H-01
Volume Size: 3GB
Volume Data Set ID: 1026
Volume Master Data Set ID: 2155326275
Volume State: online
Volume Style: flex
Extended Volume Style: flexvol
FlexCache Endpoint Type: none
Is Cluster-Mode Volume: true
Is Constituent Volume: false
Export Policy: default
User ID: 0
Group ID: 0
Security Style: unix
UNIX Permissions: ---rwxr-xr-x
Junction Path: -
Junction Path Source: -
Junction Active: -
Junction Parent Volume: -
Comment:
Available Size: 3.00GB
Filesystem Size: 3GB
Total User-Visible Size: 3GB
Used Size: 468KB
Used Percentage: 0%
Volume Nearly Full Threshold Percent: 95%
Volume Full Threshold Percent: 98%
Maximum Autosize: 64PB
Minimum Autosize: 3GB
Autosize Grow Threshold Percentage: 85%
Autosize Shrink Threshold Percentage: 50%
Autosize Mode: grow
Total Files (for user-visible data): 93380
Files Used (for user-visible data): 101
Space Guarantee in Effect: true
Space SLO in Effect: true
Space SLO: none
Space Guarantee Style: volume
Fractional Reserve: 100%
Volume Type: RW
Snapshot Directory Access Enabled: true
Space Reserved for Snapshot Copies: 0%
Snapshot Reserve Used: 0%
Snapshot Policy: none
Creation Time: Sun Mar 22 13:55:58 2020
Language: C.UTF-8
Clone Volume: false
Node name: TDCDM3000H-01
Clone Parent Vserver Name: -
FlexClone Parent Volume: -
NVFAIL Option: on
Volume's NVFAIL State: false
Force NVFAIL on MetroCluster Switchover: off
Is File System Size Fixed: false
(DEPRECATED)-Extent Option: off
Reserved Space for Overwrites: 0B
Primary Space Management Strategy: volume_grow
Read Reallocation Option: off
Naming Scheme for Automatic Snapshot Copies: create_time
Inconsistency in the File System: false
Is Volume Quiesced (On-Disk): false
Is Volume Quiesced (In-Memory): false
Volume Contains Shared or Compressed Data: false
Space Saved by Storage Efficiency: 0B
Percentage Saved by Storage Efficiency: 0%
Space Saved by Deduplication: 0B
Percentage Saved by Deduplication: 0%
Space Shared by Deduplication: 0B
Space Saved by Compression: 0B
Percentage Space Saved by Compression: 0%
Volume Size Used by Snapshot Copies: 0B
Block Type: 64-bit
Is Volume Moving: false
Flash Pool Caching Eligibility: read-write
Flash Pool Write Caching Ineligibility Reason: -
Constituent Volume Role: -
QoS Policy Group Name: -
QoS Adaptive Policy Group Name: -
Caching Policy Name: -
Is Volume Move in Cutover Phase: false
Number of Snapshot Copies in the Volume: 0
VBN_BAD may be present in the active filesystem: false
Is Volume on a hybrid aggregate: false
Total Physical Used Size: 468KB
Physical Used Percentage: 0%
Is Volume a FlexGroup: false
SnapLock Type: non-snaplock
Vserver DR Protection: -
Enable Encryption: false
Is Volume Encrypted: false
Volume Encryption State: none
Encryption Key ID:
Application: vol1
Is Fenced for Protocol Access: false
Protocol Access Fence Owner: -
Is SIDL enabled: off
Over Provisioned Size: 0B
Available Snapshot Reserve Size: 0B
Logical Used Size: 468KB
Logical Used Percentage: 0%
Logical Available Size: -
Logical Size Used by Active Filesystem: 468KB
Logical Size Used by All Snapshots: 0B
Logical Space Reporting: false
Logical Space Enforcement: false
Volume Tiering Policy: none
Performance Tier Inactive User Data: -
Performance Tier Inactive User Data Percent: -示例
下面显示了 volume snapshot policy show 命令的输出:
cluster2::> volume snapshot policy show
Vserver: vs1_dr
Number of Is
Policy Name Schedules Enabled Comment
------------------------ --------- ------- ----------------------------------
default 3 true Default policy with hourly, daily & weekly schedules.
Schedule Count Prefix SnapMirror Label
---------------------- ----- ---------------------- -------------------
hourly 6 hourly -
daily 2 daily daily
weekly 2 weekly weekly
default-1weekly 3 true Default policy with 6 hourly, 2 daily & 1 weekly schedule.
Schedule Count Prefix SnapMirror Label
---------------------- ----- ---------------------- -------------------
hourly 6 hourly -
daily 2 daily -
weekly 1 weekly -
none 0 false Policy for no automatic snapshots.
Schedule Count Prefix SnapMirror Label
---------------------- ----- ---------------------- -------------------
- - - -
3 entries were displayed. - 通过使用带 -snapshot-policy 的 volume modify 命令,您可以根据需要修改环境的权限设置、常规设置、存储效率设置和高级设置。
有关如何使用命令的更多信息,请参阅手册页。
提供反馈