- 论坛徽章:
- 0
|
5可用积分
我有一台Sun fire V440服务器,上边有4个硬盘,其中两个做了硬件raid1,另外两个硬盘分别只创建了一个分区,并做了软件的mirror。然后再软件mirror之上创建了3个软分区。现在我希望删除这个软件mirror,释放出一个硬盘用作他用,但是又要保留另外一个硬盘上的软件分区和数据。我查了资料,如果用metadetach和metaclear命令可以删除mirror,但不知是否可以既保留分区和数据,如果并行,还有什么其他的方法?希望大家给我帮助。我自己的积分不多,还请见谅。。。。。。
root@IEDB # raidctl -l
Controller: 1
Volume:c1t0d0
Disk: 0.0.0
Disk: 0.1.0
Disk: 0.2.0
Disk: 0.3.0
root@IEDB # format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@1f,700000/scsi@2/sd@0,0
1. c1t2d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@1f,700000/scsi@2/sd@2,0
2. c1t3d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@1f,700000/scsi@2/sd@3,0
root@IEDB # metastat
d5: Soft Partition
Device: d2
State: Okay
Size: 125829120 blocks (60 GB)
Extent Start Block Block count
0 146820995 125829120
d2: Mirror
Submirror 0: d0
State: Needs maintenance
Submirror 1: d1
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 286556160 blocks (136 GB)
d0: Submirror of d2
State: Needs maintenance
Invoke: metareplace d2 c1t2d0s0 <new device>
Size: 286556160 blocks (136 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t2d0s0 0 No Maintenance Yes
d1: Submirror of d2
State: Okay
Size: 286556160 blocks (136 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t3d0s0 0 No Okay Yes
d4: Soft Partition
Device: d2
State: Okay
Size: 73400320 blocks (35 GB)
Extent Start Block Block count
0 73420674 73400320
d3: Soft Partition
Device: d2
State: Okay
Size: 73400320 blocks (35 GB)
Extent Start Block Block count
0 20353 73400320
Device Relocation Information:
Device Reloc Device ID
c1t3d0 Yes id1,sd@SFUJITSU_MAW3147NCSUN146G000702C0AGEU____DAC0P710AGEU
c1t2d0 Yes id1,sd@SFUJITSU_MAP3147N_SUN146G00R013RC____
[ 本帖最后由 woohaw 于 2009-4-2 11:25 编辑 ] |
最佳答案
查看完整内容
你可以只做metadetach 不做metaclear
|