1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[SOLVED] Disk Image option greyed out - only raw availble

Discussion in 'Proxmox VE: Installation and configuration' started by Brodie Davis, Jun 20, 2016.

Tags:
  1. Brodie Davis

    Brodie Davis New Member

    Joined:
    Jun 20, 2016
    Messages:
    6
    Likes Received:
    0
    This is probably a silly question, but I can't figure it out. On a fresh install of Proxmox, I can not change the disk type to be anything but *.raw. The drop down to change it is greyed out. Is there some obvious setting that I am missing? I would like to use *.qcow2 disks. I am using the latest version of proxmox, 4.2

    Thanks, Brodie
     
  2. jeffwadsworth

    jeffwadsworth Member

    Joined:
    Jan 13, 2016
    Messages:
    148
    Likes Received:
    12
    What type of shared storage are you using? Some types only allow RAW. Try an NFS share, etc.
     
    Brodie Davis likes this.
  3. Brodie Davis

    Brodie Davis New Member

    Joined:
    Jun 20, 2016
    Messages:
    6
    Likes Received:
    0
    Yes Jeff, I just found a solution, forgot to update my forum post. I was trying to use the default "local-lvm" storage, which only supports *.raw. My solution was to take the default /etc/pve/storage.cfg:
    Code:
    dir: local
            path /var/lib/vz
            content iso,vztmpl,backup
    
    lvmthin: local-lvm
            thinpool data
            vgname pve
            content rootdir,images
    
    And add images to "local" storage:

    Code:
    dir: local
            path /var/lib/vz
            content iso,vztmpl,backup,images
    
    lvmthin: local-lvm
            thinpool data
            vgname pve
            content rootdir,images
    
    There is already an images folder within /var/lib/vz (the default local storage directory), so why is storing images there disabled by default?

    -Brodie
     
  4. fireon

    fireon Well-Known Member
    Proxmox VE Subscriber

    Joined:
    Oct 25, 2010
    Messages:
    1,942
    Likes Received:
    75
    LVM Thin Storage is much more stable then the qcow2. One thing are the snapshots. For example you have an machine with 50GB of memory und you make an Livesnapshot with qcow2 sometimes you will get an error. When not on creation then really on delete. The second thing. Raw is an nice generic format, like DD. You can do everything with, without convert... And it have better performance then qcow2.

    In the past we always used qcow2 too. But this time on new installation we switch to the LVM. It is really high recommended.

    But yes qcow2 can do the job for you. It's depending on your feature wishlist ;)
     
  5. Brodie Davis

    Brodie Davis New Member

    Joined:
    Jun 20, 2016
    Messages:
    6
    Likes Received:
    0
    I did some testing with LVM, and was even able to take snapshots, so LVM is our choice here!

    Wanted to follow up for future readers.

    -Brodie
     

Share This Page