Skip to content

Instantly share code, notes, and snippets.

@grahamc
Created May 3, 2020 11:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grahamc/7cb93c102b9148a58c2b0eb6c3c2dc2f to your computer and use it in GitHub Desktop.
Save grahamc/7cb93c102b9148a58c2b0eb6c3c2dc2f to your computer and use it in GitHub Desktop.
{
"cpr_storage": {
"disks": [
{
"device": "/dev/sda",
"partitions": [
{
"label": "BIOS",
"number": 1,
"size": 4096
},
{
"label": "BOOT",
"number": 2,
"size": "512M"
},
{
"label": "ROOT",
"number": 3,
"size": 0
}
]
}
],
"filesystems": [
{
"mount": {
"create": {
"options": [
"-L",
"BOOT"
]
},
"device": "/dev/sda2",
"format": "ext4",
"point": "/boot"
}
}
]
},
"cpr_zfs": {
"datasets": {
"rpool/local": {},
"rpool/local/nix": {},
"rpool/system": {},
"rpool/system/root": {},
"rpool/user": {},
"rpool/user/home": {}
},
"mounts": [
{
"dataset": "rpool/system/root",
"point": "/"
},
{
"dataset": "rpool/local/nix",
"point": "/nix"
},
{
"dataset": "rpool/user/home",
"point": "/home"
}
],
"pools": {
"rpool": {
"filesystem_properties": {
"acltype": "posixacl",
"atime": "off",
"compression": "on",
"mountpoint": "legacy",
"xattr": "sa"
},
"vdevs": [
{
"disk": [
"/dev/sda3"
]
}
]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment