Netapp System Configuration Worksheet

Netapp System Configuration Worksheet

PROFESSIONAL SERVICES TECH NOTE #048 dd command The Concept The dd command is the original block copy utility In Unix/Linux operating systems where it is used to copy individual data blocks, files or even to duplicate entire disk drives. Data ONTAP also includes the dd command to copy blocks of data within a storage controller. Examples fas1> priv set advanced fas1*> dd if=/vol/vol0/etc/rc of=/vol/newroot/etc/rc – copy file to a new location fas1*> dd if=/vol/vol0/etc/messages.1 of=/vol/testvol/test count=16 Test read and write I/O by steadily increasing the number of blocks copied. Remember, a block in WAFL is 4K in size so multiply count by 4 to determine the total amount of data copied. What It Means To You The dd command can be used as a substitute to ndmpcopy for copying data when no network connection is available (ndmpcopy passes data through the network loopback adapter and is very dependent on the connection speed ). A perfect example use for dd is when you only have console access to a system and want to make a backup copy of a configuration file before editing. Also, use dd to copy single files from a Snapshot as a substitute for single file SnapRestore. Note: The dd command runs in the foreground so you will be unable to run further commands until the copy completes. Press Ctrl+C to kill a running dd session. More Information The Data ONTAP Command Manual defines the command syntax: http://now.netapp.com/NOW/knowledge/docs/ontap/rel727/html/ontap/cmdref/man1/na_dd.1.htm The following KB article shows how to copy a file from a snapshot: https://now.netapp.com/Knowledgebase/solutionarea.asp?id=ntapcs8928 Brought to you by NetApp Americas Professional Services Send comments, corrections & suggestion to Michael Cope at [email protected] Tech Note archive: http://communities.netapp.com/community/products_and_solutions?view=documents .

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    1 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us