sidebar | permalink | keywords | summary |
---|---|---|---|
sidebar |
xcp-nfs-reference-verify.html |
netapp, xcp, reference, nfs, command, commands |
XCP NFS command reference |
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.
xcp verify <source NFS export path> <destination NFS exportpath>
The following table lists the verify
parameters and their description.
Parameter | Description |
---|---|
Scans the source and target trees in parallel and compares tree statistics. |
|
Scans the source and target trees in parallel and compares tree statistics. |
|
Does not check data. |
|
Does not check attributes. |
|
Does not check file modification times. |
|
Specifies the acceptable modification time difference for verification. |
|
Retrieves output formats to list any differences found. |
|
Retrieves output formats to list any differences found. |
|
Excludes user and group names from file listings or reports. |
|
Only processes files and directories that match the format. |
|
Specifies the read/write block size (default: 64k). |
|
Specifies the maximum number of concurrent batch processes (default: 7). |
|
Specifies the request size when reading directories. |
|
Disables the creation of a default index (default: False). |
|
Restores all files to the last accessed date on the source. |
|
Provides the option to use HTTP instead of HTTPS for S3 bucket communication. |
|
Overrides the default Amazon Web Services (AWS) endpoint URL with the specified URL for S3 bucket communication. |
|
Specifies a profile from the AWS credential file for S3 bucket communication. |
|
Overrides the default verification of SSL certification for S3 bucket communication. |
Use the -stats
and -csv
parameters with the verify
command to scan the source and target trees in parallel and compare tree statistics.
cp verify -stats <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
xcp verify -csv <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
xcp verify -stats -csv <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
Use the -nodata
parameter with the verify
command to specify not to check data.
xcp verify -nodata <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
Use the -noattrs
parameter with the verify
command to specify not to check attributes.
xcp verify -noattrs <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
Use the -nomods
parameter with the verify
command to specify not to check file modification times.
xcp verify -nomods <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
Use the -mtimewindow <s>
parameter with the verify
command to specify the acceptable modification time difference for verification.
xcp verify -mtimewindow <s> <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
Use the -v
and l
parameters with the verify
command to retrieve output formats and list any differences found.
xcp verify -v <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
xcp verify -l <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
xcp verify -v -l <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
Use the -nonames
parameter with the verify
command to exclude user and group names from file listings or reports
xcp verify -nonames <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
Use the -match <filter>
parameter with the verify
command to only process the files and directories that match the filter.
xcp verify -match bin <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
Use the -bs <n>
parameter with the verify
command to specify the read/write block size. The default value is 64k.
xcp verify -bs 32k <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
Use the -parallel <n>
parameter with the verify
command to specify the maximum number of concurrent batch processes.
xcp verify -parallel <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
Use the -dircount <n[k]>
parameter with the verify
command to specify the request size when reading directories. The default value is 64k.
xcp verify -dircount <n[k]> <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
Use the -noId
parameter with the verify
command to disable the creation of a default index. The default value is false.
xcp verify -noId <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
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.
xcp verify -preserve-atime <source_ip_address>:/source_vol <destination_ip_address>:/dest_vol
Use the -s3.insecure
parameter with the verify
command to use HTTP instead of HTTPS for S3 bucket communication.
xcp verify -s3.insecure hdfs:///user/test s3://<bucket_name>
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.
xcp verify -s3.endpoint https://<endpoint_url>: s3://<bucket_name>
Use the s3.profile
parameter with the verify
command to specify a profile from the AWS credential file for S3 bucket communication.
xcp verify -s3.profile <name> -s3.endpoint https://<endpoint_url>: s3://<bucket_name>
Use the -s3.noverify
parameter with the verify
command to override the default verification of SSL certification for S3 bucket communication.
xcp verify -s3.noverify s3://<bucket_name>