Node not starting. Here is the log from docker

2020-09-17T19:06:45.147Z INFO Node hided for privacy started
2020-09-17T19:06:45.150Z INFO Public server started on [::]:28967
2020-09-17T19:06:45.151Z INFO Private server started on 127.0.0.1:7778
Error: piecestore monitor: disk space requirement not met
2020-09-17T19:07:02.633Z INFO Configuration loaded {“Location”: “/a pp/config/config.yaml”}
2020-09-17T19:07:02.637Z INFO Operator email {“Address”: “hided for privacy”}
2020-09-17T19:07:02.637Z INFO Operator wallet {“Address”: “hided for privacy”}
2020-09-17T19:07:03.493Z INFO Telemetry enabled
2020-09-17T19:07:03.520Z INFO db.migration Database Version { “version”: 45}
2020-09-17T19:07:04.233Z INFO preflight:localtime start checking l ocal system clock with trusted satellites’ system clock.
2020-09-17T19:07:04.326Z ERROR preflight:localtime unable to get sa tellite system time {“Satellite ID”: “118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJe xMtSkmKxvvAW”, “error”: “rpccompat: dial tcp 78.94.240.189:7777: connect: connec tion refused”, “errorVerbose”: “rpccompat: dial tcp 78.94.240.189:7777: connect: connection refused\n\tstorj.io/common/rpc.Dialer.dialTransport:211\n\tstorj.io/ common/rpc.Dialer.dial:188\n\tstorj.io/common/rpc.Dialer.DialNodeURL:148\n\tstor j.io/storj/storagenode/preflight.(*LocalTime).getSatelliteTime:110\n\tstorj.io/s torj/storagenode/preflight.(*LocalTime).Check.func1:67\n\tgolang.org/x/sync/errg roup.(*Group).Go.func1:57”}
2020-09-17T19:07:05.173Z INFO preflight:localtime local system clo ck is in sync with trusted satellites’ system clock.
2020-09-17T19:07:05.174Z INFO trust Scheduling next refresh {“after” : “7h13m45.392376461s”}
2020-09-17T19:07:05.174Z INFO bandwidth Performing bandwidth usa ge rollups
2020-09-17T19:07:05.174Z INFO Node hided for privacy started
2020-09-17T19:07:05.174Z INFO Public server started on [::]:28967
2020-09-17T19:07:05.174Z INFO Private server started on 127.0.0.1:7778
2020-09-17T19:07:05.176Z WARN piecestore:monitor Disk space is le ss than requested. Allocated space is {“bytes”: 14356451328}
2020-09-17T19:07:05.176Z ERROR piecestore:monitor Total disk space is less than required minimum {“bytes”: 500000000000}
2020-09-17T19:07:05.177Z ERROR piecestore:cache error persisting cache totals to the database: {“error”: “piece space used error: context cance led”, “errorVerbose”: “piece space used error: context canceled\n\tstorj.io/stor j/storagenode/storagenodedb.(*pieceSpaceUsedDB).UpdatePieceTotals:175\n\tstorj.i o/storj/storagenode/pieces.(*CacheService).PersistCacheTotals:100\n\tstorj.io/st orj/storagenode/pieces.(*CacheService).Run.func1:85\n\tstorj.io/common/sync2.(*C ycle).Run:92\n\tstorj.io/storj/storagenode/pieces.(*CacheService).Run:80\n\tstor j.io/storj/private/lifecycle.(*Group).Run.func1:56\n\tgolang.org/x/sync/errgroup .(*Group).Go.func1:57”}
2020-09-17T19:07:05.178Z ERROR nodestats:cache Get pricing-model/join d ate failed {“error”: “context canceled”}
Error: piecestore monitor: disk space requirement not met

How much space have you assigned ?

I have assigned 900 but the node have been working 3-4 months

I have been looking and i think i accidentaly formated the storj hdd. I was formating and mounting a hdd of the same capacity andi may formated the wrong hdd. Could be this the case of this error

Check this please
Allocated space is {“bytes”: 14356451328}
2020-09-17T19:07:05.176Z ERROR piecestore:monitor Total disk space is less than required minimum {“bytes”: 500000000000

What i dont understand? i have put 900gb

Show result of

df -h

Filesystem Size Used Avail Use% Mounted on
/dev/root 14G 3.2G 11G 24% /
devtmpfs 1.8G 0 1.8G 0% /dev
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 1.9G 8.6M 1.9G 1% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/sda 15G 41M 14G 1% /mnt/storj
/dev/mmcblk0p1 253M 54M 199M 22% /boot
/dev/sdb 916G 840G 31G 97% /media/pendrive
tmpfs 383M 0 383M 0% /run/user/1000

Your drive is only 15G

1 Like

Looks like your mounts got switched. Possibly due to switching USB ports. Can you show us your fstab entries for the mounts?

1 Like

proc /proc proc defaults 0 0
PARTUUID=8b376bfe-01 /boot vfat defaults 0 2
PARTUUID=8b376bfe-02 / ext4 defaults,noatime 0 1
/dev/sda /mnt/storj ext4 defaults 0 2
/dev/sdb /media/pendrive ext4 defaults 0 0

lots of thanks yes you were right the usb ports where switched i have change them and now its everythin as before and no data have been lost

You should change your fstab to mount the storj drive (and optionally your pen drive) by UUID instead of /dev/sda or /dev/sdb. This way you will never have to worry about the mounts changing. To find the UUID:

:~$ sudo blkid

Find the UUID of the drives. Do one at a time if you want to copy/paste.

Then change your fstab:

UUID=<UUID STRING GOES HERE> /mnt/storj ext4 defaults 0 2

And replace <UUID STRING GOES HERE> with the UUID for the storj drive from the blkid command (without the quotes).