summaryrefslogtreecommitdiff
path: root/docs/buildnotes
diff options
context:
space:
mode:
authorD Delmar Davis <don@suspectdevices.com>2025-06-02 22:37:32 -0700
committerD Delmar Davis <don@suspectdevices.com>2025-06-02 22:37:32 -0700
commit08ea8585c96d1b350e8864855506d76631b54870 (patch)
treeef1a1de4ae0913d2a3637b05d2e81f27d11589fd /docs/buildnotes
parentfd9904d1abbf685812876eecc14bdd1c2374d65e (diff)
history is messy
Diffstat (limited to 'docs/buildnotes')
-rw-r--r--docs/buildnotes/nick.md140
1 files changed, 69 insertions, 71 deletions
diff --git a/docs/buildnotes/nick.md b/docs/buildnotes/nick.md
index 8168eb4..ea09498 100644
--- a/docs/buildnotes/nick.md
+++ b/docs/buildnotes/nick.md
@@ -39,16 +39,14 @@ replace the bad disk and replace the bad zfs partitions
```sh
sgdisk --replicate=/dev/sde /dev/sdb
sgdisk -G /dev/sde
-ls -ls /dev/disk/by-id|grep /dev/sde
-ls -ls /dev/disk/by-id
ls -ls /dev/disk/by-id|grep sde
zpool status tank
zpool replace tank -o ashift=12 ata-ST12000NM000J-2TY103_ZRT0GC3A-part3 ata-WDC_WD120EFBX-68B0EN0_D7JVX9MN-part3
zpool replace reddisk -o ashift=12 9814339977262587103 ata-WDC_WD120EFBX-68B0EN0_D7JVX9MN-part4
```
+...
```sh
-apt install sudo nano wget curl
wget https://github.com/Netatalk/netatalk/releases/download/netatalk-4-0-0/netatalk_4.0.0.ds-1_amd64.deb
dpkg --install ./netatalk_4.0.0.ds-1_amd64.deb
apt --fix-broken install
@@ -62,7 +60,9 @@ systemctl status avahi-daemon
nano /etc/netatalk/afp.conf
systemctl restart netatalk
systemctl status netatalk
+```
+```sh
zpool status
zpool upgrade local
zpool clear tank ; zpool clear reddisk ; zpool clear local ; zpool status -v
@@ -108,9 +108,10 @@ nano .ssh/authorized_keys
exit
zpool status
ls /dev/disk/
+```
+attempt to use tbolt 2 enclosure.
-# attempt to use tbolt 2 disk enclosure
-
+```sh
apt update
apt install thunderbolt-tools
@@ -124,29 +125,14 @@ fdisk -l
boltctl info 00000000-0000-0018-80fa-1c134c238952
boltctl list
boltctl list --all
-# FAIL
+```
+### FAIL
+
+```sh
reboot
fdisk -l
-zpool status
-zpool status
-ip a
-zpool status
-zpool status
-zpool status
-zpool status
-cd
nano .ssh/authorized_keys
-exit
-nano .ssh/authorized_keys
-exit
-zfs list
-zpool list
-zpool status local
-zpool help
-zpool split local
-zpool split local oloco
-zpool status
apt install incus incus-tools qemu-system
curl -fsSL https://pkgs.zabbly.com/key.asc -o /etc/apt/keyrings/zabbly.asc
sh -c 'cat <<EOF > /etc/apt/sources.list.d/zabbly-incus-stable.sources
@@ -161,55 +147,67 @@ EOF'
apt update
apt install incus
systemctl start incus
-systemctl start incus
-incus list
-incus --help
-incus admin --help
-incus admin init
-zfs status -l local
-zfs status -l local
-zfs status local
-zpool status -L local
-zpool remove local
-zpool remove local sdc1
-zpool destroy local
-ls -ls /dev/disk/by-id/|grep sdc1
incus admin init
-zfs status -l
-zfs status
-zpool status
-zpool import
-zpool import oloco
-zpool status
-zpool status
-zpool status |less
-zpool status
-ls
-nano /etc/netatalk/afp.conf
-systemctl restart netatalk
-zpool status
-zpool clear oloco
-zpool status
-zpool clear tank
-zpool status
-zpool status
-reboot
-zpool status
-zpool clear tank
-zpool status
+incus --version
+```
+At this point incus was foobarred and had set up a default lxdbr0 and was not the way we like things. So we....
-curl -fsSL https://pkgs.zabbly.com/key.asc -o /etc/apt/keyrings/zabbly.asc
-sh -c 'cat <<EOF > /etc/apt/sources.list.d/
-Enabled: yes
-Types: deb
-URIs: https://pkgs.zabbly.com/incus/stable
-Suites: trixie
-Components: main
-Architectures: amd64
-Signed-By: /etc/apt/keyrings/zabbly.asc
+Set up the bridge.
+
+```sh
+cat > /etc/network/interfaces<<EOD
+# This file describes the network interfaces available on your system
+# and how to activate them. For more information, see interfaces(5).
+
+source /etc/network/interfaces.d/*
+
+# The loopback network interface
+auto lo
+iface lo inet loopback
+
+# The primary network interface
+allow-hotplug enp11s0
+iface enp11s0 inet dhcp
+auto br0
+iface br0 inet static
+ address 192.168.129.189
+ network 192.168.128.0
+ netmask 255.255.128.0
+ broadcast 192.168.255.255
+ gateway 192.168.128.1
+ mtu 9000
+ bridge_ports enp12s0
+ bridge_stp off # disable Spanning Tree Protocol
+ bridge_waitport 0 # no delay before a port becomes available
+ bridge_fd 0 # no forwarding delay
EOD
-apt update
+systemctl restart networking
+```
+
+reinstall incus
+
+```sh
+apt purge incus
apt install incus
-incus --version
-``` \ No newline at end of file
+incus admin init
+incus profile edit default
+incus profile show default
+incus init ubuntu/focal -c limits.cpu=4 -c limits.memory=8GiB -d root,size=20GiB --vm gru
+incus init images:ubuntu/focal -c limits.cpu=4 -c limits.memory=8GiB -d root,size=20GiB --vm gru
+incus profile show default
+incus profile edit default
+incus init images:ubuntu/focal -c limits.cpu=4 -c limits.memory=8GiB -d root,size=20GiB --vm gru
+incus start gru
+incus init images:ubuntu/focal -c limits.cpu=4 -c limits.memory=8GiB -d root,size=20GiB --vm minion1
+incus start minion1
+ip link set incusbr0 down
+ip link delete incusbr0
+nano /etc/resolv.conf
+```
+
+Mount apfs volumes.
+
+```sh
+apt install apfs-dkms --fix-missing
+```