Hey everyone. I'm sure this is a very basic problem, but as a Linux noob, I can't quite figure it out. I have a CentOS box that is connected to our SAN, the iSCSI session is exposed as /dev/sdb. I went ahead and created a bunch of physical volumes, volume groups, and logical volumes and all is hunky dory there. The mounts for the logical volumes are set up in fstab for persistence. Now, if I reboot, it won't boot at all because the iSCSI session terminates and it can't mount the other devices that depend on it (I previously had to boot into emergency and remove the mounts from fstab to get it to boot again). So, I've done some research but can't quite wrap my head around how to solve this. /dev/sdb has no UUID so I can't put it in fstab. Did I screw up by not partitioning the entire sdb? Was I supposed to partition the entire sdb and then do pvcreate on the single partition instead of using pvcreate on sdb directly? As always, any help would be greatly appreciated. Thanks in advance.
Edit: Thanks everyone for the very helpful responses! Just getting back to this issue now.
[link] [comments]