Re: arkeia and redhat
"Ralph Houben" <[email protected]> Fri, 8 Nov 2002 10:08:07 +0100
| Newsgroups | gmane.linux.redhat.release.zoot |
|---|---|
| Message-ID | <[email protected]> |
Hi Chris: that might have just been what i was looking for, i found the 1st solution you gave with the echo add-single-device, but i couldn't find a mention of the remove.. so stupid, i coulda thought of that myself... i had to reboot the machine cuz i needed to restore a backup very urgently.. i will however, once today's daybackup is finished in a few hours try the remove and add command. does this command work with a kernel in wich the st and sg devices are built into the kernel work aswell?.. i mean, my st device is not a loadable module, just baked it into the kernel. i know rebooting aint nice but at the time there was no way out and the ceo needed his emails back. sorry to say, the tape unit and the harddisks are on the same scsi controller.... i did cat /proc/scsi/scsi and it returned (together with my scsi hdd and scsi cdrom drive) the following: Host: scsi0 Channel: 00 Id: 04 Lun: 00 Vendor: OnStream Model: ADR50 Drive Rev: 2.33 Type: Sequential-Access ANSI SCSI revision: 02 so i know the id and lun, thats a bonus :) i should have posted the in my 1st email to this list. my mistake :) thanks for your reply chris, as sayd, i will try when this weeks full backup has run and post feedback here. greetings, ralph ----- Original Message ----- From: "Chris Shelton" <[email protected]> To: <[email protected]> Sent: Thursday, November 07, 2002 10:37 PM Subject: Re: arkeia and redhat > Ralph, > > I've been using arkeia for a few years now, and have a couple of > suggestions. First of all, you can try to just cancel the backup job for > the missed backup using the arkeia client. Double click on the job from > the server administration screen, then click on the Stop icon to stop the > backup. After a few seconds, the queued job should disappear from the > list of running jobs. If you are lucky, the tape drive will be accessible > for a rewoffl operation after all of the pending arkeia jobs are stopped. > > If that doesn't work, and your drive is still locked after all of the > arkeia jobs are stopped, there is another option short of a reboot. > > This page describes the steps required: > http://www.uwsg.indiana.edu/linux/mdw/HOWTO/SCSI-Programming-HOWTO-4.html > > First, make sure that your tape drive is on a separate scsi controller > from any other mounted hard drives. Next, turn off the tape drive and > turn it back on. To find out the necessary id and lun numbers, do this: > > [root@foobar /root]# cat /proc/scsi/scsi > Attached devices: > Host: scsi0 Channel: 00 Id: 04 Lun: 00 > Vendor: DEC Model: TZ88 (C) DEC Rev: CC34 > Type: Sequential-Access ANSI SCSI revision: 02 > ... > > You should see entries for all of your scsi attached devices. In my case, > these two command lines: > echo "scsi remove-single-device 0 0 4 0" > /proc/scsi/scsi > echo "scsi add-single-device 0 0 5 0" > /proc/scsi/scsi > > Tell linux to remove my tape drive from the current list of recognized > devices, then re-add it. This is essentially what happens when you > reboot, but you don't need to reboot for this to work. > > chris > <snip original message about a onstream adr50 drive lockup and arkeia backup>