Solaris做镜像时报错根分区过大而做不了镜像的问题解决办法

本文介绍了在使用Solaris操作系统时遇到创建镜像过程中根分区大小超出限制的问题,及其详细的解决步骤,帮助读者理解如何调整根分区并成功创建镜像。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值