Skip to content

Daily snapshot incompatible with Windows? Linux only snapshot? #1

@grctest

Description

@grctest

https://www.reddit.com/r/gridcoin/comments/4msxh1/stuck_syncing_download_blocks_too_far_back_use/

Snapshot script: https://github.com/grctest/grcnode/blob/master/BackEnd/Nodes/snapshot.sh

Created a thread on reddit where I shared my recently created snapshots - several users experienced issues using the snapshot on windows. I've used this snapshot on linux successfully.

It was taken from linux nodes, I'll look into the differences between the official & grcnode snapshots to see if i'm missing files..
Edit: Gridcoin.us snapshot:

$ ls -l
total 542552
-rw-rw-r-- 1 username username 555555083 May 20 22:31 blk0001.dat
drwx------ 2 username username      4096 Oct 30  2015 chainstate
drwx------ 2 username username      4096 Jun  7 12:23 database
drwx------ 2 username username      4096 Jun  7 12:23 txleveldb

Gridcoin.us - database:

ls -l
total 10240
-rw-rw-r-- 1 username username 10485760 May 20 22:31 log.0000000028

Gridcoin.us - txleveldb: (all files using the same permission, so not showing)

ls -l
total 301788
-rw-rw-r-- 1 username username  142132 Jul 24  2015 000121.ldb

Grcnode snapshot:

$ ls -l
total 565668
-rw-r--r-- 1 username username 579061004 Jun  6 14:16 blk0001.dat
drwxr-xr-x 2 username username      4096 Jun  6 14:16 chainstate
drwxr-xr-x 2 username username      4096 Jun  6 14:16 database
-rw------- 1 username username    160238 Jun  6 14:16 peers.dat
drwxr-xr-x 2 username username      4096 Jun  6 14:16 txleveldb

Grcnode database:

ls -l
total 10240
-rw------- 1 username username 10485759 Jun  6 14:16 log.0000000053

Grcnode txleveldb: (no -rw-rw-r--)

-rw-r--r-- 1 username username  335444 Jun  6 14:16 004265.ldb
-rw------- 1 username username   63026 Jun  6 14:16 013730.ldb

It would appear that the different file/folder settings have been applied - I'll look into changing this ASAP!
Permissions whilst running:

ls -l
total 1119380
-rw-r--r-- 1 username username 580415497 Jun  7 07:47 blk0001.dat
drwxr-xr-x 2 username username      4096 May 19 19:50 chainstate
drwxr-xr-x 2 username username      4096 Jun  5 14:17 database
-rw------- 1 username username    166066 Jun  7 07:39 peers.dat
drwxr-xr-x 2 username username     12288 Jun  6 14:22 txleveldb

Permissions when shutdown:

ls -l
total 1119376
-rw-r--r-- 1 username username 580415497 Jun  7 07:47 blk0001.dat
drwxr-xr-x 2 username username      4096 May 19 19:50 chainstate
drwxr-xr-x 2 username username      4096 Jun  5 14:17 database
-rw------- 1 username username    166140 Jun  7 07:48 peers.dat
drwxr-xr-x 2 username username     12288 Jun  6 14:22 txleveldb

Identical.. perhaps the windows client handles file/folder permissions differently?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions