VMS Help  —  LD  Examples  BigDisk
 	How to create a big disk:

 	$! create a bigggg disk
 	$!
 	$!  Volset             DPA           DSA           LDA           Label
 	$!---------------------------------------------------------------------
 	$!                                                 LDA1
 	$!                                   DSA10                       ST0000000000
 	$!                                                 LDA2
 	$!                     DPA20
 	$!                                                 LDA3
 	$!                                   DSA11                       ST0000000001
 	$!                                                 LDA4
 	$!  BIGDISK
 	$!                                                 LDA5
 	$!                                   DSA12                       ST1000000000
 	$!                                                 LDA6
 	$!                     DPA21
 	$!                                                 LDA7
 	$!                                   DSA13                       ST1000000001
 	$!                                                 LDA8
 	$!
 	$ size = 1000000
 	$ ld create/log/nobackup/size=1000000 $7$dkc0:[ld]ld1.dsk
 	%LD-I-CREATED, File $7$DKC0:[LD]LD1.DSK;2 created
 	$ ld create/log/nobackup/size=1000000 $7$dkc0:[ld]ld2.dsk
 	%LD-I-CREATED, File $7$DKC0:[LD]LD2.DSK;2 created
 	$ ld create/log/nobackup/size=1000000 $7$dkc0:[ld]ld3.dsk
 	%LD-I-CREATED, File $7$DKC0:[LD]LD3.DSK;2 created
 	$ ld create/log/nobackup/size=1000000 $7$dkc0:[ld]ld4.dsk
 	%LD-I-CREATED, File $7$DKC0:[LD]LD4.DSK;2 created
 	$ ld create/log/nobackup/size=1000000 $7$dkc0:[ld]ld5.dsk
 	%LD-I-CREATED, File $7$DKC0:[LD]LD5.DSK;2 created
 	$ ld create/log/nobackup/size=1000000 $7$dkc0:[ld]ld6.dsk
 	%LD-I-CREATED, File $7$DKC0:[LD]LD6.DSK;2 created
 	$ ld create/log/nobackup/size=1000000 $7$dkc0:[ld]ld7.dsk
 	%LD-I-CREATED, File $7$DKC0:[LD]LD7.DSK;2 created
 	$ ld create/log/nobackup/size=1000000 $7$dkc0:[ld]ld8.dsk
 	%LD-I-CREATED, File $7$DKC0:[LD]LD8.DSK;2 created
 	$ ld conn/log $7$dkc0:[ld]ld1.dsk lda1
 	%LD-I-CONNECTED, Connected $7$LDA1: to $7$DKC0:[LD]LD1.DSK;1
 	$ ld conn/log $7$dkc0:[ld]ld2.dsk lda2
 	%LD-I-CONNECTED, Connected $7$LDA2: to $7$DKC0:[LD]LD2.DSK;1
 	$ ld conn/log $7$dkc0:[ld]ld3.dsk lda3
 	%LD-I-CONNECTED, Connected $7$LDA3: to $7$DKC0:[LD]LD3.DSK;1
 	$ ld conn/log $7$dkc0:[ld]ld4.dsk lda4
 	%LD-I-CONNECTED, Connected $7$LDA4: to $7$DKC0:[LD]LD4.DSK;1
 	$ ld conn/log $7$dkc0:[ld]ld5.dsk lda5
 	%LD-I-CONNECTED, Connected $7$LDA5: to $7$DKC0:[LD]LD5.DSK;1
 	$ ld conn/log $7$dkc0:[ld]ld6.dsk lda6
 	%LD-I-CONNECTED, Connected $7$LDA6: to $7$DKC0:[LD]LD6.DSK;1
 	$ ld conn/log $7$dkc0:[ld]ld7.dsk lda7
 	%LD-I-CONNECTED, Connected $7$LDA7: to $7$DKC0:[LD]LD7.DSK;1
 	$ ld conn/log $7$dkc0:[ld]ld8.dsk lda8
 	%LD-I-CONNECTED, Connected $7$LDA8: to $7$DKC0:[LD]LD8.DSK;1
 	$ ld trace lda1
 	$ ld trace lda2
 	$ ld trace lda3
 	$ ld trace lda4
 	$ ld trace lda5
 	$ ld trace lda6
 	$ ld trace lda7
 	$ ld trace lda8
 	$ ld show/all
 	%LD-I-CONNECTED, Connected _$7$LDA1: to $7$DKC0:[LD]LD1.DSK;1
 	%LD-I-CONNECTED, Connected _$7$LDA2: to $7$DKC0:[LD]LD2.DSK;1
 	%LD-I-CONNECTED, Connected _$7$LDA3: to $7$DKC0:[LD]LD3.DSK;1
 	%LD-I-CONNECTED, Connected _$7$LDA4: to $7$DKC0:[LD]LD4.DSK;1
 	%LD-I-CONNECTED, Connected _$7$LDA5: to $7$DKC0:[LD]LD5.DSK;1
 	%LD-I-CONNECTED, Connected _$7$LDA6: to $7$DKC0:[LD]LD6.DSK;1
 	%LD-I-CONNECTED, Connected _$7$LDA7: to $7$DKC0:[LD]LD7.DSK;1
 	%LD-I-CONNECTED, Connected _$7$LDA8: to $7$DKC0:[LD]LD8.DSK;1
 	$ raid init/noconfirm/raid_level=0 st0 lda1,lda3
 	%RAID-I-PRTCREATED, Array partition 1 created: 1995112 blocks
 	$ raid init/noconfirm/raid_level=0 st1 lda5,lda7
 	%RAID-I-PRTCREATED, Array partition 1 created: 1995112 blocks
 	$ raid bind st0 lda1,lda3/shadow/use_shadow=(dsa10,dsa11) dpa20
 	%RAID-I-ISBOUND, unit _DSA10: is bound as a member of array ST0
 	%RAID-I-INUSE, unit _$7$LDA1: is a shadow set member of _DSA10:
 	%RAID-I-ISBOUND, unit _DSA11: is bound as a member of array ST0
 	%RAID-I-INUSE, unit _$7$LDA3: is a shadow set member of _DSA11:
 	%RAID-I-VUCREATE, virtual unit DPA0020: was created for partition 1 on ST0
 	$ raid bind st1 lda5,lda7/shadow/use_shadow=(dsa12,dsa13) dpa21
 	%RAID-I-ISBOUND, unit _DSA12: is bound as a member of array ST1
 	%RAID-I-INUSE, unit _$7$LDA5: is a shadow set member of _DSA12:
 	%RAID-I-ISBOUND, unit _DSA13: is bound as a member of array ST1
 	%RAID-I-INUSE, unit _$7$LDA7: is a shadow set member of _DSA13:
 	%RAID-I-VUCREATE, virtual unit DPA0021: was created for partition 1 on ST1
 	$ mount/system dsa10:/shadow=_$7$LDA2: st0000000000
 	%MOUNT-I-MOUNTED, ST0000000000 mounted on _DSA10:
 	%MOUNT-I-SHDWMEMCOPY, _$7$LDA2: (UTRA41) added to the shadow set with a copy operation
 	%MOUNT-I-ISAMBR, _$7$LDA1: (UTRA41) is a member of the shadow set
 	$ mount/system dsa11:/shadow=_$7$LDA4: st0000000001
 	%MOUNT-I-MOUNTED, ST0000000001 mounted on _DSA11:
 	%MOUNT-I-SHDWMEMCOPY, _$7$LDA4: (UTRA41) added to the shadow set with a copy operation
 	%MOUNT-I-ISAMBR, _$7$LDA3: (UTRA41) is a member of the shadow set
 	$ mount/system dsa12:/shadow=_$7$LDA6: st1000000000
 	%MOUNT-I-MOUNTED, ST1000000000 mounted on _DSA12:
 	%MOUNT-I-SHDWMEMCOPY, _$7$LDA6: (UTRA41) added to the shadow set with a copy operation
 	%MOUNT-I-ISAMBR, _$7$LDA5: (UTRA41) is a member of the shadow set
 	$ mount/system dsa13:/shadow=_$7$LDA8: st1000000001
 	%MOUNT-I-MOUNTED, ST1000000001 mounted on _DSA13:
 	%MOUNT-I-SHDWMEMCOPY, _$7$LDA8: (UTRA41) added to the shadow set with a copy operation
 	%MOUNT-I-ISAMBR, _$7$LDA7: (UTRA41) is a member of the shadow set
 	$ init/nohig dpa20: vset0
 	$ init/nohig dpa21: vset1
 	$ mount/system/bind=bigdisk dpa20,dpa21: vset0,vset1 bigdisk
 	%MOUNT-I-MOUNTED, VSET0 mounted on _DPA20: (UTRA41)
 	%MOUNT-I-MOUNTED, VSET1 mounted on _DPA21: (UTRA41)
 	$ ld show/trace/status lda1
 	%LD-I-STATUS, Device $7$LDA1: has a tracebuffer of 512 entries (512 valid records)
 	$ ld show/trace/status lda2
 	%LD-I-STATUS, Device $7$LDA2: has a tracebuffer of 512 entries (512 valid records)
 	$ ld show/trace/status lda3
 	%LD-I-STATUS, Device $7$LDA3: has a tracebuffer of 512 entries (512 valid records)
 	$ ld show/trace/status lda4
 	%LD-I-STATUS, Device $7$LDA4: has a tracebuffer of 512 entries (512 valid records)
 	$ ld show/trace/status lda5
 	%LD-I-STATUS, Device $7$LDA5: has a tracebuffer of 512 entries (512 valid records)
 	$ ld show/trace/status lda6
 	%LD-I-STATUS, Device $7$LDA6: has a tracebuffer of 512 entries (512 valid records)
 	$ ld show/trace/status lda7
 	%LD-I-STATUS, Device $7$LDA7: has a tracebuffer of 512 entries (512 valid records)
 	$ ld show/trace/status lda8
 	%LD-I-STATUS, Device $7$LDA8: has a tracebuffer of 512 entries (512 valid records)
 	$ sh dev ld

 	Device                  Device           Error    Volume         Free  Trans Mnt
 	 Name                   Status           Count     Label        Blocks Count Cnt
 	$7$LDA0:      (UTRA41)  Online               0
 	$7$LDA1:      (UTRA41)  ShadowSetMember      0  (member of DSA10:)
 	$7$LDA2:      (UTRA41)  ShadowCopying        0  (copy trgt DSA10:   6% copied)
 	$7$LDA3:      (UTRA41)  ShadowSetMember      0  (member of DSA11:)
 	$7$LDA4:      (UTRA41)  ShadowCopying        0  (copy trgt DSA11:   4% copied)
 	$7$LDA5:      (UTRA41)  ShadowSetMember      0  (member of DSA12:)
 	$7$LDA6:      (UTRA41)  ShadowCopying        0  (copy trgt DSA12:   3% copied)
 	$7$LDA7:      (UTRA41)  ShadowSetMember      0  (member of DSA13:)
 	$7$LDA8:      (UTRA41)  ShadowCopying        0  (copy trgt DSA13:   1% copied)
 	$ sh dev dsa10

 	Device                  Device           Error    Volume         Free  Trans Mnt
 	 Name                   Status           Count     Label        Blocks Count Cnt
 	DSA10:                  Mounted              0  ST0000000000         0     2   1
 	$7$LDA1:      (UTRA41)  ShadowSetMember      0  (member of DSA10:)
 	$7$LDA2:      (UTRA41)  ShadowCopying        0  (copy trgt DSA10:   6% copied)
 	$ sh dev dsa11

 	Device                  Device           Error    Volume         Free  Trans Mnt
 	 Name                   Status           Count     Label        Blocks Count Cnt
 	DSA11:                  Mounted              0  ST0000000001         0     2   1
 	$7$LDA3:      (UTRA41)  ShadowSetMember      0  (member of DSA11:)
 	$7$LDA4:      (UTRA41)  ShadowCopying        0  (copy trgt DSA11:   4% copied)
 	$ sh dev dsa12

 	Device                  Device           Error    Volume         Free  Trans Mnt
 	 Name                   Status           Count     Label        Blocks Count Cnt
 	DSA12:                  Mounted              0  ST1000000000         0     2   1
 	$7$LDA5:      (UTRA41)  ShadowSetMember      0  (member of DSA12:)
 	$7$LDA6:      (UTRA41)  ShadowCopying        0  (copy trgt DSA12:   3% copied)
 	$ sh dev dsa13

 	Device                  Device           Error    Volume         Free  Trans Mnt
 	 Name                   Status           Count     Label        Blocks Count Cnt
 	DSA13:                  Mounted              0  ST1000000001         0     2   1
 	$7$LDA7:      (UTRA41)  ShadowSetMember      0  (member of DSA13:)
 	$7$LDA8:      (UTRA41)  ShadowCopying        0  (copy trgt DSA13:   1% copied)
 	$ sh dev bigdisk

 	Device                  Device           Error    Volume         Free  Trans Mnt
 	 Name                   Status           Count     Label        Blocks Count Cnt
 	DPA20:        (UTRA41)  Mounted              0  VSET0          1994928     1   1
 	DPA21:        (UTRA41)  Mounted              0  VSET1          1994944     1   1
Close Help