免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
123下一页
最近访问板块 发新帖
查看: 14184 | 回复: 22
打印 上一主题 下一主题

请教T5240建硬raid问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-06-17 11:27 |只看该作者 |倒序浏览
本帖最后由 roland_wg 于 2011-06-17 11:34 编辑

大家好!

现有一台Sun T5240服务器,如何先用两块盘做好raid1,再在此基础上装操作系统?
看到官网文档都是有操作系统的基础上做raid,刚接触sun 的机器 ,请大家多指教,谢谢!

论坛徽章:
1
射手座
日期:2014-03-17 10:50:20
2 [报告]
发表于 2011-06-17 13:11 |只看该作者
先进入光盘单用户,创建RAID再安装操作系统!

论坛徽章:
0
3 [报告]
发表于 2011-06-17 13:24 |只看该作者
回复 2# wang_sy


    没有光驱,如果先在一块盘上装好系统,在做raid1,可以么?

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
4 [报告]
发表于 2011-06-17 14:28 |只看该作者
不行,要在ok下去做好raid,然后装系统,要lable下的,不然。。。。

论坛徽章:
0
5 [报告]
发表于 2011-06-17 14:57 |只看该作者
单用户下 做raid,然后再装系统吧,在ok状态下怎么做raid?请教一下大蜘蛛?

论坛徽章:
0
6 [报告]
发表于 2011-06-17 18:24 |只看该作者
回复  wang_sy


    没有光驱,如果先在一块盘上装好系统,在做raid1,可以么?
roland_wg 发表于 2011-06-17 13:24



    T5240没有光驱,拆了?

论坛徽章:
0
7 [报告]
发表于 2011-06-20 17:58 |只看该作者
回复 4# 东方蜘蛛

光驱坏了。

请教怎么再OK状态下做raid?

论坛徽章:
3
2015年辞旧岁徽章
日期:2015-03-03 16:54:15操作系统版块每日发帖之星
日期:2016-01-21 06:20:00操作系统版块每日发帖之星
日期:2016-08-11 06:20:00
8 [报告]
发表于 2011-06-23 16:17 |只看该作者
自己去扫盲吧

论坛徽章:
3
2015年辞旧岁徽章
日期:2015-03-03 16:54:15操作系统版块每日发帖之星
日期:2016-01-21 06:20:00操作系统版块每日发帖之星
日期:2016-08-11 06:20:00
9 [报告]
发表于 2011-06-23 16:18 |只看该作者
在论坛中有做RAID的文章

论坛徽章:
0
10 [报告]
发表于 2011-06-24 17:42 |只看该作者
SUNSP-BDL11100A8 login: root
Password:
Waiting for daemons to initialize...

Daemons ready

Oracle(R) Integrated Lights Out Manager

Version 3.0.10.2.a r55739

Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.

Warning: password is set to factory default.

-> set /HOST/bootmode script="setenv auto-boot? false"
Set 'script' to 'setenv auto-boot? false'

-> start /SYS
Are you sure you want to start /SYS (y/n)? y
Starting /SYS

-> start /SP/console
Are you sure you want to start /SP/console (y/n)? y

Serial console started.  To stop, type #.
0:0:0>
0:0:0>SPARC-Enterprise[TM] T5120/T5220 POST 4.30.8 2010/04/27 15:33
       /export/delivery/delivery/4.30/4.30.8/post4.30.8-micro/Niagara/huron/integrated  (root)  
0:0:0>Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
0:0:0>POST enabling CMP 0 threads: ffffffff.ffffffff
0:0:0>VBSC mode is: 00000000.00000001
0:0:0>VBSC level is: 00000000.00000001
0:0:0>VBSC selecting Normal mode, MAX Testing.
0:0:0>VBSC setting verbosity level 2
0:0:0>Basic Memory Tests....Done
0:0:0>Test Memory....Done
0:0:0>Setup POST Mailbox ....Done
0:0:0>Master CPU Tests Basic....Done
0:0:0>Init MMU.....
0:0:0>NCU Setup and PIU link train....Done
0:0:0>L2 Tests....Done
0:0:0>Extended CPU Tests....Done
0:0:0>Scrub Memory....Done
0:0:0>SPU CWQ Tests...Done
0:0:0>MAU Tests...Done
0:0:0>Network Interface Unit Tests....Done
0:0:0>Functional CPU Tests....Done
0:0:0>Extended Memory Tests....Done
2011-05-09 09:05:12.466 0:0:0>INFO:
2011-05-09 09:05:12.470 0:0:0>  POST Passed all devices.
2011-05-09 09:05:12.487 0:0:0>POST:     Return to VBSC.
2011-05-09 09:05:12.491 0:0:0>Master set ACK for vbsc runpost command and spin...
0:0:0>
0:0:0>SPARC-Enterprise[TM] T5120/T5220 POST 4.30.8 2010/04/27 15:33
       /export/delivery/delivery/4.30/4.30.8/post4.30.8-micro/Niagara/huron/integrated  (root)  
0:0:0>Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
0:0:0>POST enabling CMP 0 threads: ffffffff.ffffffff
0:0:0>VBSC mode is: 00000000.00000001
0:0:0>VBSC level is: 00000000.00000001
0:0:0>VBSC selecting Normal mode, MAX Testing.
0:0:0>VBSC setting verbosity level 2
0:0:0>Basic Memory Tests....Done
0:0:0>Test Memory....Done
0:0:0>Setup POST Mailbox ....Done
0:0:0>Master CPU Tests Basic....Done
0:0:0>Init MMU.....
0:0:0>NCU Setup and PIU link train....Done
0:0:0>L2 Tests....Done
0:0:0>Extended CPU Tests....Done
0:0:0>Scrub Memory....Done
0:0:0>SPU CWQ Tests...Done
0:0:0>MAU Tests...Done
0:0:0>Network Interface Unit Tests....Done
0:0:0>Functional CPU Tests....Done
0:0:0>Extended Memory Tests....Done
2011-05-09 09:08:11.526 0:0:0>INFO:
2011-05-09 09:08:11.530 0:0:0>  POST Passed all devices.
2011-05-09 09:08:11.534 0:0:0>POST:     Return to VBSC.
2011-05-09 09:08:11.546 0:0:0>Master set ACK for vbsc runpost command and spin...
\

SPARC Enterprise T5220, No Keyboard
Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.30.8.a, 16256 MB memory available, Serial #90046224.
Ethernet address 0:21:28:5d:ff:10, Host ID: 855dff10.



auto-boot? =            false
{0} ok boot cdrom -s
Boot device: /pci@0/pci@0/pci@1/pci@0/pci@1/pci@0/usb@0,2/hub@4/device@4/storage@0/disk@0:f  File and args: -s
Can't read disk label.
Can't open disk label package
ERROR: boot-read fail


Can't open boot device

{0} ok boot cdrom -s
Boot device: /pci@0/pci@0/pci@1/pci@0/pci@1/pci@0/usb@0,2/hub@4/device@4/storage@0/disk@0:f  File and args: -s
SunOS Release 5.10 Version Generic_137137-09 64-bit
Copyright 1983-2008 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Booting to milestone "milestone/single-user:default".
Configuring devices.
Using RPC Bootparams for network configuration information.
Attempting to configure interface e1000g3...
Skipped interface e1000g3
Attempting to configure interface e1000g2...
Skipped interface e1000g2
Attempting to configure interface e1000g1...
Skipped interface e1000g1
Attempting to configure interface e1000g0...
Skipped interface e1000g0
Requesting System Maintenance Mode
SINGLE USER MODE
# raidctl -c c1t0d0 c1t1d0
Creating RAID volume will destroy all data on spare space of member disks, proceed (yes/no)? y
/pci@0/pci@0/pci@2/scsi@0 (mpt0):
        Physical disk 0 created.
/pci@0/pci@0/pci@2/scsi@0 (mpt0):
        Physical disk 1 created.
/pci@0/pci@0/pci@2/scsi@0 (mpt0):
        Volume 0 created.
WARNING: /pci@0/pci@0/pci@2/scsi@0 (mpt0):
        Volume 0 is degraded

/pci@0/pci@0/pci@2/scsi@0 (mpt0):
        Physical disk (target 1) is |out of sync||online|
/pci@0/pci@0/pci@2/scsi@0 (mpt0):
        Volume 0 is |enabled||degraded|
/pci@0/pci@0/pci@2/scsi@0 (mpt0):
        Volume 0 is |enabled||resyncing||degraded|
WARNING: /pci@0/pci@0/pci@2/scsi@0/sd@0,0 (sd0):
        Corrupt label - bad geometry

        Label says 585925000 blocks; Drive says 585805824 blocks
WARNING: /pci@0/pci@0/pci@2/scsi@0/sd@0,0 (sd0):
        Corrupt label - bad geometry

        Label says 585925000 blocks; Drive says 585805824 blocks
Volume c1t0d0 is created successfully!
# format
Searching for disks...WARNING: /pci@0/pci@0/pci@2/scsi@0/sd@0,0 (sd0):
        Corrupt label - bad geometry

        Label says 585925000 blocks; Drive says 585805824 blocks
WARNING: /pci@0/pci@0/pci@2/scsi@0/sd@0,0 (sd0):
        Corrupt label - bad geometry

        Label says 585925000 blocks; Drive says 585805824 blocks
done

c1t0d0: configured with capacity of 278.99GB


AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 32 sec 279>
          /pci@0/pci@0/pci@2/scsi@0/sd@0,0
Specify disk (enter its number): 0
selecting c1t0d0
[disk formatted]
WARNING: /pci@0/pci@0/pci@2/scsi@0/sd@0,0 (sd0):
        Corrupt label - bad geometry

Disk not labeled.  Label it now?        Label says 585925000 blocks; Drive says 585805824 blocks
y
WARNING: /pci@0/pci@0/pci@2/scsi@0/sd@0,0 (sd0):
        Corrupt label - bad geometry

        Label says 585925000 blocks; Drive says 585805824 blocks
WARNING: /pci@0/pci@0/pci@2/scsi@0/sd@0,0 (sd0):
        Corrupt label - bad geometry

        Label says 585925000 blocks; Drive says 585805824 blocks


FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        inquiry    - show vendor, product and revision
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> q
# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <LSILOGIC-LogicalVolume-3000 cyl 65533 alt 2 hd 32 sec 279>
          /pci@0/pci@0/pci@2/scsi@0/sd@0,0
Specify disk (enter its number): ^D
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP