feat: wire ZimaBlade real disks (eMMC OS + md0 RAID0 data)
- disko OS target = internal eMMC /dev/disk/by-id/mmc-C9A551_0xaa057ad0 - mount existing ext4 on mdadm RAID0 (md0) at /mnt/data by fs-uuid, nofail - boot.swraid.enable to assemble the array; data disk kept out of disko Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -14,11 +14,15 @@
|
|||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
# ---- NAS data disk ----
|
# ---- NAS data array ----
|
||||||
# Existing data filesystem — mounted, NOT formatted (kept out of disko).
|
# Existing ext4 on the mdadm RAID0 over sda+sdb (md0, 29.1T).
|
||||||
# Set the id from `ls -l /dev/disk/by-id` (or by-uuid). Adjust fsType.
|
# Mounted, NOT formatted; kept out of disko so it is never wiped.
|
||||||
# fileSystems."/mnt/data" = {
|
# ⚠️ RAID0 = no redundancy: either 16TB disk failing loses ALL data.
|
||||||
# device = "/dev/disk/by-id/CHANGE-ME-data-disk";
|
boot.swraid.enable = true; # assemble the mdadm array at boot
|
||||||
# fsType = "ext4";
|
fileSystems."/mnt/data" = {
|
||||||
# };
|
# fs UUID (stable) — the array may enumerate as /dev/md127, so avoid /dev/md0.
|
||||||
|
device = "/dev/disk/by-uuid/dadbff6f-652e-49b2-bfed-eb1308ab8b78";
|
||||||
|
fsType = "ext4";
|
||||||
|
options = [ "nofail" ]; # don't block boot if the array is degraded/absent
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,8 @@
|
|||||||
{
|
{
|
||||||
disko.devices.disk.os = {
|
disko.devices.disk.os = {
|
||||||
type = "disk";
|
type = "disk";
|
||||||
device = "/dev/disk/by-id/CHANGE-ME-os-disk";
|
# ZimaBlade internal eMMC (29.1G). NOT the data RAID (sda/sdb/md0).
|
||||||
|
device = "/dev/disk/by-id/mmc-C9A551_0xaa057ad0";
|
||||||
content = {
|
content = {
|
||||||
type = "gpt";
|
type = "gpt";
|
||||||
partitions = {
|
partitions = {
|
||||||
|
|||||||
Reference in New Issue
Block a user