LinuxQuestions.org
Visit Jeremy's Blog.
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 08-27-2008, 01:58 PM   #1
davidstvz
Member
 
Registered: Jun 2008
Posts: 405

Rep: Reputation: 31
SCSI Tape Drive hot plugable?


I have two identical tape drives, one on each server. One is acting weird and I wanted to see if it was a driver problem or the tape drive itself by swapping them.

However, I don't want to shut down the servers. Is this possible? If so, what is the procedure (do I need to unmount first and then remount after the swap for example)?
 
Old 08-27-2008, 02:29 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,622

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by davidstvz View Post
I have two identical tape drives, one on each server. One is acting weird and I wanted to see if it was a driver problem or the tape drive itself by swapping them.

However, I don't want to shut down the servers. Is this possible? If so, what is the procedure (do I need to unmount first and then remount after the swap for example)?
As a rule, no. SCSI usually doesn't react well to being unplugged while hot, unless it's specifically noted as a hot-pluggable device. As a rule, tape devices usually aren't. You don't say anything about the hardware, so it's hard to say. Check the manuals that came with the devices and see if they're hot-pluggable.
 
Old 08-27-2008, 02:44 PM   #3
davidstvz
Member
 
Registered: Jun 2008
Posts: 405

Original Poster
Rep: Reputation: 31
Sorry, they are DLT-V4 drives by Quantum.

Doesn't react well means...? I could break something, or it just won't come back up again until I reboot.

Last edited by davidstvz; 08-27-2008 at 02:46 PM.
 
Old 08-27-2008, 02:53 PM   #4
Linville79
Member
 
Registered: Nov 2006
Location: Indiana, U.S.A.
Distribution: Red Hat Enterprise Linux, Fedora, CentOS
Posts: 134

Rep: Reputation: 16
It's not going to damage the hardware, but quite possibly will not operate until after a reboot.

The one thing that you have going for you is that the drives are identical, which means that the same driver is required for both AND the servers probably give them the same device name. THAT means that in your specific scenario, it's possible that they will work if you swap them because the device is already mounted and the driver is loaded.

However, as previous poster noted... as a general rule of thumb, you must reboot before SCSI devices will function because the nature of SCSI is comparable to a physical hardware connection, such as a PCI riser card, or a stick of RAM. That's why the channels have to be terminated.
 
Old 08-27-2008, 04:02 PM   #5
davidstvz
Member
 
Registered: Jun 2008
Posts: 405

Original Poster
Rep: Reputation: 31
I see.

One system is Solaris 5.9 and the drive is named: rst0 and various numbers. The other one is FreeBSD 5.2.1 and the drive is named sa0.

Well, I suppose I will schedule a reboot of the server.
 
Old 08-27-2008, 04:29 PM   #6
davidstvz
Member
 
Registered: Jun 2008
Posts: 405

Original Poster
Rep: Reputation: 31
So what about the SCSI hard drives on this system? It is an HP Proliant ML350 G3.

The drives are accessed by opening the front panel open (it's on a hinge like a door) and just pulling the drives out. I expect that I can at least unmount those and pull them in and out if necessary.
 
Old 08-27-2008, 04:42 PM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,622

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by davidstvz View Post
So what about the SCSI hard drives on this system? It is an HP Proliant ML350 G3.

The drives are accessed by opening the front panel open (it's on a hinge like a door) and just pulling the drives out. I expect that I can at least unmount those and pull them in and out if necessary.
Again, check your manuals. Some systems have hot-plug drives, some don't. And Linville79 hit it right on the head...it won't break anything, but the device may give you flaky results, until you reboot.

As a rule, whenever I dealt with SCSI devices, I would power everything off totally. If I had an external device, I'd power it off too, and power it back up first, and let it go through whatever self-checks it had to, before I powered the host back up. Got much better results that way. Also, if you just plug in or unplug a SCSI drive, the system may decide it's not happy anymore, and crash. Results go all over the map if you don't have hot-plug devices, so I'd always err on the side of caution.
 
Old 08-27-2008, 04:49 PM   #8
davidstvz
Member
 
Registered: Jun 2008
Posts: 405

Original Poster
Rep: Reputation: 31
Hmm, well, it's got a hot swap cage on the front:

http://www.open-mag.com/9973483279.shtml

And the drives are all HP drives purchased from HP, so they probably are hot swappable.

EDIT:

Meanwhile, I wonder if rebooting without turning off the power of the external tape drive is what's causing my strange tape errors.

Last edited by davidstvz; 08-27-2008 at 04:50 PM.
 
Old 08-28-2008, 09:30 AM   #9
Linville79
Member
 
Registered: Nov 2006
Location: Indiana, U.S.A.
Distribution: Red Hat Enterprise Linux, Fedora, CentOS
Posts: 134

Rep: Reputation: 16
Quote:
Originally Posted by davidstvz View Post
Meanwhile, I wonder if rebooting without turning off the power of the external tape drive is what's causing my strange tape errors.
This shouldn't be a problem, because generally, you'd need to have the external SCSI device powered up and fully booted before powering on the server, just as TBone said in his first comment.

The proper procedure would be to have everything powered off... then the tape drive would be powered on first... after it completed its POST then you'd power on the server.

By just rebooting the server, you're not really doing anything out of order, just skipping the power off/power on again steps for the tape drive. It's still in the same state that it should be in before powering the server on at that point.
 
Old 08-28-2008, 01:48 PM   #10
davidstvz
Member
 
Registered: Jun 2008
Posts: 405

Original Poster
Rep: Reputation: 31
That makes sense.

I went ahead and used the tape drive as is. The strange garbage bits don't seem to be affecting the integrity of the files, even the last files in the archives I put on the tape, so I guess it's not a huge issue.
 
  


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
Hot swapping a scsi hard drive with Redhat ES 3 ttang99 Linux - Enterprise 0 09-01-2005 08:38 AM
SCSI Tape drive imahdi Solaris / OpenSolaris 1 01-05-2005 01:17 AM
SCSI tape drive sbalasuriya Linux - Hardware 9 08-11-2004 08:41 PM
SCSI Tape Drive ghaas Red Hat 0 11-15-2003 03:38 PM
SCSI Tape Drive da_tibmeister Slackware 0 10-08-2003 08:42 AM

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

All times are GMT -5. The time now is 12:37 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