sa0 devices disappear after power cycling tape library

Mark Saad nonesuch at longcount.org
Sat Mar 15 01:29:36 UTC 2014



> On Mar 14, 2014, at 8:14 PM, Dan Langille <dan at langille.org> wrote:
> 
> 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….
> 


Have you tried a camcontrol rescan ? Also what does camcontrol devlist -v   show before and after the reboot ? 

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


Mark saad | mark.saad at longcount.org 


More information about the freebsd-stable mailing list