Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: holm@unicorn.tsht.lan (Holm Tiffe)
Subject: Re: RSX11 Tape file Structure?
Date: Sat, 26 Feb 2011 18:32:06 +0000 (UTC)	[thread overview]
Message-ID: <ikbgv5$aef$1@news.freibergnet.de> (raw)
In-Reply-To: ikas66$2mr6$1@news.freibergnet.de

In article <ikas66$2mr6$1@news.freibergnet.de>,
	holm@unicorn.tsht.lan (Holm Tiffe) writes:
> In article <ikan8h$ckn$1@iltempo.update.uu.se>,
> 	Johnny Billquist <bqt@softjar.se> writes:
>> On 2011-02-26 12:00, Holm Tiffe wrote:
>>> In article<ikakr4$bv3$1@iltempo.update.uu.se>,
>>> 	Johnny Billquist<bqt@softjar.se>  writes:
>>>> On 2011-02-26 11:15, Holm Tiffe wrote:
>>>>> In article<ikaimi$b95$2@iltempo.update.uu.se>,
>>>>> 	Johnny Billquist<bqt@softjar.se>   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


  reply	other threads:[~2011-02-26 18:32 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-20 19:24 RSX11 Tape file Structure? Holm Tiffe
2011-02-20 19:44 ` Roger Ivie
2011-02-21  1:04 ` Johnny Billquist
2011-02-21 11:53   ` Holm Tiffe
2011-02-21 13:08     ` Bob Eager
2011-02-21 16:27       ` Holm Tiffe
2011-02-21 17:36         ` Bob Eager
2011-02-22 17:43           ` Holm Tiffe
2011-02-22 18:26             ` Bob Eager
2011-02-22 19:16               ` Bob Eager
2011-02-21 19:20     ` Johnny Billquist
2011-02-22 18:41       ` Holm Tiffe
2011-02-22 19:56         ` Rich Alderson
2011-02-22 22:26           ` Johnny Billquist
2011-02-23 23:32             ` Rich Alderson
2011-02-24  9:18               ` Johnny Billquist
2011-02-22 22:20         ` Johnny Billquist
2011-02-23 10:57           ` Holm Tiffe
2011-02-23 18:28             ` Holm Tiffe
2011-02-23 19:12               ` Holm Tiffe
2011-02-23 23:54                 ` Rich Alderson
2011-02-24  9:24                   ` Johnny Billquist
2011-02-24 16:52                     ` Holm Tiffe
2011-02-24 23:38                       ` Johnny Billquist
2011-02-25  7:02                         ` Holm Tiffe
2011-02-25  7:35                           ` Holm Tiffe
2011-02-25  9:13                           ` Johnny Billquist
2011-02-25 11:21                             ` Holm Tiffe
2011-02-25 16:40                               ` Holm Tiffe
2011-02-25 20:20                                 ` Holm Tiffe
2011-02-26  1:24                                   ` Johnny Billquist
2011-02-26  7:01                                     ` Holm Tiffe
2011-02-26  9:08                                       ` Johnny Billquist
2011-02-26  9:29                                         ` Holm Tiffe
2011-02-26  9:39                                           ` Holm Tiffe
2011-02-26  9:55                                             ` Johnny Billquist
2011-02-26 10:15                                               ` Holm Tiffe
2011-02-26 10:21                                                 ` Holm Tiffe
2011-02-26 10:35                                                   ` Johnny Billquist
2011-02-26 10:32                                                 ` Johnny Billquist
2011-02-26 11:00                                                   ` Holm Tiffe
2011-02-26 11:13                                                     ` Johnny Billquist
2011-02-26 12:37                                                       ` Holm Tiffe
2011-02-26 18:32                                                         ` Holm Tiffe [this message]
2011-02-26 23:47                                                           ` Johnny Billquist
2011-02-27 11:35                                                             ` Holm Tiffe
2011-02-27 11:59                                                               ` Johnny Billquist
2011-02-27 12:35                                                                 ` Holm Tiffe
2011-02-27 12:43                                                                   ` Holm Tiffe
2011-02-27 13:37                                                                     ` Johnny Billquist
2011-02-27 14:49                                                                       ` Holm Tiffe
2011-02-27 15:10                                                                         ` Holm Tiffe
2011-02-28  1:33                                                                           ` Johnny Billquist
2011-02-27 19:38                                                                         ` Holm Tiffe
2011-02-28  1:50                                                                           ` Johnny Billquist
2011-02-28 13:49                                             ` Bob Koehler
2011-02-26  9:53                                           ` Johnny Billquist
2011-02-26  1:20                                 ` Johnny Billquist
2011-02-26  7:16                                   ` Holm Tiffe
2011-02-26  9:15                                     ` Johnny Billquist
2011-02-26  1:18                               ` Johnny Billquist
2011-02-26  7:07                                 ` Holm Tiffe
2011-02-26  9:19                                   ` Johnny Billquist
2011-02-26 12:56                                     ` Holm Tiffe
2011-02-26 23:53                                       ` Johnny Billquist
2011-02-24  9:44             ` Johnny Billquist
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