Solved

same disk geometry

Posted on 2002-04-18
4
2,207 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
Comment Utility
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
Comment Utility
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
Comment Utility
I like the dd better because I can automate it with a script,

thank you all
0
 
LVL 4

Expert Comment

by:Otetelisanu
Comment Utility
And my points ???
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

772 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

10 Experts available now in Live!

Get 1:1 Help Now