Sponsored Content
Operating Systems Solaris <drive type unknown> when format command run Post 302135366 by pressy on Saturday 8th of September 2007 10:56:56 AM
Old 09-08-2007
Quote:
4. c2t3d0 <drive type unknown>
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...

Quote:
Disk details:
<SUN72G cyl 14087 alt 2 hd 24 sec 424>
...
...
18. SEAGATE-ST373405CLAR72-4A20
19. SUN72G
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
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

printing out procedures in unknown format

Does Anybody know how to print procedures written in this format? .. .nr PS 11 .nr VS 14 .nr LL 6.5i .ad l .DA 1/9/91 .in 4.0i .DS Shepard D. Johnson .DE .in 0i .sp .sp .sp .LG .ce .B Pressure Sensors (P/N 16-0018-0 & 16-0018-1) Test Procedure (1 Reply)
Discussion started by: rjtrjt
1 Replies

2. Solaris

type of tape drive

Hello Expert, I'm new from unix I just want to ask how to check what particullar tape drive installed on my SUN Ultra 450. thanks (1 Reply)
Discussion started by: eykyn17
1 Replies

3. Solaris

Unknown File Type error

Greetings there, i was trying to install an eclipse plugin on sunOS 4.x for the solaris sparc platform, and i got the following error: /usr/project/RAServer/bin> ./RAStart.sh Starting Agent Controller ld.so.1: RAServer: fatal: /usr/project/RAServer/lib/libxerces-c.so.24: unknown file type... (3 Replies)
Discussion started by: rohitsz
3 Replies

4. Shell Programming and Scripting

Backup script calculating which type to run

Hi, Second attempt at this, which I have gone down a different and seemingly long winded route but I don't know what other way to do it. Task - Create a template (or skeleton) script for our backup scripts to sit inside. Background - We currently run our monthly (every 28 days) and... (4 Replies)
Discussion started by: rab
4 Replies

5. Shell Programming and Scripting

Military type format date/time conversion

Hello All, I have a requirement to convert a 12 hour format to 24 hour time format and the sample input /out put is below Input Time format : Nov 2 2011 12:16AM Out Put Format : Nov 2 2011 0:16 Input : Nov 2 2011 4:16PM Out Put: Nov 2 2011 16:16 I have done this using a... (6 Replies)
Discussion started by: jambesh
6 Replies

6. Shell Programming and Scripting

Script for telnet and run one command kill it and run another command using while loop

( sleep 3 echo ${LOGIN} sleep 2 echo ${PSWD} sleep 2 while read line do echo "$line" PID=$? sleep 2 kill -9 $PID done < temp sleep 5 echo "exit" ) | telnet ${HOST} while is executing only command and exits. (5 Replies)
Discussion started by: sooda
5 Replies

7. Solaris

C3t0d0 <drive type unknown>

AVAILABLE DISK SELECTIONS: 0. c2t500000E01D2DDCE0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> /scsi_vhci/disk@g500000e01d2ddce0 1. c2t500000E01D2DED70d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> /scsi_vhci/disk@g500000e01d2ded70 2.... (12 Replies)
Discussion started by: fatb0y
12 Replies

8. Shell Programming and Scripting

I want to copy all files of a said type on my external hard drive

My code is this, what I'm trying to accomplish is to make a list of all pdf documents in my computer and then copy all of those documents to my external hard drive in a directory mkdir /Volumes/Hardrive-1/allpdf echo "File Locations" > /Volumes/Hardrive-1/allpdf/FileLocations.txt mdfind pdf... (2 Replies)
Discussion started by: darpness
2 Replies

9. Programming

Visual Basic converting a decimal data type to a label with currency format

Here is the code that I am working with. I have tried several other things. any suggestions? Lbl_Cost_Output.Text = (dDistance * dCostPerMile).ToString("C") The label is formatted correctly in terms of value 0.00 but no dollar sign appears. Please let me know if you have any questions. (1 Reply)
Discussion started by: briandanielz
1 Replies

10. Solaris

Drive is showing offline in the /var/adm/messages and shows "drive type unknown" in the format outpu

Hi, I am facing issue with one of the drive is solaris 10. it is showing offline in the messages file scsi: WARNING: /pci@2,600000/QLGC,qlc@0/fp@0,0/ssd@w5006016746e00b1b,0 (ssd0): drive offline genunix: WARNING: Page83 data not standards compliant DGC LUNZ 0430 ... (1 Reply)
Discussion started by: Prasanth T K
1 Replies
MBRLABEL(8)						    BSD System Manager's Manual 					       MBRLABEL(8)

NAME
mbrlabel -- update disk label from MBR label(s) SYNOPSIS
mbrlabel [-fqrw] [-s sector] device DESCRIPTION
mbrlabel is used to update a NetBSD disk label from the Master Boot Record (MBR) label(s) found on disks that were previously used on DOS/Windows systems (or other MBR using systems). mbrlabel scans the MBR contained in the very first block of the disk (or the block specified through the -s flag), then walks through every extended partition found and generates additional partition entries for the disk from the MBRs found in those extended partitions. Each MBR partition which does not have an equivalent partition in the disk label (equivalent in having the same size and offset) is added to the first free partition slot in the disk label. A free partition slot is defined as one with an fstype of 'unused' and a size of zero ('0'). If there are not enough free slots in the disk label, a warning will be issued. The raw partition (typically partition c, but d on i386 and some other platforms) is left alone during this process. By default, the proposed changed disk label will be displayed and no disk label update will occur. Available options: -f Force an update, even if there has been no change. -q Performs operations in a quiet fashion. -r In conjunction with -w, also update the on-disk label. -s sector Specifies the logical sector number that has to be read from the disk in order to find the MBR. Useful if the disk has remapping drivers on it and the MBR is located in a non-standard place. Defaults to 0. -w Update the in-core label if it has been changed. See also -r. SEE ALSO
disklabel(8), dkctl(8), fdisk(8), mbr(8) HISTORY
The mbrlabel command appeared in NetBSD 1.4. BSD
April 5, 2010 BSD
All times are GMT -4. The time now is 11:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy