From: mike@dvfmv.com (Mike Robinson)
Subject: Re: munged /dev files
Date: 19 Nov 2002 09:32:21 -0800 [thread overview]
Message-ID: <a7da9306.0211190932.25645132@posting.google.com> (raw)
In-Reply-To: ar22ia$eitms$1@ID-138239.news.dfncis.de
"Adam Price" <adam+usenet@pappnase.co.uk> wrote in message news:<ar22ia$eitms$1@ID-138239.news.dfncis.de>...
> In news:rgt1ra.pap.ln@cc49395-b.wodhvn01.mi.comcast.net
> ,Stuart Fuller <stufuller@usa.net> said:
> > Mike Robinson wrote:
> >
> >> Greetings,
> >>
> >> I think I managed to corrupt my /dev/rmt0h file (got the order
> >> reversed in a tar command). The tape is a DEC TLZO7-DA at SCSI id 5.
> >> From looking at some older posts, I think the fix is to remove the
> >> existing rmt file, then run MAKEDEV tz5. Is that correct, and is a
> >> reboot required?
> >>
> >> Thanks,
> >> Mike
> >
> > Yes, and No.
> >
> > Note that when you remove the existing rmt file, remember that there
> > are several of them (rmt0h, nrmt0h, rmt0l, nrmt0l, etc.; look for
> > /dev/*rmt*) and you should remove all of them before running MAKEDEV.
> >
> > Stu
> Nooooo... *rmt0* otherwise wou will remove all the other tape devices
> on the system rmt1 rmt2 etc....
>
> Oh and I assume that the current tape drive is on bus 0 otherwise you need
> to do a little work for that. (8 * bus + target)
>
> If you already did the rm *rmt* thing then scsimgr -scan_all should sort
> you out.
> Hope this helps
> Adam
Stu & Adam,
Thanks for the tips. Running MAKEDEV tz5 did "complain" about the
other files existing, but did create a new rmt0h. I think I may have
to remove all the rmts, as I think my other tape is fouled up too.
Without having removed anything yet, running scsimgr -scan_all
produced the message: "ITPSA1: SCSI Bus was reset" 5 times in the
Console log, and nothing to stdout. From reading the man page for
scsimgr, it looks like if I remove *rmt*, then run scsimgr -scan_all,
scsimgr will call MAKEDEV and create the proper dev files. Which Adam
has pointed out. I'm guessing that after running scsimgr -scan_all, I
would then need to run scsimgr -sync in lieu of rebooting?
Thanks again,
Mike
prev parent reply other threads:[~2002-11-19 17:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-15 0:05 munged /dev files Mike Robinson
2002-11-15 4:34 ` Stuart Fuller
2002-11-15 6:01 ` Adam Price
2002-11-19 17:32 ` Mike Robinson [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox