From 664d26949e40574c5c601dec908f22dc4245a964 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 18 Oct 2024 23:24:57 +0200 Subject: style(notes/backup_disk): Format --- notes/backup_disk.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'notes') diff --git a/notes/backup_disk.md b/notes/backup_disk.md index d6c0f0cb..363bae11 100644 --- a/notes/backup_disk.md +++ b/notes/backup_disk.md @@ -1,5 +1,7 @@ # How to create a backup disk (for `soispha.services.backup`) + ## Find the disk + ```bash lsblk -o "NAME,MAJ:MIN,RM,SIZE,RO,FSTYPE,MOUNTPOINT,UUID" # or @@ -7,6 +9,7 @@ sudo fdisk -l ``` ## Check it + ```bash sudo smartctl --test=short /dev/disk # or better: @@ -17,7 +20,9 @@ sudo watch --differences --interval 60 smartctl --log=selftest /dev/disk ``` ## Add it + ``` sudo mkfs.btrfs /dev/disk --label backup ``` + And change the `backupUuid` to the uuid of the new disk. -- cgit 1.4.1