oushitianxia 发表于 2012-05-11 00:48

SUN T5120 RAID1分区问题?

本帖最后由 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    StripeStatus   CacheRAID
      Sub                     Size                  Level
                Disk                                    
----------------------------------------------------------------
c1t0d0                  279.3GN/A   SYNC   OFF    RAID1
                0.0.0   279.3G          GOOD   
                0.1.0   279.3G          GOOD   
# raidctl -l c1t0d0
Volume                  Size    StripeStatus   CacheRAID
      Sub                     Size                  Level
                Disk                                    
----------------------------------------------------------------
c1t0d0                  279.3GN/A   SYNC   OFF    RAID1
                0.0.0   279.3G          GOOD   
                0.1.0   279.3G          GOOD   
# raidctl -l c1t0d0
Volume                  Size    StripeStatus   CacheRAID
      Sub                     Size                  Level
                Disk                                    
----------------------------------------------------------------
c1t0d0                  279.3GN/A   SYNC   OFF    RAID1
                0.0.0   279.3G          GOOD   
                0.1.0   279.3G          GOOD   
# raidctl -l c1t0d0
Volume                  Size    StripeStatus   CacheRAID
      Sub                     Size                  Level
                Disk                                    
----------------------------------------------------------------
c1t0d0                  279.3GN/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

119beyond 发表于 2012-05-11 09:08

做了硬raid,你用format应该只能看到一块硬盘的

doging 发表于 2012-05-11 09:21

可以同时分区

znnnz 发表于 2012-05-11 10:23

不知道同时分区是啥意思

119beyond 发表于 2012-05-11 17:09

先装系统,装系统的时候,会有你修改分区的;硬raid可以装好以后再做

znnnz 发表于 2012-05-14 10:13

一个/ , 一个swap,足够了
页: [1]
查看完整版本: SUN T5120 RAID1分区问题?