cloning ATAPI drive, SunOs 5.7


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers cloning ATAPI drive, SunOs 5.7
# 1  
Old 04-24-2011
cloning ATAPI drive, SunOs 5.7

I'm trying to image one hard drive to another using SunOs 5.7. I think I've read all of the forum entries that relate to my questions, but I do not find an effective solution to the problem.

after I verified my drives had the same geometry and did my analyze to resolve original read errors on my primary drive

I used dd if=/dev/rdsk/c0d0s2 of=/dev/rdsk/c0d1s2 bs=512k
that completed successfully. I assume from this that I am copying the complete drive over (great!)

From the old system administrators book I am requested to do my file system check, but it advises me to do the raw disk check (fsck /dev/rdsk/c0d1s2), this conflicts from a few different post and I also tried fsck -F ufs -y -o b=32 /dev/dsk/c0d1s0-9 and it seems like it's okay. Actually I am willing to skip the file system check until after I have it mounted

I have been able to mount /dev/dsk/c0d1s0 /mnt (why 0?) but from Command line I haven't figured out how to edit /etc/vfstab, I can see the entries but I don't see how I can edit the entries in CLI

Another step is that I am to boot into single user mode, but "boot is not found".

Just to compare I've spent three sessions on this drive imaging and in 1/4 of one session I was able to install and run Solaris 10 from a usb stick with complete satisfaction, so I'm thinking that I am not understanding how the filesystem in Unix is set up. I sincerely appreciate the help if you are able.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Cloning an empty sever (except OS) onto a smaller drive?

Actually this is a Centos 6.x question, but I think it fits here. I have a client that has a pretty beefy server that will be running all sorts of VMs once I unleash it to the developers. For several reasons, they would like to do a complete clone of the server as is right now, that is with just... (2 Replies)
Discussion started by: xdawg
2 Replies

2. UNIX for Dummies Questions & Answers

Need help to move .csv file from UNIX path to windows shared drive or c:\ drive

Hi Guys, Can any one help me on this. I need help to move .csv/.xls file from unix path to windows shared drive or c:\ drive? Regards, LKR (1 Reply)
Discussion started by: lakshmanraok117
1 Replies

3. HP-UX

HP-UX server cloning

Hello Friends, Am in requirement to clone a Live HP-UX server here's details OS: HpUX B-11.11 with mirrored LVM disks . S/ws: Remedy, XML engine, Annoysystem, Oracle All Oracle, XMl and Remedy data is on SAM LUN which is used for clustering . My requirement to create a clone server and... (10 Replies)
Discussion started by: Shirishlnx
10 Replies

4. Shell Programming and Scripting

Cloning

Hi, Is there disadvantages if we do AIX Serevr cloning to the new AIX server. Thanks in advance (0 Replies)
Discussion started by: kmsekhar
0 Replies

5. Hardware

How to Clone a Drive with 512 byte Sectors to a Drive with 4096 bytes/sector (AF)?

I have a 320 GB drive which dual boots Windows and Debian: Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal):... (0 Replies)
Discussion started by: phillipsoasis
0 Replies

6. Solaris

Cloning the root drive - Help Plz

I use Sunfire V480R , and i am seeing lot of scsi transport errors for the root drive & i think it is going to die . the system is having 2 drives & the second drive is kept unused . can someone guide me how do i clone the root drive to the seconddrive and make that bootable . (13 Replies)
Discussion started by: skamal4u
13 Replies

7. SCO

mounting USB floppy drive /Flash drive in OSR 6.0

Can anybody help me out to mount USB flash /floppy drive in sco openserver 6.0 . (5 Replies)
Discussion started by: sureshdrajan
5 Replies

8. UNIX for Dummies Questions & Answers

Map Drive From Windows To Apache Shared Drive?

Anyone know how I can map a windows drive to an apache shared drive? In my httpd.conf file, I have: Alias /merc_rpts/ "/u/merc_rpts/" <Directory "/u/merc_rpts"> Options Indexes </Directory> I'm able to bring up a browser and see the contents of this folder. In... (0 Replies)
Discussion started by: gseyforth
0 Replies

9. UNIX for Advanced & Expert Users

Migration of binary file from Sunos 5.8 to Sunos 5.9

I have compiled binary file using "cc" on SunOS 5.8 and the same binary file i have copied to SunOS 5.9 and it is giving me core dump error.I want to know whether migration of compiled code from lower version to higer version created this problem. how can i solve this problem.I am pasting the core... (1 Reply)
Discussion started by: Arvind Maurya
1 Replies
Login or Register to Ask a Question
ATAPICAM(4)						   BSD Kernel Interfaces Manual 					       ATAPICAM(4)

NAME
atapicam -- CAM XPT (transport) module for ATAPI devices SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file: device scbus device ata device atapicam Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): atapicam_load="YES" DESCRIPTION
The ATAPI/CAM module allows ATAPI devices (CD-ROM, CD-RW, DVD drives, floppy drives such as Iomega Zip, tape drives) to be accessed through the SCSI subsystem, cam(4). ata(4) and scbus(4) must be configured in the kernel as well. The SCSI target drivers (cd(4), da(4), or st(4)) can then be used to access the devices. The generic passthrough device, pass(4), can also be used to send SCSI commands directly to the devices through the CAM API. A separate CAM bus is created for each ATA bus in the system. On each of these buses, target ID 0 is assigned to the master device, and ID 1 is assigned to the slave (provided they are ATAPI devices). IMPLEMENTATION NOTES
Some SCSI commands are intercepted by the driver, and undergo special processing in order to work around limitations of ATAPI devices. Such limitations can be consequences of the ATAPI specification. For example, ATAPI devices do not implement the 6-byte versions of MODE_SELECT, MODE_SENSE, READ, or WRITE. They can also be common bugs, such as hanging when queried for extended INQUIRY information. EXAMPLES
device ata device atapicam device scbus device cd device pass Add the atapicam driver to the kernel. camcontrol devlist Print the list of all devices available through CAM. mount -t cd9660 /dev/cd0 /mnt Mount a CD-ROM from an ATAPI CD-ROM drive (the command above assumes that the ATAPI drive is the only CD-ROM unit). SEE ALSO
ata(4), cam(4), scsi(4), atacontrol(8), camcontrol(8) HISTORY
The ATAPI/CAM driver first appeared in FreeBSD 4.8 and FreeBSD 5.0. AUTHORS
The ATAPI/CAM driver was written by Thomas Quinot <thomas@FreeBSD.org>. BUGS
atapicam and ATAPI-specific target drivers (acd(4), ast(4), and afd(4)) can be configured in the same kernel. Simultaneous access to the same device through the SCSI generic drivers and the ATAPI-specific drivers may cause problems and is strongly discouraged. BSD
October 22, 2009 BSD