Am Mittwoch, 2007-01-10 um 12:44:25 +0100 schrieb Steffen Joeris:
Hi
> > But "mpt-status -p" only says on which SCSI id the Adapter is.
> > So you must use "mtp-status -i $ID". Please make "$ID" configureable in
> > /etc/default/mpt-status (with default to ID 0 of course)
> I only have access to a box where ID 0 is sufficient, but I always get the
> output below, maybe you can provide me your outputs? I understand it the way
> that mpt-status probes the IDs and finds the right one and then gives you
> the "OPTIMAL" or bad output which is needed by the init script.
Ah, OK. But I mailed you the output I became in my first mail:
--------
[EMAIL PROTECTED]:~# mpt-status
You seem to have no SCSI disks attached to your HBA or you have
them on a different scsi_id. To get your SCSI id, run:
mpt-status -p
[EMAIL PROTECTED]:~# mpt-status -p
Found SCSI id=1, use ''mpt-status -i 1`` to get more information.
[EMAIL PROTECTED]:~# mpt-status -i 1
ioc0 vol_id 1 type IM, 2 phy, 231 GB, state OPTIMAL, flags ENABLED
ioc0 phy 0 scsi_id 2 ATA ST3250624AS AJJ , 232 GB, state
ONLINE, flags NONE
ioc0 phy 1 scsi_id 9 ATA ST3250624AS AJJ , 232 GB, state
ONLINE, flags NONE
--------
(Generated with the command "script")
I still think it would be the best, if you add $OPTION to the script,
which could then be condigured to "-i 1" ...
Or you use the $ID-idea ... :)
Jochen
--
ZX 81 - C 64 - Amiga - 80[3-5]86 Linux - iMac (OS X)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]