OpenMediaVault Remove Missing Disk(s) from Filesystem

omv missing hdd

I just encountered some annoyance in OMV. This is probably my fault in the first place. I replaced the 8TB HDD that I had on my backup OMV server without removing the references to it. What happened now is what you can see on the featured image above. I could not delete this disk entry in the File system section.

The proper way of removing a disk from an OMV server :

I did not do any of those steps and went ahead and removed the physical disk from the server and replaced it with a 10TB HDD. The problem I created was I could not removed the damn disk from the File System.

I had to modify the /etc/openmediavault/config.xml and manually deleted the code blocks related to the disk in question. In my case, I was using SnapRAID and MergerFS combination. I had to remove the blocks <drive></drive> and <mntent></mntent> that was related to the disk in question.

If you were to take this route, make sure you make a backup of the config.xml before modifying it.

Just to give you an idea, these are the block of codes I removed from the config.xml. If you have the same problem, but your setup is different, you would probably have to search the entire config.xml file to find the disk to be removed.

... omitted for brevity

... omitted for brevity
... omitted for brevity


Notify of
Newest Most Voted
Inline Feedbacks
View all comments
2 years ago

This worked for me!

I commented out the lines instead of deleting them but that worked as well.

Haha the captcha time expired. It needs to be given a look.

1 year ago

This is just a stupid and annoying thing about OMV. Why can’t they just do a refresh and allow the user to remove those missing disk after confirmation?

Reply to  Karlo Abaga
1 year ago

Would you recommend UnRaid over OMV 5 ? I am currently running OMV5 with a simple RAID1 with 2 HDD. I just received 4 additionals HDDs. Was wondering if UnRaid offers more performance over OMV also. (mergerfs+snapraid seems great, until one of your HDD dies, and that you have the kind of problems you are describing in this post).

1 year ago

Thanks for this, solved the annoying missing drive situation after I had a drive fail on me.

11 months ago

This is beyond annoying. In my case, I am unable to “apply” config changes. The 5min long attempt to apply changes followed by a long, difficult to parse error page needs to be addressed. A few simple checks by OMV could produce a note to user, such as “remove this volume from A,…B,…C, etc, before removing the volume”. Or, “oh I see that you already removed this volume, would you like to delete all references to this volume as well?”

javier m
javier m
9 months ago

This worked for me, thank you very much!

Would love your thoughts, please comment.x
WordPress Appliance - Powered by TurnKey Linux