iSCSI and LVM: Boot problem
Both LVM and iSCSI are powerful and reliable. But there is an issue with the combination of both that made me fell completely lost more than once. The Scenario: iSCSI target / server is a Linux Box with LVM features iSCSI target / server exports disk, partition or LVM LV iSCSI initiator / client uses the exported volume as LVM PV All works perfectly until rebooting the iSCSI target / server The symptom: After rebooting the iSCSI target / server, it becomes impossible for the initiator / client use the exported volume as if it were deleted. The iSCSI target / server service itself is working properly but the exported volume is not. The cause: During the boot of the iSCSI target / server, its LVM liked the new found PVs / VGs / LVs. The iSCSI target / server has no idea about those new found are not for the local machine and it "locks" the VGs and LVs for local use. When iSCSI exports the LV, it will contain locked LVM volumes. This is why it becomes impossible ...