Re: Some noop questions (RAID with Amanda)
[EMAIL PROTECTED] schrieb: Thanks for your help, I've mounted my amandadisks folder and everything is alright. But do I have to mount the holding folder too or any log files? Actually I wonder what does the holding folder exactly do? This depents on what you have and what you want. If you want to have the holdingdisk on the Raid-5-Array too, then yes. But the holdingdisk just stores the data before it's send to it's final destination (vtape, tape). After that it's cleared again. http://wiki.zmanda.com/index.php/FAQ:Should_I_use_a_holdingdisk_when_the_final_destination_of_the_backup_is_a_virtual_tape%3F -- Marc Muehlfeld (Leitung Systemadministration) Zentrum fuer Humangenetik und Laboratoriumsmedizin Dr. Klein und Dr. Rost Lochhamer Str. 29 - D-82152 Martinsried Telefon: +49(0)89/895578-0 - Fax: +49(0)89/895578-78 http://www.medizinische-genetik.de
Copying data to new tapes
Hi, we used a Tandberg Superloader DLT Autoloader for offsite backups. Now I ordered a Tandberg Storageloader LTO3. Does anybody of you see a way to get the data of the old DTL to the new LTO3 tapes? Doing a 1-to-1 copy is wasting many space and money. My only idea is restore everything on the old tapes to a huge place and backup it to LTO agin, isn't it? But this would be to much work. Marc -- Marc Muehlfeld (Leitung Systemadministration) Zentrum fuer Humangenetik und Laboratoriumsmedizin Dr. Klein und Dr. Rost Lochhamer Str. 29 - D-82152 Martinsried Telefon: +49(0)89/895578-0 - Fax: +49(0)89/895578-78 http://www.medizinische-genetik.de
Re: Copying data to new tapes
Op ma 12nov07 om 15:29 schreef Marc Muehlfeld: we used a Tandberg Superloader DLT Autoloader for offsite backups. Now I ordered a Tandberg Storageloader LTO3. Does anybody of you see a way to get the data of the old DTL to the new LTO3 tapes? Doing a 1-to-1 copy is wasting many space and money. My only idea is restore everything on the old tapes to a huge place and backup it to LTO agin, isn't it? But this would be to much work. You could write serveral DLT's to one LT03, using the non-rewind device (which might be neede anyhow). Gerrit
Re: Copying data to new tapes
Gerrit A. Smit -TI- schrieb: You could write serveral DLT's to one LT03, using the non-rewind device (which might be neede anyhow). But how ll Amanda handle this later? Btw: You don't get engough mail, because you request a return receipt for your mailinglist posting? :-) -- Marc Muehlfeld (Leitung Systemadministration) Zentrum fuer Humangenetik und Laboratoriumsmedizin Dr. Klein und Dr. Rost Lochhamer Str. 29 - D-82152 Martinsried Telefon: +49(0)89/895578-0 - Fax: +49(0)89/895578-78 http://www.medizinische-genetik.de
Re: Copying data to new tapes
Marc Muehlfeld [EMAIL PROTECTED] writes: we used a Tandberg Superloader DLT Autoloader for offsite backups. Now I ordered a Tandberg Storageloader LTO3. Does anybody of you see a way to get the data of the old DTL to the new LTO3 tapes? Doing a 1-to-1 copy is wasting many space and money. My only idea is restore everything on the old tapes to a huge place and backup it to LTO agin, isn't it? But this would be to much work. When copying Amanda tapes to a larger media, I read all parts with dd as long as the capacity of the new tape is reached and then I write these parts to the new tape with dd. In order to recover you should position the tape manually (with mt), and you must disable amrecover_check_label in amanda.conf (otherwise amrecovr would rewind and see the wrong tape label at the beginning of the tape. Sven
Re: Copying data to new tapes
Sven Rudolph schrieb: In order to recover you should position the tape manually (with mt), and you must disable amrecover_check_label in amanda.conf (otherwise amrecovr would rewind and see the wrong tape label at the beginning of the tape. Sounds good. I'll try that. How do I know the filemarks later where one tape ends and the new one beginns? Do I have to track this by myself on which position which tape is stored? -- Marc Muehlfeld (Leitung Systemadministration) Zentrum fuer Humangenetik und Laboratoriumsmedizin Dr. Klein und Dr. Rost Lochhamer Str. 29 - D-82152 Martinsried Telefon: +49(0)89/895578-0 - Fax: +49(0)89/895578-78 http://www.medizinische-genetik.de
Re: Copying data to new tapes
Marc Muehlfeld [EMAIL PROTECTED] writes: Sven Rudolph schrieb: In order to recover you should position the tape manually (with mt), and you must disable amrecover_check_label in amanda.conf (otherwise amrecovr would rewind and see the wrong tape label at the beginning of the tape. Sounds good. I'll try that. How do I know the filemarks later where one tape ends and the new one beginns? Do I have to track this by myself on which position which tape is stored? I create a listing, print it on paper and store it together with the tape. Sven - #!/bin/sh # list_amanda_tape usage() { echo $0 [--blocksize xxk] ntapedev } case $1 in --blocksize) blocksize=$2 shift; shift ;; --*)usage 2 exit 1 ;; esac TAPE=$1 [ -c $TAPE ] || { usage 2 exit 1 } mt -f $TAPE rewind n=0 while line=$(dd if=$TAPE bs=32k count=1 2/dev/null | head -1 ) do [ -n $line ] || break printf '%03d ' $n echo $line mt -f $TAPE fsf n=$((n+1)) done mt -f $TAPE rewind
Re: Copying data to new tapes
Sven Rudolph schrieb: I create a listing, print it on paper and store it together with the tape. I'll get the new autoloader end of the week. I'll try your script then. Thanks. -- Marc Muehlfeld (Leitung Systemadministration) Zentrum fuer Humangenetik und Laboratoriumsmedizin Dr. Klein und Dr. Rost Lochhamer Str. 29 - D-82152 Martinsried Telefon: +49(0)89/895578-0 - Fax: +49(0)89/895578-78 http://www.medizinische-genetik.de
Re: Copying data to new tapes
amanda can't do it automaticaly, but it is planned. You could restore everything on the holding disk and use amflush to flush them to the new tape. amrecover will correctly works with the new tape. if your blocksize on tape is 32k, it is a simple as: cd /holding/disk/path. mkdir 20070101010101 cd 20070101010101 for all old tapes amrestore -r /device/name rm all dump that are complete. amflush You should verify the result. Jean-Louis Marc Muehlfeld wrote: Hi, we used a Tandberg Superloader DLT Autoloader for offsite backups. Now I ordered a Tandberg Storageloader LTO3. Does anybody of you see a way to get the data of the old DTL to the new LTO3 tapes? Doing a 1-to-1 copy is wasting many space and money. My only idea is restore everything on the old tapes to a huge place and backup it to LTO agin, isn't it? But this would be to much work. Marc
New Development in Amanda poster available
The poster I'll be presenting at LISA is online at http://www.zmanda.com/pdf/the-new-amanda.pdf If you're at LISA, please do stop by and take a look at the real thing :) Dustin P.S. If anyone would like a copy of the Amanda logo in SVG format, let me know. -- Storage Software Engineer http://www.zmanda.com
Re: Barcode labels for LTO, DLT, ...
Dustin J. Mitchell [EMAIL PROTECTED] writes: On Nov 11, 2007 1:24 PM, Sven Rudolph [EMAIL PROTECTED] wrote: following the ideas from the discussion some months ago I implemented just another tool for creating barcode labels for tapes. It is written in Perl and uses the Barcode Writer in Pure PostScript. Currently it creates labels for DLT and LTO (Ultrium). I'd like it to become even more generic, but the way of specifying the label layout is still a bit inflexible. So I first want to show you what I did, and you can tell me what is needed... Neat! As I understand it, this is a generic label-printing utility, which could be used with any backup software. The code looks quite well-designed and extensible -- quite a feat for this sort of task. Are you interested in further integrating it into Amanda? Currently the only Amanda-specific thing is that you can print a descriptive label name in addition to the barcode text. In the default configuration most barcode libraries use only 8 characters, and with the tape type specifier (like L4, S4) you have only 6 characters. So I wanted to print the label names used by Amanda (like Set1-Jan-01) on the label. The label-printing that Amanda supports is a bit inflexible -- it's treated as a kind of report and (as you probably know) makes some assumptions about the format of the postscript template. I think the barcode labels have another purpose: They identify the media. Before I amlabel a tape, it gets its barcode label. (And amlabel (together with the changer script) reads this and stores it in an internal database. On the other hand the amreport labels are used to list the content of a tape. I use them for the off-site tapes in order to make a bare metal restore (without the index files) easier. So I use both, the barcode labels and the amreport-generated labels. I'd be glad to see this used together with amanda, and it could be good to distribute it together with amanda. But currently I don't see a way to integrate it more closely. Sven -- Sven Rudolph [EMAIL PROTECTED]http://www.sax.de/~sr1/
Re: New Development in Amanda poster available
Dustin J. Mitchell wrote: The poster I'll be presenting at LISA is online at http://www.zmanda.com/pdf/the-new-amanda.pdf If you're at LISA, please do stop by and take a look at the real thing :) Dustin P.S. If anyone would like a copy of the Amanda logo in SVG format, let me know. Awesome poster, Dustin. Knock 'em out. If I can get the gate keeper of our poster printer to let me, I'll print out a copy and put it up in my office. Not that I'll get a huge audience, but, hey, it'll be cool. Normally, people have to pony up $5/sqr ft for glossy color posters, so I may have to make do with a significantly smaller (11x17) non glossy color laser print. --- Chris Hoogendyk - O__ Systems Administrator c/ /'_ --- Biology Geology Departments (*) \(*) -- 140 Morrill Science Center ~~ - University of Massachusetts, Amherst [EMAIL PROTECTED] --- Erdös 4
Re: New Development in Amanda poster available
Chris Hoogendyk wrote: Dustin J. Mitchell wrote: The poster I'll be presenting at LISA is online at http://www.zmanda.com/pdf/the-new-amanda.pdf If you're at LISA, please do stop by and take a look at the real thing :) Dustin P.S. If anyone would like a copy of the Amanda logo in SVG format, let me know. Awesome poster, Dustin. Knock 'em out. ACK :-) I know there is another (better) one around somewhere, but http://catb.org/~esr/writings/taoup/html/graphics/timeline.pdf might be one of them whenever comparing comparing *ix -- amanda :-) Or was it http://www.oshistory.net/metadot/index.pl?id=2165 ? Well done, Dustin ! Cheers, Peter
Re: Some noop questions (RAID with Amanda)
On 11/11/2007, Dustin J. Mitchell [EMAIL PROTECTED] wrote: On 11/11/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Marc's right - this is a configure-time option. Gentoo has some unusual defaults for Amanda's various configure options, although I don't see anything about sysconfdir, or defaulting to /usr/local. Did you build from the ebuild? At first I compiled Amanda from source, but I had some problems so I thought it would be easier to just do the emerge so I deleted everything (I think) and just emerged it. So as you can see it's a mess and I'm not sure about the configuration :)