On Fri, Jun 20, 2003 at 05:23:15PM -0500, FM Taylor wrote:
After an upgrade all of my /dev/rmt/devices are now
/dev/scsi/sequential/devices. That in itself was no problem.
Oh, yes it is!
/dev/rmt/0n (or whatever) *better* point to st(7D) device entries, NOT
sgen(7D) sequential entries.
Someone has recently fiddled with /kernel/drv/sgen.conf, put
some sequential entries in, then managed to flush the pre-existing
/dev/rmt entries somehow. It took some work. And now you
get to undo it!
However, I am now getting this strange error, and I don't know how to
fix it.
tape_rdlabel: tape open: 0: No such file or directory
The sgen(7D) driver is *not* a superset of st(7D). It is nice to
have sgen devices around for tapeinfo, but you cannot use them
for dd, tar, cpio, ufsdump, etc. Probably not even for mt.
Pull the sequential entries out of sgen.conf, 'rem_drv sgen', and
'add_drv sgen' (to put your changer entries back).
Now (I think, haven't done this lately), you just 'devfsadm -C -v -c tape'.
Good luck!