LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 02-17-2003, 03:17 AM   #1
vinay_r99
LQ Newbie
 
Registered: May 2002
Location: Bangalore
Distribution: Linux
Posts: 20

Rep: Reputation: 0
scan hot plug drives support !!


hi all,

I have a Compaq DL380 server which has an hotplug hard drives support & pci hotplug tooo.... it can inhouse some six hard disk in it..... i have installed Redhat Linux 8.0 with two drives in it.... & its an production server. Now i want to add three more hard drives in it.... is there a tool to scan the three hard drives which i hv installed in it. onces i scan i should be able to see the three drives which is installed without reboot. with some command or with GUI screen. any somebody help me ....

Thanx a lot.

Vinay R
 
Old 11-30-2006, 04:34 AM   #2
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,471
Blog Entries: 2

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
Smile You probably need to customize your kernel

Try to rebuild your (2.6 series) kernel with following enabled:

Support fir pci hotplug
support for scanning multiple LUNs on each scsi device.

reply how did this went?
 
Old 07-05-2008, 08:19 AM   #3
LaughingBoy
Member
 
Registered: May 2006
Location: Adelaide, South Australia
Distribution: Fedora 6-17 x64 / Ubuntu 10.x x64
Posts: 95

Rep: Reputation: 16
Question

Quote:
Originally Posted by SCerovec View Post
Try to rebuild your (2.6 series) kernel with following enabled:

Support fir pci hotplug
support for scanning multiple LUNs on each scsi device.

reply how did this went?
How does one check to see if their kernel already supports this? I'm using Fedora 7, 8, and 9.
 
Old 07-07-2008, 01:17 PM   #4
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,471
Blog Entries: 2

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
Thumbs up

Quote:
Originally Posted by LaughingBoy View Post
How does one check to see if their kernel already supports this? I'm using Fedora 7, 8, and 9.
there are quite a few ways ;-)

[NOTE]before doing any of this you should become root, by using the command su in a terminal (or konsole).[/NOTE]

1. /proc/config.gz
this is the file that if copied:
Code:
cp /proc/config.gz/ <your kernel souces dir>/.config && make oldconfig
can build a kernel configuration that is exact as Your running kernel-image's one.

In that file _is_ the clue - either analyze it or after oldconfig examine the config in the
Code:
make menuconfig
or
Code:
make xconfig
in said source directory

but before making even a slightest step make sure 100% to have the exact same source as the running kernel image.

Trust me - fedora, Mandriva, SuSE and co. make quite a few kernel releases every now and then - and most of headache come from not taking extreme care for the exact same versions.

BTW - I learned the hard way - if something is not enabled by default in Mandriva's kernel - it's because it failed to build ;-) - i guess it applies to the others shipping patched kernels too.

This is so because they sport a highly patched kernel and tend to enable as much as possible by default.

report progress (I'll try to help as much as i can)

Last edited by SCerovec; 07-07-2008 at 01:20 PM. Reason: added
 
Old 07-07-2008, 01:25 PM   #5
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,471
Blog Entries: 2

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
I've just read the opening post,
The tool might be

fdisk

or

hdparm

?
I managed once to swap a optical device (DVD burner) en vivo (!) and brought it to live with k3b (a desktop machine)

I also have a headless (well almost - it has no monitor but has a VGA card) server running X and i can remote-login to it with
Code:
ssh -Y user@foo.lan
and run k3b on said machine
???
 
Old 07-08-2008, 12:10 AM   #6
LaughingBoy
Member
 
Registered: May 2006
Location: Adelaide, South Australia
Distribution: Fedora 6-17 x64 / Ubuntu 10.x x64
Posts: 95

Rep: Reputation: 16
Arrow

Quote:
Originally Posted by SCerovec View Post
there are quite a few ways ;-)

[NOTE]before doing any of this you should become root, by using the command su in a terminal (or konsole).[/NOTE]

1. /proc/config.gz
this is the file that if copied:
Code:
cp /proc/config.gz/ <your kernel souces dir>/.config && make oldconfig
can build a kernel configuration that is exact as Your running kernel-image's one.
Code:
[root@localhost ~]# find /proc/ -iname *config*
[root@localhost ~]# ls /proc/con*
ls: cannot access /proc/con*: No such file or directory
[root@localhost ~]# locate config.gz
Nothing found...

Quote:
Originally Posted by SCerovec View Post
In that file _is_ the clue - either analyze it or after oldconfig examine the config in the
Code:
make menuconfig
or
Code:
make xconfig
in said source directory

but before making even a slightest step make sure 100% to have the exact same source as the running kernel image.

Trust me - fedora, Mandriva, SuSE and co. make quite a few kernel releases every now and then - and most of headache come from not taking extreme care for the exact same versions.

BTW - I learned the hard way - if something is not enabled by default in Mandriva's kernel - it's because it failed to build ;-) - i guess it applies to the others shipping patched kernels too.

This is so because they sport a highly patched kernel and tend to enable as much as possible by default.

report progress (I'll try to help as much as i can)
Cheers.
This system I'm on at the moment is an MSI K9N SLI Platinum. I believe this has an NForce 570 to handle the SATA ports.

Is there a particular module I can check for to see if hot swap is supported?
 
  


Reply



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
USB Hot Plug Problems... reply2vinay Linux - Hardware 1 07-22-2005 08:44 AM
Hot Hard Drives and 3D card webwolf70 General 12 06-05-2005 11:22 AM
pciehp: Fails to gain control of native hot-plug slackb0t Slackware 2 04-23-2005 11:33 PM
Hot scan incoming pop mail f-prot? ginda Linux - Security 3 03-29-2005 12:57 AM
Hot plug mouse patch for Linux Ent 3 rooch84 Linux - Hardware 0 08-06-2004 04:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:00 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration