From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653652421611.tru64-unix-managers.marc@archive.invalid> From: Hoai TRAN Date: Sun, 01 Jul 2001 23:31:12 +0000 To: tru64-unix-managers Subject: SUMMARY: Create Tape Devices X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653652421611 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--=_03590ADD.85E499BA" This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=_03590ADD.85E499BA Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Original post Hi, When I run scu show edt, parts of the output show Device: DATA ROUTER Bus: 6, Target: 4, Lun: 0, Type: Array Controller Device: TZ89 Bus: 6, Target: 4, Lun: 5, Type: Sequential Access Device: TZ89 Bus: 6, Target: 4, Lun: 6, Type: Sequential Access =20 When I trry MAKEDEV tzf52, it can not create the device with the following = error: # ./MAKEDEV tzf52 MAKEDEV: special file(s) for tzf52:=20 MAKEDEV: unknown device in: tzf52 Solution: Sorry for being late and thanks to all who responded especially Alan who = pointed out that MAKEDEV does not create non-zero LUN tape devices and I = am attaching his reply for completeness. In the end, I had to do what = Alan suggested and created the devices using mknod using the following = formula and all now work: (LUN x 64) + (Target ID x 1024) + (Bus # x 16384) + (Density x 2) + rewind where rewind =3D 0 no_rewind =3D 1 Density: low =3D (0x2) high =3D (1x2) med =3D (2x2) aux =3D (3x2) Regards, Hoai Tran Privileged or confidential information may be contained in this message. If you are not the addressee indicated in this message (or responsible for the delivery of the message to such person) you must not copy, deliver, use or disclose this message to anyone. In such case, please destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer does not consent to Internet email for messages of this kind. Opinions, conclusions views and other information in this message that do not relate to the official business of FreightCorp are the views of the individual sender and shall be understood as neither given nor endorsed by FreightCorp. --=_03590ADD.85E499BA Content-Type: message/rfc822 Received: from zmamail03.zma.compaq.com by mail.freightcorp.com.au; Wed, 27 Jun 2001 04:23:09 +1000 Received: by zmamail03.zma.compaq.com (Postfix, from userid 12345) id E96EDA1A9; Tue, 26 Jun 2001 14:23:02 -0400 (EDT) Received: from taynzmail03.nz-tay.cpqcorp.net (taynzmail03.nz-tay.cpqcorp.net [16.47.4.103]) by zmamail03.zma.compaq.com (Postfix) with ESMTP id A7302A18F for ; Tue, 26 Jun 2001 14:23:02 -0400 (EDT) Received: by taynzmail03.nz-tay.cpqcorp.net (Postfix, from userid 12345) id 69FAA6DC; Tue, 26 Jun 2001 14:23:02 -0400 (EDT) Received: from nabeth.cxo.dec.com (nabeth.cxo.dec.com [16.82.16.67]) by taynzmail03.nz-tay.cpqcorp.net (Postfix) with SMTP id ECFE5576 for ; Tue, 26 Jun 2001 14:23:01 -0400 (EDT) Received: by nabeth.cxo.dec.com (5.65/fma-100391); id AA20280; Tue, 26 Jun 2001 12:27:19 -0600 Message-Id: <10106261827.AA20280@nabeth.cxo.dec.com> To: Hoai TRAN Subject: Re: Create Tape Devices In-Reply-To: Your message of "Tue, 26 Jun 01 00:00:00." Date: Tue, 26 Jun 101 12:27:14 -0600 From: alan@nabeth.cxo.dec.com X-Mts: smtp I don't think any version of MAKEDEV supports tapes at non-zero logical unit numbers. My limited experience with non-zero tape LUNs is that a reboot will create them. You can also read the tz and SCSI manual page to see how to construct the minor device numbers for tapes and use mknod by hand. --=_03590ADD.85E499BA--