A colleague of mine was trying to duplicate the partition table of the primary disk onto the backup hard drive (same size, same brand/model). I mentioned using prtvtoc command to display the Volume Table of Contents and then pipe its output to the fmthard command. Unfortunately, he was already populating the second hard drive via the manual process. At any rate, here is an example.
# prtvtoc /dev/rdsk/c1t10d0s2 | fmthard -s - /dev/rdsk/c1t11d0s2
This blog covers Unix system administration HOWTO tips for using inline for loops, find command, Unix scripting, configuration, SQL, various Unix-based tools, and command line interface syntax. The Unix OS supports tasks such as running hardware, device drivers, peripherals and third party applications. Share tips/comments. Read the comments. But most importantly: Read Disclaimer - Read Disclaimer.
Subscribe to:
Post Comments (Atom)
1 comment:
dd if=/dev/rdsk/c3t0d0s2 of=/dev/rdsk/c3t1d0s2 count=16
Post a Comment