sa0 devices disappear after power cycling tape library

Dan Langille dan at langille.org
Sat Mar 15 00:14:19 UTC 2014


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’m sure….

-- 
Dan Langille - http://langille.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20140314/48391a6e/attachment.sig>


More information about the freebsd-stable mailing list