unable to use tape drive as any other user than root

From: Hardy, Andrew (Andrew.Hardy_at_marks-and-spencer.com)
Date: 01/15/04

  • Next message: Perrier Kent: "SE Toolkit and SunFire v240 bge network interface"
    Date: Thu, 15 Jan 2004 12:45:05 -0000
    To: "sunmanagers" <sunmanagers@sunmanagers.org>
    
    

    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


  • Next message: Perrier Kent: "SE Toolkit and SunFire v240 bge network interface"

    Relevant Pages