From Fedora Project Wiki
(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...")
 
(update for f28 changes)
Line 10: Line 10:
|results=
|results=
# The output of the first command should resemble:
# The output of the first command should resemble:
CHANGED: partition=2 start=411648 old: size=12171264 end=12582912 new: size=41531232,end=41942880
Starting Docker Storage Setup...                   
Physical volume "/dev/vda2" changed
WARN: sector size not found in sfdisk output, assuming 512                                             
1 physical volume(s) resized / 0 physical volume(s) not resized
NOCHANGE: partition 2 could only be grown by -33 [fudge=2048]                                           
Size of logical volume atomicos/root changed from 1.95 GiB (500 extents) to 4.00 GiB (1024 extents).
  Physical volume "/dev/vda2" changed              
Logical volume root successfully resized
  1 physical volume(s) resized / 0 physical volume(s) not resized                                      
Rounding up size to full physical extent 24.00 MiB
  Size of logical volume atomicos/root unchanged from <5.00 GiB (1279 extents).                        
Logical volume "docker-meta" created
  Logical volume atomicos/root successfully resized.                                                   
Logical volume "docker-data" created
Started Docker Storage Setup.                      
# The lsblk command output should resemble:
# The lsblk command output should resemble:
  NAME                     MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
  <nowiki>
  vda                       252:0    0   20G 0 disk  
# lsblk           
├─vda1                   252:1    0 200M 0 part /boot
NAME             MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
└─vda2                   252:2    0 19.8G 0 part  
sr0                11:0    1 366K  0 rom 
  ├─atomicos-root         253:0    0    4G 0 lvm  /sysroot
vda               252:0    0   6G 0 disk  
  ├─atomicos-docker--meta 253:1    0  24M  0 lvm 
├─vda1           252:1    0   1G 0 part /boot
  └─atomicos-docker--data 253:2    0  10G  0 lvm
└─vda2           252:2    0   5G 0 part  
  └─atomicos-root 253:0    0    5G 0 lvm  /sysroot
</nowiki>
}}
}}

Revision as of 02:22, 11 April 2018

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