-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add design doc #25
Closed
Closed
Add design doc #25
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Design Document | ||
|
||
This document captures the design decisions made after dicussion in issues. When a design issue is closed, the | ||
conclusion should be summarized here with a link to the issue. | ||
|
||
## Disk Layout | ||
|
||
Originally discussed in issue #18 | ||
|
||
### Summary: | ||
|
||
- FCOS will use a "dd-able" image and ship with a standard parition layout. | ||
- The bare metal image and cloud images have the same layout. | ||
- Anaconda will not be used for installation. | ||
- FCOS should not use the [GPT generator](https://www.freedesktop.org/software/systemd/man/systemd-gpt-auto-generator.html). | ||
- LVM should be supported, but not used by default. | ||
- Ignition will be used to customize disk layouts. | ||
|
||
FCOS should have a fixed partition layout that Ignition can modify on first boot. The installer will be similar to the | ||
Container Linux installer; the core of it will be dd'ing an image to the disk. | ||
|
||
The partition layout is still undecided, but initial proposals look something like: | ||
|
||
Number Type Purpose | ||
----------------------------------- | ||
1 fat32 Boot partition/ESP | ||
2 N/A Bios Boot partition | ||
3 ext4? Root | ||
4 ext4? /var | ||
|
||
We also want to support moving the root partition to new locations by recreating the OSTree at the new location. This | ||
would involve downloading the OSTree repo contents and doing the deploy between the Ignition disks and files stage if | ||
the root filesystem has changed. This is currently untested. | ||
|
||
### Open Questions: | ||
|
||
- What do we do about 4k sector disks? We could make a "hybrid" disk image, but it technically breaks the GPT spec and | ||
may not work with poorly implemeted UEFIs. | ||
- What is the exact partition layout? | ||
- Do we make /etc a ro bind mount? |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if it's just a bug in the Rich Diff but it doesn't seem to be linking properly to #18