Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have Solaris machine With two disks (the disks defined as RAID 1 (mirror configuration ) actually when I pull out one disk the second disk will be active

The problem is that when I run metadb on my Solaris machine I see only one disk - /dev/dsk/c1t0d0s7 in place to see two see two disks ?

Mirroring of the initial hard drive is taken place to the second hard drive.remark - However – if the first hard drive fails – the mirroring is useless since the replica information is not added for the second hard drive.

please advice how to add the second disk ?

    [root@solaris1a /]# metadb
    flags           first blk       block count
    a m  p  luo        16              8192            /dev/dsk/c1t0d0s7
    a    p  luo        8208            8192            /dev/dsk/c1t0d0s7
    a    p  luo        16400           8192            /dev/dsk/c1t0d0s7
share|improve this question

1 Answer 1

up vote 0 down vote accepted

You have to tell metadb explicitly what slices to use for its meta data. This

# metadb -a -c 2 c1t1d0s7

will place two more copies of the metadb into slice /dev/dsk/c1t1d0s7.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.