Networker

Re: [Networker] Cannot write to tape drive -- read only file system?

2004-07-28 12:30:22
Subject: Re: [Networker] Cannot write to tape drive -- read only file system?
From: Byron Servies <bservies AT PACANG DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Wed, 28 Jul 2004 09:30:07 -0700
On Jul 28, 2004, at 7:56 AM, George Sinclair wrote:

Hi,

I enabled a previously disabled device last night. This is a Seagate
LTO
gen. 1 drive. There are 4 drives (/dev/nst0-4) in this Storagetek L80.
Anyway, I come in this morning to discover that NetWorker apparently
thinks /dev/nst0 is a read-only device. There were a lot of messages in
the log file indicating that /dev/nst0 is a read-only file system, so
it
was unable to write to any tapes using that device. I checked the
device
configuration under nwadmin, and it was 'Enabled' and 'Read only' was
set to 'no'. Not sure about 'Write enabled' since that's listed under
details so may not have set that last night before going home. Anyway,
I
set it to 'Yes' this morning, but as soon as I tried to label a tape in
that drive, same error:

Wed 10:34:26 AM rd=snode:/dev/nst0 Label without mount operation in
progress
Wed 10:34:28 AM media warning: rd=snode:/dev/nst0 opening: Read-only
file system
Wed 10:35:28 AM rd=snode:/dev/nst0 write open error, Read-only file
system

Because that is the error it received from the operating system when it
tried to open the tape device.  The string 'Read-only file system'
probably also came from libc, not NetWorker.

As previously mentioned, the tape might be write protected, or the
permissions on the tape device might have been changed (ls -l /dev/nst0
to check).

Byron

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=