I needed to add another device - its data - to my working RAID5
To do so I had to unmount the device.
Worked as expected.
Here is the current state of the array:
qy@qy-desktop:~$ sudo mdadm --detail /dev/md10
/dev/md10:
Version : 1.2
Creation Time : Sun Dec 19 13:28:26 2021
Raid Level : raid5
Array Size : 307000320 (292.78 GiB 314.37 GB)
Used Dev Size : 102333440 (97.59 GiB 104.79 GB)
Raid Devices : 4
Total Devices : 6
Persistence : Superblock is persistent
Update Time : Thu Dec 23 11:55:01 2021
State : clean
Active Devices : 4
Working Devices : 6
Failed Devices : 0
Spare Devices : 2
Layout : left-symmetric
Chunk Size : 512K
Consistency Policy : resync
Name : qz-desktop:10
UUID : 9086174e:91b50e01:09a7fda1:eba8b0ad
Events : 1648
Number Major Minor RaidDevice State
0 259 23 0 active sync /dev/sdf16
1 259 24 1 active sync /dev/sdf17
3 259 25 2 active sync /dev/sdf18
4 8 7 3 active sync /dev/sda7
5 8 83 - spare /dev/sdf3
6 8 79 - spare /dev/sde15
qy@qy-desktop:~$
The device in question is not active part of the array , and still not mounted.
That is OK for now, but
I cannot mount the /dev/sde15
hence
I cannot access it - the Ubuntu "file manager " does not see it ...
gparted won't let me copy it because it is a member of raid5 array
My qustion is :
what would be most safest way to gain access to the /dev/sde15 ?
I was thinking of make the /dev/sde15 an "active memeber " of the array ,
not just a spare
but
I cannot find how to actually do it using mdadm.
Any help would be greatly appreciated
Cheers
To do so I had to unmount the device.
Worked as expected.
Here is the current state of the array:
qy@qy-desktop:~$ sudo mdadm --detail /dev/md10
/dev/md10:
Version : 1.2
Creation Time : Sun Dec 19 13:28:26 2021
Raid Level : raid5
Array Size : 307000320 (292.78 GiB 314.37 GB)
Used Dev Size : 102333440 (97.59 GiB 104.79 GB)
Raid Devices : 4
Total Devices : 6
Persistence : Superblock is persistent
Update Time : Thu Dec 23 11:55:01 2021
State : clean
Active Devices : 4
Working Devices : 6
Failed Devices : 0
Spare Devices : 2
Layout : left-symmetric
Chunk Size : 512K
Consistency Policy : resync
Name : qz-desktop:10
UUID : 9086174e:91b50e01:09a7fda1:eba8b0ad
Events : 1648
Number Major Minor RaidDevice State
0 259 23 0 active sync /dev/sdf16
1 259 24 1 active sync /dev/sdf17
3 259 25 2 active sync /dev/sdf18
4 8 7 3 active sync /dev/sda7
5 8 83 - spare /dev/sdf3
6 8 79 - spare /dev/sde15
qy@qy-desktop:~$
The device in question is not active part of the array , and still not mounted.
That is OK for now, but
I cannot mount the /dev/sde15
hence
I cannot access it - the Ubuntu "file manager " does not see it ...
gparted won't let me copy it because it is a member of raid5 array
My qustion is :
what would be most safest way to gain access to the /dev/sde15 ?
I was thinking of make the /dev/sde15 an "active memeber " of the array ,
not just a spare
but
I cannot find how to actually do it using mdadm.
Any help would be greatly appreciated
Cheers