In my home lab I've got an Ubuntu Server 18.04 that's been a physical machine for a long time now. Today I decided to make it virtual and moved it over to my Proxmox server without issue. I'm up and running with one small issue I wanted to get some help on resolving.
When the device was physical I had a software RAID 1 configured. Now that it's been converted I would like to remove that RAID configuration since obviously it isn't needed now. I can't seem to figure out how to remove it using about every guide and suggestion I've found online. Other than saying "degraded" it looks perfectly fine. Like it doesn't notice it's only a single disk now.
sudo mdadm -D /dev/md0 /dev/md0: Version : 1.2 Creation Time : Mon Aug 15 19:11:21 2016 Raid Level : raid1 Array Size : 7806976 (7.45 GiB 7.99 GB) Used Dev Size : 7806976 (7.45 GiB 7.99 GB) Raid Devices : 2 Total Devices : 1 Persistence : Superblock is persistent Update Time : Fri Mar 15 19:37:07 2019 State : clean, degraded Active Devices : 1 Working Devices : 1 Failed Devices : 0 Spare Devices : 0 Consistency Policy : resync Name : ubuntu:0 (local to host ubuntu) UUID : f9c09690:4edfb4ba:083bba5c:4f50adaa Events : 110 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 - 0 0 1 removed
sudo cat /proc/mdstat Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10] md1 : active raid1 sda2 70273024 blocks super 1.2 [2/1] [U_] md0 : active raid1 sda1 7806976 blocks super 1.2 [2/1] [U_]