Hello Emily,

The reason I was specifying virtual hard drives and not partitions, is 
because ZFS can be more than just a file system sitting in a single 
partition. ZFS usually sits on the top of many hard drives and can organize 
them in many layouts (many acting like raid and more) for a vast variety of 
needs and specifications. Not knowing much about ZFS let alone the many 
functionalities it offers, I am trying to reproduce a virtual file server 
containing many hard drives so I can play around with different layouts and 
learn from it.

In VirtualBox, it is fairly straightforward to add new virtual hard drives 
to a VM when needed. I'm trying to do the same thing for a StandaloneHVM, 
but I have not found how to do that yet.

How can I simulate a file server containing many hard drives in Qubes?

--
Kind regards
Lem


On Wednesday, 10 June 2020 23:56:08 UTC-4, Emily wrote:
>
> -----Original Message----- 
> From: Lem Ming <rambo...@gmail.com <javascript:>> 
> To: qubes-users <qubes...@googlegroups.com <javascript:>> 
> Subject: [qubes-users] How to add multiple virtual hard drive to a 
> StandaloneHVM 
> Date: Wed, 10 Jun 2020 16:58:08 -0700 (PDT) 
>
> Hi all, 
>
> I am new to Qubes OS. I would like to use StandaloneHVM to virtualize 
> FreeNAS fo 
> r learning purpose. I am looking for a way to add many virtual hard 
> drive to the VM so I can to play and learn about ZFS. 
>
> How do I add multiple virtual hard drive to a StandaloneHVM? 
>
> Kind regards, 
> Lem 
> -- 
> You received this message because you are subscribed to the Google 
> Groups "qubes-users" group. 
> To unsubscribe from this group and stop receiving emails from it, send 
> an email to qubes...@googlegroups.com <javascript:>. 
> To view this discussion on the web visit 
>
> https://groups.google.com/d/msgid/qubes-users/008b0c33-f00f-4d50-aa3c-b30dca5673f9o%40googlegroups.com
>  
> . 
> I'm sure there's a better/more straightforward way to do this, but off- 
> hand the two methods I know would be creating partitions either during 
> installation, or via live usb after installation. I don't have 
> particular experience with FreeNAS, but most modern installation 
> processes have the ability to create multiple partitions during 
> installation. Either way, start off with your choice of size of private 
> memory cumulatively, then partition as necessary. To do via live OS 
> which was my initial instinct use: 
>
> qvm-start --cdrom=$BlockorisoID $VMNAME 
> ie, qvm-start --cdrom=sys-usb:1.5-4 FreeNAS 
>
> Then use your choice of fdisk/parted/gparted/etc. 
> Make sure the iso is available as a block, or if you're willing to 
> accept the risk of USB passthrough, or trying to directly load through 
> another VM. 
> If you need to check available devices use qvm-device or derivatives. 
>
> Let me know if you have any questions about this, or I'm always 
> appreciative of learning more efficient manners of task completion if 
> someone has a more efficient way to do this. 
>
> Granted, you could also just attach them with qvm-device and label it 
> as persistent, so I guess in writing my response I may have found a 
> more efficient way to technically accomplish this, but using partitions 
> as opposed to additional persistent block devices just feels a lot more 
> proper to me. Less overlap of VMs. 
>
> -- 
> Cordially, 
>
> Emlay 
> She/Her/Hers 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/67d90ad3-ddad-4b2c-8ddf-a27ab2f6c7c0o%40googlegroups.com.

Reply via email to