>From my understanding, LVM thin partitioning allows qubes to use 'pools' to 
actively change... sizes or something for VMs. 

I wasnt sure how to remove the drive before installation. Without having the 
PC open while it was running and remove the hard drive after partitioning and 
before installation. Which I suppose I could do. I doubt it would hurt anything.
But I didnt. 

Heres what Im trying to do. 

I had qubes installed without it. I wanted to install android. Android didnt 
recognize the virtual machines. So, I plugged in a 2nd disk. I was able to 
qvm-pci attach my SSD. Android recognized it and was able to install. 

However, my disk was not encrypted and I wanted to move it into the qubes LVM
so it would be encrypted and then pci attach it. 

So, I formatted it using Parted and fDisk, respectively. Then I tried to 
convert it into a Physical Volume. I was able to PVcreate the partition (sda1), 
but I think I need to grab the whole disk, right? PVcreate sda gave the error:
#device not found (or ignored by filter)

A quick search directed my attention to /etc/lvm.conf
where it said to comment out the line 'global_filter'
 #global_filter = [ "a|./|" ]
Mine was already commented out. They also said add my device in there.
 global_filter = [ "a|sda|" ]
Of course, restart machine. 
Nothing. 
They said to use Parted instead of fdisk.
And use partprobe
And check /proc/devices (still there)
And use PVcreate -vvv
...same info. 

I gave up. Couldnt find the answer. 

I installed again. And when attaching my SSD to the HVM, my machine crashed and 
will not start again. So that bombed. 
$fsck /dev/mapper/qubes-dom0-root seemed to have solved this. 

My idea to fix this is one of two. 
Either figure out how to PVCreate /dev/sda which means reinstalling everything 
again. 

Or. 

Figure out how to shrink the qubes 'pool' to not include sda and maybe create a 
new Volume Group for sda which I can qvm-pci attach to specific qubes. 

Or. qvm-pci attach usb controller and run android off usb. However this is not 
ideal because my internet connectivity is hosted via usb and that removes all 
tunneling. 

One way or another, I do need to remove this ssd from dom0 and app/templateVMs. 

Thanks for your patience with this. 

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/aac99bf1-c7dd-4ad1-8f3c-c72edb9a38e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to