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 17:41:12 IST 2001


On 23 Jul 2001, Mark Kilmartin wrote:

> AFAIK The RAID Card makes any Arrays on it look like SCSI disks.

ok.

> Well they are accessed as sd?

i don't know.. :) i don't know the megaraid card.

> Is there a way to ask Linux to scan the SCSI buses and tell me about
> what ever disks(Not physical disks) it sees.

either a reboot, or a driver specific command to /proc/scsi/<driver>
(if the driver supports it).

> I can get info about these two using scsi_info

so:

what does scsi_info say?
what does cat /proc/scsi/scsi say?
is there an entry in /proc/scsi for your megaraid card?
	if so, what does cat /proc/scsi/<megaraid/... say?

> So if there was any way of getting info on all the available
> drives/arrays I would then know which one wasn't already available and
> the options to use to activate it using the add-single-device command.

however, didn't you say that the new disk has been /added/ to an
existing disk? ie an existing disk has been expanded.

if so you'll need to unmount everything on it, then if the megaraid
disk is listed in /proc/scsi/scsi:

echo "scsi remove-single-device a b c d" > /proc/scsi/scsi
cat /proc/scsi/scsi (make sure it is gone)
echo "scsi add-single-device a b c d" > /proc/scsi/scsi
cat /proc/scsi/scsi (make sure it is back)

fdisk /dev/sd? (see if linux sees the extra space)

if that doesn't work, or the disk isn't listed in /proc/scsi/scsi,
then there's still one option: if megaraid is a module and you are
able to umount all the disks on it: unload and reload the module.

if none of those work... sorry you have to reboot.

> 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