Welcome! » Log In » Create A New Profile

vault from aggregate changer to tape

Posted by Stefan G. Weichinger 
Stefan G. Weichinger
vault from aggregate changer to tape
November 27, 2017 03:59AM
I try to set up this:

1) storage "vtape" : an aggregate changer running 2 external disks

plus : allow-missing-changer yes -> one external disk is out of the
building ...

2) storage "band" : a tapedrive

I want to transfer fulls from vtapes to tape, dryrun shows DLEs:

$ amvault --latest-fulls --src-storage vtape --dest-storage band
vtape --src-timestamp 20171110231503 server --dry-run
mount: can't find UUID=5a5a9927-995f-4f0f-98ff-d222561f84ff

vtape-002-001 2 server /etc 20171110231503 0 1660.8408203125
vtape-002-001 4 server /var 20171110231503 0 454266.641601562
vtape-002-001 6 server alte_klienten 20171110231503 0 691883.500976562
vtape-002-001 12 server daten_1 20171110231503 0 25933110.8994141
vtape-002-001 14 server daten_2 20171110231503 0 24173246.1152344

that vtape-002-001 is on the external disk which is currently attached,
but without "dry-run" this fails:

$ amvault --fulls-only --src-storage vtape --dest-storage band vtape
--src-timestamp 20171110231503 server
mount: can't find UUID=5a5a9927-995f-4f0f-98ff-d222561f84ff
No acceptable volumes found

To me it seems that amvault can't handle the fact that one of the two
changers within tp-aggregate isn't attached?

I think this should work, though.

Jean-Louis?
This message was imported via the External PhorumMail Module
Jean-Louis Martineau
Re: vault from aggregate changer to tape
November 27, 2017 03:59AM
Stefan,

Which disk is UUID=5a5a9927-995f-4f0f-98ff-d222561f84ff, why amanda
can't mount it?

The 'No acceptable volumes found' message is from which storage? Are you
sure you have a tape in band that amanda can use?
You can run 'amcheck CONFIG -t -ostorage=band' to find it.

Jean-Louis

On 27/11/17 06:20 AM, Stefan G. Weichinger wrote:
> I try to set up this:
>
> 1) storage "vtape" : an aggregate changer running 2 external disks
>
> plus : allow-missing-changer yes -> one external disk is out of the
> building ...
>
> 2) storage "band" : a tapedrive
>
> I want to transfer fulls from vtapes to tape, dryrun shows DLEs:
>
> $ amvault --latest-fulls --src-storage vtape --dest-storage band
> vtape --src-timestamp 20171110231503 server --dry-run
> mount: can't find UUID=5a5a9927-995f-4f0f-98ff-d222561f84ff
>
> vtape-002-001 2 server /etc 20171110231503 0 1660.8408203125
> vtape-002-001 4 server /var 20171110231503 0 454266.641601562
> vtape-002-001 6 server alte_klienten 20171110231503 0 691883.500976562
> vtape-002-001 12 server daten_1 20171110231503 0 25933110.8994141
> vtape-002-001 14 server daten_2 20171110231503 0 24173246.1152344
>
> that vtape-002-001 is on the external disk which is currently attached,
> but without "dry-run" this fails:
>
> $ amvault --fulls-only --src-storage vtape --dest-storage band vtape
> --src-timestamp 20171110231503 server
> mount: can't find UUID=5a5a9927-995f-4f0f-98ff-d222561f84ff
> No acceptable volumes found
>
> To me it seems that amvault can't handle the fact that one of the two
> changers within tp-aggregate isn't attached?
>
> I think this should work, though.
>
> Jean-Louis?
>
>
This message is the property of CARBONITE, INC. and may contain confidential or privileged information.
If this message has been delivered to you by mistake, then do not copy or deliver this message to anyone. Instead, destroy it and notify me by reply e-mail
This message was imported via the External PhorumMail Module
Stefan G. Weichinger
Re: vault from aggregate changer to tape
November 27, 2017 04:59AM
Am 2017-11-27 um 12:48 schrieb Jean-Louis Martineau:
> Stefan,
>
> Which disk is UUID=5a5a9927-995f-4f0f-98ff-d222561f84ff, why amanda
> can't mount it?

I mentioned it: one external disk is attached, the other one is out of
office. It can't be mounted because it is currently stored off-site.

I agree: if I want to vault all FULLs from storage "vtape" I have to
attach both drives at the same time ... for now it's testing and I play
with only subsets (single servers/DLEs).

> The 'No acceptable volumes found' message is from which storage? Are you
> sure you have a tape in band that amanda can use?
> You can run 'amcheck CONFIG -t -ostorage=band' to find it.

ah, OK, it seems that my autolabel doesn't work (it didn't force writing
the label over the "amtapetype"-label that was currently there).

I had to label the tape in "band" first (manually via amlabel, wasn't
done via autolabel) now my amvault command starts vaulting.

Thanks for that.

Suggestion: could there be additional info as maybe:

storage "band": No acceptable volumes found

?

That would make things easier, right?

thanks, regards, Stefan
This message was imported via the External PhorumMail Module
Winston Sorfleet
Re: vault from aggregate changer to tape
November 27, 2017 05:59AM
I've been having a devil of a time trying to get a similar configuration working since 3.4.5. Could you post a copy of your working config?

On November 27, 2017 7:02:04 AM EST, "Stefan G. Weichinger" <sgw@amanda.org> wrote:
>Am 2017-11-27 um 12:48 schrieb Jean-Louis Martineau:
>> Stefan,
>>
>> Which disk is UUID=5a5a9927-995f-4f0f-98ff-d222561f84ff, why amanda
>> can't mount it?
>
>I mentioned it: one external disk is attached, the other one is out of
>office. It can't be mounted because it is currently stored off-site.
>
>I agree: if I want to vault all FULLs from storage "vtape" I have to
>attach both drives at the same time ... for now it's testing and I play
>with only subsets (single servers/DLEs).
>
>> The 'No acceptable volumes found' message is from which storage? Are
>you
>> sure you have a tape in band that amanda can use?
>> You can run 'amcheck CONFIG -t -ostorage=band' to find it.
>
>ah, OK, it seems that my autolabel doesn't work (it didn't force
>writing
>the label over the "amtapetype"-label that was currently there).
>
>I had to label the tape in "band" first (manually via amlabel, wasn't
>done via autolabel) now my amvault command starts vaulting.
>
>Thanks for that.
>
>Suggestion: could there be additional info as maybe:
>
>storage "band": No acceptable volumes found
>
>?
>
>That would make things easier, right?
>
>thanks, regards, Stefan

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
This message was imported via the External PhorumMail Module
Stefan G. Weichinger
Re: vault from aggregate changer to tape
November 27, 2017 09:59AM
Am 2017-11-27 um 14:43 schrieb Winston Sorfleet:
> I've been having a devil of a time trying to get a similar configuration
> working since 3.4.5. Could you post a copy of your working config?

I could but I would prefer to maybe start some kind of howto or
collection of examples that might go into the docs.

There are many bits of knowledge spread over dozens of mails in the
mailing list ... maybe we could get some document ready with stuff like
that? I will think about the best way to start that. A file in my
amanda-fork on github?

Stefan
This message was imported via the External PhorumMail Module
Sorry, only registered users may post in this forum.

Click here to login