Thread (8 messages) 8 messages, 4 authors, 2024-05-28

Re: RAID-1 not accessible after disk replacement

From: Phillip Susi <hidden>
Date: 2024-05-23 16:30:24

Richard [off-list ref] writes:
I grew (--grow) the RAID to an smaller size as it was complaining about the 
size (no logging of that).
After the this action the RAID was functioning and fully accessible.
I think you mean you used -z to reduce the size of the array.  It
appears that you are trying to replace the failed drive with one that is
half the size, then shrunk the array, which truncated your filesystem,
which is why you can no longer access it.  You can't shrink the disk out
from under the filesystem.

Grow the array back to the full size of the larger disk and most likely
you should be able to mount the filesystem again.  You will need to get
a replacement disk that is the same size as the original that failed if
you want to replace it, or if you can shrink the filesystem to fit on
the new disk, you have to do that FIRST, then shrink the raid array.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help