Amanda-Users

Re: read only error on amrestore

2009-10-23 12:21:36
Subject: Re: read only error on amrestore
From: "Dustin J. Mitchell" <dustin AT zmanda DOT com>
To: Christopher <chrismcc AT pricegrabber DOT com>
Date: Fri, 23 Oct 2009 11:55:39 -0400
On Fri, Oct 23, 2009 at 11:01 AM, Christopher <chrismcc AT pricegrabber DOT 
com> wrote:
> I'm running amanda 2.6.1p1 on a rhel 5.4 server.  I am trying to restore
> some files from a ~2 year old archive backup.  Since it is an archive
> backup I have the write protect tab closed on the physical tape.  When I
> try to run amrestore I get:
>
> /usr/sbin/amrestore -p -h /dev/nst0 ...
> amrestore: Error reading volume label: Can't open tape device /dev/nst0:
> Read-only file system.
>
> Why does amrestore want to write to the tape?

>From my answer to Ian 45 minutes ago:

This has been fixed in trunk.  Here's the patch:

http://github.com/djmitche/amanda/commit/c3548dc511152bfacf1b53abb7e452fc7161e2f8

Dustin

-- 
Open Source Storage Engineer
http://www.zmanda.com

<Prev in Thread] Current Thread [Next in Thread>