Compare commits

...

6 Commits

Author SHA1 Message Date
bobbie fcc7666a7c vault backup: 2026-05-15 20:44:14 2026-05-15 20:44:15 +01:00
bobbie d8c22e8c1f vault backup: 2026-05-15 12:08:03 2026-05-15 12:08:03 +01:00
bobbie d42696cb31 vault backup: 2026-05-15 11:52:22 2026-05-15 11:52:22 +01:00
bobbie 0a21005713 vault backup: 2026-05-15 11:10:09 2026-05-15 11:10:09 +01:00
bobbie 0a5c778f3a vault backup: 2026-05-15 10:41:46 2026-05-15 10:41:46 +01:00
bobbie 1ea9c94808 vault backup: 2026-05-15 10:32:24 2026-05-15 10:32:24 +01:00
4 changed files with 118 additions and 7 deletions
+21 -7
View File
@@ -146,9 +146,23 @@
"icon": "lucide-file", "icon": "lucide-file",
"title": "2026-05-15 0719 on docker compose, volumes, and bind mounts" "title": "2026-05-15 0719 on docker compose, volumes, and bind mounts"
} }
},
{
"id": "e69ab0bcda1898c4",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "_Inbox/Linux CLI Config and Commands.md",
"mode": "source",
"source": false
},
"icon": "lucide-file",
"title": "Linux CLI Config and Commands"
}
} }
], ],
"currentTab": 9 "currentTab": 4
} }
], ],
"direction": "vertical" "direction": "vertical"
@@ -222,7 +236,7 @@
"state": { "state": {
"type": "backlink", "type": "backlink",
"state": { "state": {
"file": "_Inbox/2026-05-15 0719 on docker compose, volumes, and bind mounts.md", "file": "_Inbox/OpenZFS.md",
"collapseAll": true, "collapseAll": true,
"extraContext": false, "extraContext": false,
"sortOrder": "byCreatedTime", "sortOrder": "byCreatedTime",
@@ -232,7 +246,7 @@
"unlinkedCollapsed": true "unlinkedCollapsed": true
}, },
"icon": "links-coming-in", "icon": "links-coming-in",
"title": "Backlinks for 2026-05-15 0719 on docker compose, volumes, and bind mounts" "title": "Backlinks for OpenZFS"
} }
}, },
{ {
@@ -355,11 +369,13 @@
"obsidian-git:Open Git source control": false "obsidian-git:Open Git source control": false
} }
}, },
"active": "ac09197d72c8a3b5", "active": "eac10c8aff866288",
"lastOpenFiles": [ "lastOpenFiles": [
"_Inbox/Sanoid and Syncoid Setup.md",
"_Inbox/Linux CLI Config and Commands.md",
"Daily Notes/2026-05-15.md",
"_Inbox/2026-05-15 0719 on docker compose, volumes, and bind mounts.md", "_Inbox/2026-05-15 0719 on docker compose, volumes, and bind mounts.md",
"_Inbox/OpenZFS.md", "_Inbox/OpenZFS.md",
"_Inbox/Sanoid and Syncoid Setup.md",
"_Inbox/2026-03-31 1416 powering off the hyper-v machine for the last time.md", "_Inbox/2026-03-31 1416 powering off the hyper-v machine for the last time.md",
"References/Toshiba 3TB HDD High-Performance P300.md", "References/Toshiba 3TB HDD High-Performance P300.md",
"_Inbox/2026-05-15 0538 failing drive testing.md", "_Inbox/2026-05-15 0538 failing drive testing.md",
@@ -384,8 +400,6 @@
"References/Western Digital 2.0 TB HDD WD20EARX 863.md", "References/Western Digital 2.0 TB HDD WD20EARX 863.md",
"References/Western Digital 2.0 TB HDD WD20EZRZ.md", "References/Western Digital 2.0 TB HDD WD20EZRZ.md",
"References/Toshiba 2TB HDD DT01ACA200.md", "References/Toshiba 2TB HDD DT01ACA200.md",
"References/Margret Dianne Hodgetts.md",
"Daily Notes/2025-12-25.md",
"Attachments/ThinkCentre_M720_Tiny_Spec.pdf", "Attachments/ThinkCentre_M720_Tiny_Spec.pdf",
"Attachments/PXL_20260512_135458828.jpg", "Attachments/PXL_20260512_135458828.jpg",
"Attachments/PXL_20260512_130415266.jpg", "Attachments/PXL_20260512_130415266.jpg",
+14
View File
@@ -0,0 +1,14 @@
---
date: 2026-05-15
created: 2026-05-15T10:22:57
category:
- "[[Daily Notes]]"
---
# Friday 15th May 2026
[[Home]] | [[PARA|PARA Board]] | [[2026-05-14|< Back]] | [[2026-05-16|Forward >]]
## today's activity
![[Daily note today.base]]
## in focus
![[PARA.base]]
+69
View File
@@ -0,0 +1,69 @@
---
created: 2026-05-15T10:23:05
category:
- "[[Note]]"
title: Linux CLI Commands
tags:
---
### Network config
network config file is located (usually `01-netcfg.yaml` or `50-cloud-init.yaml`)
```
nano /etc/netplan/50-cloud-init.yaml
```
typical config
```
network:
version: 2
renderer: networkd
ethernets:
enp0s3:
dhcp4: false
addresses:
- 192.168.1.100/24
routes:
- to: default
via: 192.168.1.1
```
then try
```
sudo netplan try
```
or apply
```
sudo netplan apply
```
## drive partitions
create gpt partition table (for new drives without any partitions)
```
sudo parted /dev/sdx mklabel gpt
```
create new partition
```
sudo parted -a optimal /dev/sdx mkpart primary ext4 0% 100%
```
format the partition
```
sudo mkfs.ext4 /dev/sdxn
```
mount a drive
```
sudo mount /dev/sdxn /mnt/storage
```
add drive/partition to fstab, get disk UUID first
```
sudo blkid /dev/sdxx
```
Then add this to `/etc/fstab`
```
/dev/disk/by-uuid/your-uuid-here /var/lib/docker ext4 defaults 0 2
```
+14
View File
@@ -14,3 +14,17 @@ list dataset snapshots
zfs list -t snapshot pool-name/dataset-name zfs list -t snapshot pool-name/dataset-name
``` ```
list holds on snapshots
```
zfs holds <pool/dataset>@<snapshot>
```
release hold on snapshot
```
zfs release <tag> <pool/dataset>@<snapshot>
```
delete snapshot
```
zfs destroy <pool/dataset>@<snapshot>
```