Skip to content

Instantly share code, notes, and snippets.

@chapmanjacobd
Created September 4, 2024 08:29
Show Gist options
  • Save chapmanjacobd/4fcb7a8e485651e0f997b98e0e3d1652 to your computer and use it in GitHub Desktop.
Save chapmanjacobd/4fcb7a8e485651e0f997b98e0e3d1652 to your computer and use it in GitHub Desktop.
when lightning strikes
  • reboot
  • sudo btrfs rescue zero-log /dev/sdf1
  • sudo btrfs check -s 1 -b /dev/sdf1
  • sudo mount -o ro,rescue=all /mnt/d1
@chapmanjacobd
Copy link
Author

sudo wipefs -a /dev/sdc1
sudo mkfs.ext4 -T largefile -m 0 -e continue -c /dev/sdc1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment