[Simh] Size of disks created by Simulator
Bucher, Andreas (Andreas)** CTR **
andreas.bucher at alcatel-lucent.com
Mon Nov 11 08:50:13 EST 2013
Hi,
that's quite easy:
1)
Either in the SIMH console or in the VAX.INI file used to configure your simulation, use the following commands:
{from VAX.INI}
; This virtual machine has 256M memory (cpu extend to enable mem >64M)
; note: set cpu extend is not needed, as it is implicitely included in the 256m setting
;set cpu extend
set cpu 256m
; Define disk drive types. (RAUSER=sizeMB is variable size)
set rq0 ra92
set rq1 rauser=2000
set rq2 cdrom
;set rq3 cdrom
set rq3 rauser=20000
; the latter will define DUA3: in VMS as ~20GB = ~40Mio blocks
; Attach defined drives to local files
attach rq0 d0.dsk
attach rq1 d1.dsk
attach rq3 d3.dsk
; d3.dsk will be the ~20GB image file of DUA3:
; Attach the CD-ROM to its image file (read-only)
attach -r rq2 ..\images\vms072.iso
2)
then boot up the system:
simh> boot cpu
(or put this command in the VAX.INI, and launch the VAX emulator)
3)
Once VMS has loaded, you need to initialize the newly created disk:
$ init dua3: test
This may take a while, as now, the d3.dsk container file on the host is written, as VMS initializes the file system inside it.
4)
Next, mount it:
$ mount dua3: test
5)
If you list your devices now, you should see about 40M Blocks = 20GB
$ show dev d
Device Device Error Volume Free Trans Mnt
Name Status Count Label Blocks Count Cnt
VXAB03$DUA0: Mounted 0 SYS1 762768 283 1
VXAB03$DUA1: Mounted 0 DAT1 3797752 1 1
VXAB03$DUA2: Online 0
VXAB03$DUA3: Mounted alloc 0 TEST 39079352 1 1
6) Your 20GB disk is now usable:
$ dir dua3:[000000]
Directory DUA3:[000000]
000000.DIR;1 BACKUP.SYS;1 BADBLK.SYS;1 BADLOG.SYS;1
BITMAP.SYS;1 CONTIN.SYS;1 CORIMG.SYS;1 INDEXF.SYS;1
SECURITY.SYS;1 VOLSET.SYS;1
Total of 10 files.
7) The next time you boot um VMS and need this disk, you only have to mount it.
Hope this helps !
Kind Regards,
Andreas
> -----Original Message-----
> From: simh-bounces at trailing-edge.com [mailto:simh-bounces at trailing-
> edge.com] On Behalf Of priya chincholikar
> Sent: Montag, 11. November 2013 12:39
> To: Bruce Claremont
> Cc: simh at trailing-edge.com
> Subject: Re: [Simh] Size of disks created by Simulator
>
> Hi,
>
> I understand that sim> SET RQ1 RAUSER=4096 will give me 4096 MB space.
> I want to create atleast 20GB disk size.
> I read that
> "RAUSER is a "user specified" disk; the user can specify the size of
> the disk in either MB (1000000 bytes) or logical block numbers (LBN's,
> 512 bytes each). The minimum size is 5MB; the maximum size is 2GB
> without extended file support, 1TB with extended file support "
> So that means its possible to create a 20 GB disk.. How do I proceed ?
>
> - Priya
>
>
> On Fri, Nov 8, 2013 at 9:36 PM, Bruce Claremont
> <Bruce.Claremont at migrationspecialties.com> wrote:
>
>
> The easiest way to increase the disk size under VMS is to create
> new disks, then use BACKUP /IMAGE to move transfer the data from old to
> new.
>
>
> At 05:52 AM 11/8/2013, priya chincholikar wrote:
>
>
> Hi,
>
> I have a question about the disks created during
> simulation.
> I noticed that 3 disks get attached when we run the
> simulator for the first time.
>
> [root at localhost data]# ls
> cd.iso d0.dsk d1.dsk d2.dsk ka655x.bin nvram.bin
>
> ford/system$ sho dev d
>
> Device Device Error Volume
> Free
>
> Name Status Count Label
> Blocks
> DNFS0: Online 0
> FORD$DUA0: Mounted 0 FORD
> 2371878
> FORD$DUA1: Mounted alloc 0 DATA1
> 2940579
> FORD$DUA2: Mounted alloc 0 DATA2
> 2940579
> FORD$DUA3: Online 0
>
>
> Is there a way to increase the size of any these disks ?
>
> - Priya
>
> _______________________________________________
> Simh mailing list
> Simh at trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh
> <http://mailman.trailing-edge.com/mailman/listinfo/simh>
>
>
> Mr. Bruce Claremont, Software Preservationist
> Migration Specialties International, Inc.
> 217 West 2nd Street, Florence, CO 81226-1403
> Bruce.Claremont at MigrationSpecialties.com
> www.MigrationSpecialties.com
> <http://www.migrationspecialties.com/> +1 719-784-9196, Fax: +1
> 888-854-3417
>
> Get your free Virtual Alpha at FreeAXP.com
> <http://www.freeaxp.com/> .
>
> Continuity in Computing: Founded in 1992, Migration Specialties
> offers modern solutions for legacy hardware & software. Look to us
> for virtual VAX and Alpha solutions along with OpenVMS and Tru64 Unix
> support. Visit our web site for more information.
>
>
> _______________________________________________
> Simh mailing list
> Simh at trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh
>
>
More information about the Simh
mailing list