最近我的一个驱动器在我的RAID中坏了,我正在用一个新的驱动器替换。我使用这个答案来镜像旧驱动器上的分区以进行重新同步。但我担心的是输出。我的驱动器是4k扇区,我第一次做错什么了吗?
Checking that no-one is using this disk right now ...
OK
Warning: partition 1 does not end at a cylinder boundary
Warning: partition 2 does not start at a cylinder boundary
Warning: partition 2 does not end a
在输入lsblk -o NAME,SIZE,FSTYPE,TYPE,MOUNTPOINT时,我得到以下输出:
NAME SIZE FSTYPE TYPE MOUNTPOINT
sda 3.7T disk
├─sda1 1M part
├─sda2 512M swap part [SWAP]
├─sda3 3.6T linux_raid_member part
│ └─md2 3.6T ext4 raid1 /d
我有奇怪的情况和相同的驱动器:
pvdisplay
--- Physical volume ---
PV Name /dev/sda5
VG Name group1
PV Size 465.52 GiB / not usable 1.81 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 119173
Free PE 12