From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 1164f8,5289e984584236e0 X-Google-NewGroupId: yes X-Google-Attributes: gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder.news-service.com!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!news.envia-tel.net!news.freibergnet.de!not-for-mail From: holm@unicorn.tsht.lan (Holm Tiffe) Newsgroups: comp.sys.dec Subject: Re: RSX11 Tape file Structure? Date: Sat, 26 Feb 2011 18:32:06 +0000 (UTC) Organization: FreibergNet IT Systems Message-ID: References: <4D6623BF.7030408@softjar.se> NNTP-Posting-Host: dslb-188-103-155-224.pools.arcor-ip.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.freibergnet.de 1298745126 10703 188.103.155.224 (26 Feb 2011 18:32:06 GMT) X-Complaints-To: news@freibergnet.de NNTP-Posting-Date: Sat, 26 Feb 2011 18:32:06 +0000 (UTC) X-Newsreader: knews 1.0b.1 Xref: g2news1.google.com comp.sys.dec:2953 In article , holm@unicorn.tsht.lan (Holm Tiffe) writes: > In article , > Johnny Billquist writes: >> On 2011-02-26 12:00, Holm Tiffe wrote: >>> In article, >>> Johnny Billquist writes: >>>> On 2011-02-26 11:15, Holm Tiffe wrote: >>>>> In article, >>>>> Johnny Billquist writes: >>>>>> On 2011-02-26 10:39, Holm Tiffe wrote: >>>>>>> [..] >>>>>>> >>>> Hmpf. I thought that the directory entries would be deleted even though >>>> you got that error, but okay. Let's be simple, and just remove the >>>> directory entries then. >>>> >>>> PIP LB:[1,6]SYSSCAN.TMP;*/RM >>>> >>>> (this is the same as doing unlink in Unix) >>>> >>>>>> What this error basically meant is that the files themselves had already >>>>>> been deleted, but the directory entry pointing to them was still around. >>>>>> >>>>>> Johnny >>> >>> Ok, this has worked now, no complaints from the system anymore. >> >> Good. If that had failed, it would have been very interesting. >> However, at some point you might want to run the RSX equivalent to fsck, >> which is VFY. >> >>>>>> >>>>> >>>>> Next one: >>>>> >>>>>> set uic=[1,54] >>>>>> run $FMT >>>>> FMT>du2:/verify >>>>> >>>>> ** WARNING - Data will be lost on DU2: ** >>>>> >>>>> Continue? [Y OR N]: y >>>>> >>>>> Start formatting >>>>> FMT -- Privilege violation >>>>> >>>>> FMT> >>>> >>>> Huh? That was weird. Could you tell me what the result of a "DEV TI:" tells? >>>> >>>> Johnny >>>> >>> >>> Hmm.. whats the difference from FTM and initialize? >> >> FMT is formatting the disk. Ah! Right now I realized what your problem >> is as well. >> >> Anyway... Formatting is the actions of physically formatting a disk. It >> has nothing to do with file systems and similar stuff. >> >> INI is the creation of a file system on a disk. >> >> By the way, notice how you get errors when you do SET UIC=[...]. It >> should be SET /UIC=[...] >> >> (notice the slash) >> >>>> RUN $FMT >>> FMT>DU2:/VERIFY >>> >>> ** WARNING - Data will be lost on DU2: ** >>> >>> Continue? [Y OR N]: Y >>> >>> Start formatting >>> FMT -- Privilege violation >> >> Your problem is actually that RSX do not allow you to format this kind >> of disks. >> >>>> MOUNT DU2: >>>> INITIALIZE DU2: >>> INI -- Volume mounted Files-11 >>>> DISMOUNT DU2: >>> MCR -- Task not in system >>>> R DISMOUNT >>> MCR -- Illegal function >>>> DEV DU2: >>> DU2: Mounted Loaded Label= Type=RA81 >>>> HELP DMO >>> >>> DMO ddnn:[["]volume-label["]][/keyword(s)] >>> /DEV >>> /TERM=term: >>> /LOCK=option >>> >>> DMO /USER [/keyword(s)] >>> /DEV >>> /TERM=term: >>> /LOCK=option >>> >>> The DISMOUNT command requests the file system to mark a volume for dismount and >>> release its control blocks. The DISMOUNT /USER command dismounts all volumes >>> that you have mounted. >>> >>> If you specify a volume-label, it is checked against the label on the volume >>> to ensure that the proper volume is being dismounted. Privileged users can >>> dismount any volume. >>> >>> For more information on the DISMOUNT keywords, type HELP DISMOUNT keyword. >>>> DMO DU2: >>> DMO -- TT0: dismounted from DU2: *** Final dismount initiated *** >>>> >>> 11:49:08 *** DU2: -- Dismount complete >>> >>>> INITIALIZE DU2: >>> INI -- Device is not mounted foreign >>>> MOUNT DU2:/FOR >>>> RUN $FMT >>> FMT>DU2: >>> >>> ** WARNING - Data will be lost on DU2: ** >>> >>> Continue? [Y OR N]: Y >>> >>> Start formatting >>> FMT -- Invalid Operation >>> >>> FMT>^Z >>>> INITIALIZE DU2: >>> INI -- Device not allocated to this terminal - DU2: >>>> DMO DU2: >>> 11:50:18 *** DU2: -- Dismount complete >>> DMO -- TT0: dismounted from DU2: *** Final dismount initiated *** >>>> ALLOCATE DU2: >>>> MOUNT DU2:/FOR >>>> RUN $FMT >>> FMT>DU2:/VERIFY >>> >>> ** WARNING - Data will be lost on DU2: ** >>> >>> Continue? [Y OR N]: Y >>> >>> Start formatting >>> FMT -- Invalid Operation >>> >>> FMT>^Z >>>> INITIALIZE DU2: >>> WARNING -- This volume is not backwards compatible >>> >>> Searching for bad block descriptor file >>> INI -- Failed to read bad block file >>>> >>> >>> >>> ...have something read about BAD before.. >> >> Yes. BAD is the program used to scan for bad blocks on a disk. However, >> since DU disks guarantee to be free of bad blocks, BAD is not really >> neccesary. I think there is a switch to INI to tell it to ignore bad >> block information, and just initialize the file system. >> >>> It seems that a volume to be formated has to be mounted in some way, >>> allocated exclusively to a terminal..? >>> >>> ... always interresting to how to get some command started .. :-) >>> Will try to find out how big DU2 currently is at next... >> >> Yes. To create a file system on a disk, the disk must be allocated >> exclusively to you, and it must be mounted foreign. > > That's what I meant, you don't have a real chance to get that RSX-11 installed > when you know nothing about the os and don't have some Jonny hanging around... >> >> Have to go away for a while. Write more later... >> >> Johnny >> > Ok, I too have other things todo, we would try if it's possibler to roast > some sausage jet down in the garden :-)) The Sun is shining... > > Ok, initialize is for the filesystem, fmt for low level format and it is ok, > that the DU disks can't be low level formated with fmt. (there are the > programs to the controllers for ..) understand. > > VFY>du1: > > Consistency check of index and bitmap on DU1: > > File ID 004461,000002 . Owner [11,24] > File is marked for delete > File ID 005772,000002 VTDRV.OBJ;1 Owner [11,24] > Bad file header > > Index indicates 167060. blocks free, 144240. blocks used out of 311300. > Bitmap indicates 167058. blocks free, 144242. blocks used out of 311300. > > > VFY> > > ??? > > I have now initialized the DU2 drive and it seems, that it has the capacity > taht it should have: > > terminal are deallocated. > >>dea du2: >>mou du2: >>run $VFY > VFY>du2:/FR > > DU2: has 2044659. blocks free, 52236. blocks used out of 2096895. > VFY>^Z >> > > I want to "move" the entire sysstem to du2 now (and back later, since du1 > is that 159MB disk file from simh, written from tape with 2.11BSD to the > du2 first, moved to du1, bootet from there, initialized du2..) > > I want to reinstall the BSD on du0 and clean du1, since the disk they live on > has 4 Gbye and is splitted into halves from the uc07. There must be something > gone wrong there, since the halves have only a little bit more than 1 Gbyte > each. The F.R.D program in the UC07 is a little bit of "$%&(/%&/(" too, > so this could easysly happen.... > > I do have a bootable tape from the BSD and I have a backup from the root > and the user fs (with all the patches applied), so this shouldn't be a > problem besides of the time that job is consuming. > > The question is how I can move the RSX-11Mplus to the freshly initialized DU2 > and get a clean system there? > > An other way where to create a "Distribution" on tape, but it think that's > rather complex. Bootblocks, BRU and the FS... > > Regards, > > Holm ...in the meantime I've managed to make a backup tape from du1: with bru and restored it tu du2:. The system there is booting fine, a vfy of du2 looks ok, the size of du2 is 2096895 blocks and ober 2020000 are free. If I make a sysgen here withe the answer files generated before, the filesystem gets full or something like this (directroy entries?). 18:54:45 26-FEB-2011 >; >MAC @RSXASM MAC -- I/O error on work file OU:[11,24]DRGIN,LS:[11,34]DRGIN/-SP=IN:[1,1]EXEMC/ML,[11,10]RSXMC/PA:1,DRGIN MAC -- Open failure on output file OU:[11,24]DRGLI,LS:[11,34]DRGLI/-SP=IN:[1,1]EXEMC/ML,[11,10]RSXMC/PA:1,DRGLI MAC -- Open failure on output file OU:[11,24]DRGPP,LS:[11,34]DRGPP/-SP=IN:[1,1]EXEMC/ML,[11,10]RSXMC/PA:1,DRGPP MAC -- Open failure on output file OU:[11,24]DRGSS,LS:[11,34]DRGSS/-SP=IN:[1,1]EXEMC/ML,[11,10]RSXMC/PA:1,DRGSS MAC -- Open failure on output file [..] >; >; Now we build the concatenated object module file for the Executive. >; >PIP RSX11M.OBS=*.OBJ PIP -- Open failure on output file DU2:[11,24]RSX11M.OBS -- Index file full >PIP TTDRV.OBS=*.TTY PIP -- No such file(s) SY0:[11,24]*.TTY [..] ..Index file full. grmbl... What is happening here? vfy after with some rant from the logger again: VFY>du2: Consistency check of index and bitmap on DU2: 19:09:09 SYSLOG -- 70. *ERROR* On scan file open 19:09:09 SYSLOG -- 4. FCS I/O error code = 347 file: DU2:[???,???]SYSSCAN.TMP;1 19:14:09 SYSLOG -- 70. *ERROR* On scan file open 19:14:09 SYSLOG -- 4. FCS I/O error code = 347 file: DU2:[???,???]SYSSCAN.TMP;1 Index indicates 1952070. blocks free, 144825. blocks used out of 2096895. Bitmap indicates 1952070. blocks free, 144825. blocks used out of 2096895. VFY> Regards, Holm