<drive type unknown> when format command run

Hi,

we are running solaris 9 on V280R. Due to power failure, one disk's label and lost its details like drive type etc.

Disk details:
<SUN72G cyl 14087 alt 2 hd 24 sec 424>

single partition on slice 6 with UFS.

The below i see when i run "format" command

.....

.....

   4. c2t3d0 &lt;drive type unknown&gt;
      /pci@8,700000/scsi@6,1/sd@3,0

Specify disk (enter its number)[4]: 4

AVAILABLE DRIVE TYPES:
0. Auto configure
1. Quantum ProDrive 80S
2. Quantum ProDrive 105S
3. CDC Wren IV 94171-344
4. SUN0104
5. SUN0207
6. SUN0327
7. SUN0340
8. SUN0424
9. SUN0535
10. SUN0669
11. SUN1.0G
12. SUN1.05
13. SUN1.3G
14. SUN2.1G
15. SUN2.9G
16. Zip 100
17. Zip 250
18. SEAGATE-ST373405CLAR72-4A20
19. SUN72G
20. other
Specify disk type (enter its number):

If i choose 18 (as it is 73G disk), i'm sure entire data will be lost.

Pls advise me how could i recover the data.

TIA
Prvn

not good.... i've never seen a vtoc loss after a power problem, i would say that your disks is damaged....

anyhow, you could try it...

i would take 19, that's the original sun label. what solaris will do, is to label the disks with the default layout (s0,s1,s7), but it's just an entry in the first blocks of the disk, the vtoc. you can change that layout using the following commands in the format menu:

  1. format> partition
  2. partition> modify
  3. --> 1. All Free Hog
  4. --> table based on above table -> yes
  5. --> Free Hog partition -> 6
  6. --> enter size of 0-7 -> 0
  7. --> Okay to make this the current partition table? -> yes
  8. --> Enter table name (remember quotes): unix.com
  9. --> Ready to label disk, continue? yes

now you have the whole space back to slice 6, if the disk is ok, you will find your data again, good luck!

gP