드라이브 4개로 레이드 5를 했습니다.
/dev/sdh3
/dev/sdi3
/dev/sdj3
/dev/sdk3
일반적으로 나는 이 명령으로 습격을 시작합니다.
mdadm --assemble /dev/md128 /dev/sdh3 /dev/sdi3 /dev/sdj3 /dev/sdk3
갑자기 두 드라이브에 동시에 문제가 발생했습니다.
못찾 겠어요/dev/sdk3
$fdisk -l /dev/sdk
fdisk: cannot open /dev/sdk: No such file or directory
또한 /dev/sdj3
사라졌다
그런데 확인해 보니 /dev/sdj
아무 것도 없는 걸 알 수 있어요./dev/sdj3
/dev/sdj:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : a9bcec2a:5772e6a5:045f28ac:62ae0002
Name : 0a438048:RaidSecond-0 (local to host 0a438048)
Creation Time : Tue Sep 22 08:59:59 2020
Raid Level : raid5
Raid Devices : 4
Avail Dev Size : 15627789616 (7451.91 GiB 8001.43 GB)
Array Size : 23427527424 (22342.23 GiB 23989.79 GB)
Used Dev Size : 15618351616 (7447.41 GiB 7996.60 GB)
Data Offset : 263552 sectors
Super Offset : 8 sectors
Unused Space : before=263272 sectors, after=9438000 sectors
State : clean
Device UUID : 05652fdf:8edc650e:9cea98d8:36aee81d
Update Time : Sun Dec 27 14:52:58 2020
Bad Block Log : 512 entries available at offset 264 sectors
Checksum : 600bad80 - correct
Events : 48292
Layout : left-symmetric
Chunk Size : 64K
Device Role : Active device 3
Array State : AA.A ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdj
RAID 파티션이 있다는 점 을 제외하면 /dev/sd*3
이전과 동일합니다.
$mdadm --examine /dev/sdh
/dev/sdh:
MBR Magic : aa55
Partition[0] : 4294967295 sectors at 1 (type ee)
$mdadm --examine /dev/sdh3
/dev/sdh3:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : a9bcec2a:5772e6a5:045f28ac:62ae0002
Name : 0a438048:RaidSecond-0 (local to host 0a438048)
Creation Time : Tue Sep 22 08:59:59 2020
Raid Level : raid5
Raid Devices : 4
Avail Dev Size : 15618352320 (7447.41 GiB 7996.60 GB)
Array Size : 23427527424 (22342.23 GiB 23989.79 GB)
Used Dev Size : 15618351616 (7447.41 GiB 7996.60 GB)
Data Offset : 263552 sectors
Super Offset : 8 sectors
Unused Space : before=263272 sectors, after=704 sectors
State : clean
Device UUID : 1d396d49:23a9dd4f:648792aa:3acd8cc3
Update Time : Sun Dec 27 14:52:58 2020
Bad Block Log : 512 entries available at offset 264 sectors
Checksum : 82cf0985 - correct
Events : 48292
Layout : left-symmetric
Chunk Size : 64K
Device Role : Active device 0
Array State : AA.A ('A' == active, '.' == missing, 'R' == replacing)
$mdadm --examine /dev/sdi
/dev/sdi:
MBR Magic : aa55
Partition[0] : 4294967295 sectors at 1 (type ee)
$mdadm --examine /dev/sdi3
/dev/sdi3:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : a9bcec2a:5772e6a5:045f28ac:62ae0002
Name : 0a438048:RaidSecond-0 (local to host 0a438048)
Creation Time : Tue Sep 22 08:59:59 2020
Raid Level : raid5
Raid Devices : 4
Avail Dev Size : 15618352320 (7447.41 GiB 7996.60 GB)
Array Size : 23427527424 (22342.23 GiB 23989.79 GB)
Used Dev Size : 15618351616 (7447.41 GiB 7996.60 GB)
Data Offset : 263552 sectors
Super Offset : 8 sectors
Unused Space : before=263272 sectors, after=704 sectors
State : clean
Device UUID : de2cdd77:9d05827f:2e57e5ae:8c2f1d48
Update Time : Sun Dec 27 14:52:58 2020
Bad Block Log : 512 entries available at offset 264 sectors
Checksum : 69c68bdd - correct
Events : 48292
Layout : left-symmetric
Chunk Size : 64K
Device Role : Active device 1
Array State : AA.A ('A' == active, '.' == missing, 'R' == replacing)
그래서 두 가지 질문이 있습니다.
/dev/sdk3
갑자기 사라진 이유 는 무엇이며 어떻게 찾을 수 있나요? ?
/dev/sdj3
로 변경하는 이유는 무엇입니까 /dev/sdj
? 레이드를 일시적으로 복구
할 수 있나요 ?mdadm --assemble /dev/md127 /dev/sdh3 /dev/sdi3 /dev/sdj