免费注册 查看新帖 |

Chinaunix

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

SUN T5120 RAID1分区问题? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-05-11 00:48 |只看该作者 |倒序浏览
本帖最后由 oushitianxia 于 2012-05-11 15:45 编辑

在未装系统前已经在机器上做好了陈列,
我嫌FORMAT分区麻烦,
下面的分区要求我如何FORMAT分啊??


/           剩余
/usr                10G(推荐不小于10G)
/var                10G(推荐不小于10G)
swap               推荐物理内存2倍
/radius      根据实际情况划分,存放radius程序)
/radius/radius_data   根据实际情况划分,存放radius日志文件
/radius_backup 29G 根据实际情况划分,存放radius主机备份文件


以下的步骤我可以OK状态下,BOOT FROM CDROM安装系统的同时分区吗?T5120不支持图形界面,我怎么分区啊?






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
Controller: 1
        Disk: 0.0.0
        Disk: 0.1.0
# raidctl -c -r 1 0.0.0 0.1.0
Invalid argument(s).
# raidctl -l c1t0d0
Device not found.

# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <SUN300G cyl 46873 alt 2 hd 20 sec 625>
          /pci@0/pci@0/pci@2/scsi@0/sd@0,0
       1. c1t1d0 <SUN300G cyl 46873 alt 2 hd 20 sec 625>
          /pci@0/pci@0/pci@2/scsi@0/sd@1,0
Specify disk (enter its number): ^C
# raidctl -c -r 1 c1t0d0 c1t1d0
Creating RAID volume will destroy all data on spare space of member disks, proceed (yes/no)? yes
/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 (sd4):
        Corrupt label - bad geometry

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

        Label says 585925000 blocks; Drive says 585805824 blocks
Volume c1t0d0 is created successfully!
# raidctl -l c1t0d0
Volume                  Size    Stripe  Status   Cache  RAID
        Sub                     Size                    Level
                Disk                                    
----------------------------------------------------------------
c1t0d0                  279.3G  N/A     SYNC     OFF    RAID1
                0.0.0   279.3G          GOOD   
                0.1.0   279.3G          GOOD   
# raidctl -l c1t0d0
Volume                  Size    Stripe  Status   Cache  RAID
        Sub                     Size                    Level
                Disk                                    
----------------------------------------------------------------
c1t0d0                  279.3G  N/A     SYNC     OFF    RAID1
                0.0.0   279.3G          GOOD   
                0.1.0   279.3G          GOOD   
# raidctl -l c1t0d0
Volume                  Size    Stripe  Status   Cache  RAID
        Sub                     Size                    Level
                Disk                                    
----------------------------------------------------------------
c1t0d0                  279.3G  N/A     SYNC     OFF    RAID1
                0.0.0   279.3G          GOOD   
                0.1.0   279.3G          GOOD   
# raidctl -l c1t0d0
Volume                  Size    Stripe  Status   Cache  RAID
        Sub                     Size                    Level
                Disk                                    
----------------------------------------------------------------
c1t0d0                  279.3G  N/A     SYNC     OFF    RAID1
                0.0.0   279.3G          GOOD   
                0.1.0   279.3G          GOOD   
# format
Searching for disks...WARNING: /pci@0/pci@0/pci@2/scsi@0/sd@0,0 (sd4):
        Corrupt label - bad geometry

        Label says 585925000 blocks; Drive says 585805824 blocks
WARNING: /pci@0/pci@0/pci@2/scsi@0/sd@0,0 (sd4):
        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): ^C
# init 0
# syncing file systems... done
Program terminated


SPARC Enterprise T5120, No Keyboard
Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.
OpenBoot 4.32.5, 16256 MB memory available, Serial #99167188.
Ethernet address 0:21:28:e9:2b:d4, Host ID: 85e92bd4.



{0} ok
{0} ok
{0} ok

论坛徽章:
3
2015年辞旧岁徽章
日期:2015-03-03 16:54:15操作系统版块每日发帖之星
日期:2016-01-21 06:20:00操作系统版块每日发帖之星
日期:2016-08-11 06:20:00
2 [报告]
发表于 2012-05-11 09:08 |只看该作者
做了硬raid,你用format应该只能看到一块硬盘的

论坛徽章:
0
3 [报告]
发表于 2012-05-11 09:21 |只看该作者
可以同时分区

论坛徽章:
20
申猴
日期:2013-09-12 19:39:05狮子座
日期:2014-07-20 21:19:51寅虎
日期:2014-08-16 18:37:47水瓶座
日期:2014-10-15 18:58:25天蝎座
日期:2015-01-22 18:19:15NBA常规赛纪念章
日期:2015-05-04 22:32:032015亚冠之胡齐斯坦钢铁
日期:2015-06-03 11:28:502015亚冠之吉达阿赫利
日期:2015-09-19 12:41:47午马
日期:2013-09-18 14:36:40戌狗
日期:2013-09-18 14:44:39处女座
日期:2013-09-24 17:46:41CU十二周年纪念徽章
日期:2013-10-24 15:41:34
4 [报告]
发表于 2012-05-11 10:23 |只看该作者
不知道同时分区是啥意思

论坛徽章:
3
2015年辞旧岁徽章
日期:2015-03-03 16:54:15操作系统版块每日发帖之星
日期:2016-01-21 06:20:00操作系统版块每日发帖之星
日期:2016-08-11 06:20:00
5 [报告]
发表于 2012-05-11 17:09 |只看该作者
先装系统,装系统的时候,会有你修改分区的;硬raid可以装好以后再做

论坛徽章:
20
申猴
日期:2013-09-12 19:39:05狮子座
日期:2014-07-20 21:19:51寅虎
日期:2014-08-16 18:37:47水瓶座
日期:2014-10-15 18:58:25天蝎座
日期:2015-01-22 18:19:15NBA常规赛纪念章
日期:2015-05-04 22:32:032015亚冠之胡齐斯坦钢铁
日期:2015-06-03 11:28:502015亚冠之吉达阿赫利
日期:2015-09-19 12:41:47午马
日期:2013-09-18 14:36:40戌狗
日期:2013-09-18 14:44:39处女座
日期:2013-09-24 17:46:41CU十二周年纪念徽章
日期:2013-10-24 15:41:34
6 [报告]
发表于 2012-05-14 10:13 |只看该作者
一个/ , 一个swap,足够了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP