Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Cannot eject tape from LTO device

Hybrid View

  1. #1

    Question Cannot eject tape from LTO device

    Hi,

    It seems I cannot eject the tape from the LTO-2 device using:

    Code:
    # eject /dev/nst0
    eject: /dev/nst0: not found mountpoint or device with the given name
    Same with options such as: -F, -s, -m, -a (on|off).

    This has always worked in openSUSE 12.2 (without any options) however now that I tried on Leap 42.1 it doesn't. I am running the command as root of course.

    The hardware is:

    Code:
    # lspci
    ...
    04:04.0 SCSI storage controller: Adaptec ASC-29320ALP U320 (rev 10)
    ...
    
    # lsscsi
    ...
    [8:0:3:0]    tape    IBM      HH LTO Gen 2     0468  /dev/st0
    How can I make the eject command work in Leap?

  2. #2
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,050

    Default Re: Cannot eject tape from LTO device

    On Sat, 28 Nov 2015 23:56:01 +0000, heyjoe wrote:

    > Code:
    > --------------------
    > # lspci
    > ...
    > 04:04.0 SCSI storage controller: Adaptec ASC-29320ALP U320 (rev 10)
    > ...
    >
    > # lsscsi ...
    > [8:0:3:0] tape IBM HH LTO Gen 2 0468 /dev/st0
    >
    > --------------------
    >
    >
    > How can I make the eject command work in Leap?


    Maybe try using /dev/st0 instead of /dev/nst0?

    Jim



    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  3. #3
    Join Date
    Dec 2009
    Location
    Menominee, Michigan
    Posts
    55

    Default Re: Cannot eject tape from LTO device

    Your tape drive seems to be located at /dev/st0 as indicated:
    Code:
    # lsscsi
    ...
    [8:0:3:0]    tape    IBM      HH LTO Gen 2     0468  /dev/st0
    Mark

  4. #4

    Default Re: Cannot eject tape from LTO device

    Tried everything. No luck.

    Code:
    # l /dev/tape/by-id/*
    lrwxrwxrwx 1 root root  9 Nov 29 11:50 /dev/tape/by-id/scsi-1IBM_HH_LTO_Gen_2_2000ACD7 -> ../../st0
    lrwxrwxrwx 1 root root 10 Nov 29 11:50 /dev/tape/by-id/scsi-1IBM_HH_LTO_Gen_2_2000ACD7-nst -> ../../nst0
    # l /dev/tape/by-path/
    total 0
    drwxr-xr-x 2 root root 80 Nov 29 11:50 ./
    drwxr-xr-x 4 root root 80 Nov 29 11:50 ../
    lrwxrwxrwx 1 root root  9 Nov 29 11:50 pci-0000:04:04.0-scsi-0:0:3:0 -> ../../st0
    lrwxrwxrwx 1 root root 10 Nov 29 11:50 pci-0000:04:04.0-scsi-0:0:3:0-nst -> ../../nst0
    # eject /dev/st0
    eject: /dev/st0: not found mountpoint or device with the given name
    # eject /dev/nst0
    eject: /dev/nst0: not found mountpoint or device with the given name
    # eject /dev/tape/by-id/scsi-1IBM_HH_LTO_Gen_2_2000ACD7
    eject: /dev/st0: not found mountpoint or device with the given name
    # eject /dev/tape/by-id/scsi-1IBM_HH_LTO_Gen_2_2000ACD7-nst
    eject: /dev/nst0: not found mountpoint or device with the given name
    # eject /dev/tape/by-path/pci-0000:04:04.0-scsi-0:0:3:0
    eject: /dev/st0: not found mountpoint or device with the given name
    # eject /dev/tape/by-path/pci-0000:04:04.0-scsi-0:0:3:0-nst
    eject: /dev/nst0: not found mountpoint or device with the given name

  5. #5
    Join Date
    Jun 2008
    Location
    Belleville, Ontario, Canada
    Posts
    439

    Default Re: Cannot eject tape from LTO device

    What do the "mount" and "fdisk -l" commands give you?
    "Making rich people richer doesn't make the rest of us richer."
    Ha-Joon Chang

    openSUSE 15.0 4.12.14-lp150.12.45-default x64

  6. #6

    Default Re: Cannot eject tape from LTO device

    Quote Originally Posted by kerijan2003 View Post
    What do the "mount" and "fdisk -l" commands give you?
    Nothing related to the tape device: http://paste.opensuse.org/5636cc76

    fdisk shows only the hard drives partitions.

    I mount and umount the tape using Bareos (previously Bacula) bconsole commands for that, i.e. not through bash. However after a umount in bconsole I have always been able to eject /dev/nst0 (or st0 which is the same) in my older system.

  7. #7
    Join Date
    Sep 2012
    Posts
    5,034

    Default Re: Cannot eject tape from LTO device

    Quote Originally Posted by kerijan2003 View Post
    What do the "mount" and "fdisk -l" commands give you?
    For tapes​?!? Amusing ...

  8. #8
    Join Date
    Jun 2008
    Location
    Belleville, Ontario, Canada
    Posts
    439

    Post Re: Cannot eject tape from LTO device

    Quote Originally Posted by arvidjaar View Post
    For tapes​?!? Amusing ...

    LOL Completely forgot about that.
    "Making rich people richer doesn't make the rest of us richer."
    Ha-Joon Chang

    openSUSE 15.0 4.12.14-lp150.12.45-default x64

  9. #9

    Default Re: Cannot eject tape from LTO device

    No reply from IBM at all.

    I hope someone here can help.

  10. #10

    Default Re: Cannot eject tape from LTO device

    Where/who should I ask?

Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •