Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Dave on October 27, 2003, 02:43:29 AM

Title: Backups
Post by: Dave on October 27, 2003, 02:43:29 AM
Hi
I need some help with regard to backups.

I have an old SCSI tape drive CP1000 and a whole load of 1.2 Gig tapes.

My system is currently sitting at 3 gigs, but over 2 Gigs of that is music which I do not need to back-up as it is already on CD's.

Before I placed the music up on the server my backup to tape using ths standard Backup and Restore provided by SME worked well. But now reports DUMP: Broken pipe, DUMP: The ENTIRE dump is aborted

Because the backup type is a dump, it unfortunately takes no notice of my excludes.

So I need some help on what to do next or maybe I have it wrong and my excludes need tweaking.

So apart from removing the music, :~) what can I do?

Cheers

Dave
Title: Re: Backups
Post by: Ray Mitchell on October 27, 2003, 03:41:15 PM
You would have to alter the code to specify what is included/excluded from the backup.
Alternatively you could instal Arkeia Light (free version) from ShadLords site which is integrated into server manager and is a replacement for flexbackup. It will allow you to exclude certain folders by putting an exclusion file in the folder. You need to use Java GUI applet from a workstation to do restores though.

see http://lordsfam.net/

Regs
Ray
Title: Re: Backups
Post by: Ray Mitchell on October 27, 2003, 03:45:10 PM
This interesting forum thread may be useful for you.
http://lordsfam.net/forum/viewtopic.php?forum=4&showtopic=23&fromblock=yes
Regs
Ray
Title: Re: Backups
Post by: Charlie Brady on October 27, 2003, 05:56:29 PM
Dave wrote:

> Because the backup type is a dump, it unfortunately takes no
> notice of my excludes.

You could upgrade to 6.0beta, which doesn't use dump.

Charlie
Title: Re: Backups
Post by: Dave on October 27, 2003, 08:18:27 PM
Thanks Guys,

Ray, thanks for that, I'll check that out over the next couple of days.

Charlie, I have just got 5.6 running nicely, :~) although I will look at 6 to put on a test server so that I have something else to do :~)

Cheers

Dave
Title: Re: Backups
Post by: Dave on October 31, 2003, 09:23:42 AM
Thought I would update you.

Having problems.. Not with the software but with identifying what I am using.

Unfortunately my tape drive CP1000 is not mentioned and neither are the Magnus 1.2 Gig tapes.

Yes I am in the process of trial and error but it is very daunting when it all the time returns the error message " Tape not loaded ":

Cheers

Dave
Title: Re: Backups
Post by: Ray Mitchell on October 31, 2003, 09:49:01 AM
Try looking at

http://www.arkeia.com/resources/refs.html?f=drives&m=1&ss=2&exclude=5,6,7,9,10,11,12,13,14&nbs=2,8&c=supported_sg.html&t=a

The drive I had was not on the list either, but using a 2Gb DAT DDS1 type got it working.
The only 1.2G I see on the list is the Tandberg

Also check the tape libraries list
http://www.arkeia.com/resources/refs.html?f=libs&m=1&ss=2&tt=6&exclude=10,11&c=supported_libs.html&tl=ALL&filter=2&t=a

Regs
Ray
Title: Re: Backups
Post by: Ray Mitchell on October 31, 2003, 09:50:17 AM
What are your settings in server manager arkeia panel ?

Ray
Title: Re: Backups
Post by: Dave on October 31, 2003, 09:55:37 AM
Thanks for that Ray, I'll check those out now.

As for my settings in server manager, well I have been trying a whole load of variations :~)

Driving me nuts. :~)

I'll check out the links you have supplied and get back.

Cheers

Dave
Title: Re: Backups
Post by: Dave on October 31, 2003, 10:58:50 AM
Hmmm.

Well I have found the correct Type of Drive, a STD_QIC

Not so sure about the type of Tape though. An Imation Magnus 1.2

The other problem I have, is at some stage I ticked the eject tape box and I think that this may also be part of the problem with it always reporting that there isn't a tape loaded.

Any ideas..

Dave
Title: Re: Backups
Post by: Ray Mitchell on October 31, 2003, 11:04:02 AM
Well. if you tick the eject tape box, it will eject the tape after each backup (or I assume attempted backup), thus necessitating that the tape be physically inserted again.  I think while you are testing, just leave the box unticked.

As for the settings, if you tell us what you currently have in the server manager arkeia panel maybe we can advise accordingly.
Regs
Ray
Title: Re: Backups
Post by: Dave on October 31, 2003, 11:22:08 AM
OK,

My current settings are

Device drive connect to: /dev/st0

Type of drive in machine: DTD_QIC

Type of Tape in drive: DAT1

The other problem I have is that you said earlier that you selected a 2Gb DAT DDS1 type, I only see DAT DDS3 ans DAT DDS4

They above settings just failed reporting Backup aborted: No tape loaded.

I have rebooted, unloaded and loaded the tape, I have tried using the command flexbackup -list -reten and the tape is retensioned and it gives the following output

# flexbackup -list -reten

flexbackup version 0.9.8
/etc/flexbackup.conf syntax OK

|------------------------------------------------
| Retensioning tape...
| Reading from current tape position
|------------------------------------------------
At block 16.
|------------------------------------------------
| buffer -m 3m -s 10k -u 100 -t -p 75 -B -i /dev/nst0 | gzip -dq | restore -t \
|  -v -b 10 -f -
|------------------------------------------------

gzip: stdin: not in gzip format
buffer (writer): write of data failed: Success
bytes to write=10240, bytes written=4096, total written         30K
restore: Tape read error on first record
Verify tape and initialize maps
Input is from file/pipe
|------------------------------------------------
At block 96.
|------------------------------------------------


Dave
Title: Re: Backups
Post by: Ray Mitchell on October 31, 2003, 11:51:11 AM
> Device drive connect to: /dev/st0

That should be OK for a scsi drive


> Type of drive in machine: DTD_QIC

I assume you mean STD_QIC, I don't see DTD_QIC listed


> Type of Tape in drive: DAT1

I do not see a DAT1 listed in the panel, see comment below


> The other problem I have is that you said earlier that you
> selected a 2Gb DAT DDS1 type, I only see DAT DDS3 ans DAT DDS4
>
Sorry, I meant to say

The drive I had was not on the list either, it is a 2Gb DAT DDS1 and I selected a DAT-90 which worked. (ie a 90 minute tape)

You might want to try a DAT-60 if it is a DAT type tape

> They above settings just failed reporting Backup aborted: No
> tape loaded.

Its saying that it does not recognise the type of tape you specified !!

 
> I have rebooted, unloaded and loaded the tape .....

If arkeia is loaded in the server manager panel, then it is probably installed correctly. Rebooting won't do anything.
You DO need to select the correct type of drive and type of tape for arkeia to work properly though.
Shads Arkeia contrib replaces flexbackup as the standard tape backup system and as far as I know they are NOT compatible

Regs
Ray
Title: Re: Backups
Post by: Dave on October 31, 2003, 01:01:30 PM
Thanks Ray, You have me put on the right track.

The back-ups are at least kicking off now, although not identify what the problem is  :~)

I just have to find the right cartridge.

Dave
Title: Re: Backups
Post by: Kelvin on November 01, 2003, 01:17:12 PM
Hi Dave,

You have correctly identified the type of drive (STD_QIC) but unfortunately, the arkeia tape types list does not include your tape type. You can manually add the tape specs to arkeia by modifying the file called :-

/usr/knox/arkeia/dbase/f3tape/tptypes.lst

I don't have your drive specs so I cannot provide more info than this, unfortunately. What you can try is to take the next closest entry (ie. the 2GB QIC tape which is listed in arkeia, then copy the details and give it a new name and of course, adjust the capacity accordingly). If it helps, I believe your CP1000 is made by Sankyo in case you still have docs for it.

Kelvin
Title: Re: Backups
Post by: Raffaele Capasso on November 11, 2003, 03:25:11 PM
Someone can help me???....
I've a Tandberg Tape SLR5 mounted on e-smith 5.6.
It's a SCSI devive on Adaptec Controller type 2904.
How can I see if this device is started on this OS?? and(or can I try with some command this device???

thanks
Title: Re: Backups
Post by: Neal Collins on November 12, 2003, 01:33:31 PM
Raffaele Capasso wrote:
>
> Someone can help me???....
> I've a Tandberg Tape SLR5 mounted on e-smith 5.6.
> It's a SCSI devive on Adaptec Controller type 2904.
> How can I see if this device is started on this OS?? and(or
> can I try with some command this device???
>
> thanks

You could try the following command as root:

mt -f /dev/st0 status

If it returns some information (other than an error), that will tell you that the drive has been detected OK. Otherwise check the messages when your machine boots, something should show up there as well.
Title: Re: Backups
Post by: Raffaele Capasso on November 14, 2003, 09:09:50 PM
Hi Neal Collins,
I've tried the command mt -f /dev/st0 status.
Ittell me: /dev/st0 No Such device.

At startup:
...................
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
PCI: Setting latency timer of device 00:09.0 to 64
ahc_pci:0:9:0: Host Adapter Bios disabled.  Using default SCSI device parameters
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.6
       
        aic7850: Single Channel A, SCSI Id=7, 3/253 SCB

Do you want help me???

Thank you
Title: Re: Backups
Post by: Judd Stohl on November 16, 2003, 05:06:55 PM
This command should work

mt -f /dev/nst0 status
Title: Re: Backups
Post by: Raffaele Capasso on November 18, 2003, 10:52:22 AM
The system tells me:
/dev/nst0 No Such device.

I've need help. I don't know how to do.

Thanks
Title: Re: Backups
Post by: Kelvin on November 18, 2003, 12:21:20 PM
Hi Raffaele,

Let's check the basics.

When you type :-

cat /proc/scsi/scsi

What does it say ?

When you type :-

lsmod

Can you see the aic7xxx, st and scsi_mod modules listed ?

Kelvin
Title: Re: Backups
Post by: Raffaele Capasso on November 18, 2003, 12:29:56 PM
Hi Kelvin,
very very thanks.
I've tried and there are the messages:

[root@mail root]# cat /proc/scsi/scsi

Attached devices:
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: HL-DT-ST Model: CD-ROM GCR-8523B Rev: 1.00
  Type:   CD-ROM                           ANSI SCSI revision: 02


[root@mail root]# lsmod

Module                  Size  Used by    Not tainted
st                     29908   0  (autoclean) (unused)
printer                 8576   0  (unused)
appletalk              28876  11  (autoclean)
ne2k-pci                6720   1
8390                    8728   0  [ne2k-pci]
tulip                  43840   1
ipt_MASQUERADE          2560   1  (autoclean)
ipt_state               1536   1  (autoclean)
ipt_TOS                 1952   7  (autoclean)
ip_nat_ftp              4544   0  (unused)
ip_conntrack_ftp        5216   0  [ip_nat_ftp]
iptable_mangle          3136   1  (autoclean)
iptable_nat            22676   2  (autoclean) [ipt_MASQUERADE ip_nat_ftp]
ip_conntrack           23756   3  (autoclean) [ipt_MASQUERADE ipt_state ip_nat_ftp ip_conntrack_ftp iptable_nat]
iptable_filter          2752   1  (autoclean)
ip_tables              14496   8  [ipt_MASQUERADE ipt_state ipt_TOS iptable_mangle iptable_nat iptable_filter]
ide-scsi                9824   0
hid                    21184   0  (unused)
input                   6240   0  [hid]
usb-uhci               25604   0  (unused)
usbcore                75904   0  [printer hid usb-uhci]
ext3                   70944   2
jbd                    53728   2  [ext3]
raid1                  15844   3
aic7xxx               128672   0  (unused)
sd_mod                 12992   0  (unused)
scsi_mod              113252   4  [st ide-scsi aic7xxx sd_mod]
[root@mail root]# cat /proc/scsi/scsi
Attached devices:
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: HL-DT-ST Model: CD-ROM GCR-8523B Rev: 1.00
  Type:   CD-ROM                           ANSI SCSI revision: 02
[root@mail root]# Attached devices:
bash: Attached: command not found
[root@mail root]# Host: scsi1 Channel: 00 Id: 00 Lun: 00
bash: Host:: command not found
[root@mail root]#   Vendor: HL-DT-ST Model: CD-ROM GCR-8523B Rev: 1.00
bash: Vendor:: command not found
[root@mail root]#   Type:   CD-ROM                           ANSI SCSI revision: 02
bash: Type:: command not found
[root@mail root]#
Title: Re: Backups
Post by: Kelvin on November 18, 2003, 12:38:53 PM
Hi Raffaele,

>[root@mail root]# cat /proc/scsi/scsi
>
>Attached devices:
>Host: scsi1 Channel: 00 Id: 00 Lun: 00
>Vendor: HL-DT-ST Model: CD-ROM GCR-8523B Rev: 1.00
>Type: CD-ROM ANSI SCSI revision: 02

This tells me your tape drive is not being recognised.

Your lsmod listing seems to show that all the relevant modules are loaded for the SCSI card. I would suggest you check :-

a) The power and SCSI cable going to the tape drive
b) The SCSI ID of the drive
c) Termination of the SCSI Bus

Kelvin
Title: Re: Backups
Post by: Raffaele Capasso on November 18, 2003, 12:52:21 PM
Hi kelvin,

a) The power and SCSI cable going to the tape drive: It's OK

b) The SCSI ID of the drive : now I control and then I tell you

c) Termination of the SCSI Bus : The instructions of Tandgerg said that the cable must be terminated with 10 cm of cable. Then I've attached the drive on the penultimate attach but I don't terminate the cable with the appropriate terminator.

When the system starting and the SCSI adapter is loaded I feel that the tape in the drive moves.

Thanks
Title: Re: Backups
Post by: Kelvin on November 18, 2003, 01:04:14 PM
Hi Raffaele,

I'd check the termination. Some controller / drive combinations are more tolerant than others. If you can get the termination right, it will at least remove that as a possible reason for your problem.

Keep the terminator at the *end* of the SCSI cable and be sure to use the right terminator for the cable / bus. I've not worked with a SLR before so I don't know if they have onboard termination or not. If they do, activate it if your SLR drive is the only device on the SCSI cable and remove the terminator your might have installed on the cable. If the SLR does not have on board termination, then attach the terminator to the end of the SCSI cable and your drive between the controller and the terminator (again I am assuming the SLR is the only device on the cable). You might also try setting the SCSI controller's BIOS settings to default and see if it helps.

Kelvin
Title: Re: Backups
Post by: Raffaele Capasso on November 18, 2003, 02:16:31 PM
Do you know any utility DOS for Adaptec 2904 for test the situation?

Thanks
Title: Re: Backups
Post by: Kelvin on November 18, 2003, 11:53:24 PM
You could try using the Tandberg Drive Optimiser from their website to see if that detects the drive properly or not. You will also need the DOS ASPI drivers from Adaptec as well.

Kelvin
Title: Re: Backups
Post by: Raffaele Capasso on November 20, 2003, 03:11:30 PM
Hi,
I've added a terminator at the last of the cable, I've changed the id from 1 to 4 and other, but the tandberg slr5 is invisible.
In italy it is said: "What's balls!!!!"
which things must I, stil,l try??

Thanks