From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,b35418a3aae4b483 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-11-14 22:00:45 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!pc1-rdng3-3-cust244.winn.cable.ntl.COM!not-for-mail From: "Adam Price" Newsgroups: comp.unix.tru64 Subject: Re: munged /dev files Date: Fri, 15 Nov 2002 06:01:12 -0000 Message-ID: References: NNTP-Posting-Host: pc1-rdng3-3-cust244.winn.cable.ntl.com (80.5.157.244) X-Trace: fu-berlin.de 1037340043 15300316 80.5.157.244 (16 [138239]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Xref: archiver1.google.com comp.unix.tru64:9135 In news:rgt1ra.pap.ln@cc49395-b.wodhvn01.mi.comcast.net ,Stuart Fuller 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