hbnas> lvs -a -o+devices
LV VG Attr LSize Origin Snap% Move Log Copy% Convert Devices
lv vg1000 -wi-ao 19.99T /dev/md2(0)
lv vg1000 -wi-ao 19.99T /dev/md4(0)
lv vg1000 -wi-ao 19.99T /dev/md5(0)
lv vg1000 -wi-ao 19.99T /dev/md3(0)
hbnas> cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
md4 : active raid1 sdc5[0]
2925435264 blocks super 1.2 [1/1] [U]
md2 : active raid1 sdb5[0]
2925435264 blocks super 1.2 [1/1] [U]
md3 : active raid1 sda5[0]
7809195264 blocks super 1.2 [1/1] [U]
md5 : active raid1 sdd5[0]
7809195264 blocks super 1.2 [1/1] [U]
md1 : active raid1 sda2[1] sdb2[0] sdc2[2] sdd2[3]
2097088 blocks [12/4] [UUUU________]
md0 : active raid1 sda1[1] sdb1[0] sdc1[2] sdd1[3]
2490176 blocks [12/4] [UUUU________]
unused devices:
hbnas> lvm vgs
VG #PV #LV #SN Attr VSize VFree
vg1000 4 1 0 wz--n- 19.99T 0
hbnas> lvm pvs
PV VG Fmt Attr PSize PFree
/dev/md2 vg1000 lvm2 a- 2.72T 0
/dev/md3 vg1000 lvm2 a- 7.27T 0
/dev/md4 vg1000 lvm2 a- 2.72T 0
/dev/md5 vg1000 lvm2 a- 7.27T 0
hbnas> mdadm --detail /dev/md2
/dev/md2:
Version : 1.2
Creation Time : Sun Nov 20 23:22:29 2016
Raid Level : raid1
Array Size : 2925435264 (2789.91 GiB 2995.65 GB)
Used Dev Size : 2925435264 (2789.91 GiB 2995.65 GB)
Raid Devices : 1
Total Devices : 1
Persistence : Superblock is persistent
Update Time : Sat Mar 30 12:25:13 2019
State : clean
Active Devices : 1
Working Devices : 1
Failed Devices : 0
Spare Devices : 0
Name : hbnas:2 (local to host hbnas)
UUID : 92924a22:f220e929:f810cde7:bf6f8357
Events : 66
Number Major Minor RaidDevice State
0 8 21 0 active sync /dev/sdb5
hbnas>
hbnas> lvm pvmove /dev/md2
Required device-mapper target(s) not detected in your kernel
hbnas> lvm pvmove /dev/md2 /dev/md3
Required device-mapper target(s) not detected in your kernel
hbnas>
阅读(2626) | 评论(0) | 转发(0) |