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: g2news2.google.com!news4.google.com!feeder.news-service.com!xlned.com!feeder1.xlned.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 12:37:26 +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 1298723846 88934 188.103.155.224 (26 Feb 2011 12:37:26 GMT) X-Complaints-To: news@freibergnet.de NNTP-Posting-Date: Sat, 26 Feb 2011 12:37:26 +0000 (UTC) X-Newsreader: knews 1.0b.1 Xref: g2news2.google.com comp.sys.dec:3112 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