LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] SCSI

[ILUG] SCSI

Paul Jakma paulj at alphyra.ie
Mon Jul 23 15:53:55 IST 2001


On 23 Jul 2001, Mark Kilmartin wrote:

> Does anybody have any experience of adding/removing a SCSI drive to a
> system without rebooting.

yep.

echo "scsi add-single-device a b c d" > /proc/scsi/scsi

where

a = host
b = bus
c = target
d = lun

eg, if you have only 1 scsi card, and say a scanner on ID 3, the
numbers'd be:

0 0 3 0

similarly replace the "add-" with "remove-" to remove.

> This is a system with a RAID controller in it.

ah...

> So it does support adding drives.

the RAID controller does. however purpose of a raid controller is to
make drives 'invisible'. ie the drives are not seen as scsi devices.

> But how do I get Linux to see the drive.

how do you get the /raid controller/ to see the drive.

> Please note I'm not trying to add a drive to an existing RAID setup.
> But an extra drive under Linux.

you'll need to use the RAID controllers setup software.

> A second related question can anybody tell me if it is possible to get
> Linux to reconise that a Drive has grown in size so there is now space
> at the end of a drive.(i.e. if I add an extra drive to a RAID array)

reboot.

if linux sees the extra space - great. if it doesn't - tough.

also note:

some controllers present the extra space as, yep, extra space on the
existing RAID drive.

other controllers present the extra space as a seperate new RAID
drive.

examine the output from your RAID driver very carefully.

> Thanks in Advance for any help.
>
> MArk

--paulj





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell