Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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)?
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.
Distribution: Red Hat Enterprise Linux, Fedora, CentOS
Posts: 134
Rep:
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.
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.
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.
Distribution: Red Hat Enterprise Linux, Fedora, CentOS
Posts: 134
Rep:
Quote:
Originally Posted by davidstvz
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.