亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
1234下一頁(yè)
最近訪問板塊 發(fā)新帖
樓主: tootooluu
打印 上一主題 下一主題

求助SDS鏡象重啟完后總是有幾個(gè)分區(qū)需要needs maintenance [復(fù)制鏈接]

論壇徽章:
0
11 [報(bào)告]
發(fā)表于 2006-08-15 22:05 |只看該作者
“做鏡象,做完后同步一切正常,但一重啟動(dòng),就會(huì)出現(xiàn)某些分區(qū)needs maintenance”

有幾個(gè)分區(qū)是要重啟后才能同步的吧。

論壇徽章:
0
12 [報(bào)告]
發(fā)表于 2006-08-15 22:58 |只看該作者
不是的吧,我做玩,他自己就在同步,如果不重啟,同步狀態(tài)都是好的

論壇徽章:
0
13 [報(bào)告]
發(fā)表于 2006-08-15 23:18 |只看該作者
樓主能不能你把你做的步驟發(fā)上來(lái)讓大家看看?

論壇徽章:
0
14 [報(bào)告]
發(fā)表于 2006-08-16 00:13 |只看該作者
/, /usr 都是要要重啟后才能同步。

論壇徽章:
0
15 [報(bào)告]
發(fā)表于 2006-08-16 08:36 |只看該作者
問題是,我重啟動(dòng)完,metareplace -e d30 c0t3d0s0,總是報(bào)錯(cuò):(

論壇徽章:
0
16 [報(bào)告]
發(fā)表于 2006-08-16 09:01 |只看該作者
原帖由 tootooluu 于 2006-8-16 08:36 發(fā)表
問題是,我重啟動(dòng)完,metareplace -e d30 c0t3d0s0,總是報(bào)錯(cuò):(


問題集中在以下三個(gè)分區(qū):
/
/usr
/var

/dev/md/dsk/d30 /dev/md/rdsk/d30        /       ufs     1       no      logging
/dev/md/dsk/d32 /dev/md/rdsk/d32        /usr    ufs     1       no      logging
/dev/md/dsk/d33 /dev/md/rdsk/d33        /var    ufs     1       no      logging

這三個(gè)分區(qū)的鏡像尤其是/分區(qū)其步驟和其他分區(qū)是不一樣的,給你一個(gè)參考樣例(SVM Administration Guide.pdf Page116-117):

Example 11–6 SPARC: Creating a Mirror From the root (/) File System
# metainit -fd 1 1 1 c0t0d0s0
d1: Concat/Stripe is setup
# metainit d2 1 1 c0t1d0s0
d2: Concat/Stripe is setup
# metainit d0 -m d1
d0: Mirror is setup
# metaroot d0
# lockfs -fa
# reboot
...
# metattach d0 d2
d0: Submirror d2 is attached
# ls -l /dev/dsk/c0t1d0s0
lrwxrwxrwx 1 root root 88 Feb 8 15:51 /dev/rdsk/c1t3d0s0 ->
../../devices/pci@1f,0/pci@1,1/ide@3/dad@0,0:a
# init 0

.
.
ok nvalias backup_root /pci@1f,0/pci@1,1/ide@3/disk@0,0:a
ok setenv boot-device disk backup_root net
ok nvstore

In this example, the -f option forces the creation of the first RAID-0 volume, d1, which contains the mounted root (/) file system on /dev/dsk/c0t0d0s0. The second concatenation, d2, is created from /dev/dsk/c0t1d0s0. This slice must be the same size as, or larger than the size of d1. The metainit command with the -m option creates the one-way mirror d0 using the concatenation that contains root (/).

Next, the metaroot command edits the /etc/vfstab and /etc/system files so that the system can be booted with the root (/) file system on a volume. It is a good idea to run the lockfs -fa command before rebooting. For more information, see the lockfs(1M) man page.

Do not attach the second submirror before the system is rebooted. You must reboot after running the metaroot command and before attaching the second submirror.

After a reboot, the submirror d2 is attached to the mirror, causing a mirror resynchronization. The system confirms that the concatenations and the mirror are set up, and that submirror d2 is attached.

The ls -l command is run on the root raw device to determine the path to the alternate root device in case the system might later need to be booted from it.

論壇徽章:
0
17 [報(bào)告]
發(fā)表于 2006-08-16 09:05 |只看該作者
/var  分區(qū)也是比較特別的,就是總是在不停地記錄日志,這個(gè)也只有在單用戶的模式下才可能同步數(shù)據(jù)
最好是把你做這三個(gè)分區(qū)鏡像的步驟貼出來(lái),大家才好分析是什么原因

和硬盤沒有關(guān)系,20G的小硬盤還是很皮實(shí)的,更何況是新盤.步驟大體上沒有問題,畢竟還有2個(gè)鏡像是Okay狀態(tài)嘛

注意:給的例子是Solaris10 SVM Administration Guide中的,僅供參考

論壇徽章:
0
18 [報(bào)告]
發(fā)表于 2006-08-16 09:41 |只看該作者
Needs maintenance 如果同步還出現(xiàn)得話,建議將mirror打掉重做,還要徹底打點(diǎn),光metadetach是不行得,用metaclear -f 清楚狀態(tài),然后做mirror。
問題基本差不多OK。。

論壇徽章:
0
19 [報(bào)告]
發(fā)表于 2006-08-16 09:44 |只看該作者
找SDS for Solaris 2.6的軟件來(lái)用。

論壇徽章:
0
20 [報(bào)告]
發(fā)表于 2006-08-16 11:12 |只看該作者
謝謝各位,我的這三個(gè)分區(qū)操作步驟如下:
metainit -f d10 1 1 c0t0d0s0
metainit -f d20 1 1 c0t3d0s0
metainit d30 -m d10
metaroot d30
查看/etc/vfstab,并且能看到“/”文件系統(tǒng)將被掛載到/dev/md/dsk上而不是掛載到/dev/dsk.
metainit -f d12 1 1 c0t0d0s4
metainit -f d22 1 1 c0t3d0s4
metainit d32 -m d12
metainit -f d13 1 1 c0t0d0s5
metainit -f d23 1 1 c0t3d0s5
metainit d33 -m d13
。。。。
編寫/etc/vfstab表
lockfs -fa
init 6
追加第二個(gè)鏡像設(shè)備到鏡像
metattach d32 d22
metattach d33 d23
.....
installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c0t3d0s0
ok setenv boot-device disk disk3
ok reset-all
基本步驟就是這些了
alex_linux朋友,說(shuō)的metaclear我沒試過
我是這么修復(fù)的:
/usr/opt/SUNWmd/sbin/metadetach -f d30 d20
fsck -y /dev/md/rdsk/d20
/usr/opt/SUNWmd/sbin/metadetach -f d33 d23
fsck -y /dev/md/rdsk/d23
/usr/opt/SUNWmd/sbin/metadetach -f d32 d22
fsck -y /dev/md/rdsk/d22

/usr/opt/SUNWmd/sbin/metattach d30 d20
/usr/opt/SUNWmd/sbin/metattach d33 d23
/usr/opt/SUNWmd/sbin/metattach d32 d22

結(jié)果依然報(bào)錯(cuò),
WARNING: md: d22: write error on /dev/dsk/c0t3d0s4
WARNING: md: d22: /dev/dsk/c0t3d0s4 needs maintenance
metaclear -f 能說(shuō)的清楚點(diǎn)嗎?SUN 800建議我裝一下solaris 8看看是不是硬件問題!
而且我每次拆鏡像完后,fsck總能發(fā)現(xiàn)有壞的地方,需要支持:)
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP