Repo tidy: logs consolidated, 15/16 scripts tracked, docs synced (#615/#611/#603)

Run outputs moved to logs/ (incl. sda partition-table backup). New from
the 15:57-16:03 parallel session: 16-grow-root-online.sh (RAN: / = 431G
online, swap removed by design — GROW-ROOT-RUNBOOK superseded) and
15-docker-to-data2.sh (staged, not run). README/NEXT/RUNBOOK/REBUILD
reflect current reality. Moot rdp-testprep timer removed from the VM.

Details: https://projects.knownelement.com/issues/615
This commit is contained in:
2026-09-01 17:17:10 -05:00
parent 30e4d502a6
commit f815149472
18 changed files with 286 additions and 12 deletions
+97
View File
@@ -0,0 +1,97 @@
== grow / online 2026-09-01T16:03:32-05:00 ==
-- gates
-- backup partition table (rollback artifact)
label: dos
label-id: 0x2d03b9dd
device: /dev/sda
unit: sectors
sector-size: 512
/dev/sda1 : start= 2048, size= 585547776, type=83, bootable
/dev/sda2 : start= 585551870, size= 18425858, type=f
/dev/sda5 : start= 585551872, size= 18425856, type=82
-- swapoff + comment fstab swap line
13:# swap was on /dev/sda5 during installation
14:#UUID=611d6da8-3fd6-40f0-9239-d8825a6d256c none swap sw 0 0
-- delete sda5 (swap) and sda2 (extended container)
The partition table has been altered.
Calling ioctl() to re-read partition table.
Re-reading the partition table failed.: Device or resource busy
The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or partx(8).
Syncing disks.
The partition table has been altered.
Calling ioctl() to re-read partition table.
Re-reading the partition table failed.: Device or resource busy
The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or partx(8).
Syncing disks.
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 438G 0 disk
└─sda1 8:1 0 279.2G 0 part /
-- rewrite table: sda1 fills the disk (start 2048 unchanged)
disk sectors: 918552576, new sda1 size: 918550528
label: dos
label-id: 0x2d03b9dd
device: /dev/sda
unit: sectors
sector-size: 512
/dev/sda1 : start= 2048, size=918550528, type=83, bootable
Checking that no-one is using this disk right now ... FAILED
This disk is currently in use - repartitioning is probably a bad idea.
Umount all file systems, and swapoff all swap partitions on this disk.
Use the --no-reread flag to suppress this check.
Disk /dev/sda: 438 GiB, 470298918912 bytes, 918552576 sectors
Disk model: QEMU HARDDISK
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x2d03b9dd
Old situation:
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 585549823 585547776 279.2G 83 Linux
>>> Script header accepted.
>>> Script header accepted.
>>> Script header accepted.
>>> Script header accepted.
>>> Script header accepted.
>>> Created a new DOS (MBR) disklabel with disk identifier 0x2d03b9dd.
/dev/sda1: Created a new partition 1 of type 'Linux' and of size 438 GiB.
Partition #1 contains a ext4 signature.
/dev/sda2: Done.
New situation:
Disklabel type: dos
Disk identifier: 0x2d03b9dd
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 918552575 918550528 438G 83 Linux
The partition table has been altered.
Calling ioctl() to re-read partition table.
Re-reading the partition table failed.: Device or resource busy
The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or partx(8).
Syncing disks.
-- online ext4 grow
resize2fs 1.47.2 (1-Jan-2025)
Filesystem at /dev/sda1 is mounted on /; on-line resizing required
old_desc_blocks = 35, new_desc_blocks = 55
The filesystem on /dev/sda1 is now 114818816 (4k) blocks long.
-- verify
918550528
NAME SIZE FSTYPE MOUNTPOINT
sda 438G
└─sda1 438G ext4 /
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 431G 87G 324G 22% /
Filename Type Size Used Priority
== done 2026-09-01T16:03:34-05:00 — no reboot needed; swap is gone by design
(rollback BEFORE resize2fs only: sfdisk /dev/sda < /root/sda-table.backup-20260901-160332)