I just noticed a strange thing. I had my RAID 5 set up with five 2Tb drives and one 2TB drive set as a hot spare. Something happened and drive 1 went off line, but came back on line. Being a good little RAID array, it rebuilt on to the spare drive. However, now I can't find the old drive. It shows in the physical drive list as /dev/sdb, but no where else. I can see it when I do this:
Code
root@OMV:~# udevadm info --query=property --name=sdb
UDEV_LOG=3
DEVPATH=/devices/pci0000:00/0000:00:02.0/0000:01:00.0/0000:02:00.0/0000:03:00.0/host0/target0:0:1/0:0:1:0/block/sdb
MAJOR=8
MINOR=16
DEVNAME=/dev/sdb
DEVTYPE=disk
SUBSYSTEM=block
ID_SCSI=1
ID_VENDOR=ServeRA
ID_VENDOR_ENC=ServeRA\x20
ID_MODEL=Drive_1
ID_MODEL_ENC=Drive\x201\x20\x20\x20\x20\x20\x20\x20\x20\x20
ID_REVISION=V1.0
ID_TYPE=disk
ID_SERIAL=SServeRA_Drive_1_0779051D
ID_SERIAL_SHORT=0779051D
ID_BUS=scsi
ID_PATH=pci-0000:03:00.0-scsi-0:0:1:0
ID_FS_UUID=3e952187-f4e8-e08a-19b7-63a4cdc912c7
ID_FS_UUID_ENC=3e952187-f4e8-e08a-19b7-63a4cdc912c7
ID_FS_LABEL=OMV2:OMV
ID_FS_LABEL_ENC=OMV2:OMV
ID_FS_VERSION=1.2
ID_FS_TYPE=linux_raid_member
ID_FS_USAGE=raid
DEVLINKS=/dev/block/8:16 /dev/disk/by-id/scsi-SServeRA_Drive_1_0779051D /dev/disk/by-path/pci-0000:03:00.0-scsi-0:0:1:0
Alles anzeigen
If I look at the array, I see this:
Code
root@OMV:~# mdadm --detail /dev/md127
/dev/md127:
Version : 1.2
Creation Time : Sun Jan 1 13:44:03 2006
Raid Level : raid5
Array Size : 7813523456 (7451.56 GiB 8001.05 GB)
Used Dev Size : 1953380864 (1862.89 GiB 2000.26 GB)
Raid Devices : 5
Total Devices : 5
Persistence : Superblock is persistent
Update Time : Tue Nov 25 21:13:27 2014
State : clean
Active Devices : 5
Working Devices : 5
Failed Devices : 0
Spare Devices : 0
Layout : left-symmetric
Chunk Size : 512K
Name : OMV2:OMV
UUID : 3e952187:f4e8e08a:19b763a4:cdc912c7
Events : 153000
Number Major Minor RaidDevice State
5 8 64 0 active sync /dev/sde
6 8 80 1 active sync /dev/sdf
2 8 32 2 active sync /dev/sdc
3 8 48 3 active sync /dev/sdd
7 8 96 4 active sync /dev/sdg
Alles anzeigen
I do want to pull the drive to test it. Seeing that it isn't listed in the array, I don't see an issue with that or am I over looking something? If the drive checks out, will I be able to add it back to the array? Right now, the drive isn't listed under the recover section to add it back as a Hot Spare.
Thanks,
Ted