Hi,
I've set up encryption using dmcrypt/luks on my /dev/md0 which is a RAID0 array.
It seems I'm running into issues when I do a reboot or halt in that it doesn't stop the array properly. I never had this issue until I encrypted the disks.
/dev/md0 is just three disks which are used as a backup store - no root, boot or swap on these.
/var/log/rc.log:
Code:
1340 [ ok ]
1341 * Shutting down RAID devices (mdadm) ...
1342 mdadm: stopped /dev/md1
1343 mdadm: failed to stop array /dev/md0: Device or resource busy
1344 Perhaps a running process, mounted filesystem or active volume group?
1345 [ !! ]
1346 * ERROR: mdraid failed to stop
1347 * Removing dm-crypt mappings
1348 * crypt_backup ...
1349 [ ok ]
1350 * crypt_md0 ...
1351 [ ok ]
Note: I'm not using dmraid here.
Should the RAID devices not be stopped
after the dm-crypt mappings are removed? If so, how do you change that order?