From owner-freebsd-stable@FreeBSD.ORG Sat Mar 15 00:14:18 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CCCF4C26 for ; Sat, 15 Mar 2014 00:14:18 +0000 (UTC) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9D4A5F88 for ; Sat, 15 Mar 2014 00:14:18 +0000 (UTC) Received: from nyi.unixathome.org (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id 190C35083F for ; Sat, 15 Mar 2014 00:14:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by nyi.unixathome.org (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ff_fXBmRYFd4 for ; Sat, 15 Mar 2014 00:14:06 +0000 (UTC) Received: from smtp-auth.unixathome.org (smtp-auth.unixathome.org [10.4.7.7]) (Authenticated sender: hidden) by nyi.unixathome.org (Postfix) with ESMTPSA id 9D16A50830 for ; Sat, 15 Mar 2014 00:14:06 +0000 (UTC) From: Dan Langille Content-Type: multipart/signed; boundary="Apple-Mail=_48977F0F-4D58-4B76-8C8C-58FF42316178"; protocol="application/pgp-signature"; micalg=pgp-sha1 Subject: sa0 devices disappear after power cycling tape library Message-Id: Date: Fri, 14 Mar 2014 20:14:09 -0400 To: freebsd-stable@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) X-Mailer: Apple Mail (2.1874) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Mar 2014 00:14:19 -0000 --Apple-Mail=_48977F0F-4D58-4B76-8C8C-58FF42316178 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 I have a tape library which acts up from time to time and I power cycle = it. After running camcontrol devlist rescan, some of the devices are missing This what I see in dev after power cycling the FreeBSD 9.2 server: $ ls *sa* lrwxr-xr-x 1 root wheel 6 Mar 8 02:12 esa0 -> esa0.0 crw-rw---- 1 root operator 0x70 Mar 8 02:12 esa0.0 crw-rw---- 1 root operator 0x76 Mar 8 02:12 esa0.1 crw-rw---- 1 root operator 0x79 Mar 8 02:12 esa0.2 crw-rw---- 1 root operator 0x7c Mar 8 02:12 esa0.3 crw-rw---- 1 root operator 0x75 Mar 8 02:12 nsa0.1 crw-rw---- 1 root operator 0x78 Mar 8 02:12 nsa0.2 crw-rw---- 1 root operator 0x7b Mar 8 02:12 nsa0.3 crw-rw---- 1 root operator 0x74 Mar 8 02:12 sa0.1 crw-rw---- 1 root operator 0x77 Mar 8 02:12 sa0.2 crw-rw---- 1 root operator 0x7a Mar 8 02:12 sa0.3 This is what I see after rebooting the FreeBSD server: $ ls -l *sa* lrwxr-xr-x 1 root wheel 6 Mar 15 00:09 esa0 -> esa0.0 crw-rw---- 1 root operator 0x70 Mar 15 00:09 esa0.0 crw-rw---- 1 root operator 0x76 Mar 15 00:09 esa0.1 crw-rw---- 1 root operator 0x79 Mar 15 00:09 esa0.2 crw-rw---- 1 root operator 0x7c Mar 15 00:09 esa0.3 lrwxr-xr-x 1 root wheel 6 Mar 15 00:09 nsa0 -> nsa0.0 crw-rw---- 1 root operator 0x6f Mar 15 00:09 nsa0.0 crw-rw---- 1 root operator 0x75 Mar 15 00:09 nsa0.1 crw-rw---- 1 root operator 0x78 Mar 15 00:09 nsa0.2 crw-rw---- 1 root operator 0x7b Mar 15 00:09 nsa0.3 lrwxr-xr-x 1 root wheel 5 Mar 15 00:09 sa0 -> sa0.0 crw-rw---- 1 root operator 0x6e Mar 15 00:09 sa0.0 crw-rw---- 1 root operator 0x74 Mar 15 00:09 sa0.1 crw-rw---- 1 root operator 0x77 Mar 15 00:09 sa0.2 crw-rw---- 1 root operator 0x7a Mar 15 00:09 sa0.3 crw-rw---- 1 root operator 0x6d Mar 15 00:09 sa0.ctl Should I just do some ln -s? Something easier, I=92m sure=85. --=20 Dan Langille - http://langille.org --Apple-Mail=_48977F0F-4D58-4B76-8C8C-58FF42316178 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlMjm1EACgkQCgsXFM/7nTzEfwCgozUAfJFUkLftQ383iC52BCQE nRwAoMOt50mIwUqiKDrP4k4ZIjA8X4XF =89xD -----END PGP SIGNATURE----- --Apple-Mail=_48977F0F-4D58-4B76-8C8C-58FF42316178--