Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Help needed with restoring root device
@ 2003-03-11 20:33 Shawn Kearley
  2003-03-12  8:07 ` TyBreaker
  2003-03-13 10:42 ` Jacques Garnier
  0 siblings, 2 replies; 5+ messages in thread
From: Shawn Kearley @ 2003-03-11 20:33 UTC (permalink / raw)


I am attempting to configure two new AlphaServer DS25 servers running 5.1B
of Tru64.  For redundancy I am trying to replace the initial single root
drive with a Raid-1 set.

I have backed up the original disks and re-built the drives to a Raid-1
configuration, however I am having difficulties in getting the system to
boot with the new raid drive.

I think my problem is with the way 5.1 handles the device files.

Can anyone direct me to a good document on replacing the root disk.

TIA
Shawn

--
======================================
Shawn Kearley
Infrastructure Analyst
Newfoundland Power Co. Ltd.
Phone: (709) 737-5724
Fax: (709) 737-5832
Email: skearley@newfoundlandpower.com




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Help needed with restoring root device
  2003-03-11 20:33 Help needed with restoring root device Shawn Kearley
@ 2003-03-12  8:07 ` TyBreaker
  2003-03-13 10:42 ` Jacques Garnier
  1 sibling, 0 replies; 5+ messages in thread
From: TyBreaker @ 2003-03-12  8:07 UTC (permalink / raw)


Shawn Kearley wrote:
> I am attempting to configure two new AlphaServer DS25 servers running 5.1B
> of Tru64.  For redundancy I am trying to replace the initial single root
> drive with a Raid-1 set.

I've only ever done this with LSM - are you familiar with that layered 
product?



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Help needed with restoring root device
  2003-03-11 20:33 Help needed with restoring root device Shawn Kearley
  2003-03-12  8:07 ` TyBreaker
@ 2003-03-13 10:42 ` Jacques Garnier
  2003-03-13 15:29   ` Shawn Kearley
  1 sibling, 1 reply; 5+ messages in thread
From: Jacques Garnier @ 2003-03-13 10:42 UTC (permalink / raw)


You probably ( since you provide any system message it's a guess ) dont made
your new raid device bootable.

# disklabel -r dsk1 > /tmp/dsk1.label
# disklabel -R -t advfs dsk1 /tmp/dsk1.label

If it's not the case, come back with the displayed system messages.

"Shawn Kearley" <skearley@newfoundlandpower.com> wrote in message
news:0Lrba.1120$qn.137143@localhost...
> I am attempting to configure two new AlphaServer DS25 servers running 5.1B
> of Tru64.  For redundancy I am trying to replace the initial single root
> drive with a Raid-1 set.
>
> I have backed up the original disks and re-built the drives to a Raid-1
> configuration, however I am having difficulties in getting the system to
> boot with the new raid drive.
>
> I think my problem is with the way 5.1 handles the device files.
>
> Can anyone direct me to a good document on replacing the root disk.
>
> TIA
> Shawn
>
> --
> ======================================
> Shawn Kearley
> Infrastructure Analyst
> Newfoundland Power Co. Ltd.
> Phone: (709) 737-5724
> Fax: (709) 737-5832
> Email: skearley@newfoundlandpower.com
>
>




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Help needed with restoring root device
  2003-03-13 10:42 ` Jacques Garnier
@ 2003-03-13 15:29   ` Shawn Kearley
  2003-03-13 17:51     ` Adam Price
  0 siblings, 1 reply; 5+ messages in thread
From: Shawn Kearley @ 2003-03-13 15:29 UTC (permalink / raw)


I have executed the disklabel command as you have indicated here, and the
system does attempt to boot from the newly restored drive, however I get an
error indicating a problem with the boot device.  For some additional
information if helpful, the system contains a KZPCC-CE raid controller.  The
server shipped with a single drive configured as a JBOD device.  I booted
the server via CD and backed up the ROOT and USR domains, (VAR was installed
within USR), to an external disk array.  I then deleted the JBOD device and
configured a RAID1 mirror with this drive and a second drive which was
installed.  I then booted again via CD, restored the disklabel, and restored
the ROOT and USR partitions.

When I attempt to boot the server however I get the following:

===============================================================
P00>>>b
(boot dza514.0.0.2004.0 -flags a)
block 0 of dza514.0.0.2004.0 is a valid boot block
reading 19 blocks from dza514.0.0.2004.0
bootstrap code read in
base = 716000, image_start = 0, image_bytes = 2600(9728)
initializing HWRPB at 2000
initializing page table at 3fff0000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code
waiting for pza0.0.0.2004.0 to start...

UNIX boot - Wednesday October 16, 2002

waiting for pza0.0.0.2004.0 to start...
Loading vmunix ...
Loading at 0xfffffc0000830000

Sizes:
text =  7313280
data =  1386944
bss  =  1910672
Starting at 0xfffffc0000842b40

waiting for pza0.0.0.2004.0 to start...
bcm: DEGXA driver V1.0.6 NUMA lanlog
Alpha boot: available memory from 0x2ef2000 to 0x3ffee000
Compaq Tru64 UNIX V5.1B (Rev. 2650); Fri Feb  7 22:35:50 GMT 2003
physical memory = 1024.00 megabytes.
available memory = 976.98 megabytes.
using 3860 buffers containing 30.15 megabytes of memory
Firmware revision: 6.4-18
PALcode: UNIX version 1.91-31
AlphaServer DS25
pci0 (primary bus:0) at nexus
isa0 at pci0
gpc0 at isa0
gpc1 not probed
ace0 at isa0
ace1 at isa0
lp0 at isa0
fdi0 at isa0
ee0 at pci0 slot 8
ee0: COMPAQ Intel 82559ER (10/100 Mbps) Ethernet Interface
ee0: Driver Rev = V1.0.19, Chip Rev = 9, hardware address: 00-02-A5-20-04-1F
pci4 (primary bus:0 subordinate bus:2) at pci0 slot 10
ee0: Parallel Detection, 100 Mbps half duplex

i2o0 at pci4 slot 4
i2o_bs0 at i2o0 TID 514

ata0 at pci0 slot 16
ata0: ACER M1543C
scsi0 at ata0 slot 0 rad 0
scsi1 at ata0 slot 1 rad 0
pci2 (primary bus:2) at nexus
Adaptec   cf Adapter: H/W Rev 1, Driver Rev 2.270 CHIM V362
scsi2 at aha_chim0 slot 0 rad 0
aha_chim0 at pci2 slot 1
Adaptec   cf Adapter: H/W Rev 1, Driver Rev 2.270 CHIM V362
scsi3 at aha_chim2 slot 0 rad 0
aha_chim2 at pci2 slot 101
bcm0: Link down
bcm0 at pci2 slot 5
bcm0: DEGXA (1000BaseT) Gigabit Ethernet Interface, hardware address:
00-02-A5-C
6-04-17
pci1 (primary bus:1) at nexus
p3g0:  Card type '3Dlabs Oxygen VX1' with 32MB framebuffer memory.
p3g0 at pci1 slot 2
pci3 (primary bus:3) at nexus
emx0 at pci3 slot 1
FCA-2354 : Driver Rev 2.06 : F/W Rev 3.81A4(1.01A0) : wwn
1000-0000-c92f-93c6
emx0: Using console topology setting of : Fabric
bcm0: Link up via auto-negotiation (100 Mbps, half duplex)
scsi4 at emx0 slot 0 rad 0
emx2 at pci3 slot 2
FCA-2354 : Driver Rev 2.06 : F/W Rev 3.81A4(1.01A0) : wwn
1000-0000-c92f-92c5
emx2: Using console topology setting of : Fabric
scsi5 at emx2 slot 0 rad 0
Created FRU table binary error log packet
kernel console: ace0
dli: configured
NetRAIN configured.
Random number generator configured.
ATM Subsystem configured with 1 restart threads
ATMUNI: configured
ATMSIG: 3.x (module=uni3x) configured
ILMI: 3.x (module=ilmi) configured
ATM IP: configured
ATM LANE: configured.
ATM IFMP: configured
vm_swap_init: Unexpected swapon for swap device /dev/disk/dsk0b
vm_swap_init: swap is re-set to lazy (over commitment) mode
Checking device naming:
    Passed.
Checking local filesystems
Mounting / (root)
msfs_mount: The mount device does not match the linked device.
Check linked device in /etc/fdmns/domain
msfs_mount: Setting root device name to root_device RW
user_cfg_pt: reconfigured
root_mounted_rw: reconfigured
user_cfg_pt: reconfigured
root_mounted_rw: reconfigured
user_cfg_pt: reconfigured
dsfmgr: NOTE: updating kernel basenames for system at /
    scp kevm tty00 tty01 lp0 random urandom dmapi cdrom0 scp0 dsk1 dsk2 dsk3
dsk4
Mounting local filesystems
exec: /sbin/mount_advfs -F 0x14000 root_domain#root /
msfs_mount: The mount device does not match the linked device.
Check linked device in /etc/fdmns/domain
msfs_mount: Setting root device name to root_device RW
root_domain#root on / type advfs (rw)
/proc on /proc type procfs (rw)
exec: /sbin/mount_advfs -F 0x4000 usr_domain#usr /usr
Error: /dev/disk/dsk0g is an invalid device or cannot be opened.
exec: /sbin/mount_advfs -F 0x4000 usr_domain#var /var
Error: /dev/disk/dsk0g is an invalid device or cannot be opened.
Subsystem hwautoconfig was successfully configured.
Mar 13 11:40:26 update: started
/sbin/it: Directory /usr/sbin not found.
/sbin/it: Abort: not found
/sbin/it: getconf: not found
/sbin/it: getconf: not found
/sbin/it: getconf: not found
/sbin/it: getconf: not found
/sbin/it: message: not found
/sbin/itruns: /usr/share/lib/shell/libinstall: not found
/sbin/it: wc: not found
/sbin/it: strsetup: not found
/sbin/it: autopush: not found
/sbin/it: /bin/machine: not found
tee: cannot open /var/adm/smlogs/it.log
/dev/disk/dsk0b is an invalid device or cannot be opened.
/sbin/it: sizer: not found
/sbin/it: CanRunX: not found
tee: cannot open /var/adm/smlogs/it.log
/sbin/it: Directory /usr/sbin not found.
/sbin/it: Abort: not found
/sbin/it: getconf: not found
/sbin/it: getconf: not found
/sbin/it: getconf: not found
/sbin/it: getconf: not found
/sbin/it: message: not found
/sbin/it: awk: not found
/sbin/it: awk: not found
/sbin/it: message: not found

INIT: Command is respawning too rapidly. Check for possible errors.
id:  esmd "/usr/sbin/esmd </dev/null >/dev/null 2>&1"

INIT: Command is respawning too rapidly. Check for possible errors.
id:  cons "/usr/sbin/getty console console vt100"
===============================================================

When the system is creating the disk devices it makes reference to DSK1,
DSK2, DSK3, and DSK4.  there is no reference to DSK0, the original boot disk
id, and the new disk DSK4 is created.  I then get the errors that the root
device does not match the linked device.

How do I go about configuring the system so that it will mount using the new
DSK4, or get rid of the original DSK0 so that it can create a new DSK0.

Note that when I boot to CD, I get DSK0 through 3, there is no DSK4.

Shawn

"Jacques Garnier" <jacques.garnier@xxxxxx.compaq.yyyyyyy.com> wrote in
message news:8gZba.269$p05.233@news.cpqcorp.net...
> You probably ( since you provide any system message it's a guess ) dont
made
> your new raid device bootable.
>
> # disklabel -r dsk1 > /tmp/dsk1.label
> # disklabel -R -t advfs dsk1 /tmp/dsk1.label
>
> If it's not the case, come back with the displayed system messages.
>
> "Shawn Kearley" <skearley@newfoundlandpower.com> wrote in message
> news:0Lrba.1120$qn.137143@localhost...
> > I am attempting to configure two new AlphaServer DS25 servers running
5.1B
> > of Tru64.  For redundancy I am trying to replace the initial single root
> > drive with a Raid-1 set.
> >
> > I have backed up the original disks and re-built the drives to a Raid-1
> > configuration, however I am having difficulties in getting the system to
> > boot with the new raid drive.
> >
> > I think my problem is with the way 5.1 handles the device files.
> >
> > Can anyone direct me to a good document on replacing the root disk.
> >
> > TIA
> > Shawn
> >
> > --
> > ======================================
> > Shawn Kearley
> > Infrastructure Analyst
> > Newfoundland Power Co. Ltd.
> > Phone: (709) 737-5724
> > Fax: (709) 737-5832
> > Email: skearley@newfoundlandpower.com
> >
> >
>
>




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Help needed with restoring root device
  2003-03-13 15:29   ` Shawn Kearley
@ 2003-03-13 17:51     ` Adam Price
  0 siblings, 0 replies; 5+ messages in thread
From: Adam Price @ 2003-03-13 17:51 UTC (permalink / raw)


In news:eu1ca.1278$qn.180157@localhost,
Shawn Kearley <skearley@newfoundlandpower.com> typed:
>
> When the system is creating the disk devices it makes reference to
> DSK1, DSK2, DSK3, and DSK4.  there is no reference to DSK0, the
> original boot disk id, and the new disk DSK4 is created.  I then get
> the errors that the root device does not match the linked device.
>
> How do I go about configuring the system so that it will mount using
> the new DSK4, or get rid of the original DSK0 so that it can create a
> new DSK0.
>
Boot to single user mode, use mount -o to remount the root disk in
read write mode, then use dsfmgr to swap dsk0 and dsk4.
Then remove dsk4.
The problem is caused by your 'recovered' root disk having a different
WWID to the old one and so it is seen as a new device.
HTH
Adam




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-03-13 17:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-11 20:33 Help needed with restoring root device Shawn Kearley
2003-03-12  8:07 ` TyBreaker
2003-03-13 10:42 ` Jacques Garnier
2003-03-13 15:29   ` Shawn Kearley
2003-03-13 17:51     ` Adam Price

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox