Re: [CentOS] Replacement tape drive configuration

2010-05-27 Thread Brian Mathis
On Thu, May 27, 2010 at 6:14 PM, Hugh E Cruickshank  wrote:
> CentOS 4.8
>
> Hi All:
>
> We recently had a Sony SDX-500V tape drive fail on one of our servers
> running CentOS 4.8. I have now replaced it with a spare SDX-500C. The
> problem that I am having now is that the failed drive had ceased
> responding to SCSI commands and we have since rebooted the system
> which resulted in the tape drive being removed from our current
> hardware configuration and the system does not recognize the new
> tape drive.
>
> I know that I can just reboot the system and kudzu will add the tape
> drive back in during the boot process however I was wondering if it
> would be possible to manually run kudzu to add the drive or am I just
> "borrowing trouble" by trying to do this?
>
> TIA
>
> Regards, Hugh


You could try to rescan the SCSI bus:
http://jeff.blogs.ocjtech.us/2008/05/how-to-re-scan-scsi-bus-on-linux.html

More info:
http://kbase.redhat.com/faq/docs/DOC-3942
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Replacement tape drive configuration

2010-05-27 Thread Hugh E Cruickshank
From: Brian Mathis Sent: May 27, 2010 15:27
> On Thu, May 27, 2010 at 6:14 PM, Hugh E Cruickshank
>  wrote:
> >
> > I know that I can just reboot the system and kudzu will add the tape
> > drive back in during the boot process however I was wondering if it
> > would be possible to manually run kudzu to add the drive or am I
> > just "borrowing trouble" by trying to do this?
>
> You could try to rescan the SCSI bus:
>
> http://jeff.blogs.ocjtech.us/2008/05/how-to-re-scan-scsi-bus-on-linux.html
>
> More info:
> http://kbase.redhat.com/faq/docs/DOC-3942

Hi Brian:

That did the trick.

Thank you muchly.

Regards, Hugh

--
Hugh E Cruickshank, Forward Software, www.forward-software.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Replacement tape drive configuration

2010-05-27 Thread Ryan Manikowski
On 5/27/2010 6:14 PM, Hugh E Cruickshank wrote:
> CentOS 4.8
>
> Hi All:
>
> We recently had a Sony SDX-500V tape drive fail on one of our servers
> running CentOS 4.8. I have now replaced it with a spare SDX-500C. The
> problem that I am having now is that the failed drive had ceased
> responding to SCSI commands and we have since rebooted the system
> which resulted in the tape drive being removed from our current
> hardware configuration and the system does not recognize the new
> tape drive.
>
> I know that I can just reboot the system and kudzu will add the tape
> drive back in during the boot process however I was wondering if it
> would be possible to manually run kudzu to add the drive or am I just
> "borrowing trouble" by trying to do this?
>
> TIA
>
> Regards, Hugh
>
>

When you say the 'system' no longer recognizes the tape drive, are you 
sure the SCSI controller even detects the tape drive during boot? From 
what I've seen, tape drives use the generic tape driver and get mapped 
to /dev/stX.

Ryan Manikowski

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Replacement tape drive configuration

2010-05-27 Thread Hugh E Cruickshank
>From Ryan Manikowski Sent: May 27, 2010 18:42
> 
> When you say the 'system' no longer recognizes the tape drive, are you 
> sure the SCSI controller even detects the tape drive during boot? From 
> what I've seen, tape drives use the generic tape driver and get mapped 
> to /dev/stX.

I know that it will recognize it on a reboot however I did not want to
wait until a reboot was convenient. I was looking for a way to add
the drive without having to do a reboot. Brian's suggestion has
worked and I am now using the tape drive without having to do a
reboot.

Regards, Hugh

-- 
Hugh E Cruickshank, Forward Software, www.forward-software.com 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos