Summary: dd drive Ultra 5

From: rmck <rmckeever_at_earthlink.net>
Date: Wed Sep 03 2003 - 17:15:29 EDT
A few people responded with yes I was hosed. 

But Darren Dunham replied with this:

"The data displayed is coming from the label, which was copied from the other disk.
I would try destroying the label and then having Solaris construct a new one.

dd if=/dev/zero of=/dev/rdsk/c0t0d0s2 bs=1b count=1

Then run 'format'.  I'm not sure if you'll have to reboot or not,
hopefully not ( I DID NOT ).  The problem is that the 'sd' driver might cache information, and you can't unload the 'sd' driver without a reboot.

If it works, you'll be prompted to create a new label for the disk, and it will construct a default one based on the disk parameters, which should be pretty close."

I did this and it restored my drive label, I then created my slices and did my clone with ufsdump and all is well.. Thanks Again

Rob



Original Message:
I have an external scsi hd that is 9 gb that I use to boot off of my U5's
for cloning. 

On this system I installed an internal 80 drive. Booted off of the 9gb
drive fine, did format and labled the new 80 drive. 

Usually I create the slices and ufsdump on the new disk. But this time I
tried dd. 


# dd if=/dev/rdsk/c0t1d0s2 of=/dev/rdsk/c0t0d0s2 bs=4096k

now when I do format it shows the drives the same:

AVAILABLE DISK SELECTIONS:
(Should be Western digitial)
       0. c0t0d0 
          /pci@1f,0/pci@1,1/ide@3/dad@0,0
        1. c1t2d0 
          /pci@1f,0/pci@1/pci@1/SUNW,isptwo@4/sd@2,0
Specify disk (enter its number):

Am I hosed?? Is there a way I get get the drive c0t0d0 to be seen as the
Western digitial again???

Rob
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Sep 3 17:19:22 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:19 EST