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

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
樓主: tootooluu
打印 上一主題 下一主題

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

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

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

論壇徽章:
0
13 [報告]
發(fā)表于 2006-08-16 09:01 |只看該作者
原帖由 tootooluu 于 2006-8-16 08:36 發(fā)表\r\n問題是,我重啟動完,metareplace -e d30 c0t3d0s0,總是報錯:(
\r\n\r\n問題集中在以下三個分區(qū):\r\n/\r\n/usr\r\n/var\r\n\r\n/dev/md/dsk/d30 /dev/md/rdsk/d30        /       ufs     1       no      logging\r\n/dev/md/dsk/d32 /dev/md/rdsk/d32        /usr    ufs     1       no      logging\r\n/dev/md/dsk/d33 /dev/md/rdsk/d33        /var    ufs     1       no      logging\r\n\r\n這三個分區(qū)的鏡像尤其是/分區(qū)其步驟和其他分區(qū)是不一樣的,給你一個參考樣例(SVM Administration Guide.pdf Page116-117):\r\n\r\nExample 11–6 SPARC: Creating a Mirror From the root (/) File System\r\n# metainit -fd 1 1 1 c0t0d0s0\r\nd1: Concat/Stripe is setup\r\n# metainit d2 1 1 c0t1d0s0\r\nd2: Concat/Stripe is setup\r\n# metainit d0 -m d1\r\nd0: Mirror is setup\r\n# metaroot d0\r\n# lockfs -fa\r\n# reboot\r\n...\r\n# metattach d0 d2\r\nd0: Submirror d2 is attached\r\n# ls -l /dev/dsk/c0t1d0s0\r\nlrwxrwxrwx 1 root root 88 Feb 8 15:51 /dev/rdsk/c1t3d0s0 ->\r\n../../devices/pci@1f,0/pci@1,1/ide@3/dad@0,0:a\r\n# init 0\r\n\r\n.\r\n.\r\nok nvalias backup_root /pci@1f,0/pci@1,1/ide@3/disk@0,0:a\r\nok setenv boot-device disk backup_root net\r\nok nvstore\r\n\r\nIn 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 (/).\r\n\r\nNext, 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.\r\n\r\nDo not attach the second submirror before the system is rebooted. You must reboot after running the metaroot command and before attaching the second submirror.\r\n\r\nAfter 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.\r\n\r\nThe 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
14 [報告]
發(fā)表于 2006-08-16 09:05 |只看該作者
/var  分區(qū)也是比較特別的,就是總是在不停地記錄日志,這個也只有在單用戶的模式下才可能同步數(shù)據(jù)\r\n最好是把你做這三個分區(qū)鏡像的步驟貼出來,大家才好分析是什么原因\r\n\r\n和硬盤沒有關(guān)系,20G的小硬盤還是很皮實的,更何況是新盤.步驟大體上沒有問題,畢竟還有2個鏡像是Okay狀態(tài)嘛\r\n\r\n注意:給的例子是Solaris10 SVM Administration Guide中的,僅供參考

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

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

論壇徽章:
0
17 [報告]
發(fā)表于 2006-08-16 11:12 |只看該作者
謝謝各位,我的這三個分區(qū)操作步驟如下:\r\nmetainit -f d10 1 1 c0t0d0s0 \r\nmetainit -f d20 1 1 c0t3d0s0\r\nmetainit d30 -m d10\r\nmetaroot d30\r\n查看/etc/vfstab,并且能看到“/”文件系統(tǒng)將被掛載到/dev/md/dsk上而不是掛載到/dev/dsk. \r\nmetainit -f d12 1 1 c0t0d0s4\r\nmetainit -f d22 1 1 c0t3d0s4\r\nmetainit d32 -m d12\r\nmetainit -f d13 1 1 c0t0d0s5\r\nmetainit -f d23 1 1 c0t3d0s5\r\nmetainit d33 -m d13\r\n。。。。\r\n編寫/etc/vfstab表\r\nlockfs -fa \r\ninit 6\r\n追加第二個鏡像設(shè)備到鏡像\r\nmetattach d32 d22\r\nmetattach d33 d23\r\n.....\r\ninstallboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c0t3d0s0\r\nok setenv boot-device disk disk3\r\nok reset-all\r\n基本步驟就是這些了\r\nalex_linux朋友,說的metaclear我沒試過\r\n我是這么修復(fù)的:\r\n /usr/opt/SUNWmd/sbin/metadetach -f d30 d20\r\n fsck -y /dev/md/rdsk/d20\r\n /usr/opt/SUNWmd/sbin/metadetach -f d33 d23\r\n fsck -y /dev/md/rdsk/d23\r\n /usr/opt/SUNWmd/sbin/metadetach -f d32 d22\r\n fsck -y /dev/md/rdsk/d22\r\n \r\n /usr/opt/SUNWmd/sbin/metattach d30 d20\r\n /usr/opt/SUNWmd/sbin/metattach d33 d23\r\n /usr/opt/SUNWmd/sbin/metattach d32 d22\r\n\r\n結(jié)果依然報錯,\r\nWARNING: md: d22: write error on /dev/dsk/c0t3d0s4\r\nWARNING: md: d22: /dev/dsk/c0t3d0s4 needs maintenance\r\nmetaclear -f 能說的清楚點嗎?SUN 800建議我裝一下solaris 8看看是不是硬件問題!\r\n而且我每次拆鏡像完后,fsck總能發(fā)現(xiàn)有壞的地方,需要支持:)

論壇徽章:
0
18 [報告]
發(fā)表于 2006-08-16 11:15 |只看該作者
還有就是:\r\nmetareplace -e d30 c0t3d0s0\r\nmetareplace -e d32 c0t3d0s4\r\nmetareplace -e d33 c0t3d0s5\r\n\r\n也報同樣的錯誤。海

論壇徽章:
0
19 [報告]
發(fā)表于 2006-08-16 11:41 |只看該作者
剛剛做了如下操作:\r\n# /usr/opt/SUNWmd/sbin/metadetach -f d30 d20\r\nd30: submirror d20 is detached\r\n# /usr/opt/SUNWmd/sbin/metaclear -f d30 d20\r\nmetaclear: sun04: d30: metadevice is open\r\n\r\nd20: Concat/Stripe is cleared\r\n\r\n# /usr/opt/SUNWmd/sbin/metainit -f d20 1 1 c0t3d0s0\r\nd20: Concat/Stripe is setup\r\n# /usr/opt/SUNWmd/sbin/metattach d30 d20\r\nd30: submirror d20 is attached\r\n\r\n同步到73%的時候出錯:(

論壇徽章:
0
20 [報告]
發(fā)表于 2006-08-16 13:47 |只看該作者
不會是硬盤有問題了吧,做之前先fsck看看
您需要登錄后才可以回帖 登錄 | 注冊

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

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP