SUMMARY: unable to use tape drive as any other user than root

From: Hardy, Andrew <Andrew.Hardy_at_marks-and-spencer.com>
Date: Thu Jan 15 2004 - 11:24:33 EST
Thanks to everyone who replied:

Jay Lessert
Paul Greidanus
Bertrand Hutin
Dom Clermont
Lewis Handy
Steve Edberg
Joe Fletcher
Adrian Meier

The answer was actually simple to fix.......

I changed permissions to the block device & everything now works okay.

I just wasn't sure that changing permissions to block devices, would not cause
problems.

I would however, be interested in knowing the possible cause of why these
permissions should have changed since the original OS install. Netbackup is
the only thing I can think of !  If anybody knows of any possible reason, then
drop me a line & I'll provide another summary.

Many Thanks

Andy Hardy



> -----Original Message-----
> From:	Hardy, Andrew
> Sent:	15 January 2004 12:45
> To:	'sunmanagers'
> Subject:	unable to use tape drive as any other user than root
>
>
> I recently uninstalled Veritas Netbackup from an E3500, which was also
previously attached to a tape robot.
> I have since attached a single DLT7000 tape drive onto the server, but am
unable to write or get the status of the drive, by any user other than
"root".
> I need to be able to do backups to this device, as user "oracle".
>
> I have replaced the st.conf file, back to it's original state, from before
the Netbackup installation.
> Does anyone know if this is related to the previous Netbackup installation
and / or know of any fixes ?
> If I attach this device to a different server I can then run a status to
this device as any user.
>
> Many Thanks
>
> Andy Hardy
>
>
>
> As root user:
>
> mt -f /dev/rmt/0 status
>
> Sun DLT7000 tape drive:
> sense key(0x6)= Unit Attention   residual= 0   retries= 0
> file no= 0   block no= 0
>
>
> As oracle user:
>
> mt -f /dev/rmt/0 status
>
> /dev/rmt/0: write protected or reserved
>
>
>
>
>
>
>
>
>
>


-----------------------------------------------------------------------


Registered Office:
Marks & Spencer p.l.c
Michael House, Baker Street,
London, W1U 8EP
Registered No. 214436 in England and Wales.

Telephone (020) 7935 4422
Facsimile (020) 7487 2670

www.marksandspencer.com

Please note that electronic mail may be monitored.

This e-mail is confidential. If you received it by mistake, please let us know
and then delete it from your system; you should not copy, disclose, or
distribute its contents to anyone nor act in reliance on this e-mail, as this
is prohibited and may be unlawful.

The registered office of Marks and Spencer Financial Services PLC, Marks and
Spencer Unit Trust Management Limited, Marks and Spencer Life Assurance
Limited and Marks and Spencer Savings and Investments Limited is Kings Meadow,
Chester, CH99 9FB. These firms are authorised and regulated by the Financial
Services Authority.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Jan 15 11:24:22 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:25 EST