RE: First time Changer user

2003-02-06 Thread liam pace
h ithere,

had your same problem with a Sun Storedge L20 tape loader with 2 drives:
heres your solution:

run
contrib/config_sgen_solaris.sh

You'll be using the sgen(7D) generic SCSI device driver for the robot,
and end up with a device like /dev/scsi/changer/cXtYd0.

enjoy
liam


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jon LaBadie
Sent: 06 February 2003 18:56
To: [EMAIL PROTECTED]
Subject: Re: First time Changer user


On Thu, Feb 06, 2003 at 05:25:02PM -, David Flood wrote:
> On 5 Feb 2003 at 14:20, Jon LaBadie wrote:
>
> Under /dev/rmt I only have '0' which is the one I'm using to get access to
the drive.
> What is mtx and is it possible I could use this? There was no examples of
this file under

mt (Magnetic Tape) is supplied with solaris and manipulates the tape drive
itself

mtx (Magnetic Tape eXchanger :) is freeware and manipulates tape changers.

See freshmeat.net and/or sourceforge.net

> the examples directory of the amanda distribution. I am looking at sgen
and thus far
> don't really understand it but will keep trying. The method I used for
setting up my
> autochanger was the one I thought was used for any new device attached to
a sun:
>
> shutdown
> add device
> take system up to ok promt
> boot -r

Not, if as Gene mentioned, the system does not scan the appropriate id/lun.

As I noted, read the drive installation very carefully and

> > In my case it even involved getting to the drive itself (removing the
case)
> > and setting some switches not accessible from outside.  It also required
mods
> > to the "st" (scsi tape) driver configuration file, /kernel/drv/st.conf.

Your installation manual should provide similar directions.  The one Sun dlt
drive I installed for a client (not a changer) had very detailed directions
regarding changes needed to st.conf.  I was asked to look at it because the
technicians sent by the Sun Reseller could not figure out how to get it
working.
They were sure something was broken.  Of course they had been too smart to
Read The Fine Manual.  I had and was watching this comedy at a remote
terminal
with the st.conf changes already entered in my vi session.  When asked to
assist, I saved my changes and quit, touched /reconfigure and logged off.
Then I walked over to the console where they were working and started a
reboot.
I walked away before the reboot completed saying it "will work now".

arrogant bastard jon
--
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)




problem with amrecover

2003-03-11 Thread liam pace
Hi,

when I try to recover files with am recover, I get a strange messages saying
that the directory / file I'm trying to restore is not in archive..


---
I'm using the following dump type in amanda.conf:

define dumptype user-tar {
root-tar
comment "user partitions dumped with tar"
priority high
index
compress none
dumpcycle 0
}

I manage to see the index file in
/usr/local/etc/amanda/Daily2/index/hostnameXXX




the command I issue is

amrecover Daily2




the error I get is:

amrecover> ls
2003-03-11 .
2003-03-11 .autofsck
2003-03-11 bin/
2003-03-11 boot/
2003-03-11 bru/
2003-03-11 dev/
2003-03-11 etc/
2003-03-11 home/
2003-03-11 initrd/
2003-03-11 lib/
2003-03-11 lost+found/
2003-03-11 misc/
2003-03-11 mnt/
2003-03-11 opt/
2003-03-11 proc/
2003-03-11 root/
2003-03-11 sbin/
2003-03-11 tmp/
2003-03-11 usr/
2003-03-11 var/
2003-03-11 www/
amrecover> add /lib
File /lib doesn't exist in directory
amrecover> add lib/
Added dir /lib at date 2003-03-11
amrecover> extract

Extracting files using tape drive /dev/rmt/1n on host amanda.
The following tapes are needed: DLY2_E

Restoring files into directory /usr/local/etc/amanda/Daily2
Continue [?/Y/n]? y

Extracting files using tape drive /dev/rmt/1n on host amanda.
Load tape DLY2_E now
Continue [?/Y/n/t]? y
tar: ./lib: Not found in archive
tar: Error exit delayed from previous errors
extract_list - child returned non-zero status: 2
Continue [?/Y/n]? y
amrecover> quit


----

can anyone help please???

regards,

liam pace



problem with amrestore / tar permissions

2003-03-12 Thread liam pace
Hi,

when I run the command amrestore -p /dev/rmt/1n scuba /boot | tar -pxv on
the tape server itself,
I manage to restore the files however the files are restored in a new
directory structure. A number of new directories are created and also the
files loose permissions.

any idea how this can be solved?

regards,
liam