From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 109989 invoked by alias); 22 Jun 2018 12:34:00 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 108958 invoked by uid 89); 22 Jun 2018 12:33:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.8 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=density, rewind, ONLINE, H*u:38.0 X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 22 Jun 2018 12:33:58 +0000 Received: from serv6.diotec.net ([217.7.234.70]) by mrelayeu.kundenserver.de (mreue007 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MNiRi-1fZ6Ph0BC6-007GNW for ; Fri, 22 Jun 2018 14:33:55 +0200 Received: from [192.168.14.2] (PC17-06.diotec.net [192.168.14.2]) (Authenticated sender: timo) by serv6.diotec.net (Postfix) with ESMTPA id 677D421C6A5F for ; Fri, 22 Jun 2018 14:33:54 +0200 (CEST) To: cygwin@cygwin.com From: Timo Maier Subject: mt LTO 6 Unknown type of tape device AND online status not correct Message-ID: <5B2CECB2.3080101@diotec.com> Date: Fri, 22 Jun 2018 17:47:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-06/txt/msg00248.txt.bz2 Hello, the following is done with: mt V2.5.2, Corinna Vinschen, Aug 26 2013 I have a Quantum LTO 6 Tape Drive (QUANTUM_ULTRIUM-HH6) which works in general with the latest cygwin64. I can use mt to rewind or eject and tar can write and read the tape. Before starting to write I want to check if the tape is ready with "status", but no matter if the tape is in or not, status always says ONLINE. Can anyone help, please? Thanks in advance. *************** C:\Tools\cygwin64\bin>mt -f /dev/nst0 status 3 drive type : 01 (Unknown type of tape device) tape capacity : 2328305664 KB remaining : 1651876953 KB current file : 0 active partition : 0 current block : 0 cur logical block: 0 General status bits on (410b0000): BOT ONLINE IM_REP_EN HW_ECC HW_COMP min block size : 1 max block size : 1048576 def block size : 65536 cur block size : 0 density code : 00 (default) Drive(r) Capabilities: ---------------------- fixed length blocks : yes var length blocks : yes set block size : yes fixed partitioning : yes select partitioning : yes initiator partitioning : yes get logical blockno : yes logical block spacing : yes get absolute blockno : no absolute block spacing : no logical block immediate : yes absolute block immediate : no relative block spacing : yes backward spacing : yes immediate rewind : yes fast EOM spacing : yes immediate spacing : no write marks immediate : yes filemark spacing : yes write filemarks : yes write long filemarks : no write short filemarks : no report setmarks : no setmark spacing : no write setmarks : no set report setmarks : no sequential filemarks : no sequential setmarks : no load and unload : yes un/load immediate : yes lock and unlock : yes un/lock immediate : no tape retension : no retension immediate : no erase on bop only : no erase immediately : yes long erase : yes short erase : yes sw ejects media : yes report write protection : yes report EOT warn size : no set EOT warn size : no data padding : no set data padding : no returns capacity : yes returns remaining : yes hw error correction : yes set hw error correction : no hw compression : yes set compression : yes set comp. on bop only : no report cleaning request : yes C:\Tools\cygwin64\bin>mt -f /dev/nst0 status Unknown type of tape device tape drive: File number=0, block number=0, partition=0 Tape block size 0 bytes. Density code 0x00 (default). Soft error count since last status=0 General status bits on (410b0000): BOT ONLINE IM_REP_EN C:\Tools\cygwin64\bin>mt -f /dev/nst0 rewoffl (Tape rewinds and is being ejected) C:\Tools\cygwin64\bin>mt -f /dev/nst0 status Unknown type of tape device tape drive: File number=-1, block number=-1, partition=0 Tape block size 0 bytes. Density code 0x00 (default). Soft error count since last status=0 General status bits on (10b0000): ONLINE IM_REP_EN -- Timo -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple