From Fedora Project Wiki

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 14: Line 14:
== What to test? ==
== What to test? ==


Today's instalment of Fedora Test Day will focus on SSD Caching in Fedora 20, specifically bcache. SSD Caching allows you to speedup your disk access by combining your slow HDD with a fast SSD. The SSD will be used to store copies of frequently accessed blocks on your HDD, so you'll experience a good performance while also having the large storage capacity of your HDD.
Today's instalment of Fedora Test Day will focus on bcache based SSD Caching in Fedora 20. Although dm-cache is another SSD caching implementation, today we'll only focus on the bcache implementation.
 
Although dm-cache is another SSD caching implementation, today we'll only focus on the bcache implementation.


=== General test objective ===
=== General test objective ===
Line 43: Line 41:
* Development - Kent Overstreet (py1hon)
* Development - Kent Overstreet (py1hon)
* Quality Assurance - [[User:ignatenkobrain|Igor Gnatenko]] (ignatenkobrain), [[User:rolffokkens|Rolf Fokkens]] (rolffokkens)
* Quality Assurance - [[User:ignatenkobrain|Igor Gnatenko]] (ignatenkobrain), [[User:rolffokkens|Rolf Fokkens]] (rolffokkens)
== External documentation ==
You can find some relevant documentation at bcache.evilpiepirate.org[[http://bcache.evilpiepirate.org/]].


== Prerequisites for the Test Day ==  
== Prerequisites for the Test Day ==  
Line 67: Line 62:
   * internet connection
   * internet connection


* bootable media containg (one of):
* bootable media containg Fedora-20-Alpha-i386-DVD.iso[[http://download.fedoraproject.org/pub/fedora/linux/releases/test/20-Alpha/Fedora/x86_64/iso/Fedora-20-Alpha-x86_64-DVD.iso]] or Fedora-20-Alpha-x86_64-DVD.iso[[http://download.fedoraproject.org/pub/fedora/linux/releases/test/20-Alpha/Fedora/i386/iso/Fedora-20-Alpha-i386-DVD.iso]].
[http://dl.fedoraproject.org/pub/alt/stage/20-Beta-TC2/Fedora/x86_64/iso/Fedora-20-Beta-TC2-x86_64-DVD.iso Fedora 20 Beta TC2 x86_64 DVD]
 
[http://dl.fedoraproject.org/pub/alt/stage/20-Beta-TC2/Fedora/x86_64/iso/Fedora-20-Beta-TC2-i386-DVD.iso Fedora 20 Beta TC2 i386 DVD]
 
Because doing updates (particularly the kernel) is part of the test, it's best not to install latest and greatest.


=== Disk partitioning ===
=== Disk partitioning ===
Line 81: Line 71:
   sda2 2GB    /home
   sda2 2GB    /home
   sda3 2GB    /
   sda3 2GB    /
   sda4 (>4G)  free space (only used when testing in combination with LVM)
   sda4 (>4G)  free space (only used when testinh in combination with LVM)
    
    
   sdb:
   sdb:
   sdb1 >2GB  (caching device)
   sdb1 >2GB  (caching device)


sda is (or models) the rotational disk device, sdb is (or models) the solid state disk device. It would be best to have sdb (on) a true SSD, but if you don't have an SSD then an ordinary disk will do as well for the testing (except for performance testing)
sda is (or models) the rotational disk device, sdb is (or models) the solid state disk device.


When using a VM sda may and sdb may be read as vda and vdb.
When using a VM sda may and sdb may be read as vda and vdb.
=== SElinux ===
Please disable SElinux. There's some copying involved in the testcases, and SElinux may break the testcases when the copied data is not accessible.
To disable SElinux you should edit your /etc/selinux/config and set SELINUX=permissive instead of SELINUX=enforcing.


=== Other requirements ===
=== Other requirements ===
Line 117: Line 102:
* it allows to install other packages later (yum groupinstall) as part of the test activities.
* it allows to install other packages later (yum groupinstall) as part of the test activities.


Use bootable media containg  
Use bootable media containg Fedora-20-Alpha-i386-DVD.iso[[http://download.fedoraproject.org/pub/fedora/linux/releases/test/20-Alpha/Fedora/x86_64/iso/Fedora-20-Alpha-x86_64-DVD.iso]] or Fedora-20-Alpha-x86_64-DVD.iso[[http://download.fedoraproject.org/pub/fedora/linux/releases/test/20-Alpha/Fedora/i386/iso/Fedora-20-Alpha-i386-DVD.iso]] to install Fedora 20. This does not contain the most recent packages, so lateron <code>yum update</code> can be used as a test.
[http://dl.fedoraproject.org/pub/alt/stage/20-Beta-TC2/Fedora/x86_64/iso/Fedora-20-Beta-TC2-x86_64-DVD.iso Fedora 20 Beta TC2 x86_64 DVD]
[http://dl.fedoraproject.org/pub/alt/stage/20-Beta-TC2/Fedora/x86_64/iso/Fedora-20-Beta-TC2-i386-DVD.iso Fedora 20 Beta TC2 i386 DVD]
[http://dl.fedoraproject.org/pub/alt/stage/20-Beta-TC2/Fedora/x86_64/iso/Fedora-20-Beta-TC2-x86_64-netinst.iso Fedora 20 Beta TC2 x86_64 netinstall]
[http://dl.fedoraproject.org/pub/alt/stage/20-Beta-TC2/Fedora/x86_64/iso/Fedora-20-Beta-TC2-x86_64-netinst.iso Fedora 20 Beta TC2 i386 netinstall] to install Fedora 20. This does not contain the most recent packages, so lateron <code>yum update</code> can be used as a test.


== Test Cases ==
== Test Cases ==
Line 142: Line 123:
Step by step instructions are available on [[QA:Testcase_bcache-tools_home_on_bcache_(LVM)|this page]]
Step by step instructions are available on [[QA:Testcase_bcache-tools_home_on_bcache_(LVM)|this page]]


=== Test case 2.B: / on bcache (LVM) ===
=== Test case 2.B: / on bcache (no LVM) ===


Now we have a stable system with /home on LVM on bcache, we can go forward and have / on bcache.
Now we have a stable system with /home on LVM on bcache, we can go forward and have / on bcache.
Line 166: Line 147:


== Test Results ==
== Test Results ==
<!-- metadata: https://fedoraproject.org/wiki/User:Jskladan/Sandbox:F20SSDCacheTestday
    To update the results tool, put the metadata url in the following form and submit: http://testdays.qa.fedoraproject.org/testdays/admin/update_testday
'''We are tracking test results in a web application [http://testdays.qa.fedoraproject.org/testdays/show_event?event_id=8 over here]'''
Results from this web application will be automatically transferred to the Wiki a week after the test day, and the reporting system will be shutdown. Feel free to continue testing and filling the wiki even after this date.
Should you encounter any problem while using the web application, please contact jskladan on #fedora-qa channel at freenode, or send an email to jskladan@fedoraproject.org
-->


If you have problems with any of the tests, report a bug to [https://bugzilla.redhat.com Bugzilla] usually for the component [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=13&component=bcache-tools bcache-tools]. If you are unsure about exactly how to file the report or what other information to include, just ask on IRC and we will help you. Once you have completed the tests, add your results to the Results table below, following the example results from the first line as a template. The first column should be your name with a link to your User page in the Wiki if you have one. For each test case, use the [[Template:result|result template]] to enter your result, as shown in the example result line.
If you have problems with any of the tests, report a bug to [https://bugzilla.redhat.com Bugzilla] usually for the component [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=13&component=bcache-tools bcache-tools]. If you are unsure about exactly how to file the report or what other information to include, just ask on IRC and we will help you. Once you have completed the tests, add your results to the Results table below, following the example results from the first line as a template. The first column should be your name with a link to your User page in the Wiki if you have one. For each test case, use the [[Template:result|result template]] to enter your result, as shown in the example result line.
Line 188: Line 158:
! References
! References
|-
|-
| [[User:werkman|werkman]]
| [[User:SampleUser|Sample User]]
| {{result|pass}}
| {{result|none}}  
| {{result|none}}
| {{result|pass}}
| {{result|none}}
| {{result|warn}} <ref>Test pass, but also encountered {{bz|54321}}</ref>
| {{result|none}}
| {{result|fail}} <ref>{{bz|12345}}</ref>
| <references/>
|-
| [[User:ambush|PAVLEG]]
| {{result|warn}}<ref>Test pass, but nothing works. {{bz|1018615}}</ref>
| {{result|none}}
| {{result|none}}
| {{result|none}}
| <references/>
|-
| [[User:roshi|roshi]]
| {{result|warn||1018615}}
| {{result|warn}} <ref>Hit this bug with wget {{bz|1018615}}</ref>
| {{result|none}}
| {{result|none}}
| <references/>
|-
|}
 
=== Mock tests (optional) ===
 
{|
! User
! [[QA:Testcase_bcache-tools_mock_on_bcache_(no_LVM)|mock on bcache (no LVM)]]
! References
|-
| [[User:Sampleuser|Sample User]]
| {{result|inprogress}}
| <references/>
| <references/>
|-
|-
|}
|}


 
[[Category:Test Days]] [[Category:Fedora 20 Test Days]]
[[Category:Fedora 20 Test Days]]
Please note that all contributions to Fedora Project Wiki are considered to be released under the Attribution-Share Alike 4.0 International (see Fedora Project Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please solve the following task below and enter the answer in the box (more info):

Cancel Editing help (opens in new window)