Read only volume
I do use network block devices for PXE boot, so serving just ISO images. Looks like bnbd is a lot more reliable than plain nbd for me. (Having network issue with nbd-server at the moment, so searching for an alternative.) My problem is that I need read only volumes so nobody can overwrite my static images. This is not possible yet, no?
Comments (5)
-
repo owner -
reporter Would be great to get this. Thanks for your work!
-
repo owner I have pushed the change to the master branch. You can now set the volume mode by the VTY commands:
volume ro id=vol_id
volume rw id=vol_id
This changes the mode for a volume only for the new sessions attached. The change is persistent so after bnbd restart a volume should be accessible in its last mode set (exactly like the up/down state of a volume).
Please test and resolve the issue if it works for you. Thanks!
-
reporter Works perfectly so far. Thanks a lot!
-
reporter - changed status to resolved
Ok, missed the workflow... So - solved!
- Log in to comment
It is not possible yet -- this item has been on my TODO list for about 2 years now... Let me see what I can do about it and get back to you.