hmmm? Tell me where in my posted code there is a mount-type “volume” mentioned?! The mount type says to be “bind”.
I see your point. I do not want to be disqualified. So please help me fix this issue. What went wrong mounting the folders via shell commands?
Is this issue maybe relevant to the content of the config.yaml ? Mine is located directly in the above mentioned “volume1/Storj” folder and looks like this:
path to the certificate chain for this identity
identity.cert-path: “identity/identity.cert”
path to the private key for this identity
identity.key-path: “identity/identity.key”
the public address of the Kademlia node, useful for nodes behind NAT
kademlia.external-address: “w****.de:28967”
operator email address
kademlia.operator.email: “w*@*.de”
operator wallet address
kademlia.operator.wallet: “0x946549XxXxDc5f9e0Bafc97412f87dAE94f370054Gts”
the minimum log level to log
log.level: info
public address to listen on
server.address: “:28967”
log all GRPC traffic to zap logger
server.debug-log-traffic: false
private address to listen on
server.private-address: “127.0.0.1:7778”
total allocated bandwidth in bytes
storage.allocated-bandwidth: 2.0 TB
total allocated disk space in bytes
storage.allocated-disk-space: 650 GB
But I also can post my entire docker container inspect log.
This is what I get using pure CLI with the command block copied from the Storj homepage docs:
sudo docker container inspect storagenode [
{
"Id": "fb323927f0bf18a2253febd6c8870f1aca66e8e8e1bb87405027eae7e0478f64",
"Created": "2019-11-12T19:41:15.481054804Z",
"Path": "/entrypoint",
"Args": [],
"State": {
"Status": "created",
"Running": false,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 0,
"ExitCode": 0,
"Error": "",
"StartedAt": "0001-01-01T00:00:00Z",
"FinishedAt": "0001-01-01T00:00:00Z",
"StartedTs": -62135596800,
"FinishedTs": -62135596800
},
"Image": "sha256:e4968555e291b5967f8235d3980431f07be7dc8e9dc68961d789bb7cd030342a",
"ResolvConfPath": "",
"HostnamePath": "",
"HostsPath": "",
"LogPath": "",
"Name": "/storagenode",
"RestartCount": 0,
"Driver": "aufs",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": null,
"ContainerIDFile": "",
"LogConfig": {
"Type": "db",
"Config": {}
},
"NetworkMode": "default",
"PortBindings": {
"14002/tcp": [
{
"HostIp": "",
"HostPort": "14002"
}
],
"28967/tcp": [
{
"HostIp": "",
"HostPort": "28967"
}
]
},
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"CapAdd": null,
"CapDrop": null,
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "shareable",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": null,
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"Runtime": "runc",
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"GOARCH=",
"ADDRESS=wolfgang.heydlauff.de:28967",
"EMAIL=wolfgang.heydlauff@posteo.de",
"WALLET=0x949Dc5f9e0Bafc57f412f87dAE94f3700f25B51F",
"BANDWIDTH=20TB",
"STORAGE=650GB"
],
"ConsoleSize": [
0,
0
],
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": [],
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": [],
"DeviceCgroupRules": null,
"DiskQuota": 0,
"KernelMemory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"OomKillDisable": false,
"PidsLimit": 0,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0,
"Mounts": [
{
"Type": "bind",
"Source": "/volume1/Storj",
"Target": "/app/identity"
},
{
"Type": "bind",
"Source": "/volume1/Storj",
"Target": "/app/config"
}
],
"MaskedPaths": [
"/proc/asound",
"/proc/acpi",
"/proc/kcore",
"/proc/keys",
"/proc/latency_stats",
"/proc/timer_list",
"/proc/timer_stats",
"/proc/sched_debug",
"/proc/scsi",
"/sys/firmware"
],
"ReadonlyPaths": [
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
]
},
"GraphDriver": {
"Data": null,
"Name": "aufs"
},
"Mounts": [
{
"Type": "bind",
"Source": "/volume1/Storj",
"Destination": "/app/identity",
"Mode": "",
"RW": true,
"Propagation": "rprivate"
},
{
"Type": "bind",
"Source": "/volume1/Storj",
"Destination": "/app/config",
"Mode": "",
"RW": true,
"Propagation": "rprivate"
},
{
"Type": "volume",
"Name": "a809285a188c8ac1723e7c80a9baed8add3b7387fa62e7473e7137a5ff7bfd95",
"Source": "/volume1/@docker/volumes/a809285a188c8ac1723e7c80a9baed8add3b7387fa62e7473e7137a5ff7bfd95/_data",
"Destination": "/root/.local/share/storj/storagenode",
"Driver": "local",
"Mode": "",
"RW": true,
"Propagation": ""
}
],
"Config": {
"Hostname": "fb323927f0bf",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": true,
"AttachStderr": true,
"ExposedPorts": {
"14002/tcp": {},
"28967/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"GOARCH=",
"ADDRESS=wolfgang.heydlauff.de:28967",
"EMAIL=wolfgang.heydlauff@posteo.de",
"WALLET=0x949Dc5f9e0Bafc57f412f87dAE94f3700f25B51F",
"BANDWIDTH=20TB",
"STORAGE=650GB"
],
"Cmd": null,
"ArgsEscaped": true,
"Image": "storjlabs/storagenode:beta",
"Volumes": {
"/root/.local/share/storj/storagenode": {}
},
"WorkingDir": "/app",
"Entrypoint": [
"/entrypoint"
],
"OnBuild": null,
"Labels": {},
"DDSM": false
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {},
"SandboxKey": "",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"bridge": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"NetworkID": "",
"EndpointID": "",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "",
"DriverOpts": null
}
}
}
}
]
And this is what I get, when I do the same and afterwards in addition mount manually with the Synology docker GUI under the tab “volume” as seen in the following picure:
sudo docker container inspect storagenode
[
{
"Id": "fb323927f0bf18a2253febd6c8870f1aca66e8e8e1bb87405027eae7e0478f64",
"Created": "2019-11-12T19:41:15.481054804Z",
"Path": "/entrypoint",
"Args": [],
"State": {
"Status": "created",
"Running": false,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 0,
"ExitCode": 0,
"Error": "",
"StartedAt": "0001-01-01T00:00:00Z",
"FinishedAt": "0001-01-01T00:00:00Z",
"StartedTs": -62135596800,
"FinishedTs": -62135596800
},
"Image": "sha256:e4968555e291b5967f8235d3980431f07be7dc8e9dc68961d789bb7cd030342a",
"ResolvConfPath": "",
"HostnamePath": "",
"HostsPath": "",
"LogPath": "",
"Name": "/storagenode",
"RestartCount": 0,
"Driver": "aufs",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"/volume1/Storj:/app/config/:rw",
"/volume1/Storj:/app/identity/:rw"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "db",
"Config": {}
},
"NetworkMode": "default",
"PortBindings": {
"14002/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "14002"
}
],
"28967/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "28967"
}
]
},
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"CapAdd": null,
"CapDrop": null,
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "shareable",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": null,
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"Runtime": "runc",
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"GOARCH=",
"ADDRESS=wolfgang.heydlauff.de:28967",
"EMAIL=wolfgang.heydlauff@posteo.de",
"WALLET=0x949Dc5f9e0Bafc57f412f87dAE94f3700f25B51F",
"BANDWIDTH=20TB",
"STORAGE=650GB"
],
"ConsoleSize": [
0,
0
],
"Isolation": "",
"CpuShares": 50,
"Memory": 0,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": [],
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": [],
"DeviceCgroupRules": null,
"DiskQuota": 0,
"KernelMemory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"OomKillDisable": false,
"PidsLimit": 0,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0,
"Mounts": [
{
"Type": "bind",
"Source": "/volume1/Storj",
"Target": "/app/identity"
},
{
"Type": "bind",
"Source": "/volume1/Storj",
"Target": "/app/config"
}
],
"MaskedPaths": [
"/proc/asound",
"/proc/acpi",
"/proc/kcore",
"/proc/keys",
"/proc/latency_stats",
"/proc/timer_list",
"/proc/timer_stats",
"/proc/sched_debug",
"/proc/scsi",
"/sys/firmware"
],
"ReadonlyPaths": [
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
]
},
"GraphDriver": {
"Data": null,
"Name": "aufs"
},
"Mounts": [
{
"Type": "volume",
"Name": "a809285a188c8ac1723e7c80a9baed8add3b7387fa62e7473e7137a5ff7bfd95",
"Source": "/volume1/@docker/volumes/a809285a188c8ac1723e7c80a9baed8add3b7387fa62e7473e7137a5ff7bfd95/_data",
"Destination": "/root/.local/share/storj/storagenode",
"Driver": "local",
"Mode": "",
"RW": true,
"Propagation": ""
},
{
"Type": "bind",
"Source": "/volume1/Storj",
"Destination": "/app/config",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
},
{
"Type": "bind",
"Source": "/volume1/Storj",
"Destination": "/app/identity",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
}
],
"Config": {
"Hostname": "fb323927f0bf",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": true,
"AttachStderr": true,
"ExposedPorts": {
"14002/tcp": {},
"28967/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"GOARCH=",
"ADDRESS=wolfgang.heydlauff.de:28967",
"EMAIL=wolfgang.heydlauff@posteo.de",
"WALLET=0x949Dc5f9e0Bafc57f412f87dAE94f3700f25B51F",
"BANDWIDTH=20TB",
"STORAGE=650GB"
],
"Cmd": null,
"ArgsEscaped": true,
"Image": "storjlabs/storagenode:beta",
"Volumes": {
"/root/.local/share/storj/storagenode": {}
},
"WorkingDir": "/app",
"Entrypoint": [
"/entrypoint"
],
"OnBuild": null,
"Labels": {},
"DDSM": false
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {},
"SandboxKey": "",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"bridge": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"NetworkID": "",
"EndpointID": "",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "",
"DriverOpts": null
}
}
}
}
]