On 07/11/2017 05:24 PM, Istvan Gabor wrote:
Hello:
I have several mdraid RAID1 (mirror) devices I used without problem in openSUSE 12.2. In openSUSE Leap 42.2 I can't mount some of the same raid devices.
Istvan, I won't address the possible causes (that's done in the other posts), but I'll suggest a correction. Since it is only 30G, you should have storage where you can stash those files allowing you to create a new array under 42.2 using both drives. Just stash the files somewhere and --fail --remove both drives from the current array. Then create a new array as normal, e.g. mdadm --create --verbose /dev/md9 --level=1 --raid-devices=2 /dev/sdb9 /dev/sdc9 If you don't have space to stash 30G of files, you can always stop your array, then mount *one* of the disks (e.g. /dev/sdb9) so you can read from it. Next create a new RAID1 array with the *other* disk (/dev/sdc9) using 'missing' for the other (e.g. /dev/sdb9 the one you have mounted to copy from) mdadm -A /dev/md9 /dev/sdc9 missing (this presumes the superblock is present on /dev/sdc9 to fill in the details, otherwise you will need to --create) You can then copy from your mounted /dev/sdb9 to your new array. Then simply re-add /dev/sdb9 to the new array you created and let it sync. Consult man mdadm if you have questions about the options. mdadm is robust and forgiving. You can split arrays, add disks, remove disks, delete and create arrays (just for fun if you like). As long as you have a copy of your data, you can always put the array back together wherever you want it. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org