I have a new server that is still in testing. I have a five disks in a Raid6 array using MD with a XFS file system on that /dev/md0 array. I want to remove/delete the array and try something different. My /dev/md0 raid6 array is still 'referenced' and therefor I can not delete it. I also can not delete/remove the XFS file system that using this array. How can I identify the 'reference' and delete it?
What I have done:
Removed NFS share using MD0 and also disabled NFS.
Removed all files and all folders that were on XFS share of /dev/md0
Removed the one SMB share that was using /dev/md0 and disabled 'Home Directory' in SMB just to be safe.
There are no more shares on MD0 XFS.
Tried to remove OMV->Storage->FileSystem-> XFS file system on dev/md0. The square button for remove is not highlighted.
Tried to remove /dev/md0 from OMV->Storage-->Multiple devices. The square button for remove is not highlighted.
Tried the command: sudo mdadm --stop /dev/dm0
Response:: Cannot get exclusive access to /dev/md0: Perhaps a running process, mounted filesystem or active volume group?
Ran OMV->Diagnostics->Report and got this: Full report is attached.
================================================================================
= Linux Software RAID
================================================================================
md0 : active raid6 sdb[1] sda[0] sdd[3] sdc[2] sde[4]
Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10]
md0 : active raid6 sdb[1] sda[0] sdd[3] sdc[2] sde[4] 35156259840 blocks super 1.2 level 6, 512k chunk, algorithm 2 [5/5] [UUUUU] bitmap: 0/88 pages [0KB], 65536KB chunk
I have run out thoughts on what is 'referencing' the /dev/md0 array.
How can I find the reference?
Can I somehow delete the file system and MD array without finding the reference?
Any help would be appreciated.