On Mon, Dec 12, 2022 at 9:56 AM ToddAndMargo via users
<users@lists.fedoraproject.org> wrote:
>
> On 12/12/22 06:49, Mauricio Tavares wrote:
> >   I use logical volumes for the virtual machines I care about
>
> What is that?

My desktop's (a VM guest) drive

[user@vmhost ~]# sudo lvs vmhost_vg1
  LV                    VG         Attr       LSize  Pool Origin
Data%  Meta%  Move Log Cpy%Sync Convert
  desktop               vmhost_vg1 -wi-a----- 25.00g
[...]
[user@vmhost ~]#

It just has two partitions -- boot and the root  -- because I am lazy.

[user@vmhost ~]# sudo fdisk -l /dev/vmhost_vg1/desktop

Disk /dev/vmhost_vg1/desktop: 26.8 GB, 26843545600 bytes
255 heads, 63 sectors/track, 3263 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a805c

                  Device Boot      Start         End      Blocks   Id  System
/dev/vmhost_vg1/desktop1   *           1          32      248832   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/vmhost_vg1/desktop2              32        3264    25964544   83  Linux
[user@vmhost ~]#

Inside its KVM config it looks like this

    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='none' io='native'/>
      <source file='/dev/vmhost_vg0/desktop'/>
      <target dev='vda' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04'
function='0x0'/>
    </disk>


> _______________________________________________
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
> Do not reply to spam, report it: 
> https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to