Sun T4-1配置RAID方法

案例设备:
SUNT4-1
备注:T3,T4系列是一样的
案例目标:
按照用户需求,4块300GB硬盘做2个RAID1
案例解决步骤:
一、在OBP下创建
氧化铟1.在创建之前要设置auto-boot?为false
ok setenvauto-boot?false
auto-boot?=false
ok reset-all
2、进入到disk目录
ok show-disks
........
ok probe-scsi-all
/pci@400/pci@2/pci@0/pci@f/pci@0/usb@0,2/hub@2/hub@3/storage@2
Unit0Removable Read Only device AMI Virtual CDROM1.00蠡县李莎莎
/pci@400/pci@2/pci@0/pci@4/scsi@0
ok select/pci@400/pci@2/pci@0/pci@4/scsi@0
3、查看是否创建了卷
ok show-volumes
No volumes to show
4、使用create命令创建卷
show-children Lists all connected physical drives and logical volumes.
show-volumes Lists all connected logical volumes in detail.
create-raid0-volume Creates a RAID0volume(minimum two targets).
create-raid1-volume Creates a RAID1volume(exactly two targets).
create-raid1e-volume Creates a RAID1e volume(minimum three targets).
delete-volume Deletes a RAID volume.
activate-volume Re-activate a RAID volume after the motherboard has beenreplaced. ok a9create-raid1-volume(使用a9两块硬盘做raid1)
Volumehas been created
ok c b create-raid1-volume(使用c b两块硬盘做raid1)
Volumehas been created
两个卷已经建好
5、查看建立的卷
Volume0Target380Type RAID1(Mirroring)
Name voldisk2WWID0c4550c2e3a2bd1c
Optimal Enabled Volume Not Consistent Operations Pending
2Members583983104Blocks,298GB
Disk1
Primary Optimal
Target c HITACHI H106030SDSUN300G A2B0PhyNum1
Disk0
Secondary Optimal
Target b HITACHI H106030SDSUN300G A2B0PhyNum3
Volume1Target381Type RAID1(Mirroring)
Name voldisk1WWID0686b54dd6602dc1
Optimal Enabled Volume Not Consistent Background Init In Progress 2Members583983104Blocks,298GB
Disk3
Primary Optimal
Target a HITACHI H106030SDSUN300G A2B0PhyNum2
Disk2
Secondary Optimal
Target9HITACHI H106030SDSUN300G A2B0PhyNum0
6、退出设备目录
ok unselect-dev
7、把我们第一步的参数改回来
auto-boot?为true,reset系统
案例延伸
二、在OBP下删除卷
1、在创建之前要设置auto-boot?为false fcode-debug?为true
ok setenv auto-boot?false
auto-boot?=false
里德伯常数ok reset-all
2、进入到disk目录
ok show-disks
。。。。
okselect/pci@400/pci@2/pci@0/pci@4/scsi@0
3、查看建立的卷
Volume0Target380Type RAID1(Mirroring)
Name voldisk2WWID0c4550c2e3a2bd1c
Optimal Enabled Volume Not Consistent Operations Pending
2Members583983104Blocks,298GB
Disk1
Primary Optimal
Target c HITACHI H106030SDSUN300G A2B0PhyNum1
Disk0
Secondary Optimal
Target b HITACHI H106030SDSUN300G A2B0PhyNum3
Volume1Target381Type RAID1(Mirroring)
Name voldisk1WWID0686b54dd6602dc1
Optimal Enabled Volume Not Consistent Background Init In Progress 2Members583983104Blocks,298GB
Disk3
Primary Optimal
Target a HITACHI H106030SDSUN300G A2B0PhyNum2
Disk2
Secondary Optimal
Target9HITACHI H106030SDSUN300G A2B0PhyNum0
4、删除卷
ok0delete-volume
Thevolume and its data will be deleted
Areyou sure(yes/no)?[no]yes
Volume0has been deleted
5、查看是否删除
ok show-volumes
6、退出设备目录
ok unselect-dev
7、把我们第一步的参数改回来。
auto-boot?为true,reset系统
三、注意事项
1、在创建RAID前,auto-boot?一定要设置成false
2、创建RAID卷完成后,需要使用系统盘引导单用户,定义硬盘类型ok boot cdrom-s
#format
WARNING: /pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3c4550c2e3a2bd1c,0(sd5): Corrupt label;wrong magic number
WARNING:
/pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3c4550c2e3a2bd1c,0(sd5): Corrupt label;wrong magic number
WARNING:
/pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3686b54dd6602dc1,0(sd6): Corrupt label;wrong magic number
WARNING:
/pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3686b54dd6602dc1,0(sd6): Corrupt label;wrong magic number
done
c0t3C4550C2E3A2BD1Cd0:configured with capacity of277.99GB
c0t3686B54DD6602DC1d0:configured with capacity of277.99GB
AVAILABLE DISK SELECTIONS:
0.c0t3C4550C2E3A2BD1Cd0<LSI-LogicalVolume-3000cyl65533alt2hd64sec139> /pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3c4550c2e3a2bd1c,0
1.c0t3686B54DD6602DC1d0<LSI-LogicalVolume-3000cyl65533alt2hd64sec139> /pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3686b54dd6602dc1,0
Specify disk(enter its number):0
selecting c0t3C4550C2E3A2BD1Cd0
[disk formatted]
WARNING:
/pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3c4550c2e3a2bd1c,0(sd5): Corrupt label;wrong magic number
Disk not labeled.Label it now?y
WARNING:
/pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3c4550c2e3a2bd1c,0(sd5): Corrupt label;wrong magic number
WARNING:
/pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3c4550c2e3a2bd1c,0(sd5): Corrupt label;wrong magic number
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-set8-character volume name
!<cmd>-execute<cmd>,then return
quit
format>type
AVAILABLE DRIVE TYPES:
0.Auto configure
1.Quantum ProDrive80S
2.Quantum ProDrive105S
3.CDC Wren IV94171-344
4.SUN0104
5.SUN0207
6.SUN0327
7.SUN0340
8.SUN0424
9.SUN0535
10.SUN0669
11.SUN1.0G
12.SUN1.05
13.SUN1.3G
14.SUN2.1G
15.SUN2.9G
动画片卖猪
16.Zip100
17.Zip250
18.Peerless10GB
19.LSI-LogicalVolume-3000
Specify disk type(enter its number)[19]:0
c0t3C4550C2E3A2BD1Cd0:configured with capacity of277.99GB
<LSI-LogicalVolume-3000cyl65533alt2hd64sec139>
selecting c0t3C4550C2E3A2BD1Cd0
[disk formatted]
format>
format>disk
AVAILABLE DISK SELECTIONS:
0.c0t3C4550C2E3A2BD1Cd0<LSI-LogicalVolume-3000cyl65533alt2hd64sec139> /pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3c4550c2e3a2bd1c,0
1.c0t3686B54DD6602DC1d0<LSI-LogicalVolume-3000cyl65533alt2hd64sec139> /pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3686b54dd6602dc1,0 Specify disk(enter its number)[0]:1
selecting c0t3686B54DD6602DC1d0
[disk formatted]
WARNING:
/pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3686b54dd6602dc1,0(sd6): Corrupt label;wrong magic number
Disk not labeled.Label it now?y
WARNING:
/
pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3686b54dd6602dc1,0(sd6): Corrupt label;wrong magic number
WARNING:
/pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3686b54dd6602dc1,0(sd6): Corrupt label;wrong magic number
format>type
AVAILABLE DRIVE TYPES:
0.Auto configure
1.Quantum ProDrive80S
2.Quantum ProDrive105S
3.CDC Wren IV94171-344
4.SUN0104
5.SUN0207
极端生命6.SUN0327
7.SUN0340
8.SUN0424
9.SUN0535
10.SUN0669

本文发布于:2024-09-22 01:54:44,感谢您对本站的认可!

本文链接:https://www.17tex.com/xueshu/423823.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:案例   创建   使用   查看   目录   设备   单用户   引导
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2024 Comsenz Inc.Powered by © 易纺专利技术学习网 豫ICP备2022007602号 豫公网安备41160202000603 站长QQ:729038198 关于我们 投诉建议