Hi,
i removed a Harddisk from my OMV 5.5 System (Replaced a ST31500341AS by a SSD).
However, even if the disk is not present any more, I see some remains of the old drive in the config. So for instance in
/etc/hdparm.conf it is still present
# This file is auto-generated by openmediavault (https://www.openmediavault.org)
# WARNING: Do not edit this file, your changes will get lost.
/dev/disk/by-id/ata-ST31500341AS_XXXXXXX {
spindown_time = 240
write_cache = off
}
and also taking a look into /etc/openmediavault/config.xml, I see some remains of the Drive
<monitor>
<device>
<uuid>xxxxxxxxxxxxxxx</uuid>
<enable>1</enable>
<devicefile>/dev/disk/by-id/ata-ST31500341AS_XXXXX</devicefile>
<devicetype></devicetype>
</device>
and
<hdparm>
<uuid>xxxxxxxxxxxxxxx</uuid>
<devicefile>/dev/disk/by-id/ata-ST31500341AS_XXXXXXX</devicefile>
<apm>0</apm>
<aam>0</aam>
<spindowntime>240</spindowntime>
<writecache>0</writecache>
</hdparm>
is there some option in OMV to indicate, that a drive was removed from the system (e.g. after a hardware failure) and that all settings concering this drive are obsolete and can be removed too?
woud it be safe to remove the entries from /etc/openmediavault/config.xml? Or should this file never be touched?