Manual Pages

Table of Contents


na_dd - Copies blocks of data.


dd [-c]
[ [if= file ] | [ din= disknum bin= blocknum ] ] [ [of= file ] | [ dout= disknum bout= blocknum ] ] count= number_of_blocks


dd copies the specified number of blocks from source to destination. Source and destination may be specified as either a file that is a fully qualified pathname, or as a starting block on a disk. The parameter blocknum may range from zero to the maximum number reported by na_sysconfig (1) -r. When indicating a starting block on a disk, both disknum and blocknum parameters must be specified. If the source is missing, input is taken from standard input; if the destination is missing, output is sent to standard output. If the number of blocks exceeds the size of the file, copying stops upon reaching EOF.

By default, dd copies data and checksum data for block checksum disks, and treats all blocks as data blocks for a disk in a zoned aggregate or advanced_zoned checksum (AZCS) RAID group. When the -c flag is specified, dd copies both data and checksum data for a disk in an AZCS RAID group. The -c flag has no effect on a disk in a zoned checksum aggregate.



Table of Contents