Re: 100% when dumping!!

2002-05-17 Thread Mitch Collinsworth


 This night my dump were strange! I can't understand why hdb2  1000%??
 Using /var/log/amanda/amdump from Fri May 17 02:00:01 EEST 2002

  mail:sdb21  239486k dumping  6004224k
  (2507.13%) (2:26:36)


When amanda asked for an estimate of level 1 dump size the answer
returned was 239486 KB.  Some time later when amanda asked for a
level 1 dump to be run, what came back was 6004224 KB.  The filesystem
changed between when the estimates were done and when sdb2 was dumped.

Generally speaking this is no big deal and can be ignored.  It can
be annoying though if the changes are enough to run you out of tape
and force amanda into degraded mode.

-Mitch




Two problem: cannot find libraray readline and GNUTAR not find !?!

2002-05-17 Thread Arno_STREULI



Hi guys,
I'm getting my amanda server working, but I'm still having some probleme:
First I try to do a compilation on a Solaris 8 server, and it can't find the
library readline, here is what I get when I do a configure:
.
.
.
checking for readline.h... yes
checking for readline/history.h... yes
checking for readline/readline.h... yes
.
.
.
checking for readline in -lreadline... no
configure: warning: *** No readline library, no history and command line editing
 in amrecover!
.
.

and in the config.site I have:
INCLUDE_DIRS=/opt/include /opt/include/readline
LIBRARY_DIRS=/opt/lib

And I have the realine.so in /opt/lib:
libreadline.a
libreadline.so
libreadline.so.4

Is amanda looking for:
readline.a
readline.so
readline.so4

Instead of libreadline.* ?

The other thing is on my server when I use amcheck csd
orion:/opt/etc/amanda#amcheck csd
Amanda Tape Server Host Check
-
Holding disk /opt/etc/amanda/dump: 2627996 KB disk space available, that's
plenty
amcheck-server: could not get changer info: Request Sense: Long Report=yes

Amanda Backup Client Hosts Check

ERROR: orion.lsn.ca-indosuez.com: [GNUTAR program not available]
Client check: 1 host checked in 0.337 seconds, 1 problem found

(brought to you by Amanda 2.4.2p2)

Why it can find GNUTAR I have define in my config.site, so dosen't it should use
 this one ?
GNUTAR=/usr/local/bin/tar

And where dose it look for the changer information that the server is
complaining ?

Thanks,

Arno




**
DISCLAIMER - E-MAIL
---
The information contained in this E-Mail is intended for the named
recipient(s). It may  contain certain  privileged and confidential
information, or  information  which  is  otherwise  protected from
disclosure. If  you  are  not the intended recipient, you must not
copy,distribute or take any action in reliance on this information
**




Re: Tape and dump cycles

2002-05-17 Thread adi adi
Guarantee:they will not stay matched with the day of the dump.If you gotta label that way so be it.Inquiring minds ask why?
My boss prefers it that way, but i get the idea now. So
it would be best that i label it as Daily01, daily02.. daily31 ?
If that's the case then i think i will label it that way then. Thanks. The tapes are labelled for week 1 as monday1, tuesday2, wednesday3 and for the second week would be monday2, tuesday2 and so on. You definitely can not have multiple tapes with the same label.You show two "tuesday2"s and so on.
oopss i'm sorry it was a typo. I meant week1 is monday1, tuesday1,wednesday1... so on
and week2 will be monday2, tuesday2, wednesday2...so on.Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience

Slackware 8.0 and AMANDA

2002-05-17 Thread Michael Kopach

Perhaps I should rephrase the question. Has anyone out there been able to make AMANDA 
work with Slackware 8.0? I would be very intersted in hearing how someone did it. 
Given the above combination, I seem to be having nothing but problems here.
If someone out there can give me some insights, it would surely help.

Thanks  Mike  




I am right? (Exclude problem)!

2002-05-17 Thread Alexander Belik



I want to type a big filesystem! 
-
Filesystem   1k-blocks  Used Available Use% Mounted on
[skip]
 /dev/sda6 16301312  12262385   3190295  79% /var

So I have in disklist:

news sda6/all sda6 {
high-tar
exclude ./spool/news ./spool/uucp
} 6

I just want to exclude non-interesting dir's (dont backup them at all)
But I have strange rezult in amanda report:

/-- news   sda6/all lev 0 STRANGE
sendbackup: start [news:sda6/all level 0]
sendbackup: info BACKUP=/bin/gtar
sendbackup: info RECOVER_CMD=/bin/gtar -f... -
sendbackup: info end
? gtar: Cannot add file ./spool/news/alt/business/61867: No such file or 
directory
? gtar: Cannot add file ./spool/news/alt/business/61868: No such file or 
directory
[skip 200Kb]
Why it backup this dir? Where I am wrong? How to exclude two dirs?


-- 
   [EMAIL PROTECTED]ICQ: 41776461
 2:465/207@Fidonet  Alexander Belik
http://www.vnet.dn.ua[EMAIL PROTECTED]




Re: I am right? (Exclude problem)!

2002-05-17 Thread Joshua Baker-LePain

On Fri, 17 May 2002 at 6:04pm, Alexander Belik wrote

 
 news sda6/all sda6 {
 high-tar
 exclude ./spool/news ./spool/uucp
 } 6
 
 I just want to exclude non-interesting dir's (dont backup them at all)
 But I have strange rezult in amanda report:
 
 /-- news   sda6/all lev 0 STRANGE
 sendbackup: start [news:sda6/all level 0]
 sendbackup: info BACKUP=/bin/gtar
 sendbackup: info RECOVER_CMD=/bin/gtar -f... -
 sendbackup: info end
 ? gtar: Cannot add file ./spool/news/alt/business/61867: No such file or 
 directory
 ? gtar: Cannot add file ./spool/news/alt/business/61868: No such file or 
 directory
 [skip 200Kb]
 Why it backup this dir? Where I am wrong? How to exclude two dirs?

If you want to exclude more than one entry, then you need to use an 
exclude list.  Change the dumptype entry to :

exclude list /var/local/exclude.list

Then create /var/local/exclude.list *on the client* with your entries in 
that file (one per line).  Of course, you can put the exclude list file 
whereever you want -- /var/local is just an example.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University




20Gb On type label (BASF DDS3)

2002-05-17 Thread Alexander Belik


I have 20Gb BASF types. But how to be sure that 20 GB can be taped on it?
I make some interesting test (using dd I am, in cyrcle, wroute 1Mb 
(tar-file) on type and than show how many times).But I have problem today!
---
These dumps were to tape AUTH8.
*** A TAPE ERROR OCCURRED: [[writing file: No space left on device]].
Some dumps may have been left in the holding disk.
Run amflush to flush them to tape.
The next tape Amanda expects to use is: AUTH1.

FAILURE AND STRANGE DUMP SUMMARY:
  wwwsda5 lev 2 STRANGE
  wwwsda2 lev 3 STRANGE
  news   sda6/all lev 0 STRANGE
  news   sda6/all lev 0 FAILED [out of tape]
  mail   sdb2 lev 1 FAILED [no more holding disk space]


STATISTICS:
  Total   Full  Daily
      
Estimate Time (hrs:min)0:27
Run Time (hrs:min) 7:49
Dump Time (hrs:min)5:57   5:06   0:51
 Output Size (meg)   15925.615488.0  437.6
Original Size (meg) 17211.815488.0 1723.8
Avg Compressed Size (%)25.4--25.4   (level:#disks ...)
Filesystems Dumped   13  2 11   (1:7 2:1 3:3)
Avg Dump Rate (k/s)   760.9  863.1  146.6

Tape Time (hrs:min)0:53   0:48   0:06
Tape Size (meg)  4013.4 3724.1  289.4
Tape Used (%)  18.3   16.91.4   (level:#disks ...)
Filesystems Taped11  1 10   (1:7 2:1 3:2)
Avg Tp Write Rate (k/s)  1282.2 1331.8  867.0
[skip]


Only 15Gb Why OUT OF SPACE? No erros!!
in amanda.conf:

tapetype HP-DAT  
define tapetype HP-DAT {
comment DAT tape drives
length 22000 mbytes
filemark 2000 kbytes
speed 600 kbytes
}

P.S. By the way *filemark* what is this?



-- 
   [EMAIL PROTECTED]ICQ: 41776461
 2:465/207@Fidonet  Alexander Belik
http://www.vnet.dn.ua[EMAIL PROTECTED]




RE: Two problem: cannot find libraray readline and GNUTAR not find !?!

2002-05-17 Thread David Meissner

I don't know for sure that this is the problem, but in my case, when I
compiled Amanda on Solaris 8, I had to delete the .so versions of the
libraries so that the compiler would only use the static library. You may
also need to set the LD_LIBRARY_PATH environment variable before you start
the compile, like this:

LD_LIBRARY_PATH=/opt/lib:/usr/local/lib make

Hope this helps.

David M


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 1:21 AM
To: [EMAIL PROTECTED]
Subject: Two problem: cannot find libraray readline and GNUTAR not find
!?!




Hi guys,
I'm getting my amanda server working, but I'm still having some probleme:
First I try to do a compilation on a Solaris 8 server, and it can't find the
library readline, here is what I get when I do a configure:
.
.
.
checking for readline.h... yes
checking for readline/history.h... yes
checking for readline/readline.h... yes
.
.
.
checking for readline in -lreadline... no
configure: warning: *** No readline library, no history and command line
editing
 in amrecover!
.
.

and in the config.site I have:
INCLUDE_DIRS=/opt/include /opt/include/readline
LIBRARY_DIRS=/opt/lib

And I have the realine.so in /opt/lib:
libreadline.a
libreadline.so
libreadline.so.4

Is amanda looking for:
readline.a
readline.so
readline.so4

Instead of libreadline.* ?

The other thing is on my server when I use amcheck csd
orion:/opt/etc/amanda#amcheck csd
Amanda Tape Server Host Check
-
Holding disk /opt/etc/amanda/dump: 2627996 KB disk space available, that's
plenty
amcheck-server: could not get changer info: Request Sense: Long Report=yes

Amanda Backup Client Hosts Check

ERROR: orion.lsn.ca-indosuez.com: [GNUTAR program not available]
Client check: 1 host checked in 0.337 seconds, 1 problem found

(brought to you by Amanda 2.4.2p2)

Why it can find GNUTAR I have define in my config.site, so dosen't it should
use
 this one ?
GNUTAR=/usr/local/bin/tar

And where dose it look for the changer information that the server is
complaining ?

Thanks,

Arno




**
DISCLAIMER - E-MAIL
---
The information contained in this E-Mail is intended for the named
recipient(s). It may  contain certain  privileged and confidential
information, or  information  which  is  otherwise  protected from
disclosure. If  you  are  not the intended recipient, you must not
copy,distribute or take any action in reliance on this information
**



Re: Slackware 8.0 and AMANDA

2002-05-17 Thread Blaine Kahle

On Fri, May 17, 2002 at 09:04:14AM -0600, Michael Kopach wrote:
 Perhaps I should rephrase the question. Has anyone out there been able
 to make AMANDA work with Slackware 8.0? I would be very intersted in
 hearing how someone did it. Given the above combination, I seem to be
 having nothing but problems here.  If someone out there can give me
 some insights, it would surely help.

I have it running on one production Slackware 8.0 box, with the rest
being FreeBSD. The only difference is that I use tar on Linux, as I'm
fearful of Linux dump.

-- 
Blaine Kahle [EMAIL PROTECTED]
Systems ProgrammerBinary Net, Inc.
UID 0, Zip, Zilch, Nada www.binary.net
0x178AA0E0
Do not meddle in the affairs of sysadmins,
for they are quick to anger and have no need for subtlety.



Re: 20Gb On type label (BASF DDS3)

2002-05-17 Thread Joshua Baker-LePain

On Fri, 17 May 2002 at 6:29pm, Alexander Belik wrote

 These dumps were to tape AUTH8.
 *** A TAPE ERROR OCCURRED: [[writing file: No space left on device]].
 Some dumps may have been left in the holding disk.
 Run amflush to flush them to tape.
 The next tape Amanda expects to use is: AUTH1.
 
*snip*

 Tape Time (hrs:min)0:53   0:48   0:06
 Tape Size (meg)  4013.4 3724.1  289.4
 Tape Used (%)  18.3   16.91.4   (level:#disks ...)
 Filesystems Taped11  1 10   (1:7 2:1 3:2)
 Avg Tp Write Rate (k/s)  1282.2 1331.8  867.0
 [skip]
 
 Only 15Gb Why OUT OF SPACE? No erros!!
 in amanda.conf:

Actually, only 4GB made it tape, as indicated above.  There probably was 
some sort of tape error, which amanda interpreted as an out of space 
error.  Look in your system logs for something relating to the tape drive 
at around the time the backup failed.

Also, make sure that hardware compression is *off*, since you are using 
software compression.  Trying to compress already compressed data is Bad.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University





Samba and compression

2002-05-17 Thread Kenneth E. Lussier

Hi All,

I need to back up Windows systems (both full and incremental). The
majority of what needs to be backed up is large word and excel files.
Can these be compressed? Since they are SMB mounts, should I use client
or server side compression? Below is an example of what I think I need,
but any pointers are more than welcome.

Thanks,
Kenny
 
define dumptype global {
comment Global definitions
index yes
dumpcycle 5 weeks
}

define dumptype samba {
comment Windows NetBIOS filesystem
program GNUTAR
}


define dumptype windows-full {
global
samba
priority high
compress client best
}

define dumptype windows-incremental {
global
samba
priority high
compress client best
}

-- 

Tact is just *not* saying true stuff -- Cordelia Chase

Kenneth E. Lussier
Sr. Systems Administrator
Zuken, USA
PGP KeyID CB254DD0 
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xCB254DD0





Re: Samba and compression

2002-05-17 Thread Joshua Baker-LePain

On 17 May 2002 at 12:16pm, Kenneth E. Lussier wrote

 I need to back up Windows systems (both full and incremental). The
 majority of what needs to be backed up is large word and excel files.
 Can these be compressed? Since they are SMB mounts, should I use client
 or server side compression? Below is an example of what I think I need,
 but any pointers are more than welcome.

Anything can be compressed.  The question is will it actually get smaller?  
I'm guessing Word and Excel files will compress well, but you should test 
to make sure.

With samba backups, note that when you say compress client, it's 
actually the *nix box doing the smbmount that will be running the gzip 
(not the 'doze box).  compress server will make the amanda server run 
the gzip, of course.

The (snipped) dumptypes look fine to me.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University




Amrecover erroring when extracting

2002-05-17 Thread Tanniel Simonian

Hello,

Please let the gods of Amrecover hear my request!

Here is the list of events that I do to get to the certain point of error.

$ amrecover config
AMRECOVER Version 2.4.2p2. Contacting server on localhost ...
220 yohko AMANDA index server (2.4.2p2) ready.
200 Access OK
Setting restore date to today (2002-05-17)
200 Working date set to 2002-05-17.
200 Config set to exa.
200 Dump host set to yohko.
Can't determine disk and mount point from $CWD
amrecover sethost hostname.ucr.edu
200 Dump host set to hostname.ucr.edu.
amrecover setdisk /dev/hda1
Scanning /dumps/amanda...
200 Disk set to /dev/hda1.
amrecover ls
...
file
file
file
file

so this part i know that the index file is working.
Now I am going to attempt to 'add' a file.

amrecover add file
Added /vmlinuz.old
amrecover extract

Extracting files using tape drive /dev/nst0 on host localhost.
The following tapes are needed: EXA22 (yes the tape is loaded!)

Restoring files into directory /root

Continue? [Y/n]:Y

Load tape EXA22 now
Continue? [Y/n]:Y

amrecover: error reading tape: Connection reset by peer
extract_list - child returned non-zero status: 1
Continue? [Y/n]:Y

and voila.. what the heck!?

The tape is loaded, all is well.. until I try to restore.

Am I supposed to fast forward the tape to the right index? Or does
Amrecover take care of that for me? No where can I find in the man pages
that suggest that I should do any sort of mt -f /dev/nst0 fsf 6(arbitrary
#) or something.. just the usual mt -f /dev/nst0 rewind.

Help.. I started to use TAR because of active file system errors that dump
was giving me. But I WILL change how my users work on the servers if TAR
is a POS!

So just to recap:
The right tape is in the right drive.(CHECK)
The tapedev is /dev/nst0 and is correctly pointed(CHECK)
The configuration file has all of its settings correct.(CHECK)
I ran an amrestore interactively to make sure that my dumps were working
and that my tape wasn't bad. (CHECK)
Tons of space on the dump disk (CHECK)
/etc/hosts.allow allows amindexd to run (CHECK)
I have access to the tapes by 'cat'ing the tape devices (CHECK)

Help. (uncheck)


Thanks.

Tanniel Simonian




Re: 20Gb On type label (BASF DDS3)

2002-05-17 Thread Alexander Belik

On Fri, 17 May 2002, Jon LaBadie wrote:

 Couple of things,
 
 First, address you queries to either the list or to an individual.
Ok!

  
  I have 20Gb BASF types. But how to be sure that 20 GB can be taped on it?
  I make some interesting test (using dd I am, in cyrcle, wroute 1Mb 
  (tar-file) on type and than show how many times).But I have problem today!
 
 Amanda sources come with a program to do just this test.  It is called
 tapetype and must be compiled separately (make tapetype).

I will test again now!

 What kind, if any, compression are you using (HW or SW).

How to see HW compression on/off?
[root@auth alex]# mt -f /dev/nst0 status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 0 bytes. Density code 0x8c (EXB-8505 compressed).
Soft error count since last status=0
General status bits on (4101):
 BOT ONLINE IM_REP_EN


HW compression enable? How too disable it? I want to use SW (gzip)

-- 
   [EMAIL PROTECTED]ICQ: 41776461
 2:465/207@Fidonet  Alexander Belik
http://www.vnet.dn.ua[EMAIL PROTECTED]




Re: 20Gb On type label (BASF DDS3)

2002-05-17 Thread Alexander Belik

On Fri, 17 May 2002, Joshua Baker-LePain wrote:

  These dumps were to tape AUTH8.
  *** A TAPE ERROR OCCURRED: [[writing file: No space left on device]].
  Some dumps may have been left in the holding disk.
 *snip*
 
 Actually, only 4GB made it tape, as indicated above.  There probably was 
 some sort of tape error, which amanda interpreted as an out of space 
 error.  Look in your system logs for something relating to the tape drive 
 at around the time the backup failed.

I found some error! 

May 17 09:43:46 auth kernel: st0: Error on write filemark.
May 17 09:43:46 auth kernel: st0: Error on write filemark.

So the question is: What is filemark (in amanda.conf)?

 Also, make sure that hardware compression is *off*, since you are using 
 software compression.  Trying to compress already compressed data is Bad.

How to disable HW compression? It's enabled!

-- 
   [EMAIL PROTECTED]ICQ: 41776461
 2:465/207@Fidonet  Alexander Belik
http://www.vnet.dn.ua[EMAIL PROTECTED]




(EDIT) Amrecover erroring when extracting

2002-05-17 Thread Tanniel Simonian

Hello,
 
 Please let the gods of Amrecover hear my request!
 
 Here is the list of events that I do to get to the certain point of error.
 
 $ amrecover config
 AMRECOVER Version 2.4.2p2. Contacting server on localhost ...
 220 yohko AMANDA index server (2.4.2p2) ready.
 200 Access OK
 Setting restore date to today (2002-05-17)
 200 Working date set to 2002-05-17.
 200 Config set to exa.
 200 Dump host set to yohko.
 Can't determine disk and mount point from $CWD
 amrecover sethost hostname.ucr.edu
 200 Dump host set to hostname.ucr.edu.
 amrecover setdisk /dev/hda1
 Scanning /dumps/amanda...
 200 Disk set to /dev/hda1.
 amrecover ls
 ...
 file
 file
 file
 file
 
 so this part i know that the index file is working.
 Now I am going to attempt to 'add' a file.
 
 amrecover add file
 Added /vmlinuz.old
 amrecover extract
 
 Extracting files using tape drive /dev/nst0 on host localhost.
 The following tapes are needed: EXA22 (yes the tape is loaded!)
 
 Restoring files into directory /root
 
 Continue? [Y/n]:Y
 
 Load tape EXA22 now
 Continue? [Y/n]:Y
 
 amrecover: error reading tape: Connection reset by peer
 extract_list - child returned non-zero status: 1
 Continue? [Y/n]:Y
(NEW: I fixed this problem by adding in the /etc/hosts.allow the entry 
amidxtaped: ALL) This got rid of the error reading tape message.

Stupid Debian does it to me again!

It work.. as long as I made sure that the tape was rewinded I am in good
shape.

Tanniel




disk offline error

2002-05-17 Thread eje

Hi...

Running the version of amanda-client from the freebsd ports 
collection on freebsd-stable i386.

Recently had a drive fail on a RAID I am backing up.  Since replacing 
the drive and re-building the RAID, amanda has been failing on all of 
the partitions on this computer.

The error I see in the amanda report is the following:

   hostname /dev/da0s1f lev 0 FAILED [disk /dev/da0s1f offline on hostname?]
   hostname /dev/da0s1h lev 0 FAILED [disk /dev/da0s1h offline on hostname?]
   hostname /dev/da0s1e lev 0 FAILED [disk /dev/da0s1e offline on hostname?]
   hostname /dev/da0s1a lev 0 FAILED [disk /dev/da0s1a offline on hostname?]

If I look in the log I see:

FAIL planner hostname /dev/da0s1f 0 [disk /dev/da0s1f offline on hostname?]
FAIL planner hostname /dev/da0s1h 0 [disk /dev/da0s1h offline on hostname?]
FAIL planner hostname /dev/da0s1e 0 [disk /dev/da0s1e offline on hostname?]
FAIL planner hostname /dev/da0s1a 0 [disk /dev/da0s1a offline on hostname?]

And in the dumplog:

setting up estimates for hostname:/dev/da0s1a
hostname:/dev/da0s1a overdue 11825 days for level 0
setup_estimate: hostname:/dev/da0s1a: command 0, options:
 last_level -1 next_level0 -11825 level_days 0
 getting estimates 0 (0) -1 (-1) -1 (-1)
setting up estimates for hostname:/dev/da0s1e
hostname:/dev/da0s1e overdue 11825 days for level 0
setup_estimate: hostname:/dev/da0s1e: command 0, options:
 last_level -1 next_level0 -11825 level_days 0
 getting estimates 0 (0) -1 (-1) -1 (-1)
setting up estimates for hostname:/dev/da0s1h
hostname:/dev/da0s1h overdue 11825 days for level 0
setup_estimate: hostname:/dev/da0s1h: command 0, options:
 last_level -1 next_level0 -11825 level_days 0
 getting estimates 0 (0) -1 (-1) -1 (-1)
setting up estimates for hostname:/dev/da0s1f
hostname:/dev/da0s1f overdue 11825 days for level 0
setup_estimate: hostname:/dev/da0s1f: command 0, options:
 last_level -1 next_level0 -11825 level_days 0
 getting estimates 0 (0) -1 (-1) -1 (-1)


-- 

Erik Ellestad
Programmer/Analyst
Cohen Group, UCSF
513 Parnassus Avenue, HSE 1285
San Francisco, CA 94143
ph: 415-476-6987fax: 415-476-6515
cell: 415-271-0588



Re: 20Gb On type label (BASF DDS3)

2002-05-17 Thread Joshua Baker-LePain

On Fri, 17 May 2002 at 9:09pm, Alexander Belik wrote

 How to see HW compression on/off?
 [root@auth alex]# mt -f /dev/nst0 status
 SCSI 2 tape drive:
 File number=0, block number=0, partition=0.
 Tape block size 0 bytes. Density code 0x8c (EXB-8505 compressed).
 Soft error count since last status=0
 General status bits on (4101):
  BOT ONLINE IM_REP_EN
 
 HW compression enable? How too disable it? I want to use SW (gzip)

For whatever reason, the scsi tape driver isn't recognizing your drive 
correctly.  It thinks it's a Exabyte drive.  Looking at the output of 'mt 
densities', try this:

mt -f /dev/nst0 setdensity 0x25

0x25 being the density code for DDS3.  To make sure compression is off:

mt -f /dev/nst0 compression 0

The error log message you saw may be due to the driver having the wrong 
density code.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University




test, please ignore me

2002-05-17 Thread Ian Eure

just a test...



Changing From 8gig tapes to 24 gig tapes

2002-05-17 Thread Brook Hurd

I am about to change my 20 tape backup process from 8 gig tapes to 24 
gig tapes.  I would appreciate anyone's insite on this process.  Any 
insites, warnings, or instructions would be greatly appreciated.

Thanks,

Brook




24 gig Tape Settings

2002-05-17 Thread Brook Hurd

I am about to use the following tape type:

HP  C5708A DDS-3 Data Cartridge, 24GB

Unfortunatly, I don't see it listed online.  Anybody use this type 
before, and if so, what are the correct settings?

Thanks again for all your help,

Brook






Re: Changing From 8gig tapes to 24 gig tapes

2002-05-17 Thread Brandon D. Valentine

On Fri, 17 May 2002, Brook Hurd wrote:

I am about to change my 20 tape backup process from 8 gig tapes to 24
gig tapes.  I would appreciate anyone's insite on this process.  Any
insites, warnings, or instructions would be greatly appreciated.

I would create a temporary testing configuration to make sure your
tapetype for those 24gig tapes works right.  You can give all the new
24gig tapes identical labels to your old 8gig tapes with 'amlabel -f'.
Then I'd probably wait until the end of a tapecycle and just flip
tapetype over in the amanda.conf.  Planner should automatically start
recalculating its runs based on the increased tape size and amdump
should accept the 24gig tapes provided they have the same labels.  Each
day amanda will think it is overwriting one of your old 8gig tapes.  By
the end of the tapecycle you should be in good shape.  You absolutely
must keep the 8gig tapes around until at least the end of your tapecycle
though in case you need to restore off of them. Restoring off of a mix
of 8 and 24 gig tapes should not cause a problem provided you know which
8 gig tapes have been replaced and which are still in the cycle.  This
is the main reason for waiting for the end up of a tapecycle before
making the switch, it's easier to mentally keep track of what's been
replaced so far if it correlates numerically.

HTH,

-- 
Brandon D. Valentine [EMAIL PROTECTED]
Computer Geek, Center for Structural Biology

This isn't rocket science -- but it _is_ computer science.
- Terry Lambert on [EMAIL PROTECTED]




Re: 24 gig Tape Settings

2002-05-17 Thread Jason L Tibbitts III

 BH == Brook Hurd [EMAIL PROTECTED] writes:

BH I am about to use the following tape type: HP C5708A DDS-3 Data
BH Cartridge, 24GB

I've used:

define tapetype DDS-3 {
comment DDS-3 DAT drive
length 12288 mbytes # 12 GB
filemark 0 kbytes
speed 850 kbytes
}

 - J



Re: 24 gig Tape Settings

2002-05-17 Thread Jim Summers

On Fri, 2002-05-17 at 15:08, Brook Hurd wrote:
 I am about to use the following tape type:
 
 HP  C5708A DDS-3 Data Cartridge, 24GB

I have used an HP C1537A DDS3 on Solaris7,8 and Linux with no problems.
But not your specific model.

Good Luck




Re: 24 gig Tape Settings

2002-05-17 Thread Brandon D. Valentine

On Fri, 17 May 2002, Brook Hurd wrote:

I am about to use the following tape type:

HP  C5708A DDS-3 Data Cartridge, 24GB

Unfortunatly, I don't see it listed online.  Anybody use this type
before, and if so, what are the correct settings?

This is a 12GB native capacity DDS3 cartridge.  Are these new tapes or
have they been used before?  You will have to decide whether you want to
use hardware or software compression.  With software compression you
tell amanda the exact native capacity of the tape.  If you use hardware
compression you will have to guess about how well your data compresses
and lie to amanda about your tape capacity.  I prefer to use software
compression and I would recommend that unless you're an amanda expert
you stick with software compression if you can.  If these tapes have
ever been used before in a DAT drive with compression enabled you may
have trouble getting them to work with hardware compression disabled.
There was a thread here recently about degaussing DAT tapes to erase the
compression bit.  You might look for it in the archives.  If you don't
use hardware compression there are a number of DDS-3 tapetypes in the
FAQ-O-Matic which will work, depending on what model of DDS drive you
are using.  Here's one for a Seagate drive for example:

define tapetype SEAGATE-DDS3 {
comment Seagate STD224000N-SB Internal DDS-3 Drive
length 11550 mbytes
filemark 0 kbytes
speed 1075 kps
}

Good luck.

-- 
Brandon D. Valentine [EMAIL PROTECTED]
Computer Geek, Center for Structural Biology

This isn't rocket science -- but it _is_ computer science.
- Terry Lambert on [EMAIL PROTECTED]




Re: 24 gig Tape Settings

2002-05-17 Thread Niall O Broin

On Fri, May 17, 2002 at 04:08:39PM -0400, Brook Hurd wrote:

 HP  C5708A DDS-3 Data Cartridge, 24GB
 
 Unfortunatly, I don't see it listed online.  Anybody use this type 
 before, and if so, what are the correct settings?

I use a HP DDS-3 too and I came across this definition somewhere which I use


define tapetype HP-DDS3 {
   comment Seagate STD224000N-SB Internal DDS-3 Drive
   length 11550 mbytes
   filemark 0 kbytes
   speed 1075 kps
}


You must bear in mind that a DDS-3 tape holds 12GB and NOT 24 GB of data,
despite what the marketing scum might like you to think. They assume a
compression ratio of 2:1 which I've never heard of ANYONE achieving (apart
from tape drive manufacturers in their contrived tests).

From an informal survey on the Sun Managers mailing list, it seemed that the
compression ratios people achieve in real life vary between 1.2:1 and 1.6:1. 

If you're saving already compressed data e.g. JPEG files, you'll get no
compression at all. If you intend to use amanda to compress, use the figures
above and make sure your drive doesn't try to compress (some variation on
the mt command - depends on your local system). If you're not going to
compress with amanda, you could up the length figure here. But by what ?

As you've been using an 8 GB drive (which I presume was a DDS-2 hence was
really a 4GB drive) you should have some good data to go on - what was the
most data Amanda ever put on a tape ? If it was for instance 5GB then you'd
be reasonably safe using length 15000 mbytes.

I hope I've shed some light on what can be a confusing subject.


Kindest regards,



Niall  O Broin



Re: 24 gig Tape Settings

2002-05-17 Thread Jon LaBadie

On Fri, May 17, 2002 at 10:28:06PM +0100, Niall O Broin wrote:
 
 You must bear in mind that a DDS-3 tape holds 12GB and NOT 24 GB of data,
 despite what the marketing scum might like you to think. They assume a
 compression ratio of 2:1 which I've never heard of ANYONE achieving (apart
 from tape drive manufacturers in their contrived tests).

I don't know, varies greatly with the data.  Here are the results of the
last full dumps of my disklist entries:

butch  /w/jg1 0.20
butch  /opt   0.35
butch  /w/tape8   0.35
winnie /  0.37
butch  /  0.40
butch  /usr   0.41
butch  /w/dutch   0.45
butch  /w 0.53
butch  /win/c 0.55
butch  /export0.62
butch  /u 0.69
butch  /var   0.70
winnie /cygdrive/c0.72
butch  /images0.73
butch  /u20.79
winnie /cygdrive/e0.91
winnie /cygdrive/d0.93
winnie /cygdrive/f0.96
butch  /w/InstPkg 0.97
butch  /w/Packages0.97
butch  /d23.20
butch  /d43.20

Anything under 0.5 is a 2:1 compression ration.
One gave nearly 5:1.  And of course several
file systems were virtually uncompressible.

It demonstrates the difficulty of guessing
the hardware compressed capacity of a tape.

BTW the last two entries are anomalies of
totally empty file systems.

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



Re: 24 gig Tape Settings

2002-05-17 Thread Alexander Belik

On 17 May 2002, Jason L Tibbitts III wrote:

  BH == Brook Hurd [EMAIL PROTECTED] writes:
 BH I am about to use the following tape type: HP C5708A DDS-3 Data
 BH Cartridge, 24GB
 I've used:
 define tapetype DDS-3 {
 comment DDS-3 DAT drive
 length 12288 mbytes # 12 GB
 filemark 0 kbytes
 speed 850 kbytes
 }

filemark 0 kbytes What is this?

-- 
   [EMAIL PROTECTED]ICQ: 41776461
 2:465/207@Fidonet  Alexander Belik
http://www.vnet.dn.ua[EMAIL PROTECTED]