March 19, 2013

dd commands


dd         -- dataset definition, useful for taking backup of votedisks/Voting Disks

Arguments:

  if -- input file
  of -- output file
  bs -- block size

dd if=/u02/ocfs2/vote/VDFile_0 of=$ORACLE_BASE/bkp/VDFile_0

dd if=/dev/hdb2 of=/dev/sda5 bs=8192
dd if=/dev/sda2 of=/dev/sdb2 bs=4096 conv=notrunc,noerror
dd if=/dev/zero of=/abc bs=1 count=1 conv=notrunc,ucase
dd if=/dev/cdrom of=/home/satya/myCD.iso bs=2048 conv=sync,notrunc,lcase
dd if=/dev/hda3 skip=9200 of=/home/satya/backup_set_3.img bs=1M count=4600
dd if=/home/satya/1Gb.file bs=64k | dd of=/dev/null

Related Articles: ocrcheck in Oracle RAC   ocrdump in Oracle RAC   ocrconfig commands in Oracle RAC 

No comments:

Post a Comment