From Fedora Project Wiki

Revision as of 09:53, 14 April 2011 by Rhe (talk | contribs) (Created page with '{{QA/Test_Case |description= |actions= # create a logical pool #: <pre> #: # pvcreate /dev/sda3 #: # vgcreate lv_pool /dev/lv_pool #: # virsh pool-create-as lv_pool logical --so...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

How to test

  1. create a logical pool
    # pvcreate /dev/sda3
    # vgcreate lv_pool /dev/lv_pool
    # virsh pool-create-as lv_pool logical --source-dev /dev/sda3 --target /dev/lv_pool
    Pool lv_pool created
  2. destroy the logical pool
    # virsh pool-destroy lv_pool
    Pool lv_pool destroyed
  3. create a logical pool with arg source-name
    #virsh pool-create-as  lv_pool logical  --source-name  sda3  --target /dev/lv_pool
  4. destroy the logical pool
    # virsh pool-destroy lv_pool
    Pool lv_pool destroyed

Expected Results

  1. step#1 output:
    # virsh pool-list --all
    Name                 State      Autostart
    -----------------------------------------
    default              active     yes       
    lv_pool              active     no     
       
  2. step#2 output:
    # virsh pool-list --all
    Name                 State      Autostart
    -----------------------------------------
    default              active     yes    
  3. step#3 output:
    # virsh pool-list --all
    Name                 State      Autostart
    -----------------------------------------
    default              active     yes       
    lv_pool              active     no 
          
  4. step#4 output:
    # virsh pool-list --all
    Name                 State      Autostart
    -----------------------------------------
    default              active     yes