Not achieve to format the disk for storj rpi4b

This are the partitions at the disk

Device Start End Sectors Size Id Type Flags
/dev/sda1 0 1953423674 1953423675 931.5G 83 Linux native
/dev/sda2 1953423675 1953520064 96390 47.1M 82 Linux swap u
/dev/sda3 0 1953520064 1953520065 931.5G 5 Whole disk
and when I type this command:

sudo mkfs.ext4 /dev/sda1

I get this error:

root@raspberrypi:/home/pi# sudo mkfs.ext4 /dev/sda1
mke2fs 1.44.5 (15-Dec-2018)
The file /dev/sda1 does not exist and no size was specified.

Whats wrong?

this is the followed guide

Seems you partitioned your disk in a different program, not fdisk.
If this is an empty disk, then better to start over

sudo fdisk /dev/sda

Then d and Enter and repeat until it say Partition 1 has been deleted.
Then n and Enter, p and Enter, then hit Enter until got a prompt

Command (m for help):

Now q and Enter.
Create a fs:

sudo mkfs.ext4 /dev/sda

I fixed the guide to use a whole disk.


thanks now i am getting this error at docker

docker: Error response from daemon: invalid mount config for type “bind”: invalid mount path: ‘</home/pi/identity>’ mount path must be absolute.

this is my docker:

docker run -d --restart unless-stopped --stop-timeout 300
-p 28967:28967
-e WALLET=“00000000”
-e EMAIL=""
–mount type=bind,source="</home/pi/identity>",destination=/app/identity
–mount type=bind,source="</dev/sda2>",destination=/app/config
–name storagenode storjlabs/storagenode:latest

remove the < and > and replace /dev/sda2 with its mountpoint and preferably create a sub folder on that partition.

A post was split to a new topic: OCI runtime exec failed: exec failed