readlvcopy Command

Purpose

Reads a specific mirror copy of a logical volume.

Syntax

readlvcopy -d device [ -c copy | -C copy | -b ] [ -n number_of_blocks ] [ -o outfile ] [ -s skip] [ -S seek ]

Description

Flags

Item Description
-d device logical volume special device file to be read from
-c copy Requested mirror copy to read from. Valid values are 1, 2, or 3 for the first, second, or third copy of the data. Data is read even if the logical partition has been marked stale. The default is the first copy of the data.
-C copy Requested mirror copy to read from. Valid values are 1, 2, or 3 for the first, second, or third copy of the data. Stale logical partitions are not read.
-b Read mirror copy marked as online backup.
-n number_of_blocks Number of 128K blocks to read
-o outfile Destination file. The default is stdout
-s skip Number of 128K blocks to skip into device.
-S seek Number of 128K blocks to seek into outfile