|
|
recover metadata configuration
hi all,
I tried to UPDATE an existing solaris machine that had 4 disks. 0/1
the usual
and 3/4 configured as a metadisk.
Now during installation the question "update" or "install" wasn't
asked and the result
is that disks 0/1 are overwritten. So I lost the config data of disks
3/4
is it possible from the output of prtvtoc of disks3/4 to restore the
metadevice?
# prtvtoc /dev/rdsk/c1t3d0s2
* /dev/rdsk/c1t3d0s2 partition map
*
* Dimensions:
* 512 bytes/sector
* 424 sectors/track
* 24 tracks/cylinder
* 10176 sectors/cylinder
* 14089 cylinders
* 14087 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
2 5 00 0 143349312 143349311
5 0 00 0 63996864 63996863
6 0 00 63996864 79281216 143278079
7 0 00 143278080 71232 143349311
thanks in advance for all answers or pointers to.
|
|
0
|
|
|
|
Reply
|
getridofthespam (120)
|
8/31/2011 4:05:24 PM |
|
adirtymindisajoyforever <getridofthespam@yahoo.com> wrote:
> hi all,
>
> I tried to UPDATE an existing solaris machine that had 4 disks. 0/1
> the usual
> and 3/4 configured as a metadisk.
> Now during installation the question "update" or "install" wasn't
> asked and the result
> is that disks 0/1 are overwritten. So I lost the config data of disks
> 3/4
>
> is it possible from the output of prtvtoc of disks3/4 to restore the
> metadevice?
>
> # prtvtoc /dev/rdsk/c1t3d0s2
> * /dev/rdsk/c1t3d0s2 partition map
how was the data layed out? were you using mirrors or something simple like that?
do the metastat and metadb still work?
|
|
0
|
|
|
|
Reply
|
presence (537)
|
8/31/2011 7:07:05 PM
|
|
On 31 aug, 21:07, Cydrome Leader <prese...@MUNGEpanix.com> wrote:
> adirtymindisajoyforever <getridofthes...@yahoo.com> wrote:
> > hi all,
>
> > I tried to UPDATE an existing solaris machine that had 4 disks. 0/1
> > the usual
> > and 3/4 configured as a metadisk.
> > Now during installation the question "update" or "install" wasn't
> > asked and the result
> > is that disks 0/1 are overwritten. So I lost the config data of disks
> > 3/4
>
> > is it possible from the output of prtvtoc of disks3/4 to restore the
> > metadevice?
>
> > # prtvtoc /dev/rdsk/c1t3d0s2
> > * /dev/rdsk/c1t3d0s2 partition map
>
> how was the data layed out? were you using mirrors or something simple like that?
>
> do the metastat and metadb still work?
disk 4 was the mirror of disk 3.
meta* commands do not work anymore, config files are gone due to new
installation.
|
|
0
|
|
|
|
Reply
|
getridofthespam (120)
|
9/1/2011 6:11:50 AM
|
|
if mirror was there means u dont have to worry at all.
simply rebuild ur mirrors .
if RAID 0 or RAID 5 is there means u will lose data.
offcourse meta* cmds will not work as there are no metadevices configured yet
so configure mirrors accordingly and u r good to go with new config.
|
|
0
|
|
|
|
Reply
|
paroksha.sun (22)
|
9/5/2011 7:31:16 AM
|
|
|
3 Replies
133 Views
(page loaded in 0.15 seconds)
|
|
|
|
|
|
|
|
|