Solaris做鏡像時報錯根分區過大而做不了鏡像的問題解決辦法

Solaris 10 + Netra X1 + RAID 1 = problems   
2006-2-3 ??8:00

Click to email this message



 
I've run into a problem setting up RAID 1 on one of my netra X1s.
I have tried with identical Seagate 120GB drives and with a Seagate and Western Digital 120GB drive. During installation I left slice 7 free with about 1024mb of space for the meta database. Howeer when I try to create the db I get the following error:

metadb: hewitt: c0t0d0s7: overlaps with c0t0d0s0 which is mounted as '/'


I've researched that error message and the references I've seen indicate that it was a problem with Solaris 8 on the X1s. I would have hoped that such an error would have been fixed by 10.

Any ideas what I can do to get this to work?
 
tbeardsell2006
Posts:109
Registered: 1/19/06
Re: Solaris 10 + Netra X1 + RAID 1 = problems   
2006-2-4 ??11:06 (reply 1 of 2)  (In reply to original post )

Click to email this message



 
Hiya,

ONe question when you did the install of sol did you just set slice 7 with a size or did you give it a mount point.
What I normally do is set slice 7 up as /metadb with a 1024mb size then upon completion just edit it out of /etc/vfstab, umount /metadb then rmdir /metadb.
Then run the:
# metadb -a -f -c 3 c0t0d0s7
Also when adding the second sides of the submirrors to the mirror, add empty filesystems like /data or /ora at the same time you get a warning about losing data but it doesnt matter as there is none, just remake the filesystems on the main mirror and the jobs done.
This saves lots of time on sync.
Example:
metainit d20 1 1 c0t0d0s0
metainit d21 1 1 c1t0d0s0
metainit d10 -m d20 d21

Quick script to keep an eye on syncing:
# while true
do
metastat | grep one
sleep 1
clear
done
#
to exit just use ^c.

If you cannot resolve the metadb problem with the first fix just post the prtvtoc and we'll see whats wrong.
But I think its because you are not specifying a mount point for slice 7.

HTH

Tom
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章