Sponsored Content
Operating Systems Solaris Sun Ultra 2 Hard Drive Replacement Post 302494869 by jlliagre on Tuesday 8th of February 2011 05:19:51 PM
Old 02-08-2011
It would help if you answer to the questions that have been asked, i.e. tell what make, model, size and geometry are the old and new drives.

In any case, cloning a disk is usually done by copying the vtoc, then copying the data from the slices containing them, then installing the boot loader if a system disk.

However, it is unclear what you are trying to achieve. Backups are to be done before a drive fails, not after that. Were the two original disks configured in as a mirror ?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

hard drive in Sun Ultra 10

What are the options on upgrading disk space in an Ultra 10 workstation? Sun states they are EIDE drives, are they standard or Sun specific? Thanks (1 Reply)
Discussion started by: 98_1LE
1 Replies

2. Filesystems, Disks and Memory

Tape Drive Connected to a Sun Ultra 10/Solaris 2.7

I have a Sun Ultra 10/Solaris 2.7 with a differential SCSI card connected to a Supter DLt1 Tape Drive. When I boot the machine, and I do a probe-scsi-all in the very beginning of the boot process. It shows up correctly. If I wait for the boot process to proceed and then I do a probe-scsi-all, I get... (1 Reply)
Discussion started by: brv
1 Replies

3. UNIX for Dummies Questions & Answers

Newbie: Sun Ultra 5 Disk Replacement

I have just started getting into unix and aquired a Sun Ultra 5 however the disk failed and I want to replace it with a spare maxtor 40Gb i have lying around. I need to partition and format the disk from its old windows format. I have looked up info on the format command in solaris 9 and I think i... (2 Replies)
Discussion started by: kalm
2 Replies

4. UNIX for Dummies Questions & Answers

Trying to copy old hard drive to new hard drive.

:confused: ........I have a new hard drive and I need to copy ALL info from the old to the new. I would like to use the dd command. I know the command is as follows...... dd if=/dev/rdsk/c1t1d0s0 of=/dev/rdsk/???????? Where I have the question marks is the problem. How do I find out what the... (4 Replies)
Discussion started by: shorty
4 Replies

5. Filesystems, Disks and Memory

The best partitioning schem for a 250GB Sata hard drive & a 75GB SCSI hard drive

Hi I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
Discussion started by: sirbijan
0 Replies

6. Solaris

USB Hard Disk Drive Supported by Sun Fire V890

Hi, Can anyone suggest me any USB Hard Disk Drive which I can connect to Sun Fire V890 and take backup at a quick speed. A test with SolidState USB Hard Drive for backup work was taking writing at 2GB per hour for a 75GB backup. Regards, Tushar Kathe (1 Reply)
Discussion started by: tushar_kathe
1 Replies

7. Solaris

Connect an External SCSI Hard Drive to Ultra 80

Guys, I have googled and checked this forum in detail and couldn't find any satisfactory answers for my problem. I am trying to connect a external SCSI hard Drive(Sea Gate) to a Ultra 80. I connected it powered it up and at OK prompt did : boot -r system comes up and complains about not... (6 Replies)
Discussion started by: ajnabi
6 Replies

8. Solaris

Sun Hard Drive Wipes

Greetings!! I've been tasked with decommissioning a group of older Sun servers. I have several SunFire 280r among them as well as some others. I have asolutely no experience with Sun systems and find myself in a bit of a pickle. I need two things ... someone to explain to me in grade... (5 Replies)
Discussion started by: Tenuous
5 Replies

9. Hardware

[solved] Sun Netra X1 - Adding a Second Hard Drive

As the title suggests, I'm trying to install a second drive (really want an OS mirror) on a Sun Netra X1. I've taken the spacer out, and had a go at with the drill-press so now I have a nice HDD tray. Have installed an IDE drive in the tray, plugged in the power and data cables that were... (0 Replies)
Discussion started by: Smiling Dragon
0 Replies
read_vtoc(3EXT) 					    Extended Library Functions						   read_vtoc(3EXT)

NAME
read_vtoc, write_vtoc - read and write a disk's VTOC SYNOPSIS
cc [ flag ... ] file ... -ladm [ library ... ] #include <sys/vtoc.h> int read_vtoc(int fd, struct vtoc *vtoc); int write_vtoc(int fd, struct vtoc *vtoc); int read_extvtoc(int fd, struct extvtoc *extvtoc); int write_extvtoc(int fd, struct extvtoc *extvtoc); DESCRIPTION
The read_vtoc() and read_extvtoc() functions return the VTOC (volume table of contents) structure that is stored on the disk associ- ated with the open file descriptor fd. On disks larger than 1 TB read_extvtoc() must be used. The write_vtoc() and write_extvtoc() function stores the VTOC structure on the disk associated with the open file descriptor fd. On disks larger then 1TB write_extvtoc() function must be used. The fd argument refers to any slice on a raw disk. RETURN VALUES
Upon successful completion, read_vtoc() and read_extvtoc() return a positive integer indicating the slice index associated with the open file descriptor. Otherwise, they return a negative integer indicating one of the following errors: VT_EIO An I/O error occurred. VT_ENOTSUP This operation is not supported on this disk. VT_ERROR An unknown error occurred. VT_OVERFLOW The caller attempted an operation that is illegal on the disk and may overflow the fields in the data structure. Upon successful completion, write_vtoc() and write_extvtoc() return 0. Otherwise, they return a negative integer indicating one of the fol- lowing errors: VT_EINVAL The VTOC contains an incorrect field. VT_EIO An I/O error occurred. VT_ENOTSUP This operation is not supported on this disk. VT_ERROR An unknown error occurred. VT_OVERFLOW The caller attempted an operation that is illegal on the disk and may overflow the fields in the data structure. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |Unsafe | +-----------------------------+-----------------------------+ SEE ALSO
fmthard(1M), format(1M), prtvtoc(1M), ioctl(2), efi_alloc_and_init(3EXT), attributes(5), dkio(7I) BUGS
The write_vtoc() function cannot write a VTOC on an unlabeled disk. Use format(1M) for this purpose. SunOS 5.11 7 Oct 2008 read_vtoc(3EXT)
All times are GMT -4. The time now is 10:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy