Solved

same disk geometry

Posted on 2002-04-18
4
2,338 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

691 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