From Fedora Project Wiki

< User:Roshi‎ | QA/AtomicTests

Revision as of 02:23, 11 April 2018 by Miabbott (talk | contribs) (fix formatting)

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:
Starting Docker Storage Setup...                    
WARN: sector size not found in sfdisk output, assuming 512                                               
NOCHANGE: partition 2 could only be grown by -33 [fudge=2048]                                            
  Physical volume "/dev/vda2" changed               
  1 physical volume(s) resized / 0 physical volume(s) not resized                                        
  Size of logical volume atomicos/root unchanged from <5.00 GiB (1279 extents).                          
  Logical volume atomicos/root successfully resized.                                                     
Started Docker Storage Setup.
                       
  1. The lsblk command output should resemble:
# lsblk             
NAME              MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sr0                11:0    1  366K  0 rom  
vda               252:0    0    6G  0 disk 
├─vda1            252:1    0    1G  0 part /boot
└─vda2            252:2    0    5G  0 part 
  └─atomicos-root 253:0    0    5G  0 lvm  /sysroot