(use FedoraVersionNumber template for the Spins page link so it stays up to date) |
(link to Spins official page) |
||
Line 31: | Line 31: | ||
bytes = 4700000000 bytes (for more information, see [http://en.wikipedia.org/wiki/Gigabyte Gigabyte] and [http://en.wikipedia.org/wiki/DVD#Capacity DVD Capacity])</ref> | bytes = 4700000000 bytes (for more information, see [http://en.wikipedia.org/wiki/Gigabyte Gigabyte] and [http://en.wikipedia.org/wiki/DVD#Capacity DVD Capacity])</ref> | ||
# The size of '''Workstation Live''' images is less than or equal to '''2,000,000,000 bytes''' <ref name="2GB">2 GB = 2000^3 bytes = 2000000000 bytes (for more information, see [http://en.wikipedia.org/wiki/Binary_prefixes#Flash_drives Binary prefixes for Flash drives])</ref> | # The size of '''Workstation Live''' images is less than or equal to '''2,000,000,000 bytes''' <ref name="2GB">2 GB = 2000^3 bytes = 2000000000 bytes (for more information, see [http://en.wikipedia.org/wiki/Binary_prefixes#Flash_drives Binary prefixes for Flash drives])</ref> | ||
# The size of ''' | # The size of '''Spins''' images is less or equal to the sizes documented at [[Releases/{{FedoraVersionNumber|next}}/Spins]]. | ||
= References = | = References = | ||
<references/> | <references/> | ||
}} | |||
[[Category:Installer_Image_Sanity_Test_Cases]] | [[Category:Installer_Image_Sanity_Test_Cases]] |
Revision as of 16:49, 29 March 2018
Description
All ISO images must be small enough to fit on the corresponding media. This test does not apply to disk image files (e.g. ARM and Cloud disk images): their compressed size is not relevant to their deployment, and restrictions on their uncompressed size are applied during the compose process.
How to test
Automated checking
You can run this test easily with the relval tool. Run dnf install relval
to install it, if you do not already have it, on any Fedora system.
This will run the size checks for the current compose, and report them to the wiki:
$ relval size-check --username <fas_user_name>
To run the checks for a specific compose, you can run:
$ relval size-check --release=NN --milestone=[Alpha,Beta,Final] --compose=COMPOSE --username <fas_user_name>
Example:
$ relval size-check --release=24 --milestone=Beta --compose=1.6 --username <fas_user_name>
for checking 24_Beta-1.6/
compose directory.
Manual checking
If you have the image downloaded locally, view the size of the file in bytes like this:
$ du -b Fedora-Server-netinst-x86_64-21_Alpha.iso 419430400 Fedora-Server-netinst-x86_64-21_Alpha.iso
If you don't have the image downloaded locally, query the size using HTTP headers like this:
$ curl -sI http://server/image.iso | grep Content-Length Content-Length: 419430400
Check all ISO files available for this specific compose.
Expected Results
- The size of netinst and Cloud ISO images is less than or equal to 734,003,200 bytes [1]
- The size of DVD / offline install images is less than or equal to 4,700,000,000 bytes [2]
- The size of Workstation Live images is less than or equal to 2,000,000,000 bytes [3]
- The size of Spins images is less or equal to the sizes documented at Releases/42/Spins.
References
- ↑ 700 MiB = 700 * 1024^2 bytes = 734003200 bytes (for more information, see Mebibyte and CD-ROM Capacity)
- ↑ 4.7 GB = 4.7 * 1000^3 bytes = 4700000000 bytes (for more information, see Gigabyte and DVD Capacity)
- ↑ 2 GB = 2000^3 bytes = 2000000000 bytes (for more information, see Binary prefixes for Flash drives)