Summary: How to delete metadb replica in non-existent hard disk

From: Patrick Li <lipcy_at_hotmail.com>
Date: Thu Feb 07 2002 - 03:26:03 EST
Thanks Sean,

Your suggestion works!  But, the null device should be linked to
/dev/rdsk/c2* rather than /dev/dsk/c2*.

===

Haven't tried this myself but it should work.  Remove the links in
/dev/dsk corresponding to the slices and recreating them to something
else such as blank files or links else where (/dev/null or /bin/true).
Remove the replicas and then recreate the correct links.

Sean.
--
Sean Steppie, Unix Systems Administrator, Silicon Media Group.
T: 020 7761 8470         | http://www.silicon.com
   020 7761 8000         | http://www.silicon.de
F: 020 7761 8008         | http://www.silicon.fr
E: ssteppie_at_silicon.com  | http://www.atscojobs.com
The who, what, when, where and why of ebusiness
Internet E-mails are not necessarily secure. Silicon Media Group Limited
accepts no responsibility for information, errors or omissions in this
e-mail nor for its use or misuse nor for any act committed or omitted in
connection with this communication.

 This message is intended only for the use of the person(s) (the "intended
recipient (s)") to whom it is addressed. It may contain information which is
privileged and confidential. If you are not the intended recipient, please
return the message to the sender by replying to it and then delete the
message from your server. The views expressed in this communication may not
necessarily be the views of Silicon Media Group Limited.

Silicon Media Group Limited is registered in England No. 03470163.
Registered Office: Anchor House, 15-19 Britten Street, London. SW3 3TY

----- Original Message -----
From: "Patrick Li" <lipcy@hotmail.com>
To: <sunmanagers@sunmanagers.org>
Sent: Wednesday, February 06, 2002 5:57 PM
Subject: How to delete metadb replica in non-existent hard disk


> Dear all,
>
> Below is the screen output.  The problem is c2t0d0 and c2t1d0 is not
> existent when i received this system.  How can i delete the replicas
flaged
> with 'M'?
>
> # metadb
>         flags           first blk       block count
>      a m  p  luo        16              1034            /dev/dsk/c0t0d0s3
>      a    p  luo        1050            1034            /dev/dsk/c0t0d0s3
>      a    p  luo        2084            1034            /dev/dsk/c0t0d0s3
>      a    p  luo        16              1034            /dev/dsk/c0t1d0s3
>      a    p  luo        1050            1034            /dev/dsk/c0t1d0s3
>      a    p  luo        2084            1034            /dev/dsk/c0t1d0s3
>   F M     p             unknown         unknown         /dev/dsk/c2t0d0s3
>   F M     p             unknown         unknown         /dev/dsk/c2t0d0s3
>   F M     p             unknown         unknown         /dev/dsk/c2t0d0s3
>     M     p             unknown         unknown         /dev/dsk/c2t1d0s3
>     M     p             unknown         unknown         /dev/dsk/c2t1d0s3
>     M     p             unknown         unknown         /dev/dsk/c2t1d0s3
>      a       luo        3118            1034            /dev/dsk/c0t1d0s3
> # metadb -d -f c2t1d0s3
> metadb: suntest: c2t1d0s3: No such file or directory
>
> Thanks
> Patrick.
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Feb 7 02:27:11 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:33 EST