raspiblitz icon indicating copy to clipboard operation
raspiblitz copied to clipboard

Fail Cleaning HDD

Open rootzoll opened this issue 1 year ago • 1 comments

I took a v1.11.0 fatpack with NVMe containing an old setup - but instead of recovering I uploaded a migration file - deciding to keep the blockchain but to delete all the other data.

After setting up the password A I got kicked to the terminal with:

# RAID
isRaid=0
raidCandidates=0

# SWAP
isSwapExternal=0

***********************************************************
ERROR - please report to development team
***********************************************************
state(errorHDD) message(Fail Cleaning HDD)
https://github.com/rootzoll/raspiblitz#support
command to shutdown --> off

Checking the raspiblitz.log I got this:

Displaying Info Message: Please start Recovery
## WAIT LOOP: USER SETUP/UPDATE/MIGRATION
# PROVISION PROCESS with setupPhase(setup)
# special setup tasks: CLEAN DRIVE & KEEP BLOCKCHAIN
Deleting everything on HDD/SSD while keeping blockchain ...
# raspi_bootdir(/boot/firmware)
Cleaning Blockchain: bitcoin
Using /dev/urandom for random input.
Wipe mode is secure (38 special passes)
Wiping /mnt/hdd/bitcoin/wallet.db CLEANING HDD FAILED:
missing btrfs package
Please report as issue on the raspiblitz github.

But c hecking BTRFS package seems to be installed:

[email protected]:~ ₿ dpkg -s btrfs-progs
Package: btrfs-progs
Status: install ok installed

rootzoll avatar Apr 18 '24 19:04 rootzoll

Note: When using in the same setup a NVMe where just the blockchain was on (RESET HDD on repair menu) it worked with the migration.

rootzoll avatar Apr 18 '24 20:04 rootzoll