Operating System - Tru64 Unix
1828038 Members
1933 Online
109973 Solutions
New Discussion

Re: unable to boot the tru64 unix server from the SRM prompt

 
Vladimir Fabecic
Honored Contributor

Re: unable to boot the tru64 unix server from the SRM prompt

So you have 7 disks connected to "normal" SCSI controller and 2 disk connected to SWXCR.
Now I am a little bit confused.
Please boot from install CD and send output of:
# hwmgr -view device
It is very important to see which disk is mapped as dsk0
I will have not much time today so please hurry.
In vino veritas, in VMS cluster
Vladimir Fabecic
Honored Contributor

Re: unable to boot the tru64 unix server from the SRM prompt

And please send output of:
# disklabel -r dsk1
In vino veritas, in VMS cluster
Vladimir Fabecic
Honored Contributor

Re: unable to boot the tru64 unix server from the SRM prompt

Looks like your "old root" should be dsk1a not dsk0a. Waiting for your reply.
Procedure:
1.
# cd /etc/fdmns
# mkdir tmproot
# cd tmproot
# ln -s /dev/disk/dsk1a
# cd /
# mount tmproot#root /mnt
Send output of:
# ls -al /mnt
2.
# dn_setup -install_tape
Send output of:
# hwmgr -show scsi
3.
Restoring file system backup tape
(lets say that "old root" is already mounted in /mnt)
# cd /mnt
# vrestore -x -f /dev/ntape/tape0 (or whatever is tape device)

But you must be sure you have the right save set loaded in tape drive.
To check out do:
# vrestore -i -f /dev/ntape/tape0
and do "ls" when get prompt
In vino veritas, in VMS cluster
sk.imran
Advisor

Re: unable to boot the tru64 unix server from the SRM prompt

Hi,

please find the the output of hwmgr -view device

qvces40#hwmgr -view device
HWID: Device Name Mfg Model Location
------------------------------------------------------------------------------

4: (unknown)
13: /dev/cport/scp0 SWXCR xcr0
14: /dev/disk/floppy0c 3.5in floppy fdi0-unit-0
43: /dev/disk/dsk0c SWXCR ctlr-0-unit-0
56: /dev/disk/cdrom0c COMPAQ CRD-224E bus-1-targ-0-lun-0
57: /dev/disk/dsk1c DEC RZ2DA-LA bus-5-targ-0-lun-0
58: /dev/disk/dsk2c COMPAQ BD0366349C bus-5-targ-1-lun-0
59: /dev/disk/dsk3c COMPAQ BD0366349C bus-5-targ-2-lun-0
60: /dev/disk/dsk4c COMPAQ BD0366349C bus-5-targ-3-lun-0
61: /dev/disk/dsk5c COMPAQ BD0366349C bus-5-targ-4-lun-0
62: /dev/disk/dsk6c COMPAQ BD0366349C bus-5-targ-5-lun-0
63: /dev/disk/dsk7c DEC RZ1DB-CA bus-5-targ-6-lun-0
64: (unknown) VS640 bus-0-targ-6-lun-0

hp ux csa
sk.imran
Advisor

Re: unable to boot the tru64 unix server from the SRM prompt

Hello,

#hwmgr -view device
HWID: Device Name Mfg Model Location
------------------------------------------------------------------------------

4: (unknown)
13: /dev/cport/scp0 SWXCR xcr0
14: /dev/disk/floppy0c 3.5in floppy fdi0-unit-0
43: /dev/disk/dsk0c SWXCR ctlr-0-unit-0
56: /dev/disk/cdrom0c COMPAQ CRD-224E bus-1-targ-0-lun-0
57: /dev/disk/dsk1c DEC RZ2DA-LA bus-5-targ-0-lun-0
58: /dev/disk/dsk2c COMPAQ BD0366349C bus-5-targ-1-lun-0
59: /dev/disk/dsk3c COMPAQ BD0366349C bus-5-targ-2-lun-0
60: /dev/disk/dsk4c COMPAQ BD0366349C bus-5-targ-3-lun-0
61: /dev/disk/dsk5c COMPAQ BD0366349C bus-5-targ-4-lun-0
62: /dev/disk/dsk6c COMPAQ BD0366349C bus-5-targ-5-lun-0
63: /dev/disk/dsk7c DEC RZ1DB-CA bus-5-targ-6-lun-0
64: (unknown) VS640 bus-0-targ-6-lun-0

hp ux csa
sk.imran
Advisor

Re: unable to boot the tru64 unix server from the SRM prompt

Hi,

Please fins the output of disklabel -r dsk1

In the previous post VS640 is the tape library.

# disklabel -r dsk1
#/dev/rdisk/dsk1c:
type:SCSI
disk:RZ2DA-LA
label:
flags: dynami_geometry
bytes/sector:512
sectors/tracks: 168
tracks/cylinders: 20
Sectorss/cylinders: 3360
Cylinders: 5273
sectors/unit: 17772544
rpm:7200
interleave:33
cylinderskew:6
headswitch:0
track-to-track seed:0
drivedata: 0

8 Partitions:
# size offset fstyp fsize bsize cpg #NOTE:Value Not Exact
a: 131072 0 unused # 0-39*
b: 262144 131072 unused 0 0 # 39*-117*
c: 17772544 0 unused 0 0 # 0-5289*
d: 0 0 unused 0 0 # 0- -1
e: 0 0 unused 0 0 # 0- -1
f: 0 0 unused 0 0 # 0- -1
g: 8690154 393216 unused 0 0 # 117*-2703*
h: 8690154 90833216 unused 0 0 # 2703*-5289*
hp ux csa
sk.imran
Advisor

Re: unable to boot the tru64 unix server from the SRM prompt

Hello,

I am getting error when I am trying to mount the disk.

# cd /etc/fdmns
# mkdir tmproot
# cd tmproot
# ln -s /dev/disk/dsk1a
# cd /
# mount tmproot#root /mnt
output:
tmproot#root on /mnt: Device does not contain a valid ADVFS file system.

and

# hwmgr -show scsi

its showing the


SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST
HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID PATH
-------------------------------------------------------------------------
56: 1 cdrom none 2 1 cdrom0 [1/0/0]
57: 2 disk none 0 1 dsk1 [5/0/0]
58: 3 disk none 0 1 dsk2 [5/1/0]
59: 4 disk none 0 1 dsk3 [5/2/0]
60: 5 disk none 0 1 dsk4 [5/3/0]
61: 6 disk none 0 1 dsk5 [5/4/0]
62: 7 disk none 0 1 dsk6 [5/5/0]
63: 8 disk none 0 1 dsk7 [5/6/0]
64: 0 changer none 0 2 null [0/6/0]


hp ux csa
Rob Leadbeater
Honored Contributor

Re: unable to boot the tru64 unix server from the SRM prompt

Hi,

I've still not seen the output of "show boot*"

However, I'll guess that you should try booting up off dra0.

P00>>> b dra0

Cheers,

Rob
Vladimir Fabecic
Honored Contributor

Re: unable to boot the tru64 unix server from the SRM prompt

Rob,
I do not think that machine can be booted from DRA0. See output of "disklabel -r dsk0".
As I can see, dsk0 is DRA0, and dsk1 is DKD0.
DRA0 has just one partition marked as advfs (partition "a"), and DKD0 does not have any partition marked as advfs or ufs, but has primary boot block created.
Default boot device is probably DKD0.
Imran,
Your situation is very strange and confusing.
Looks like someone changed disk label or something like that. That does not look like a hardware problem to me. Also it does not look like file system or domain corruption (it does nor change disk label)
Please do the following before restoring backup:
1.
Boot from Tru64 Unix V5.1B Media and go shell
2.
Do:
# dn_setup -install_tape
3.
Send output of:
# hwmgr -show scsi
# hwmgr -view device
# mt status
# disklabel -r dsk0
# disklabel -r dsk1
# disklabel -r dsk2
# disklabel -r dsk3
# disklabel -r dsk4
# disklabel -r dsk5
# disklabel -r dsk6
# disklabel -r dsk7
In vino veritas, in VMS cluster