RE: Problems backing up large W2K drive
i installed cygwin version and it is working ok. with cygwin version you can exclude what do you like, just like on linux installation. regards, gregor
can't recover data from backup with smbclient
Hello, I found this message in my report email below: /-- jupiter-ba //exploitsrvdc2/christian.moliere$ lev 0 STRANGE sendbackup: start [jupiter-backup://exploitsrvdc2/christian.moliere$ level 0] sendbackup: info BACKUP=/usr/bin/smbclient sendbackup: info RECOVER_CMD=/usr/bin/smbclient -f... - sendbackup: info end ? NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \profil\Application Data\Microsoft\Internet Explorer\Quick Launch\Démarrer Internet Explorer.lnk (\profil\Application Data\Microsoft\Internet Explorer\Quick Launch\) ? NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \profil\Application Data\Microsoft\Internet Explorer\Quick Launch\Démarrer Outlook Express.lnk (\profil\Application Data\Microsoft\Internet Explorer\Quick Launch\) ? NT_STATUS_OBJECT_NAME_NOT_FOUND listing \profil\Application Data\Microsoft\Macros complémentaires\* ? NT_STATUS_OBJECT_NAME_NOT_FOUND listing \profil\Application Data\Microsoft\Modèles\* ? NT_STATUS_OBJECT_NAME_NOT_FOUND listing \profil\Application Data\Microsoft\Office\Fichiers récents\* ? NT_STATUS_OBJECT_NAME_NOT_FOUND listing \profil\Application Data\Microsoft\Office\Récents\* ? NT_STATUS_OBJECT_NAME_NOT_FOUND listing \profil\Application Data\Microsoft\Requêtes\* ? NT_STATUS_OBJECT_NAME_NOT_FOUND listing \profil\Application Data\Microsoft\Word\DÉMARRAGE\* ? NT_STATUS_OBJECT_NAME_NOT_FOUND listing \profil\Application Data\Microsoft\Épreuve\* ? NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \profil\Favoris\La Boutique des [EMAIL PROTECTED] (\profil\Favoris\) ? NT_STATUS_OBJECT_NAME_NOT_FOUND listing \profil\Favoris\Média\* ? NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \profil\Favoris\Événements Web.url (\profil\Favoris\) ? NT_STATUS_OBJECT_NAME_NOT_FOUND listing \profil\Menu Démarrer\* ? NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \profil\Mes documents\Mes images\Athlète.jpg (\profil\Mes documents\Mes images\) ? NT_STATUS_OBJECT_NAME_NOT_FOUND listing \profil\Modèles\* ? NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \profil\Recent\CR_CarnetSanté_VoilaMail_1311.doc.lnk (\profil\Recent\) ? NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \profil\Recent\Disquette 3½ (A).lnk (\profil\Recent\) ? NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \profil\Recent\dossier développeur.lnk (\profil\Recent\) ? NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \profil\Recent\Informatique - Analyste Qualité - 6 postes à pourvoir.rtf.lnk (\profil\Recent\) ? NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \profil\Recent\Inventaire parc machinesà sauvegarder.xls (2).lnk (\profil\Recent\) ? NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \profil\Recent\Inventaire parc machinesà sauvegarder.xls.lnk (\profil\Recent\) ? NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \profil\Recent\Offre_salariés.ppt.lnk (\profil\Recent\) ? NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \profil\Recent\Référentiel Fiches Pratiques Réseau.xls.lnk (\profil\Recent\) ? NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \profil\Recent\VM-EX23-Désactivation des BAL des spammeurs.doc.lnk (\profil\Recent\) ? NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \profil\SendTo\Bureau (créer un raccourci).DeskLink (\profil\SendTo\) ? NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \profil\SendTo\Disquette 3½ (A).lnk (\profil\SendTo\) ? NT_STATUS_OBJECT_NAME_NOT_FOUND listing \profil\Voisinage réseau\* ? NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \profil2\Application Data\Microsoft\Internet Explorer\Quick Launch\Démarrer Internet Explorer.lnk (\profil2\Application Data\Microsoft\Internet Explorer\Quick Launch\) ? NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \profil2\Application Data\Microsoft\Internet Explorer\Quick Launch\Démarrer Outlook Express.lnk (\profil2\Application Data\Microsoft\Internet Explorer\Quick Launch\) ? NT_STATUS_OBJECT_NAME_NOT_FOUND listing \profil2\Application Data\Microsoft\Macros complémentaires\* ? NT_STATUS_OBJECT_NAME_NOT_FOUND listing \profil2\Application Data\Microsoft\Modèles\* ? NT_STATUS_OBJECT_NAME_NOT_FOUND listing \profil2\Application Data\Microsoft\Office\Fichiers récents\* ? NT_STATUS_OBJECT_NAME_NOT_FOUND listing \profil2\Application Data\Microsoft\Office\Récents\* ? NT_STATUS_OBJECT_NAME_NOT_FOUND listing \profil2\Application Data\Microsoft\Requêtes\* ? NT_STATUS_OBJECT_NAME_NOT_FOUND listing \profil2\Application Data\Microsoft\Word\DÉMARRAGE\* ? NT_STATUS_OBJECT_NAME_NOT_FOUND listing \profil2\Application Data\Microsoft\Épreuve\* ? NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \profil2\Favoris\La Boutique des [EMAIL PROTECTED] (\profil2\Favoris\) ? NT_STATUS_OBJECT_NAME_NOT_FOUND listing \profil2\Favoris\Média\* ? NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \profil2\Favoris\Événements Web.url (\profil2\Favoris\) ? NT_STATUS_OBJECT_NAME_NOT_FOUND listing \profil2\Menu Démarrer\* ? NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \profil2\Mes
Falsche Adresse?
Guten Tag. Wir hatten Sie bereits vor einigen Wochen angeschrieben und wollten Kontakt mit Ihrem Marketing- oder EDV Leiter aufnehmen. Möglicherweise ist das Mail bei Ihnen oder bei uns verloren gegangen. Kurze Frage: Wer ist bei Ihnen der richtige Ansprechpartner für Marketing/Internet/Werbung. Wir würden Ihnen gerne Unterlagen bezüglich Suchmaschinenmarketing* zusenden und Ihnen eine kostenlose Analyse Ihre Seite anbieten. Eine kurze Info wäre nett. Mit freundlichen Grüßen Peter Jung Lyngbyhus Parallelvej 10 Copenhagen, 2800 Lyngby DENMARK *Suchmaschinenmarketing bringt Ihre Webseite sehr schnell bei Google oder yahoo auf die erste Seite.
Re: can't recover data from backup with smbclient
Moliere Christian wrote: ? NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \profil\Application Data\Microsoft\Internet Explorer\Quick Launch\Démarrer Internet Explorer.lnk (\profil\Application Data\Microsoft\Internet Explorer\Quick Launch\) ? NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \profil\Application Data\Microsoft\Internet Explorer\Quick Launch\Démarrer Outlook Express.lnk (\profil\Application Data\Microsoft\Internet Explorer\Quick Launch\) ? NT_STATUS_OBJECT_NAME_NOT_FOUND listing \profil\Application Data\Microsoft\Macros complémentaires\* ...etc... The above msgs have to do with the codepage setting of your samba. I still haven't figured out the exact details, but tweeking the smb.conf file helps. I had to add: character set = ISO8859-1 to the global section. This solved that problem for win2000 and WinNT4 systems, but it introduced the problem to Win9x. That was a long time ago; and we have no Win9x anymore in your disklist. I can't find any index file in the index directory and of course when I try to recover them, mrecover command tell me : sethost jupiter-backup 501 No index records for host: jupiter-backup. Have you enabled indexing? We'll repeat the question. Have you enable indexing? Here it is my disklist : jupiter-backup //exploitsrvdc2/christian.moliere$ nocomp-user-gnutar The dumptype nocomp-user-gnutar should have indexing enabled. Verify this with: amadmin YourConfig disklist jupiter-backup \ '//exploitsrvdc2/christian.moliere$' and see if it has index YES or index NO. If it has index YES, then we'll need more information, like the relevant debug files in /tmp/amanda/*. I have a backup file and I can recover some datas with dd command. The singular of data is datum :-) (restored from my latin archive backups). Do you mean you understand how to work with the bare files using dd and gnutar, and also how using amrestore? Or do you mean that not all the data can be restored? -- Paul Bijnens, XplanationTel +32 16 397.511 Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax +32 16 397.512 http://www.xplanation.com/ email: [EMAIL PROTECTED] *** * I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, * * quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, * * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, * * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, * * kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ...* * ... Are you sure? ... YES ... Phew ... I'm out * ***
amdump: [dump to tape failed, will try again] - amrestore borking
Hello again, Still testing amanda for use in a production environment; tapeless operation seems to be working nicely, except for amdump sometimes. Backing up a directory /d on host mobilkom to the backup server backup. Every second run seems to go through smoothly, but for the others the mailreport afterwards tells me the following: NOTES: driver: mobilkom md0 3 [dump to tape failed, will try again] driver: mobilkom md0 3 [dump to tape failed, will try again] taper: tape normal02 kb 17184 fm 3 [OK] /dev/md0 is an array mounted on /d on mobilkom. When trying to use amrestore on such a `tape' (file:/dump/normal02 for example) I get an error like this: [EMAIL PROTECTED] root]# amrestore -p file:/dump/normal02 mobilkom md0 | restore -ivb 2 -f - amrestore: WARNING: not at start of tape, file numbers will be offset amrestore: 0: reached end of information Verify tape and initialize maps Input is from file/pipe restore: Tape read error on first record Or, with `-f 1' for `rewinding': [EMAIL PROTECTED] root]# amrestore -f 1 -p file:/dump/normal02 mobilkom md0 | restore -ivb 2 -f - amrestore: 1: reached end of information Verify tape and initialize maps Input is from file/pipe restore: Tape read error on first record So it seems to me that the backups on such tapes are lost. When the mailreport does not indicate any errors such as the above NOTES, amrestore works nicely and I can recover each and every file on that tape. Anyone have an idea? The logs (amdump.*, log.date.*) don't give much more information apart from telling me that the `dump to drive failed' and it `will try again'. Not of much help. Any pointers where I should have a look? Thanks in advance! -- Andreas ant Ntaflos | A cynic is a man who knows the price of [EMAIL PROTECTED] | everything, and the value of nothing. Vienna, AUSTRIA | Oscar Wilde
Re: can't recover data from backup with smbclient
Paul Bijnens wrote: Moliere Christian wrote: ? NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \profil\Application Data\Microsoft\Internet Explorer\Quick Launch\Démarrer Internet Explorer.lnk (\profil\Application Data\Microsoft\Internet Explorer\Quick Launch\) ? NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \profil\Application Data\Microsoft\Internet Explorer\Quick Launch\Démarrer Outlook Express.lnk (\profil\Application Data\Microsoft\Internet Explorer\Quick Launch\) ? NT_STATUS_OBJECT_NAME_NOT_FOUND listing \profil\Application Data\Microsoft\Macros complémentaires\* ...etc... The above msgs have to do with the codepage setting of your samba. I still haven't figured out the exact details, but tweeking the smb.conf file helps. I had to add: character set = ISO8859-1 to the global section. This solved that problem for win2000 and WinNT4 systems, but it introduced the problem to Win9x. That was a long time ago; and we have no Win9x anymore in your disklist. I set this parameter character set = ISO8859-1 in the smb.conf. I can't find any index file in the index directory and of course when I try to recover them, mrecover command tell me : sethost jupiter-backup 501 No index records for host: jupiter-backup. Have you enabled indexing? We'll repeat the question. Have you enable indexing? No I didn't. I set it in my dumptype and tried again a backup. That has resolved my error messages in the email report because I have no more error messages in it. I checked if I have now an index file and I have it. Here it is my disklist : jupiter-backup //exploitsrvdc2/christian.moliere$ nocomp-user-gnutar The dumptype nocomp-user-gnutar should have indexing enabled. Verify this with: amadmin YourConfig disklist jupiter-backup \ '//exploitsrvdc2/christian.moliere$' and see if it has index YES or index NO. If it has index YES, then we'll need more information, like the relevant debug files in /tmp/amanda/*. I have a backup file and I can recover some datas with dd command. The singular of data is datum :-) (restored from my latin archive backups). Do you mean you understand how to work with the bare files using dd and gnutar, and also how using amrestore? Or do you mean that not all the data can be restored? That meant I was able to restore all the data in the backup file. Finaly I tried to restore all the new data and it was ok. Thanks for your speed help. -- Sincerely, Cordialement, Christian MOLIERE Tél : +33 1 43 60 11 50 Mobile : +33 6 73 37 36 33
Re: amanda inparallel not working on large filesystems
Hello, I have left this alone for a month now hoping all the various suggestions I received might help. Nothing did. Over the previous month, I have moved the backup onto seperate network cards, seperate networks, specifed spindles, increased the holding disc space, reduced the holding disc space, increased max dumps etc, reduced max dumps etc. Nothing appears to work. From my observations, the gtar on the remote machine is using listed_incremental even though I am specifying no incrementals to be performed. I don;t know if this is important or not, but if I run the command by hand it takes forever to run, if I omit the list-incremental option on the command line. gtar flies through. Note that this may be a totally seperate issue to the problem I am facing. The backups still operate synchronously, they both start roughly the same time, but then one waits for the other to finish before it wakes up and continues it's backup (this can mean it lays dormant for about six hours). Help! Here is an updated amanda.conf and disklist and tapelist file: fernandeno:/fernandeno# more /opt/etc/amanda/cc/amanda.conf # # amanda.conf - sample Amanda configuration file. This started off life as # the actual config file in use at CS.UMD.EDU. dumpuser amanda # the user to run dumps under printer pcm2300f2 inparallel 40 netusage 1000 Kbps dumpcycle 0 runspercycle 1 tapecycle 22 tapes bumpsize 20 Mb bumpdays 1 bumpmult 4 ctimeout 1800 etimeout 1800 dtimeout 24000 tapebufs 30 run of amdump runtapes 19 tpchanger /opt/etc/amanda/cc/chg-zd-mtx changerfile /opt/etc/amanda/cc/chg-zd-mtx changerdev /dev/changer # HP LTO on this box tapedev /dev/rmt/0un tapetype LTO labelstr ^cc[0-9][0-9][0-9][0-9]*$ holdingdisk hd1 { directory /amanda/dump1 use 0 chunksize 500Mb } holdingdisk hd2 { directory /amanda/dump2 use 0 chunksize 500Mb } holdingdisk hd3 { directory /amanda/dump3 use 0 chunksize 500Mb } holdingdisk hd4 { comment JOW added secondary holding disk directory /amanda/dump4 use -500Mb chunksize 500Mb } maxdumps 5 reserve 0 # on advice of Jon La Badie 20030626 infofile /opt/etc/amanda/cc/curinfo # database DIRECTORY logdir /opt/etc/amanda/cc/log # log directory indexdir /opt/etc/amanda/cc/index # index directory define tapetype LTO { comment LTO tape drives length 20 mbytes lbl-templ /opt/etc/amanda/DIN-A4.ps filemark 513 kbytes speed 2 kps } define dumptype global { comment Global definitions index no record no compress none dumpcycle 0 maxdumps 5 skip-incr yes strategy noinc } define dumptype lo_no_tar_full { global comment Full dump of this filesystem always program GNUTAR priority low } define dumptype me_no_tar_full { global comment Full dump of this filesystem always program GNUTAR priority medium maxdumps 5 skip-incr yes strategy noinc index no record no compress none dumpcycle 0 } define dumptype hi_no_tar_full { global comment Full dump of this filesystem always program GNUTAR priority high } define dumptype hi_no_tar { program GNUTAR comment High priority with no compression exclude list /etc/amanda/exclude.gtar priority high compress none } define interface lpfn0 { comment fibre network use 100 kbps } define interface iprb0 { comment ethernet network use 10 kbps } + + + + fernandeno:/fernandeno# cat /opt/etc/amanda/cc/disklist # File format is: # # hostname diskdev dumptype [spindle [interface]] # # where the dumptypes are defined by you in amanda.conf or in-line. #backup server fernandeno /share/lotus me_no_tar_full 3 fernandeno /share/perforce/p4root me_no_tar_full 1 fernandeno //mosquito/C$ me_no_smb #troubled server nanticoke /share/lotus me_no_tar_full 3 lpfn0 nanticoke /share/fileserver me_no_tar_full nanticoke /share/homes me_no_tar_full 2 iprb0 #all other servers kickapoo /cortex me_no_tar_full kickapoo /ctxtools me_no_tar_full kickapoo /ctxdata me_no_tar_full hupa/optlo_no_tar_full hupa/ctxtools me_no_tar_full hupa/ctxdatame_no_tar_full hupa/cortex
Re: Problems backing up large W2K drive
On Thu, Jul 24, 2003 at 11:53:44PM +0200, Paul Bijnens wrote: When using multiple excludes only the last one is remembered, unless you specify the append keyword to exclude like: exclude append ./pagefile.sys But!!! When using samba to backup a Windows share, the specification GNUTAR does in fact not use gnutar, but the built in tar in smbclient. And that one does not allow more than one exclude statement. Not quite accurate. smbclient (smbtar) uses the X option to set a mode after which subsequent arguments are excluded. The problem is then to capture the smbclient command line, including the exclude-file filename argument, and convert each line into separate arguments. This had been done by one poster in the past. Essentially an smbclient wrapper. Unfortunately, in my testing this can not be combined with the r option of smbclient to allow wildcards. Maybe others can figure that one out too. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
HELLO, I have trouble with chg-scsi: wrong emubarcode number
I am experiencing a problem with chg-scsi. Whenever I execute "chg-scsi -inventory", I get back the following response: BarCode == 1 and emubarcode == 1 Our tape-changer is equipped with a bar code reader. I have set "havebarcode 1", "emubarcode 0" in the chg-scsi.conf file. But chg-scsi doesn't seem to pickup this information. When I ran "strings -a /usr/local/etc/libexec/chg-scsi | grep emubarcode", I got the following output: emubarcode emubarcode 1 # If you drive has no barcode reader this will try BarCode == 1 and emubarcode == 1 emubarcode So it seems that emubarcode is hardcoded as 1 in the binary file. Is there any way to fix this or force chg-scsi to read the value for emubarcode from the chg-scsi.conf file? When I run "chg-scsi -genconf", I get the following information: Count 1 Count 2 Count 3 Count 4 # Please replace every ??? with the correct parameter. It is not possible # to guess everything :-) # If the option is not needed, cleanmax for example if you have no cleaning # tape remove the line. # number_configs 1 # Number of configs, you can have more than 1 config # if you have for example more than one drive, or you # to split your lib to use different dump levels # emubarcode 1 # If you drive has no barcode reader this will try # keep an inventory of your tapes to find them faster # havebarcode 0 # Set this to 1 if you have an library with an installed # barcode reader # debuglevel 0:0 # For debuging, see the docs /docs/TAPE-CHANGER # eject ??? # set this to 1 if your drive needs an eject before move # sleep ??? # How long to wait after an eject command before moving # the tape # changerdev /dev/sg0 # This is the device to communicate with the robot # # Here now comes the config for the first tape config 0 # This value is the one which is used in the amanda # config file to tell the chg-scsi programm which tape # and which slots to use # cleancart ??? # The slot where the cleaning tape is located # remove it if you have no cleaning tape # drivenum 0 # Which tape drive to use if there are more than one drive # dev ??? # Which is the raw device to read/write data from the tape # It is important to use the non rewinding tape, like # /dev/nrst0 on linux, /dev/nrsa0 on BSD # scsitapedev /dev/sg1 # This is the device to communicate with the tape # to get some device stats, not so importatn, and # if you run in problems delete it complete # startuse 0 # Which is the first slot to use # enduse 21 # Which is the last slot to use # decrement this value by 1 if you have an # cleaning tape in the last slot # statfile /var/lib/amanda/tape0-slot # cleanfile /var/lib/amanda/tape0-clean # usagecount /var/lib/amanda/tape0-totaltime # tapestatus /var/lib/amanda/tape0-tapestatus # labelfile /var/lib/amanda/labelfile # Here are the details about our system: OS: Redhat 9.0 Amanda version: 2.4.4 Tapetype: AME_225_SmartClean (Exabyte) Processor: dual processors Intel Pentium III 450MHz. Your assistance will be much appreciated. Thanks, Ashwin Bijur.
Re: SuperDLT-320 Tapetype
On Mon, Jul 21, 2003 at 03:18:02PM -0700, Joshua D. Bello wrote: Greetings! I am writing to find a good tapetype definition for a SDLT-160/320 changer that we have just purchased. I found no definitions in the FAQ-O-Matic or list archives. Thanks in advance! Well I bit the bullet and ran amtapetype on this drive. For the benefit of anybody else out there who has this drive type (and to save you the 40 hours it took for me to run amtapetype!!!), here are my results: define tapetype unknown-tapetype { comment just produced by tapetype prog (hardware compression off) length 153794 mbytes filemark 13 kbytes speed 2377 kps } -- Joshua D. Bello [EMAIL PROTECTED] Systems Administrator Nextrials, Inc. +1-925-415-8957
Re: HELLO, I have trouble with chg-scsi: wrong emubarcode number
On Fri, Jul 25, 2003 at 12:32:50PM -0400, Ashwin Bijur wrote: I am experiencing a problem with chg-scsi. Whenever I execute chg-scsi -inventory, I get back the following response: BarCode == 1 and emubarcode == 1 This is saying you are claiming to have a barcode reader and asking chg-scsi to emulate one also. Only one or the other can be set to 1. Our tape-changer is equipped with a bar code reader. I have set havebarcode 1, emubarcode 0 in the chg-scsi.conf file. But chg-scsi doesn't seem to pickup this information. When I ran strings -a /usr/local/etc/libexec/chg-scsi | grep emubarcode, I got the following output: emubarcode emubarcode 1 # If you drive has no barcode reader this will try BarCode == 1 and emubarcode == 1 emubarcode So it seems that emubarcode is hardcoded as 1 in the binary file. Is there any way to fix this or force chg-scsi to read the value for emubarcode from the chg-scsi.conf file? There is nothing in that grep output to suggest emubarcode is hardcoded as 1; == is a test, not an assignment. When I run chg-scsi -genconf, I get the following information: ... emubarcode 1 # If you drive has no barcode reader this will try # keep an inventory of your tapes to find them faster # havebarcode 0 # Set this to 1 if you have an library with an I peeked at the chg-scsi.c source code. emubarcode is initialized to 0. However, I did note an oddity in the part of the code that reads the config file. Where is detects havebarcode, it uses the value, 0 or 1, that follows the configuration parameter. This is as expected. When emubarcode is detected it is treated differently. It is treated as a boolean and the value that follows is ignored. I.e. if emubarcode is in chg-scsi.conf, THEN it is set to 1 regardless of the value. I suggest you try eliminating the emubarcode entirely from your chg-scsi.conf file (still setting havebarcode 1) and see if that works. It should pick-up the hardcoded emubarcode default of 0. If that works, we can claim to the maintainers of the code that it is a defect in the documentation or the source code. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
Re: SuperDLT-320 Tapetype
On Fri, Jul 25, 2003 at 09:42:31AM -0700, Joshua D. Bello wrote: On Mon, Jul 21, 2003 at 03:18:02PM -0700, Joshua D. Bello wrote: Greetings! I am writing to find a good tapetype definition for a SDLT-160/320 changer that we have just purchased. I found no definitions in the FAQ-O-Matic or list archives. Thanks in advance! Well I bit the bullet and ran amtapetype on this drive. For the benefit of anybody else out there who has this drive type (and to save you the 40 hours it took for me to run amtapetype!!!), here are my results: define tapetype unknown-tapetype { comment just produced by tapetype prog (hardware compression off) length 153794 mbytes filemark 13 kbytes speed 2377 kps } I'd suggest something is faulty with your setup, likely outside of amanda. The tapetype program should make two complete passes at nearly the full speed of your drive. It just dumps data as fast as it can to the tape drive. If you see anything significantly slower I'd be suspcious of the setup. 160GB / (16MB/sec) is 1 seconds. Times 2 passes is 2 seconds. At 3600 sec/hr, that should take about 6 hours. That drive has a rated speed of 16MB/sec. You observed only 2.4MB/sec. Your capacity and filemark numbers seem reasonable. But I'd look into why so slow. Block size settings on the drive? Scsi termination? Bus contention? Wide scsi interface on a narrow bus? ??? -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
Re: strange disk offline error
So I'm still getting the disk offline error, and seeing this in my /tmp/amanda/sendsize...debug: sendsize: debug 1 pid 502 ruid 19 euid 19: start at Fri Jul 25 14:24:16 2003 sendsize: version 2.4.4 sendsize[502]: time 0.026: waiting for any estimate child sendsize[505]: time 0.026: calculating for amname '/', dirname '/', spindle -1 sendsize[505]: time 0.026: getting size via gnutar for / level 0 sendsize[505]: time 0.042: spawning /usr/local/libexec/runtar in pipeline sendsize[505]: argument list: /usr/local/bin/tar --create --file /dev/null --directory / --one-file-system --listed-incremental /usr/local/var/amanda/gnutar-lists/db.shcorp.com__0.new --sparse --ignore-failed-read --totals --exclude-from /tmp/amanda/sendsize._.20030725142416.exclude . sendsize[505]: time 0.054: error [cannot find user backup in passwd file] sendsize[505]: time 0.056: sendsize[505]: time 0.057: . sendsize[505]: estimate time for / level 0: 0.015 sendsize[505]: no size line match in /usr/local/bin/tar output for / sendsize[505]: . sendsize[505]: estimate size for / level 0: -1 KB sendsize[505]: time 0.057: waiting for /usr/local/bin/tar / child sendsize[505]: time 0.160: after /usr/local/bin/tar / wait sendsize[505]: time 0.160: done with amname '/', dirname '/', spindle -1 sendsize[502]: time 0.160: child 505 terminated normally sendsize: time 0.160: pid 502 finish time Fri Jul 25 14:24:16 2003 I'm pretty certain my problem has to do with the cannot find user backup in passwd file. But this makes no sense. I can su - backup and then view /etc/passwd. The user backup is definitely in it. Any ideas for what's causing this? -- Kurt Yoder Sport Health network administrator
Örgü Þiþleri Knitting Needles
Title: HOB HOB PERLE KNITTING NEEDLES - EL RG LER HOBI PERLE EL ORGU SISLERI El Orgu Sislerinde Yeni Bir Stil yeni bir Kalite! Eger kaliteli ve uygun fiyata el orgu sisleri cesitlerini gormek istiyorsaniz lutfen asagidaki linklere tiklayiniz. Yeni urun yelpazemizi ile sadece Turkiye de deil dnya piyasalarinda da yerini almakta olan HOBI PERLE ile ormenin zevkine varin.. Urun Listemizigormek icin lutfen Web sitemizi ziyaret ediniz Eer mail listemizden ckmak stersenz [EMAIL PROTECTED] a mail atnz
amrecover index Problem
Hi I have some problems regarding amrecover. I have enable amanda,amidex and amandaidx and have put the line amanda dgram udp wait Amanda /PATH/libexec/amandad amandad in/etc/xinetd.d ,however I get the following errors after I get into amrecover. 501 no index records for the host. But I get the amrecover prompt. When I try to setdisk, it says '501 must setconfig,home before setting disk'. I dont know what exactly this means. I would appreciate if anyone can help me out. Regards Yogish --Yogish.G.KAmerican Healthcare Solutions Inc405, South LincolnSteamboat Springs CO-80487Ph-970-870-6232 ( EXT 106) (office)Email: [EMAIL PROTECTED]
Re: HELLO, I have trouble with chg-scsi: wrong emubarcode number
I commented "emubarcode 1" in the chg-scsi.conf file and now I don't get that error anymore. Thank you very much, Jon. Jon LaBadie wrote: On Fri, Jul 25, 2003 at 12:32:50PM -0400, Ashwin Bijur wrote: I am experiencing a problem with chg-scsi. Whenever I execute "chg-scsi -inventory", I get back the following response:BarCode == 1 and emubarcode == 1 This is saying you are claiming to have a barcode reader andasking chg-scsi to emulate one also. Only one or the othercan be set to 1. Our tape-changer is equipped with a bar code reader. I have set "havebarcode 1", "emubarcode 0" in the chg-scsi.conf file. But chg-scsi doesn't seem to pickup this information. When I ran "strings -a /usr/local/etc/libexec/chg-scsi | grep emubarcode", I got the following output:emubarcodeemubarcode 1 # If you drive has no barcode reader this will tryBarCode == 1 and emubarcode == 1emubarcodeSo it seems that emubarcode is hardcoded as 1 in the binary file. Is there any way to fix this or force chg-scsi to read the value for emubarcode from the chg-scsi.conf file? There is nothing in that grep output to suggest emubarcode ishardcoded as 1; == is a test, not an assignment. When I run "chg-scsi -genconf", I get the following information: ... emubarcode 1 # If you drive has no barcode reader this will try# keep an inventory of your tapes to find them faster#havebarcode 0 # Set this to 1 if you have an library with an I peeked at the chg-scsi.c source code. emubarcode is initialized to 0.However, I did note an oddity in the part of the code that reads theconfig file. Where is detects "havebarcode", it uses the value,0 or 1, that follows the configuration parameter. This is as expected.When "emubarcode" is detected it is treated differently. It is treatedas a boolean and the value that follows is ignored. I.e. if "emubarcode"is in chg-scsi.conf, THEN it is set to 1 regardless of the value.I suggest you try eliminating the emubarcode entirely from yourchg-scsi.conf file (still setting "havebarcode 1") and see if thatworks. It should pick-up the hardcoded emubarcode default of 0.If that works, we can claim to the maintainers of the code that itis a defect in the documentation or the source code.
Linux disks and disklist file
Hello, we recently added some Linux servers to our mix of *BSD servers. The server is running FreeBSD 4.7p10 with amanda 2.4.4 (from /usr/ports, looks like it's the base release, i.e. not the latest) and the clients are running RedHat Linux 7.3 with amanda-client-2.4.2p2-7. When running amcheck, it complains that it can't find just one of the disks, yet all are defined the same (i.e. sd1a, sd3a, etc). Here's the error : Amanda Backup Client Hosts Check ERROR: hostname: [could not access sda3 (sda3): No such file or directory] If I change the disk name on sd3a to include the full path, everything is fine : host sda1 comp-root-index host /dev/sda3 comp-root-index host sdb1 comp-user-index host md0 comp-user-index I don't see anything special about sd3a to cause this : [EMAIL PROTECTED] /]# df Filesystem 1k-blocks Used Available Use% Mounted on /dev/sda3 14927248 1122460 13046520 8% / /dev/sda1 497829 17867454260 4% /boot /dev/sdb1 17496684136304 16471588 1% /var /dev/md0 34993280 47604 33168096 1% /home none515632 0515632 0% /dev/shm All other disks work fine without the full path, dumps worked fine last night with the above config. I searched the archives and couldn't find mention of this, and I've experienced the same problem on two identical machines. Ideas? Regards, Chris Chris Miller NetGate Internet
Re: Linux disks and disklist file
On Fri, Jul 25, 2003 at 02:46:31PM -0700, Chris Miller wrote: Hello, we recently added some Linux servers to our mix of *BSD servers. The server is running FreeBSD 4.7p10 with amanda 2.4.4 (from /usr/ports, looks like it's the base release, i.e. not the latest) and the clients are running RedHat Linux 7.3 with amanda-client-2.4.2p2-7. When running amcheck, it complains that it can't find just one of the disks, yet all are defined the same (i.e. sd1a, sd3a, etc). Here's the error : Amanda Backup Client Hosts Check ERROR: hostname: [could not access sda3 (sda3): No such file or directory] If I change the disk name on sd3a to include the full path, everything is fine : host sda1 comp-root-index host /dev/sda3 comp-root-index host sdb1 comp-user-index host md0 comp-user-index I don't see anything special about sd3a to cause this : [EMAIL PROTECTED] /]# df Filesystem 1k-blocks Used Available Use% Mounted on /dev/sda3 14927248 1122460 13046520 8% / /dev/sda1 497829 17867454260 4% /boot /dev/sdb1 17496684136304 16471588 1% /var /dev/md0 34993280 47604 33168096 1% /home none515632 0515632 0% /dev/shm All other disks work fine without the full path, dumps worked fine last night with the above config. I searched the archives and couldn't find mention of this, and I've experienced the same problem on two identical machines. Ideas? There is probably something in Linux like Solaris' /etc/vfstab. I think amanda uses this to map simple disk names to full paths and directories to mount points. Perhaps sda3 is not listed there. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
Re: amrecover index Problem
--On Friday, July 25, 2003 14:10:10 -0600 Yogish [EMAIL PROTECTED] wrote: Hi I have some problems regarding amrecover. I have enable amanda,amidex and amandaidx and have put the line amanda dgram udp wait Amanda /PATH/libexec/amandad amandad in/etc/xinetd.d ,however I get the following errors after I get into amrecover. 501 no index records for the host. Do you have index yes in the dumptype used for that disk? But I get the amrecover prompt. When I try to setdisk, it says '501 must setconfig,home before setting disk'. I dont know what exactly this means. I would appreciate if anyone can help me out. At the amrecover prompt, try the following: sethost host where 'host' is the name of the host whose data you are trying to restore, exactly like it is in the disklist. Then, setdisk diskname where 'diskname' is the name of the filesystem as it appears in your disklist file. Then see if you can 'cd' and 'ls' and see your files. If so, then you can 'add' what you want to restore and after you're finished adding things you give the 'extract' command to restore. Frank Regards Yogish -- Yogish.G.K American Healthcare Solutions Inc 405, South Lincoln Steamboat Springs CO-80487 Ph-970-870-6232 ( EXT 106) (office) Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- Frank Smith [EMAIL PROTECTED] Systems Administrator Voice: 512-374-4673 Hoover's Online Fax: 512-374-4501
RE: Linux disks and disklist file
Chris, Amanda 2.4.2 as packaged in RedHat 7.x has trouble mapping the simple device name to the root disk. Use / instead of sda3 in the disklist, i.e. host / comp-root-index Bernhard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chris Miller Sent: Friday, July 25, 2003 2:47 PM To: [EMAIL PROTECTED] Subject: Linux disks and disklist file Hello, we recently added some Linux servers to our mix of *BSD servers. The server is running FreeBSD 4.7p10 with amanda 2.4.4 (from /usr/ports, looks like it's the base release, i.e. not the latest) and the clients are running RedHat Linux 7.3 with amanda-client-2.4.2p2-7. When running amcheck, it complains that it can't find just one of the disks, yet all are defined the same (i.e. sd1a, sd3a, etc). Here's the error : Amanda Backup Client Hosts Check ERROR: hostname: [could not access sda3 (sda3): No such file or directory] If I change the disk name on sd3a to include the full path, everything is fine : host sda1 comp-root-index host /dev/sda3 comp-root-index host sdb1 comp-user-index host md0 comp-user-index I don't see anything special about sd3a to cause this : [EMAIL PROTECTED] /]# df Filesystem 1k-blocks Used Available Use% Mounted on /dev/sda3 14927248 1122460 13046520 8% / /dev/sda1 497829 17867454260 4% /boot /dev/sdb1 17496684136304 16471588 1% /var /dev/md0 34993280 47604 33168096 1% /home none515632 0515632 0% /dev/shm All other disks work fine without the full path, dumps worked fine last night with the above config. I searched the archives and couldn't find mention of this, and I've experienced the same problem on two identical machines. Ideas? Regards, Chris Chris Miller NetGate Internet
Re: amrecover index Problem
On Friday 25 July 2003 16:10, Yogish wrote: Hi I have some problems regarding amrecover. I have enable amanda,amidex and amandaidx and have put the line amanda dgram udp wait Amanda /PATH/libexec/amandad amandad in/etc/xinetd.d I've no idea what you are saying above but please compare this file from my /etc/xinetd.d/amanda with yours file /etc/xinetd.d/amanda: # default = off # # description: Part of the Amanda server package # This is the list of daemons such it needs service amanda { disable = no socket_type = dgram protocol= udp wait= yes user= amanda group = disk groups = yes server = /usr/local/libexec/amandad } service amandaidx { disable = no socket_type = stream protocol= tcp wait= no user= amanda group = disk groups = yes server = /usr/local/libexec/amindexd } service amidxtape { disable = no socket_type = stream protocol= tcp wait= no user= amanda group = disk groups = yes server = /usr/local/libexec/amidxtaped } -EOF /etc/xinetd.d/amanda- with whatever you have there. Note this is all one file, xinetd doesn't care if its one or three as long as all three entries are there. ,however I get the following errors after I get into amrecover. 501 no index records for the host. But I get the amrecover prompt. When I try to setdisk, it says '501 must setconfig,home before setting disk'. I dont know what exactly this means. I would appreciate if anyone can help me out. Regards Yogish man amrecover? Also, if you are using localhost anyplace instead of a FQDN, I think you just got bit. It works for backups (I wish it didn't, more people would get the message before its too late) but does not work very often for recovery's. -- Cheers, Gene AMD [EMAIL PROTECTED] 320M [EMAIL PROTECTED] 512M 99.27% setiathome rank, not too shabby for a WV hillbilly Yahoo.com attornies please note, additions to this message by Gene Heskett are: Copyright 2003 by Maurice Eugene Heskett, all rights reserved.
Re: Linux disks and disklist file
On Friday 25 July 2003 17:56, Jon LaBadie wrote: On Fri, Jul 25, 2003 at 02:46:31PM -0700, Chris Miller wrote: Hello, we recently added some Linux servers to our mix of *BSD servers. The server is running FreeBSD 4.7p10 with amanda 2.4.4 (from /usr/ports, looks like it's the base release, i.e. not the latest) and the clients are running RedHat Linux 7.3 with amanda-client-2.4.2p2-7. When running amcheck, it complains that it can't find just one of the disks, yet all are defined the same (i.e. sd1a, sd3a, etc). Here's the error : Amanda Backup Client Hosts Check ERROR: hostname: [could not access sda3 (sda3): No such file or directory] If I change the disk name on sd3a to include the full path, everything is fine : host sda1 comp-root-index host /dev/sda3 comp-root-index host sdb1 comp-user-index host md0 comp-user-index I don't see anything special about sd3a to cause this : [EMAIL PROTECTED] /]# df Filesystem 1k-blocks Used Available Use% Mounted on /dev/sda3 14927248 1122460 13046520 8% / /dev/sda1 497829 17867454260 4% /boot /dev/sdb1 17496684136304 16471588 1% /var /dev/md0 34993280 47604 33168096 1% /home none515632 0515632 0% /dev/shm All other disks work fine without the full path, dumps worked fine last night with the above config. I searched the archives and couldn't find mention of this, and I've experienced the same problem on two identical machines. Ideas? There is probably something in Linux like Solaris' /etc/vfstab. I think amanda uses this to map simple disk names to full paths and directories to mount points. Perhaps sda3 is not listed there. Thats /etc/fstab for linux. Note that late linux's can operate on both a path, as in /dev/sda3, and a label, which in his case would be /, in other words the base of the system. The disk may be labeled, and the label is being used in /etc/fstab rather than the /dev/device nomenclature. tune2fs can apply labels to partitions if the filesystem is late enough. -- Cheers, Gene AMD [EMAIL PROTECTED] 320M [EMAIL PROTECTED] 512M 99.27% setiathome rank, not too shabby for a WV hillbilly Yahoo.com attornies please note, additions to this message by Gene Heskett are: Copyright 2003 by Maurice Eugene Heskett, all rights reserved.