BigAdmin System Administration Portal
Community-Submitted Tech Tip
Print-friendly VersionPrint-friendly Version
This content is submitted by a BigAdmin user. It has not been reviewed for technical accuracy by Sun Microsystems, though it may have been lightly edited to improve readability. If you find an error or would like to comment on the article, please contact the submitter or use the comment field at the bottom of the article. Community submissions may not follow Sun trademark guidelines. For information on Sun trademarks, please see http://www.sun.com/suntrademarks/.
 
 

Setting Up a Disk Partition Table to Be the Same As on Another Disk

Phillip Wu, August 2006

Often it is necessary to set up a partition table for a disk to be the same as on another disk, for example, where the disks are mirrored. This can be achieved by using the format utility. In the instructions that follow, the original disk is called disk a and the second disk (which will have the same partition table) is called disk b.

format
<select disk a>  (Select disk a from the list displayed.)
partition
print   (Print out the partition table to list the partition table.)
name
rootdisk   (Pick a name of your choice.)
quit   (Go back to the format menu.)
disk   (Go to the menu that allows you to select disk b.)
<select disk b>   (Select disk b from the list displayed.)
partition   (Print out the partition table before changing.)
select
--Pick rootdisk   (Pick from the menu the name you gave above.)
label   (Write out the partition table to disk.)
quit   (Go back to the format menu.)
quit   (Exit format.)

 


The information and links on this page have been provided by a BigAdmin user. The submitter is solely responsible for such information and links. Sun is not responsible for the availability of external sites or resources, and does not endorse and is not responsible or liable for any content, advertising, products, or other materials on or available from such sites or resources. Sun will not be responsible or liable, directly or indirectly, for any actual or alleged damage or loss caused by or in connection with use of or reliance on the information posted here, or goods or services available on or through any external site or resource.

Unless otherwise licensed, code in all technical manuals herein (including articles, FAQs, samples) is provided under this License.


Rate and Review
Tell us what you think of the content of this page.
Excellent   Good   Fair   Poor  
Comments:
Your email address (no reply is possible without an address):
Sun Privacy Policy

Note: We are not able to respond to all submitted comments.
BigAdmin
  
 
 
 
Would you recommend this Sun site to a friend or colleague?
Contact About Sun News & Events Employment Site Map Privacy Terms of Use Trademarks Copyright Sun Microsystems, Inc.