Disk Passthrough Script #8476
Unanswered
ehjr5u
asked this question in
Request script
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
🌟 Briefly describe the feature
A helper-script that can help format and set up disks inside your machine to then pass it through an LXC or VM automatically
📝 Detailed description
When you paste the script into the shell of your preferred node, the script will start up and will scan all detected drives inside the system. Once it's done, you can choose multiple drives and either format them, or don't. When they are ready to pass through, it will list all VM IDs inside your machine. When the user chooses their preferred destination, it will copy all of the selected hard drive's part-uuid (or similar), import them in, and assign each a drive number with your preferred interface (ex: sata, ide, scsi, and etc.)
💡 Why is this useful?
Users will have an easier way to passthrough their storage to a NAS or preferred operating system, instead of doing it manually by lsblk, formatting with cfdisk, finding their part-uuid with blkid and importing it with a command. And you have to pass one drive at a time, which can take some time, and could potentially make a mistake with one or more drives
Beta Was this translation helpful? Give feedback.
All reactions