From Fedora Project Wiki

< User:Roshi‎ | QA/AtomicTests

Revision as of 21:57, 19 November 2014 by Roshi (talk | contribs) (Created page with "{{QA/Test_Case |description=This is a simple testcase to determine whether docker-storage-setup runs correctly after booting an Atomic Host. {{Admon/note|Prerequisite|This tes...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This is a simple testcase to determine whether docker-storage-setup runs correctly after booting an Atomic Host.

Note.png
Prerequisite
This testcase assumes you have already ran the boot test.

Setup

  1. Ensure you have a booted working Atomic Host

How to test

  1. Run the following commands:
# journalctl -o cat --unit docker-storage-setup.service
# lsblk

Expected Results

  1. The output of the first command should resemble:
CHANGED: partition=2 start=411648 old: size=12171264 end=12582912 new: size=41531232,end=41942880
Physical volume "/dev/vda2" changed
1 physical volume(s) resized / 0 physical volume(s) not resized
Size of logical volume atomicos/root changed from 1.95 GiB (500 extents) to 4.00 GiB (1024 extents).
Logical volume root successfully resized
Rounding up size to full physical extent 24.00 MiB
Logical volume "docker-meta" created
Logical volume "docker-data" created
  1. The lsblk command output should resemble:
NAME                      MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
vda                       252:0    0   20G  0 disk 
├─vda1                    252:1    0  200M  0 part /boot
└─vda2                    252:2    0 19.8G  0 part 
  ├─atomicos-root         253:0    0    4G  0 lvm  /sysroot
  ├─atomicos-docker--meta 253:1    0   24M  0 lvm  
  └─atomicos-docker--data 253:2    0   10G  0 lvm