this post was submitted on 03 Mar 2024
23 points (100.0% liked)

Selfhosted

40180 readers
498 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Hi all,

I need to exposs an iscsi disk to be used as a main disk in a vm. Because I am pretty new in this solution I would like to ask some tips and good practices to avoid making rookie mistakes that can really hit the performance or availability.

What are the common things I should take into account before deploying everything?

Thanks in advance

you are viewing a single comment's thread
view the rest of the comments
[–] Nomecks@lemmy.ca 2 points 8 months ago (1 children)

Don't present LUNs to VMs is the best practice. The only time you should do it is if you're absolutely forced because you're doing something that doesn't support better shared disk options.

[–] thelittleblackbird@lemmy.world 1 points 8 months ago (1 children)

The you recommend to mount them via the hypervisor?

I was certainly planning to use it in the vm itself....

[–] Nomecks@lemmy.ca 1 points 8 months ago

The problem with external LUNs is that they're out of the control of the hypervisor. You can run into situations where migration events can cause access issues. If you can have the data presented through the hypervisor it will lead to less potential issues. Using object or NFS are also good options, if available.