I have a problem with the hard drive connected to my setup. When I connect the HDD which is damaged, and try to bring up my system, I get some error messages continuously on my console saying
After some time, the system boots up well. Whenever I try to execute some command related to HDD, it is struck.
How can I avoid the delay that is being taken initially during bootup?
Is there any way in the driver code where we can say kernel not to probe for the HDD if it is not able to recognize it well? Please help me...
Thanks in advance...
Regards,
Sai
Moderator's Comments:
Use code tags please.
Last edited by zaxxon; 06-17-2013 at 06:43 AM..
Reason: check your PMs
:confused: ........I have a new hard drive and I need to copy ALL info from the old to the new. I would like to use the dd command. I know the command is as follows......
dd if=/dev/rdsk/c1t1d0s0 of=/dev/rdsk/????????
Where I have the question marks is the problem.
How do I find out what the... (4 Replies)
Hi
I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
I have a hard drive that we are trying to jumpstart in a sunblad 1500. we keep getting errors. I placed the drive in my 1500. I want to wipe the drive clean because for some reason it has a partition table. and when i go to format and try to format the drive it says it can not use a program. is... (5 Replies)
I have a USB hard drive attached to my SCO OSR6 machine I accidently powered it off while it was mounted and now the OS complains when you try to re-mount it and it appears that it is complaining because it has a new device number so it isn't at the original device location anymore. does anyone... (1 Reply)
Need to replace hard drive on Ultra 10 running Solaris 2.6.
Bought new drive about the same size.
Partitioned it differently to solve a space problem.
After newfs used tar commands to copy most of the files to the new drive.
Installboot took care of the boot file.
ufsdump copied /dev and... (3 Replies)
How do I check for physical damage on red hat linux hard disks? I tried smartctl /dev/sdb but it came back so fast saying it was ok. Is there a better linux command to check for bad sectors or physical disks in linux? Is there a good way such as with parted or something else? I normally in HP... (4 Replies)
I have tried to (unsuccessfully) add an old drive to get drivers (for the 3Com network card) onto a Sco Openserver 5.1 server. Now it wont boot:
I used Sco Admin to do this.
It have 3 scuzzi drives
I added an IDE
I think what I did wrong was add the IDE to existing space, and I should not have... (6 Replies)
Hello
I am having a problem with being able to use my 2nd hard drive as my new os doesn't recognize it. it is /dev/hdb2 and it shows as It is still in my system. it is a 73 gb hard drive and it is useless to me now. I used to have windows XP and had no problem with it,I have since changed to... (2 Replies)
Hello all,
I am EXTREMELY new to using bash and I have a bit of a problem: I'm trying to set up a shell script that can
1.) take one of several giant files off of an external hard drive
2.) use it as input for scripts on my laptop's hard drive
... (3 Replies)
Discussion started by: machine_spirit
3 Replies
LEARN ABOUT DEBIAN
scsi_readcap
SCSI_READCAP(8) SG3_UTILS SCSI_READCAP(8)NAME
scsi_readcap - do SCSI READ CAPACITY command on disks
SYNOPSIS
scsi_readcap [--brief] [--help] [--long] [--verbose] DEVICE [DEVICE]*
DESCRIPTION
This Bourne shell script calls the sg_readcap utility on each given DEVICE. This will send a SCSI READ CAPACITY command to each DEVICE.
The default action of this script is to send the 10 byte cdb READ CAPACITY(10) command to each DEVICE. If a response indicates the number
of blocks is greater than or equal to '2**32 - 1' then the READ CAPACITY(16) is sent and its response is output.
OPTIONS
Arguments to long options are mandatory for short options as well.
-b, --brief
shortens the output to two hexadecimal numbers, both prefixed by '0x'. The first number is the number of blocks available and the
second is the size of each blocks in bytes (e.g. '0x12a19eb0 0x200'). If an error is detected '0x0 0x0' is output and the script
continues if there are more DEVICEs.
-h, --help
print out the usage message then exit.
-l, --long
the default is to send the READ CAPACITY(10) command (i.e. the 10 byte cdb variant). When this option is given the READ CAPACITY(16)
command is sent. The latter command yields more information in its response.
-v, --verbose
increase level or verbosity.
EXIT STATUS
The exit status of this script is 0 when it is successful. Otherwise the exit status is that of the last sg_readcap utility called. See the
sg3_utils(8) man page.
AUTHORS
Written by D. Gilbert
COPYRIGHT
Copyright (C) 2009 Douglas Gilbert
This software is distributed under a FreeBSD license. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR-
POSE.
SEE ALSO
sg_readcap (sg3_utils)
sg3_utils-1.28 October 2009 SCSI_READCAP(8)