Re: Raid on Solaris 10 x86

From
Alexander Lobanovich (2:5020/400)
To
Evgeniy
Date
2005-10-03T08:44:22Z
Area
RU.UNIX.SOLARIS
From: Alexander Lobanovich <alexandr.lobanovich@top-kniga.ru>

Evgeniy wrote:
>    Hi All,
>    Зеркалю диски на Solaris 10 x86. 
> Зеркалировать ли /boot или просто скопировать?  
> Как прописать в загрузчике грузиться сначала с 1-го АТА диска, а потом со 2-го
> ?
> 
зеркалировать вы можете только ufs-раздел

То есть вам нужно проделать следующее:

выдержка из FAQ


(6.42) How do I mirror root with Disksuite when /boot is a separate
fdisk partition?

You don't. Disksuite only supports mirroring ufs filesystems, so in
order to mirror /boot, it should be part of the root (/) slice inside
Sun's fdisk partition. Sun's default install will create a separate
10MB "x86 Boot" fdisk partition which is mounted as pcfs. If you
already have Disksuite running the solution is as follows:

Start with all the mirrors in place except for the :boot partition and
had identical layouts on both disks.
  1. Back up all my important stuff.
  2. Use metadb to delete the state db's on the Disk 1 and Disk 2 ( I
     have Disk 3 and Disk 4 for the time being).
  3. Get a tar backup of /boot directory and save it in / (root)
  4. metadetach and metaclear all the Submirror's from the Disksuite
     db's on disk 2.
  5. Recreate Disk 2 Partition table (using fdisk) to be 100% Solaris
     and rebuild Solaris Partition(Slice) table (using prtvtoc/fmthard)
  6. Re-mirror Disk 2 So it's almost identical to how it was at the
     beginning, except the x86 partition table is now one big Solaris
     partition. I.e., starting at the very beginning of the disk. This
     is very important, otherwise the bootblock installation won't
     work.
  7. Untar the boot directory tar file so now i've /boot ufs mirror
     under the / mount.
  8. Do step 4 on Disk 1.
  9. Do step 5 on Disk 1.


     ambiguous on this, but the Sunsolve doc says it must be run on
     slice 2 [it's obvious if you think about it]).


     the / fs.



[Thanks to "Nick" via John D. Groenveld]
--- ifmail v.2.15dev5.3
 * Origin: Top-Kniga (2:5020/400)
SEEN-BY: 46/50 50/203 520 450/159 186 247 1024 451/30 461/640 469/999 4625/8
SEEN-BY: 4627/10 5000/76 5000 5001/5001 5006/1 5007/1 5010/70 5011/13 5012/46
SEEN-BY: 5015/10 28 5020/118 175 194 400 545 715 758 830 902 937 1042 1169
SEEN-BY: 5020/1523 1604 1922 2020 2238 4441 5021/29 5022/128 5025/3 750
SEEN-BY: 5026/45 5027/16 5030/49 115 436 556 966 1900 1957 5031/47 72 5035/3
SEEN-BY: 5035/38 5036/1 5040/47 5045/7 5051/15 5053/16 5054/1 4 8 9 28 35 37
SEEN-BY: 5057/1 5060/88 5061/15 120 5062/1 10 5066/18 5067/2 5069/7 5070/1222
SEEN-BY: 5074/9 5075/5 35 5080/80 1003 5081/2 5082/6 5083/21 5085/13 5090/113
SEEN-BY: 5093/57 5095/20 5096/18 6000/254 6001/3
PATH: 5020/400 4441 545 5054/1 37