mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 11:51:14 +02:00
Merge pull request #259 from marineam/disk
fix(disk_layout): Bump up default ROOT volume sizes for btrfs.
This commit is contained in:
commit
5727ea4214
@ -62,7 +62,7 @@
|
||||
"9":{
|
||||
"label":"ROOT",
|
||||
"type":"coreos-resize",
|
||||
"blocks":"1048576",
|
||||
"blocks":"4194304",
|
||||
"fs_type":"btrfs",
|
||||
"fs_subvolume":"root",
|
||||
"mount":"/"
|
||||
@ -71,7 +71,7 @@
|
||||
"vm":{
|
||||
"9":{
|
||||
"label":"ROOT",
|
||||
"blocks":"6291456"
|
||||
"blocks":"12582912"
|
||||
}
|
||||
},
|
||||
"vagrant":{
|
||||
|
||||
@ -342,11 +342,6 @@ def FormatBtrfs(part, device):
|
||||
"""
|
||||
Sudo(['mkfs.btrfs', '--byte-count', part['fs_bytes'],
|
||||
'--label', part['label'],
|
||||
# must use mixed chunks at this point because
|
||||
# the filesystem size is too small.
|
||||
'--data', 'single',
|
||||
'--metadata', 'single',
|
||||
'--mixed',
|
||||
device])
|
||||
|
||||
if part.get('fs_subvolume', None):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user