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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-27-2005, 02:56 AM
|
#1
|
|
LQ Newbie
Registered: Jun 2005
Distribution: Ubuntu,Debian,Mandrake,knoppix,dsl,freesco,SUSE
Posts: 8
Rep:
|
SATA hotswap
I've got a PCI SATA (4xport) card with Sil3114 and hot swappable mobile rack.
SATA drives work great, but when I trying to chahnge them - I have to
echo "scsi remove-single-device 0 0 0 0" > /proc/scsi/scsi
then replace hard drive connect it back and
echo "scsi add-single-device 0 0 0 0" > /proc/scsi/scsi
Seems to work ok. But only if using same capacity hard drive,
when I've put a different hard drice (for ex was 200GB then I've put 120gb) it will still show size and geomtery for old hard drive.
The only way I found is to compile kernel with sata_sil as module and then
rmmod sata_sil
modprobe sata_sil
to recognise a new hard drive properply. But if I use all 4 ports then it sholud be some other way to tell kernel (module) that I put a new hard drive and it needed to register it.
How I can do it?
Is it any way to ask kernel(module) to rescan it?
|
|
|
|
06-27-2005, 09:19 PM
|
#2
|
|
Moderator
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,505
Rep: 
|
I'm not sure the kernel supports SATA hotswap, but have you simply tried rescanning the partition using sfdisk?
|
|
|
|
06-28-2005, 02:06 AM
|
#3
|
|
Guru
Registered: Jan 2002
Posts: 6,042
Rep: 
|
You can try to use `hdparm -z`.
|
|
|
|
06-28-2005, 02:57 AM
|
#4
|
|
LQ Newbie
Registered: Jun 2005
Distribution: Ubuntu,Debian,Mandrake,knoppix,dsl,freesco,SUSE
Posts: 8
Original Poster
Rep:
|
No after reread partition using sfdisk or hdparm will show a new partition but still old HDD geometry and old HDD size
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:58 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|