Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17852

Partion-less drive in mdadm array

$
0
0

Hey guys,

I'm in the process of researching how to safely restore an mdadm array after reinstalling the OS. I was greeted by numerous comments saying that it'll all be detected flawlessly due to the fact that each drive in the array has a Linux Raid Autodetect partition.

I decided to confirm this for my array and done a quick "mdadm --detail /dev/md1" to get my device names, and then fdisked each drive and checked that it had an autodetect partition. 4 out of the 5 drives did. The remaining drive has no partition at all, but my raid array is definitely functioning correctly and has been successfully rebuilt quite a few times.

I'm assuming that this is going to cause a bit of a problem when I try to assemble the array on a new system. Am I correct? and if so, is there any possible fixes short of failing the device, partitioning it and then rebuilding it back into the array (raid 5 array).

-edit- Pastebin link for output of "mdadm --detail /dev/md1" and "fdisk /dev/sdh" which is the offending drive.

submitted by MirageJ
[link][8 comments]

Viewing all articles
Browse latest Browse all 17852