Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2014 20:14:09 -0400
From:      Dan Langille <dan@langille.org>
To:        freebsd-stable@freebsd.org
Subject:   sa0 devices disappear after power cycling tape library
Message-ID:  <D68DD8CE-AE45-459F-8F38-8AEF91059470@langille.org>

next in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D68DD8CE-AE45-459F-8F38-8AEF91059470>