Link to home
Start Free TrialLog in
Avatar of drruss
drruss

asked on

can't open osf_boot when booting to a recovered root disk

Hi,

I'm in the process of doing a trial disaster recovery from a DS20E to an Alpha Server 1000. On the DS20E I backed up the /, /usr and /var directories. On the Alpha 1000 I did the following:

>>> show bootdef_dev
    bootdef_dev    dka0.0.6.0
>>> show dev
    dka0.0.6.0    DKA0     RZ29B
>>> boot dka400    # boot from tru64 v5.1 cdrom
# hwmgr -view devices
  /dev/disk/dsk6c    RZ29B    bus-0-targ-0-lun-0
# mountroot        # created tape device files tape?_d?
# diskconfig       # set up the root disk dsk6 with a: 256 MB AdvFS; b Swap; g: 200 MB AdvFS and H: 1503 MB AdvFS
# mkfdmn -orF /dev/disk/dsk6a root_domain
# mkfset root_domain   root
  (I did this for the other two domains (/usr and /var))
# mount root_domain#root  /mnt
# cd /mnt
# vrestore -xvf /dev/ntape/tape0_d1
  (I restored /usr and /var to their respective domains)
# vi /mnt/etc/fstab  # commented all other drives except those for root
# cd /mnt/etc/fdmns
# cd root_domain
# rm *
# ln -s /dev/disk/dsk6a  dsk6a
# cd usr_domain
# ln -s /dev/disk/dsk6g  dsk6g
# halt
>>> boot dka0 -fl s

I then recive the following:
****************************
jumping to bootstrap code
can't open osf_boot

halted CPU 0

halt code = 5
HALT instruction executed
PC20000030
boot failure
>>>
****************************

Also, when I booted agin from the cdrom I was not able to mount the root_domain without having to do mkfdmn and mkfset. On mounting there was no data and so I had to do a vrestore again to see if the osf_boot was copied to dsk6a (it was). How do you re-mount the domains withiout having to go through the whole process of mkfdmn, mkfset and vrestore.

Regards

Russ
**********************************************************
I have manged to solve the above problem with osf_boot. But now doing the following I get another problem:

>>> show bootdef_dev
   bootdef_dev    dka0.0.6.0
>>> set bootdef_dev ""
>>> boot dka400
# hwmgr -view devices
# dn_setup -install_tape
# hwmgr -view devices
  /dev/ntape/tape0
# mkfdmn -orF /dev/disk/dsk6a root_domain
# mkfset root_domain root
# mkfdmn -orF /dev/disk/dsk6g usr_domain
# mkfset usr_domain usr
# mkfset usr_domain var
# mount -t advfs root_domain#root /mnt
# cd /mnt
# vrestore -xf /dev/ntape/tape0_d1
# mount -t advfs usr_domain#usr /mnt/usr
# cd /mnt/usr
# vrestore -xf /dev/ntape/tape0_d1
# mount -t advfs usr_domain#var /mnt/var
# cd /mnt/var
# vrestore -xf /dev/ntape/tape0_d1
# disklabel -r dsk6a > /tmp/label
# disklabel -t dsk6a -r -F dsk6a /tmp/label RZ29B
# cd /mnt/etc/fdmns/root_domain
# rm *
# ln -s /dev/disk/dsk6a dsk6a
# cd ../usr_domain
# rm *
# ln -s /dev/disk/dsk6g dsk6g
# cd /mnt/etc
# ed fstab
  Commented out all except those entries for
  root_domain#root, usr_domain#usr and usr_domain#var
# fasthalt -y
>>> boot dka0 -fl s -fi genvmunix
   I can see the / but there is nothing on /usr and /var
# bcheckrc
  ********************************************************
  warning the disklabel for /dev/disk/dsk6g does not exist
  or is corrupted
  usr_domain#usr on /usr: I/O error
  warning the disklabel for /dev/disk/dsk6g does not exist
  or is corrupted
  usr_domain#var on /usr: I/O error
  ********************************************************

Russ
ASKER CERTIFIED SOLUTION
Avatar of charlie250
charlie250

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial