SUMMARY: Cloning through SDS Mirror, boot failure

From: Tony Howat <t.howat_at_linst.ac.uk>
Date: Fri May 21 2004 - 04:30:11 EDT
Dan Green wrote:

> Dear Managers,
> 
> I am attempting to clone a Solaris 9 SDS mirrored bootdisk system
> running on a V120 to another V120. To achieve this I am breaking the
> mirror to target 1 on the source system :
> 
> metadetach -f d30 d20
> metadetach -f d31 d21
> metadetach -f d32 d22
> metadetach -f d33 d23
> metadetach -f d34 d24
> metadetach -f d35 d25
> 
> So, I insert the disk from the source system into the destination system
> and boot :
> 
> ok boot disk1
> Boot device: /pci@1f,0/pci@1/scsi@8/disk@1,0  File and args:
> SunOS Release 5.9 Version Generic_112233-08 64-bit
> Copyright 1983-2003 Sun Microsystems, Inc.  All rights reserved.
> Use is subject to license terms.
> Cannot mount root on /pseudo/md@0:0,30,blk fstype ufs
> 
> panic[cpu0]/thread=140a000: vfs_mountroot: cannot mount root
> 
> 0000000001409970 genunix:vfs_mountroot+70 (0, 0, 0, 200, 1456da8, 0)
>    %l0-3: 000000000144a800 000000000144a800 0000000000002000
> 0000000001495a18
>    %l4-7: 0000000001493400 0000000001411be8 000000000144b000
> 000000000144e000
> 0000000001409a20 genunix:main+98 (1409ba0, f00618b8, 1409ec0, 33267c,
> 2000, 500)
> 
>    %l0-3: 0000000000000001 0000000000000000 0000000001412c90
> 0000000078002000
>    %l4-7: 000000000140a000 0000000000334000 000000000149b0d8
> 0000000001062dd0
> 
> skipping system dump - no dump device configured
> rebooting...
> 
> Oops. The same happens if I have the disk in the t0 slot.

Thanks for the numerous suggestions. The problem was the metadetach 
lines, in that when the mirrors are detached, booting on the destination 
  system will start SDS. However, because the mirrors were detached SDS 
has nothing to work on, so it panics. D'oh.

Solution One (Nasty): Don't detach. Get the system to a quiescent state 
(off would be good), and then just yank the disk.
Solution Two: detach and then mount the root fs on the disk you'll be 
moving. Alter /etc/system to not load SDS and /etc/vfstab to use 
/dev/dsk/cntndnsn rather than the meta devices. Then move the disk and 
rebuild the SDS stuff.

Thanks to all those who replied.

-- 
Tony Howat
UNIX Network Administrator
University Of The Arts London
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri May 21 04:30:08 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:32 EST