Files
felhom.eu/documentation/audits/storage-identity-2026-10-15/B-case4b-partitions-empty.txt
T
admin 3038b23ec7
gates / gates (push) Successful in 6m43s
Storage that knows its physical disks: design draft 16 + spike; R-1074..R-1079; STATUS D10
Spike (read-only probe, tools/physdisk_probe.py): the agent-side walk (partition -> disk, dm/LVM
slaves, loop -> backing file) names the right physical disk for one-disk boxes, two disks, two
partitions of one disk and a pass-through USB bridge; inside a VM (Tester 1) every disk is "unknown".
Today's agent lists whole disks only and calls an empty partition table "data-bearing"; the
controller's Tier-2 "different disk" is st_dev. sys_drive is a folder of mp0 (backup=1), so the
design gives one-disk boxes a separate internal data place outside the whole-guest copy instead.
Draft only; waits on the operator's rulings D1-D6 (16 section 12). 07 section 6.1's stale mp1 cell
corrected. Register 163 -> 169. Scratch loop disk and Tester 1 scratch disk removed.

Claude-Session: https://claude.ai/code/session_012qRErfCoiTkvDK9N5XHbzb
2026-10-15 20:08:08 +02:00

9 lines
2.6 KiB
Plaintext

NAME SIZE FSTYPE PARTLABEL
sdg 4G
|-sdg1 1G
`-sdg2 3G
=== GET /disks/candidates
{"ok":true,"data":{"attach":[{"device":"/dev/sdb","size_bytes":53687091200,"model":"QEMU HARDDISK","fstype":"ext4","data_bearing":true,"mountable":true,"mount_source":"/dev/sdb","durable_id":"uuid:863c67fd-3e21-4d9f-9a74-3c5fa406f2a2"},{"device":"/dev/sdc","size_bytes":107374182400,"model":"QEMU HARDDISK","fstype":"ext4","data_bearing":true,"mountable":true,"mount_source":"/dev/sdc","durable_id":"uuid:4ebfd36d-87d3-4b63-839e-a5a710fc799a"},{"device":"/dev/sdd","size_bytes":107374182400,"model":"QEMU HARDDISK","fstype":"ext4","data_bearing":true,"mountable":true,"mount_source":"/dev/sdd","durable_id":"uuid:e15652d5-0aa7-4eb8-93a1-afb2839d527c"},{"device":"/dev/sde","size_bytes":53687091200,"model":"QEMU HARDDISK","fstype":"ext4","data_bearing":true,"mountable":true,"mount_source":"/dev/sde","durable_id":"uuid:86f33f9c-1022-43d8-95eb-f9a6ec9eb923"},{"device":"/dev/sdf","size_bytes":21474836480,"model":"QEMU HARDDISK","fstype":"ext4","data_bearing":true,"mountable":true,"mount_source":"/dev/sdf","durable_id":"uuid:8a31a462-ff15-4be2-9aeb-9620b99c7f77"},{"device":"/dev/sdg","size_bytes":4294967296,"model":"QEMU HARDDISK","fstype":"ext4","data_bearing":true,"mountable":true,"mount_source":"/dev/sdg2","durable_id":"uuid:76c29c14-c0a4-4ef4-869a-5a57edfd3a16"}],"initialize":[{"device":"/dev/sdb","size_bytes":53687091200,"model":"QEMU HARDDISK","fstype":"ext4","data_bearing":true,"mountable":true,"mount_source":"/dev/sdb","durable_id":"uuid:863c67fd-3e21-4d9f-9a74-3c5fa406f2a2"},{"device":"/dev/sdc","size_bytes":107374182400,"model":"QEMU HARDDISK","fstype":"ext4","data_bearing":true,"mountable":true,"mount_source":"/dev/sdc","durable_id":"uuid:4ebfd36d-87d3-4b63-839e-a5a710fc799a"},{"device":"/dev/sdd","size_bytes":107374182400,"model":"QEMU HARDDISK","fstype":"ext4","data_bearing":true,"mountable":true,"mount_source":"/dev/sdd","durable_id":"uuid:e15652d5-0aa7-4eb8-93a1-afb2839d527c"},{"device":"/dev/sde","size_bytes":53687091200,"model":"QEMU HARDDISK","fstype":"ext4","data_bearing":true,"mountable":true,"mount_source":"/dev/sde","durable_id":"uuid:86f33f9c-1022-43d8-95eb-f9a6ec9eb923"},{"device":"/dev/sdf","size_bytes":21474836480,"model":"QEMU HARDDISK","fstype":"ext4","data_bearing":true,"mountable":true,"mount_source":"/dev/sdf","durable_id":"uuid:8a31a462-ff15-4be2-9aeb-9620b99c7f77"},{"device":"/dev/sdg","size_bytes":4294967296,"model":"QEMU HARDDISK","fstype":"ext4","data_bearing":true,"mountable":true,"mount_source":"/dev/sdg2","durable_id":"uuid:76c29c14-c0a4-4ef4-869a-5a57edfd3a16"}],"vmid":9201}}
HTTP 200