Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Label Write Permission Denied

Status
Not open for further replies.

mletendre

Technical User
Dec 30, 2008
158
US
Trying to help a colleague who is havng the following issue in Legato Networker 7.4

They have about 75 3592 tapes, some (around 5) initialize no problem. the rest seem to error out. The tapes are scanned in and then a tape is mounted to the drive, then the error "label Write Permission Denied" occurs

He stated he looked at the messages and only saw NSR MMSD Assumes Volume unlabeled and will initialize, as it should.
 
Either the tape cartridge has the write protect tab on, or something is at the beginning of the tape that makes NetWorker think the tape is read only.

Before NetWorker will label any tape, it will try to see if there is a NetWorker tape label. This is done by reading the first 64 KB of tape.

If your friend's intention is to label these tapes regardless of what is on them, the you can first try to wipe out (erase) the beginning of the tape. One command that you can use is the NetWorker command erase:

erase -s -r -a b.t.l

where b.t.l is the bus, target, and lun number address of the device. Use inquire to determine this.

Another NetWorker command that will erase data on tape is tapeexercise. For example:

(windows) tapeexer -vB \\.\Tape0
(unix) tapeexercise -vB /dev/nst0


Other commands that can also erase tape is the mt utility.

You will need to combine this with some way to load the tape into the drive. This can be done using some utility such as the:

sjimm b.t.l source target
nsrjb -lnv -S (slot)

Check the NetWorker man pages for description on how to use these commands.

Good luck.
 
I believe these tapes were purchased as previously labeled and initialized, however they were put onto a drive and used the drive's make data tape/ unmake data tape withing the engineers control panel. Should that have corrected this?

Also is it possible to have the tape supplier label and initialize these tapes for Legato?
 
I tried the erase command and got permission denied and then I tried a tapeexercise –vB, the tape mounted, rewinded opened for read/write and received message

9117:tapeexercise:

Errno: 13 permission denied



Not sure if my tech has admin priveleges to actually erase the tape
 
more info

7.4 sp2 for networker

The firmware level varies on the 12 drives (3592 e05)

1dd1

1e0b

1c93
 
Erasing the tape is not related to NetWorker operations.

erase and tapeexercise would, or should, work even if NetWorker was not started.

If it is a Unix system, the "dd" utility can also be used.

mt -f /dev/rmt/0cbn rewind
dd if=/dev/zero of=/dev/rmt/0cbn bs=32k count=10

Try using a privileged account, and make sure that there is no other user or application using the drive at the time.
 
I tried erasing the tapes with other software and it still gives the same error. New tapes seem to work fine. Tapes we have erased for what ever reason give these errors.

I did not try the dd utility because the UNIX guy simply does not have time. I have tried the previous one which gave an error, I then tried using Tapewise to erase. The erase completed fine, but still gave an error when my colleauge put it in Networker

Here is the error:

cancellation: none;

completion code: ;

error message: "label write, Permission denied";

last update: 1276278782;

messages: nsrmmgd assumes the volume is unlabeled and will write a new label.,

"Operation `Label without mount' in progress on device `rd=legatodmz:/dev/rmt/1stcbn'",

"Label: `I09733', pool: `Default', capacity: `<NULL>'.",

"Operation `Eject' in progress on device `rd=legatodmz:/dev/rmt/1stcbn'";

name: IBM-3584;

operation instance: 3469;

operation source: GUI jb op;

progress: failed;

prompt response: ;

prompt: ;

start time: 1276278687;

status: failed

 
Not sure if it matters, these are 3592 E05 drives. When I erased the tapes I made sure they were done in an E05 drive, and I checked the chip and it stated it was an e05 density.
 
They sent me 2 tapes which I received today, these were tapes that they said worked and did not give that error, and I tried using Tapewise, Novastor and another program and could not read an initialization on these tapes.

I called back and asking if these were indeed initialized and the response I received was:
"I placed the two tapes into my library, deposited them and labeled them to a Default Pool thru Networker. I am not sure if it does “initialization” but by doing the label command it makes my tapes ready to be written on
 
is there a possibility that int he Unix system it has an option to deny permission to write over these tapes because it shows them as possibly being used before?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top