07-22-2008
"If you keep on seeing that the disk drive is not available, most probably the disk has gone bad (possible). meaning you wont be able to access any data on that disk, unless your disk is mirrored to the primary."
No, the disk was disconnected and therefore i expected that when i type in format. This line "c2t2d0 <Drive not available>" should not even appear.
The main reason i want to remove this line ""c2t2d0 <Drive not available>" is because i have a script that checks the output of the format command. If this line exists than it will pump out scsi not connected for that drive.
Also i have tried the command #drvconfig -c /dev/rdsk/c2t2d0s0
i couldnt see what this does?
10 More Discussions You Might Find Interesting
1. Linux
Hello
I am trying to read from a small disk , 256 MB , removable sandisk.I am not able to access the device. The system does not recognise my disk to copy file s from the disk.
Please post your solution in this issue.
Thanks (2 Replies)
Discussion started by: singh85
2 Replies
2. Solaris
hi-
I just installed a quad gigaswift ethernet scsi card to my sunblade 150. I checked with the docs, and got all of the required drivers on the box. Now, I'm trying to mount an external scsi tape drive with no luck. I set the scsi address on the external drive to 0. Here's what I'm coming... (9 Replies)
Discussion started by: ECBROWN
9 Replies
3. UNIX for Dummies Questions & Answers
I am interested in booting up my unix computer by connecting an external SCSI drive( intergraph) to it. The unix box is also an intergraph computer. Whenever I boot it, it gives me an error that says Drive not ready, Insert Boot Diskette in A. What am I doing wrong?
Any input would be... (3 Replies)
Discussion started by: teruotor
3 Replies
4. UNIX for Dummies Questions & Answers
Someone gave me a small external SCSI hard drive for my SunOS 5.8 test system. How do I make Unix see the hard drive? (2 Replies)
Discussion started by: FredSmith
2 Replies
5. AIX
Hi,
How do I mirror an external scsi vg to one hdisk san? The vg has multiple hdisks and the san hdisk has only one.
Is this possible or do I need to create the same hdisks as the scsi? What I meant is, if the scsi vg has 10 hdisk then I need to create also 10 hdisk of san with the same... (6 Replies)
Discussion started by: itik
6 Replies
6. Solaris
Hi All,
I have an external scsi harddrive (HD) connected directly to the workstation. I understand when the external HD is connected and turned on, and type in "devfsadm" command. Unix will detect it but not mount the drive.
So by typing in "format" command it will display the following:
#... (6 Replies)
Discussion started by: tlee
6 Replies
7. UNIX for Dummies Questions & Answers
How do I copy the master boot record from one harddrive to another or how to install just the MBR? (7 Replies)
Discussion started by: shorty
7 Replies
8. Solaris
I have a removable usb flash drive which is visible below as no. 2
# rmformat
Looking for devices...
1. Volmgt Node: /vol/dev/aliases/cdrom0
Logical Node: /dev/rdsk/c0t0d0s2
Physical Node: /pci@0,0/pci-ide@1f,1/ide@0/sd@0,0
Connected Device: HL-DT-ST DVD+-RW... (4 Replies)
Discussion started by: seyiisq
4 Replies
9. Solaris
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
10. Solaris
Hi Gurus,
I have difficulty in configuring removable hard disk in Solaris 8.
I have connected hard disk to machine but I do not know how to configure it.
Kindly tell me, how should I configure it .. so that I can create a mount point on this and write files to them.
Regards
Srini (7 Replies)
Discussion started by: sri243
7 Replies
LEARN ABOUT MINIX
addbadsec
addbadsec(1M) System Administration Commands addbadsec(1M)
NAME
addbadsec - map out defective disk blocks
SYNOPSIS
addbadsec [-p] [ -a blkno [blkno...]] [-f filename] raw_device
DESCRIPTION
addbadsec is used by the system administrator to map out bad disk blocks. Normally, these blocks are identified during surface analysis,
but occasionally the disk subsystem reports unrecoverable data errors indicating a bad block. A block number reported in this way can be
fed directly into addbadsec, and the block will be remapped. addbadsec will first attempt hardware remapping. This is supported on SCSI
drives and takes place at the disk hardware level. If the target is an IDE drive, then software remapping is used. In order for software
remapping to succeed, the partition must contain an alternate slice and there must be room in this slice to perform the mapping.
It should be understood that bad blocks lead to data loss. Remapping a defective block does not repair a damaged file. If a bad block
occurs to a disk-resident file system structure such as a superblock, the entire slice might have to be recovered from a backup.
OPTIONS
The following options are supported:
-a Adds the specified blocks to the hardware or software map. If more than one block number is specified, the entire list should be
quoted and block numbers should be separated by white space.
-f Adds the specified blocks to the hardware or software map. The bad blocks are listed, one per line, in the specified file.
-p Causes addbadsec to print the current software map. The output shows the defective block and the assigned alternate. This option
cannot be used to print the hardware map.
OPERANDS
The following operand is supported:
raw_device The address of the disk drive (see FILES).
FILES
The raw device should be /dev/rdsk/c?[t?]d?p0. See disks(1M) for an explanation of SCSI and IDE device naming conventions.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |x86 |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
disks(1M), diskscan(1M), fdisk(1M), fmthard(1M), format(1M), attributes(5)
NOTES
The format(1M) utility is available to format, label, analyze, and repair SCSI disks. This utility is included with the addbadsec,
diskscan(1M), fdisk(1M), and fmthard(1M) commands available for x86. To format an IDE disk, use the DOS "format" utility; however, to
label, analyze, or repair IDE disks on x86 systems, use the Solaris format(1M) utility.
SunOS 5.10 24 Feb 1998 addbadsec(1M)