免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 4378 | 回复: 11

懸10分,一個無法用flarcreate安裝的問題 (內詳) [复制链接]

论坛徽章:
0
发表于 2007-09-11 13:20 |显示全部楼层
10可用积分
各位牛人前輩

小弟遇到這問題已經不只一次了
特來請教,10分希望能得到一些答案

我使用SUN V215 用的是SAS 73G HD

原本的安裝系統分了下列幾個slice

/
SWAP
/usr
/export/home
/home2
當中有100mb當成metadb的所在地,放的地方是 c1t0d0s3

因為有兩台,為了節省上EIS CD patch時間
所以第一台安裝之後,在還沒有安裝SDS的時候,便用flarcreate 做出了flash檔

之後放在該台電腦上,另一台使用solaris9 導引開機,
指到該路徑安裝,

相同的 slice配置下,安裝成功,結束...


兩天後user告知"同一台V215"要改架構,
要改成以下slice

/

SWAP
還有預留100mb給metadb存放

於是我在同一機器上做出來的同一個FLASH,使用Solaris10導引開機 (因為帶錯片)
灌好之後卻立即出現下列訊息:

Rebooting with command: boot                                          
Boot device: /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/disk@0,0:a  File and args:
SunOS Release 5.9 Version Generic_122300-10 64-bit
Copyright 1983-2003 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Hardware watchdog enabled
configuring IPv4 interfaces: bge0.
Hostname: ultra2
The / file system (/dev/rdsk/c1t0d0s0) is being checked.
fsck: could not stat /dev/rdsk/c1t0d0s0: No such file or directory

WARNING - Unable to repair the / filesystem. Run fsck
manually (fsck -F ufs /dev/rdsk/c1t0d0s0). Exit the shell when
done to continue the boot process.


Type control-d to proceed with normal startup,
(or give root password for system maintenance):
single-user privilege assigned to /dev/console.
Entering System Maintenance Mode

Sep 10 15:37:36 su: 'su root' succeeded for root on /dev/console
Sun Microsystems Inc.   SunOS 5.9       Generic May 2002
Sourcing //.profile-EIS.....
root@ultra2 #
root@ultra2 #
root@ultra2 # df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/disk@0,0:a
                     63418307 5123653 57660471     9%    /
/proc                      0       0       0     0%    /proc
mnttab                     0       0       0     0%    /etc/mnttab


打完root密碼,卻無法做fsck,
打format是disk no found,

進/dev/rdsk跟/dev/dsk 出現的東西如下


root@ultra2 # cd /dev
root@ultra2 # cd rdsk
root@ultra2 # ls -l
total 32
lrwxrwxrwx   1 root     root          65 Sep 10 15:35 c0t0d0s0 -> ../../devices/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0:a,raw
lrwxrwxrwx   1 root     root          65 Sep 10 15:35 c0t0d0s1 -> ../../devices/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0:b,raw
lrwxrwxrwx   1 root     root          65 Sep 10 15:35 c0t0d0s2 -> ../../devices/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0:c,raw
lrwxrwxrwx   1 root     root          65 Sep 10 15:35 c0t0d0s3 -> ../../devices/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0:d,raw
lrwxrwxrwx   1 root     root          65 Sep 10 15:35 c0t0d0s4 -> ../../devices/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0:e,raw
lrwxrwxrwx   1 root     root          65 Sep 10 15:35 c0t0d0s5 -> ../../devices/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0:f,raw
lrwxrwxrwx   1 root     root          65 Sep 10 15:35 c0t0d0s6 -> ../../devices/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0:g,raw
lrwxrwxrwx   1 root     root          65 Sep 10 15:35 c0t0d0s7 -> ../../devices/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0:h,raw
lrwxrwxrwx   1 root     root          71 Sep 10 15:35 c1t0d0s0 -> ../../devices/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0:a,raw
lrwxrwxrwx   1 root     root          71 Sep 10 15:35 c1t0d0s1 -> ../../devices/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0:b,raw
lrwxrwxrwx   1 root     root          71 Sep 10 15:35 c1t0d0s2 -> ../../devices/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0:c,raw
lrwxrwxrwx   1 root     root          71 Sep 10 15:35 c1t0d0s3 -> ../../devices/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0:d,raw
lrwxrwxrwx   1 root     root          71 Sep 10 15:35 c1t0d0s4 -> ../../devices/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0:e,raw
lrwxrwxrwx   1 root     root          71 Sep 10 15:35 c1t0d0s5 -> ../../devices/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0:f,raw
lrwxrwxrwx   1 root     root          71 Sep 10 15:35 c1t0d0s6 -> ../../devices/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0:g,raw
lrwxrwxrwx   1 root     root          71 Sep 10 15:35 c1t0d0s7 -> ../../devices/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0:h,raw
root@ultra2 # cd ../dsk
root@ultra2 # ls -l
total 32
lrwxrwxrwx   1 root     root          61 Sep 10 15:35 c0t0d0s0 -> ../../devices/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0:a
lrwxrwxrwx   1 root     root          61 Sep 10 15:35 c0t0d0s1 -> ../../devices/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0:b
lrwxrwxrwx   1 root     root          61 Sep 10 15:35 c0t0d0s2 -> ../../devices/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0:c
lrwxrwxrwx   1 root     root          61 Sep 10 15:35 c0t0d0s3 -> ../../devices/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0:d
lrwxrwxrwx   1 root     root          61 Sep 10 15:35 c0t0d0s4 -> ../../devices/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0:e
lrwxrwxrwx   1 root     root          61 Sep 10 15:35 c0t0d0s5 -> ../../devices/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0:f
lrwxrwxrwx   1 root     root          61 Sep 10 15:35 c0t0d0s6 -> ../../devices/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0:g
lrwxrwxrwx   1 root     root          61 Sep 10 15:35 c0t0d0s7 -> ../../devices/pci@1e,600000/pci@0/pci@1/pci@0/ide@1f/sd@0,0:h
lrwxrwxrwx   1 root     root          67 Sep 10 15:35 c1t0d0s0 -> ../../devices/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0:a
lrwxrwxrwx   1 root     root          67 Sep 10 15:35 c1t0d0s1 -> ../../devices/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0:b
lrwxrwxrwx   1 root     root          67 Sep 10 15:35 c1t0d0s2 -> ../../devices/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0:c
lrwxrwxrwx   1 root     root          67 Sep 10 15:35 c1t0d0s3 -> ../../devices/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0:d
lrwxrwxrwx   1 root     root          67 Sep 10 15:35 c1t0d0s4 -> ../../devices/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0:e
lrwxrwxrwx   1 root     root          67 Sep 10 15:35 c1t0d0s5 -> ../../devices/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0:f
lrwxrwxrwx   1 root     root          67 Sep 10 15:35 c1t0d0s6 -> ../../devices/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0:g
lrwxrwxrwx   1 root     root          67 Sep 10 15:35 c1t0d0s7 -> ../../devices/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/sd@0,0:h
root@ultra2 # df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/disk@0,0:a
                     63418307 5123653 57660471     9%    /
/proc                      0       0       0     0%    /proc
mnttab                     0       0       0     0%    /etc/mnttab


若是ctrl+d後
會出現下列問題
Sep 10 15:40:38 su: 'su root' succeeded for root on /dev/console
Sun Microsystems Inc.   SunOS 5.9       Generic May 2002
Sourcing //.profile-EIS.....
root@ultra2 # exit
resuming system initialization
mount: /dev/dsk/c1t0d0s5 or /var, no such file or directory
mount: mount-point /var/run does not exist.

INIT: Cannot create /var/adm/utmpx

INIT: failed write of utmpx entry:"  "

INIT: failed write of utmpx entry:"  "



應該不是flash檔有問題,因為有灌成過另一台
難道是因為slice不同嗎?
用cd-rom開機進S mode,
fsck 都沒有出現問題,(就算是/var/也是)
萬分無解,懇請支持,任何想法或意見都歡迎,

再次感激!

[[i] 本帖最后由 liton24 于 2007-9-11 13:26 编辑 [/i]]

论坛徽章:
0
发表于 2007-09-11 13:52 |显示全部楼层
只能用同版本的系统光盘引导后进行flar安装,比如solaris9光盘引导来安装solaris9的flar。solaris10同理。

论坛徽章:
0
发表于 2007-09-11 13:56 |显示全部楼层
@@所以是因為我導引片的問題嗎?

那solaris8 光盤沒有flash安裝功能,那solaris8 不允許flash安裝嗎?
感謝回答 謝謝

论坛徽章:
0
发表于 2007-09-11 16:02 |显示全部楼层
頂上去~

论坛徽章:
0
发表于 2007-09-12 05:06 |显示全部楼层
要改成以下slice
/

SWAP
還有預留100mb給metadb存放
After you re-partitioned your disk as above , did you re-create your flash archive or you still used the first flash archive to install the system? From the error message, it is clear that you system can't find the / partition. It must be related to your partition setting.

论坛徽章:
0
发表于 2007-09-12 09:17 |显示全部楼层
But I should use the first flash to make the system with different partition??
Could you kindly tell me why ,that I can't use the first flash file to the new system ?

thank you very much !

论坛徽章:
0
发表于 2007-09-12 23:28 |显示全部楼层
使用Solaris10導引開機 (因為帶錯片)
灌好...
Are you sure you used c1t0d0s0 as your / partition at the second install? The way flash archive works is that you must have exactly the same layout as your master machine (the first machine). If your first machine's / is c1t0d0s0 but you choose to use c0t0d0s0 as the / partition for your second machine, the flash archive will not work.

论坛徽章:
0
发表于 2007-09-13 01:03 |显示全部楼层
我觉得可能是分区产生的问题,开始的时候/usr是独立出来的,后来又要把它整合进取,这样可能有问题的。
barrylin 该用户已被删除
发表于 2007-10-12 16:38 |显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
发表于 2007-10-12 16:46 |显示全部楼层
solaris8的flash安装模式没有ftp模式,一般都是用9的系统盘引导。
solaris8,9用flash安装都可以用solaris9的系统盘引导;solaris10的只能用10的光盘引导。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP