I have a external JBOD enclosure attached to my Homeserver which i use for backup.
On top of the HDDs is a LVM.
When my backup is completed, i shutdown the whole server and pull the cables of the JBOD enclosure, and start the server.
My question is how do i “stop the lvm” so i can “eject the HDDs safely”.
I asked a similar question with USB HDDs & RAID: https://superuser.com/a/1752728/952138
But the solution i found there do not works, because of the LVM.
Is there a similar command to “mdadm –stop” for LVM?
My goal is not the shutdown the whole server to detach the external disk/JBOD enclosure.