Skip to content

Latest commit

 

History

History
283 lines (178 loc) · 9.29 KB

xcp-nfs-reference-verify.adoc

File metadata and controls

283 lines (178 loc) · 9.29 KB
sidebar permalink keywords summary
sidebar
xcp-nfs-reference-verify.html
netapp, xcp, reference, nfs, command, commands
XCP NFS command reference

verify

The verify command uses full byte-by-byte data comparison between source and target directories after a copy operation without using a catalog index number. The command checks for modification times and other file or directory attributes, including permissions. The command also reads the files on both sides and compares the data.

Syntax
xcp verify <source NFS export path> <destination NFS exportpath>

The following table lists the verify parameters and their description.

Parameter Description

verify -stats

Scans the source and target trees in parallel and compares tree statistics.

verify -csv

Scans the source and target trees in parallel and compares tree statistics.

verify -nodata

Does not check data.

verify -noattrs

Does not check attributes.

verify -nomods

Does not check file modification times.

verify -mtimewindow <s>

Specifies the acceptable modification time difference for verification.

verify -v

Retrieves output formats to list any differences found.

verify -l

Retrieves output formats to list any differences found.

verify -nonames

Excludes user and group names from file listings or reports.

verify -match <filter>

Only processes files and directories that match the format.

verify -bs <n[k]>

Specifies the read/write block size (default: 64k).

verify -parallel <n>

Specifies the maximum number of concurrent batch processes (default: 7).

verify -dircount <n[k]>

Specifies the request size when reading directories.

verify -noId

Disables the creation of a default index (default: False).

verify -preserve-atime

Restores all files to the last accessed date on the source.

verify -s3.insecure

Provides the option to use HTTP instead of HTTPS for S3 bucket communication.

verify -s3.endpoint <s3_endpoint_url>

Overrides the default Amazon Web Services (AWS) endpoint URL with the specified URL for S3 bucket communication.

verify -s3.profile <profile_name>

Specifies a profile from the AWS credential file for S3 bucket communication.

verify -s3.noverify

Overrides the default verification of SSL certification for S3 bucket communication.

verify -stats and verify -csv

Use the -stats and -csv parameters with the verify command to scan the source and target trees in parallel and compare tree statistics.

Syntax
cp verify -stats <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
Syntax
xcp verify -csv <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
Syntax
xcp verify -stats -csv <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol

verify -nodata

Use the -nodata parameter with the verify command to specify not to check data.

Syntax
xcp verify -nodata <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol

verify -noattrs

Use the -noattrs parameter with the verify command to specify not to check attributes.

Syntax
xcp verify -noattrs <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol

verify -nomods

Use the -nomods parameter with the verify command to specify not to check file modification times.

Syntax
xcp verify -nomods <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol

verify -mtimewindow <s>

Use the -mtimewindow <s> parameter with the verify command to specify the acceptable modification time difference for verification.

Syntax
xcp verify -mtimewindow <s> <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol

verify -v and verify -l

Use the -v and l parameters with the verify command to retrieve output formats and list any differences found.

Syntax
xcp verify -v <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
Syntax
xcp verify -l <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
Syntax
xcp verify -v -l <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol

verify -nonames

Use the -nonames parameter with the verify command to exclude user and group names from file listings or reports

Syntax
xcp verify -nonames <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol

verify -match <filter>

Use the -match <filter> parameter with the verify command to only process the files and directories that match the filter.

Syntax
xcp verify -match bin <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol

verify -bs <n>

Use the -bs <n> parameter with the verify command to specify the read/write block size. The default value is 64k.

Syntax
xcp verify -bs 32k  <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol

verify -parallel <n>

Use the -parallel <n> parameter with the verify command to specify the maximum number of concurrent batch processes.

Syntax
xcp verify -parallel <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol

verify -dircount <n[k]>

Use the -dircount <n[k]> parameter with the verify command to specify the request size when reading directories. The default value is 64k.

Syntax
xcp verify -dircount <n[k]> <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol

verify -noId

Use the -noId parameter with the verify command to disable the creation of a default index. The default value is false.

Syntax
xcp verify -noId <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol

verify -preserve-atime

Use the -preserve-atime parameter with the verify command to restore all files to the last accessed date on the source. The -preserve-atime parameter resets the access time to the original value set before the XCP read operation.

Syntax
xcp verify -preserve-atime <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol

verify -s3.insecure

Use the -s3.insecure parameter with the verify command to use HTTP instead of HTTPS for S3 bucket communication.

Syntax
xcp verify -s3.insecure hdfs:///user/test s3://<bucket_name>

verify -s3.endpoint <s3_endpoint_url>

Use the -s3.endpoint <s3_endpoint_url> parameter with the verify command to override the default AWS endpoint URL with a specified URL for S3 bucket communication.

Syntax
xcp verify -s3.endpoint https://<endpoint_url>: s3://<bucket_name>

verify -s3.profile <name>

Use the s3.profile parameter with the verify command to specify a profile from the AWS credential file for S3 bucket communication.

Syntax
xcp verify -s3.profile <name> -s3.endpoint https://<endpoint_url>: s3://<bucket_name>

verify -s3.noverify

Use the -s3.noverify parameter with the verify command to override the default verification of SSL certification for S3 bucket communication.

Syntax
xcp verify -s3.noverify s3://<bucket_name>