Solved

same disk geometry

Posted on 2002-04-18
4
2,235 Views
Last Modified: 2013-12-27
Hi,
   I want the second disk to have the same geometry
as the first disk.  I ran this command but got this
error:
prtvtoc /dev/rdsk/c0t0d0s2|fmthard -s - /dev/rdsk/c1t1d0s2
Partition 0 not aligned on cylinder boundary: "       0      2    00          0   6291936   6291935   /"


Does anybody know how to configure the second disk to
have the same geometry and same partition as the
first disk on solaris 8?


thanks
0
Comment
Question by:siunix
  • 2
4 Comments
 
LVL 4

Expert Comment

by:Otetelisanu
ID: 6952615
With dd
Example:


dd if=/dev/rdsk/c0t0d0s2 of=/dev/rdsk/c1t1d0s2 count=128

and the disk c1t1d0s2 is same as disk c0t0d0s2
0
 
LVL 4

Accepted Solution

by:
jlms earned 50 total points
ID: 6952867
Run format.
Choose the disk you are happy with.
Go to "partition"
Name that partition table with a catchy name ("name")
Quit (quit)
Choose the other disk (disk) and go to partition again (partition), there select the partition definition you saved previously (select).
Write that partition to the disk (label) and quit,quit.
0
 

Author Comment

by:siunix
ID: 6955102
I like the dd better because I can automate it with a script,

thank you all
0
 
LVL 4

Expert Comment

by:Otetelisanu
ID: 6958989
And my points ???
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
AIX    Volume group Auto ON/OFF question 2 90
Virtualizing TAPE on dual VIOS 3 78
Write an app 10 67
Solaris 4.1.3 cloning and booting 13 72
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now