-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not work on current coreos stable #9
Comments
Having the same issue on coreos-stable. The disclaimer for their script does omit CoreOS. After enabling the verbose version, however, the volume DOES actually turn up not as its volume name but as the WWID rather than the device alias under /dev/mapper. In other words, the device is mounting but not with the name you'd expect. After researching the topic, I'm happy to say that the entire script is fixable with a single line of code inserted after the configuration of multipath (or for me around line 272:
This forces multipath to reload the configuration which wasn't picked up immediately after the service was enabled and started and allows for the user_friendly_names option to kick in. This binds the correct volume name to the WWID which shows up under /dev/mapper. Hope this helps future users of CoreOS. |
@Promaethius Thank you for digging into this for CoreOS! The change looks pretty good but seems to produce the following error on CentOS 7/Ubuntu 14; reload: volume-XXXXXXX (36001405e408064ea9ab41749e79ef33c) undef DATERA ,IBLOCK We're happy to accept a PR if you can make the call to |
@dlaube can you take a look and test the updated change? |
|
@alanpearce thanks I'll add it to my pr |
Following the instructions on a clean newly provisioned coreos installation:
sudo su -
git clone [email protected]:packethost/packet-block-storage.git
cp ./packet-block-storage/packet-block-storage-* /usr/bin/
chmod u+x /usr/bin/packet-block-storage-*
When executing, i get the following error:
portal: 10.144.136.91 iqn: iqn.2013-05.com.daterainc:tc:01:sn:bf852caxxxxxxxxxxx
Oct 26 19:37:17 | volume-a686xxxx: ignoring map
Oct 26 19:37:17 | volume-a686xxxx: ignoring map
portal: 10.144.140.241 iqn: iqn.2013-05.com.daterainc:tc:01:sn:bf852caxxxxxxxxxxx
Oct 26 19:37:20 | volume-a686xxxx: ignoring map
Oct 26 19:37:20 | volume-a686xxxx: ignoring map
Error: Block device /dev/mapper/volume-a686xxxx is NOT available for use
The text was updated successfully, but these errors were encountered: