LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 08-13-2002, 12:29 PM   #1
Gardener
LQ Newbie
 
Registered: Aug 2002
Location: Stockholm, Sweden
Distribution: Red Hat 7.x
Posts: 7

Rep: Reputation: 0
Unhappy SCSI-controller reports wrong disk size


I've just upgraded my server to an AMD Athlon Thunderbird 1200 and also a new scsi card (since my old m/b had one built in). Everything worked great at first but quite soon everything went straight to h*ll.

For some reason my Adaptec SCSI card seems to think that my first 4.3 GB disk is 9105MB and usually doesn't find the second one at all. Because of this the partition sizes in Linux gets totally screwed up.

When the second disk is found I get error reports indicating that the disk is corrupted. But since this happened at the same time as the upgrade and the first disk is recognized with the wrong size I'm guessing (or hoping...) that there is some configuration error with the scsi card.

If anyone can help me with this I would be very happy. I've been googling the net for a couple of days and tried just about everything I can think of and now I'm completely stumped.

I can give you exact error reports, info from messages etc upon request.
 
Old 08-13-2002, 05:52 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,986
Blog Entries: 11

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
Re: SCSI-controller reports wrong disk size

Quote:
Originally posted by Gardener
When the second disk is found I get error reports indicating that the disk is corrupted. But since this happened at the same time as the upgrade and the first disk is recognized with the wrong size I'm guessing (or hoping...) that there is some configuration error with the scsi card.
Gidday,

usually that kind of error comes up when there's problems with either
the termination, term power or SCSI parity checks.

This is a very nice place to look when you have
SCSI-hardware and don't know what's stopping it
from working properly...

http://www.hardwarecentral.com/hardw...utorials/36/1/

As for your new & old Controller ... was the built in one a SymBios
or Adaptec?
Adaptec and Symbios use different low-level formats for SCSI HD's,
and if you switched from Sym to Adaptec chances are that you'll
have to low-level the drives... but first of all make sure termination
is set-up right (e.g. that you didn't change the order of your HD's
when rebuilding the system without swapping the termination)

HIH...

Cheers,
Tink
 
Old 08-13-2002, 08:23 PM   #3
Gardener
LQ Newbie
 
Registered: Aug 2002
Location: Stockholm, Sweden
Distribution: Red Hat 7.x
Posts: 7

Original Poster
Rep: Reputation: 0
Re: Re: SCSI-controller reports wrong disk size

Quote:
Originally posted by Tinkster

usually that kind of error comes up when there's problems with either the termination, term power or SCSI parity checks.
I don't have direct access to the server myself at the moment, but the guy who has been checking on it says the termination should be correct. The disk is first on the chain and a cd-rom is after it, which is terminated. It doesn't say on the disk (a Quantum Lightning I think it is) how to terminate it, that's why it is set up like this. The CD-ROM is not needed actually, in fact it is possible that it is broken, it hasn't worked for quite some time but I haven't been bothered to check on it since it is only 4x.

Quote:

This is a very nice place to look when you have
SCSI-hardware and don't know what's stopping it
from working properly...

http://www.hardwarecentral.com/hardw...utorials/36/1/
Thanks, I'll read that tutorial, I surely need it. =]

Quote:

As for your new & old Controller ... was the built in one a SymBios
or Adaptec?
Adaptec and Symbios use different low-level formats for SCSI HD's, and if you switched from Sym to Adaptec chances are that you'll have to low-level the drives... but first of all make sure termination is set-up right (e.g. that you didn't change the order of your HD's when rebuilding the system without swapping the termination)
Luckily, the old one was also Adaptec, so this doesn't apply to me.

I have been able to start the server with the disk working and reporting no errors and all partition sizes being OK. I don't know if it has something to do with the fact that it's been started with kernel 2.4.2-2, but I don't think so since the scsi card doesn't always find the disk but it did this time.

Since I got the disk mounted I've backed up all data so the the loss won't be so big anymore. But it would be nice if I didn't have to buy a new drive.

I tried to unmount the /home partition (the only one on the problem disk) but it didn't work, and afterwards the size of the last partition on the first disk is screwed up again. The error I got was this:
Code:
bash-2.05# umount /home
umount: /home: device is busy
bash-2.05# umount /home -f
umount2: Device or resource busy
umount: /dev/sdb1: not mounted
umount: /home: Illegal seek
I wanted to mount as read-only and try to run reiserfsck on it. But I guess I could erase it and make an ext3 fs on it instead. But I will still have to find out what the actual problem is, so I'll keep trying a bit more.

Thanks for taking your time to help me, it's much appreciated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cedega game install reports wrong disk space fatbastige Linux - Software 2 09-20-2005 08:19 AM
df reports wrong disk usage Mathieu_G Linux - General 4 04-13-2005 02:44 PM
USB external Disk reports wrong size alans Linux - Hardware 1 03-17-2005 08:57 AM
SuSE 8 Reports Wrong HD Size on install! Tiburon Linux - Distributions 2 07-25-2002 09:23 AM
cdrecord -scanbus sez: "controller returns wrong size for capapabilities page rdaves@earthlink.net Linux - General 5 10-08-2001 09:09 AM


All times are GMT -5. The time now is 02:29 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration