Add description of rootfs_disk field in job.yaml.
Signed-off-by: Yu Chuan 13186087857@163.com --- doc/job/rootfs_disk.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 doc/job/rootfs_disk.md
diff --git a/doc/job/rootfs_disk.md b/doc/job/rootfs_disk.md new file mode 100644 index 000000000000..18d165ca1e08 --- /dev/null +++ b/doc/job/rootfs_disk.md @@ -0,0 +1,27 @@ +# Summary +========= + +`rootfs_disk` defines a list of disks, these disks will be combined into one volume group(os), +this volume group will have multiple logical volume, storing multiple rootfs, each of these +logical volume corresponds to a rootfs, such as follow: + /dev/mapper/ + . + ├── os-openeuler_aarch64_20.03 + ├── os-openeuler_aarch64_20.03_{timestamp} + ├── os-openeuler_aarch64_20.03_sp1 + ├── os-openeuler_aarch64_20.03_sp1_{timestamp} + └── ... + +Addition: +1. `/dev/mapper/os-{os}_{os_arch}_{os_version}_{timestamp}` + - is a readonly logical volume + - used for backup and rollback + +2. `/dev/mapper/os-{os}_{os_arch}_{os_version}` + - is a read write logical volume + - use for boot and run job + - defaultly, this logical volume will be wiped before every job run + +3. every logical volume default size: 10G + +4. more info can refer os_mount.md
On Fri, Feb 05, 2021 at 06:31:00PM +0800, Yu Chuan wrote:
Add description of rootfs_disk field in job.yaml.
Signed-off-by: Yu Chuan 13186087857@163.com
doc/job/rootfs_disk.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 doc/job/rootfs_disk.md
diff --git a/doc/job/rootfs_disk.md b/doc/job/rootfs_disk.md new file mode 100644 index 000000000000..18d165ca1e08 --- /dev/null +++ b/doc/job/rootfs_disk.md @@ -0,0 +1,27 @@ +# Summary +=========
=>
rootfs_disk ===========
Please first explain what's most relevant to end user in typical usage.
Then go on explain the internal data structure and organization.
Thanks, Fengguang
+`rootfs_disk` defines a list of disks, these disks will be combined into one volume group(os), +this volume group will have multiple logical volume, storing multiple rootfs, each of these +logical volume corresponds to a rootfs, such as follow:
- /dev/mapper/
- .
- ├── os-openeuler_aarch64_20.03
- ├── os-openeuler_aarch64_20.03_{timestamp}
- ├── os-openeuler_aarch64_20.03_sp1
- ├── os-openeuler_aarch64_20.03_sp1_{timestamp}
- └── ...
+Addition: +1. `/dev/mapper/os-{os}_{os_arch}_{os_version}_{timestamp}`
- is a readonly logical volume
- used for backup and rollback
+2. `/dev/mapper/os-{os}_{os_arch}_{os_version}`
- is a read write logical volume
- use for boot and run job
- defaultly, this logical volume will be wiped before every job run
+3. every logical volume default size: 10G
+4. more info can refer os_mount.md
2.23.0
+++ b/doc/job/rootfs_disk.md @@ -0,0 +1,27 @@ +# Summary +=========
=>
rootfs_disk
Please first explain what's most relevant to end user in typical usage.
Then go on explain the internal data structure and organization.
ok, I'll refactor it later.
-------- Thanks Yu Chuan
Thanks, Fengguang
+`rootfs_disk` defines a list of disks, these disks will be combined into one volume group(os), +this volume group will have multiple logical volume, storing multiple rootfs, each of these +logical volume corresponds to a rootfs, such as follow:
- /dev/mapper/
- .
- ├── os-openeuler_aarch64_20.03
- ├── os-openeuler_aarch64_20.03_{timestamp}
- ├── os-openeuler_aarch64_20.03_sp1
- ├── os-openeuler_aarch64_20.03_sp1_{timestamp}
- └── ...
+Addition: +1. `/dev/mapper/os-{os}_{os_arch}_{os_version}_{timestamp}`
- is a readonly logical volume
- used for backup and rollback
+2. `/dev/mapper/os-{os}_{os_arch}_{os_version}`
- is a read write logical volume
- use for boot and run job
- defaultly, this logical volume will be wiped before every job run
+3. every logical volume default size: 10G
+4. more info can refer os_mount.md
2.23.0