Howto add local storage?

Thomas
2013-12-27
2014-01-18
  • Thomas

    Thomas - 2013-12-27

    Hello!

    I have installed openQRM 5.1 CE on Debian 7 Wheezy.
    For simplicity I have defined multiple partitions on a single 500GB disk:

    Disk /dev/sde: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00067d62

    Device Boot Start End Blocks Id System
    /dev/sde1 * 2048 206847 102400 83 Linux
    /dev/sde2 206848 976773167 488283160 5 Extended
    /dev/sde5 208896 42151935 20971520 83 Linux
    /dev/sde6 42153984 46348287 2097152 82 Linux swap / Solaris
    /dev/sde7 46350336 976773167 465211416 83 Linux

    Partition /dev/sde7 is intended for data related to VM only.
    However, I don't manage to make this partition visible to openQRM.

    My understanding is that I would use this local partition a local storage, right?

    What steps must be executed in order to use this partition /dev/sde7?

    THX

     
  • Alexander Kuballa

    Hi Thomas,

    Using storage under openQRM can be easily missunderstood - our fault. Storage is allways mapped to the virtalization type e.g. KVM. First step is to setup a new storage, type kvm-lvm-deployment on the same resource you run the KVM host server you wish to use. To use /dev/sde7 for your virtualization type click on Virtualization/KVM/KVM Volumes choose your storage (KVM LVM Storage) and click 'Add new Volume Group' -> now you can select the partition which then will be used as a LVM Volumegroup.

    Hope this helps
    Alexander

     
  • Thomas

    Thomas - 2014-01-08

    Hi Alexander,

    thanks for your explanation.
    I tried to create this KVM LVM Storage, as far as I can remember, but I couldn't select the partition /dev/sde7.
    Anyway, I will give it another try following your instructions.

    Question:
    Would it make sense to create the LVM Volume Group on partition /dev/sde7 in beforehand? Would openQRM identify this LVM Volume Group and use it as a KVM LVM Storage?

    THX

     
  • Alexander Kuballa

    Hi Thomas,
    you can add the LVM Volume group first, it is then recognized by the KVM LVM storage as Volume Group. Make sure it is on the same resource as your KVM host. The partition should also recognized when you click on add Volume Group - when not mounted and no filesystem on it.

    Have a nice weekend
    Alexander

     
  • Thomas

    Thomas - 2014-01-18

    THX

    Following your instructions I managed to create a local storage.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks