I am trying to set up cardano node ( testnet ) on my Windows WSL ( UBUNTU ) on an external mounted hard drive . I want to do so because my internal storage is not sufficient for the db . i was able to successfully start my cardano node sync on my local drive ( C drive ) but when i am trying to do the same on external mounted drive its showing a
cardano-node: Network.Socket.bind: unsupported operation (Operation not supported)
Error an the process shutdowns. I want to resolve this issue so that i can continue my learning on cardano chain
this is the complete terminal output when i run the cardano-node run command
krish@DESKTOP-MF8GNVM:/mnt/h/cardano-src$ cardano-node run --topology /mnt/h/cardano-src/testnet-config/testnet-topology.json --database-path /mnt/h/cardano-src/testnet/db --socket-path /mnt/h/cardano-src/testnet/db/node.socket --host-addr 0.0.0.0 --port 3001 --config /mnt/h/cardano-src/testnet-config/testnet-config.json
Node configuration: NodeConfiguration {ncSocketConfig = SocketConfig {ncNodeIPv4Addr = Last {getLast = Just 0.0.0.0}, ncNodeIPv6Addr = Last {getLast = Nothing}, ncNodePortNumber = Last {getLast = Just 3001}, ncSocketPath = Last {getLast = Just "/mnt/h/cardano-src/testnet/db/node.socket"}}, ncConfigFile = "/mnt/h/cardano-src/testnet-config/testnet-config.json", ncTopologyFile = "/mnt/h/cardano-src/testnet-config/testnet-topology.json", ncDatabaseFile = "/mnt/h/cardano-src/testnet/db", ncProtocolFiles = ProtocolFilepaths {byronCertFile = Nothing, byronKeyFile = Nothing, shelleyKESFile = Nothing, shelleyVRFFile = Nothing, shelleyCertFile = Nothing, shelleyBulkCredsFile = Nothing}, ncValidateDB = False, ncShutdownConfig = ShutdownConfig {scIPC = Nothing, scOnSlotSynced = Just NoMaxSlotNo}, ncProtocolConfig = NodeProtocolConfigurationCardano (NodeByronProtocolConfiguration {npcByronGenesisFile = "/mnt/h/cardano-src/testnet-config/testnet-byron-genesis.json", npcByronGenesisFileHash = Just "96fceff972c2c06bd3bb5243c39215333be6d56aaf4823073dca31afe5038471", npcByronReqNetworkMagic = RequiresMagic, npcByronPbftSignatureThresh = Nothing, npcByronApplicationName = ApplicationName {unApplicationName = "cardano-sl"}, npcByronApplicationVersion = 0, npcByronSupportedProtocolVersionMajor = 3, npcByronSupportedProtocolVersionMinor = 0, npcByronSupportedProtocolVersionAlt = 0}) (NodeShelleyProtocolConfiguration {npcShelleyGenesisFile = "/mnt/h/cardano-src/testnet-config/testnet-shelley-genesis.json", npcShelleyGenesisFileHash = Just "849a1764f152e1b09c89c0dfdbcbdd38d711d1fec2db5dfa0f87cf2737a0eaf4"}) (NodeAlonzoProtocolConfiguration {npcAlonzoGenesisFile = "/mnt/h/cardano-src/testnet-config/testnet-alonzo-genesis.json", npcAlonzoGenesisFileHash = Just "7e94a15f55d1e82d10f09203fa1d40f8eede58fd8066542cf6566008068ed874"}) (NodeHardForkProtocolConfiguration {npcTestEnableDevelopmentHardForkEras = False, npcTestShelleyHardForkAtEpoch = Nothing, npcTestShelleyHardForkAtVersion = Nothing, npcTestAllegraHardForkAtEpoch = Nothing, npcTestAllegraHardForkAtVersion = Nothing, npcTestMaryHardForkAtEpoch = Nothing, npcTestMaryHardForkAtVersion = Nothing, npcTestAlonzoHardForkAtEpoch = Nothing, npcTestAlonzoHardForkAtVersion = Nothing}), ncDiffusionMode = InitiatorAndResponderDiffusionMode, ncSnapshotInterval = DefaultSnapshotInterval, ncTestEnableDevelopmentNetworkProtocols = False, ncMaxConcurrencyBulkSync = Nothing, ncMaxConcurrencyDeadline = Nothing, ncLoggingSwitch = True, ncLogMetrics = True, ncTraceConfig = TracingOnLegacy (TraceSelection {traceVerbosity = NormalVerbosity, traceAcceptPolicy = OnOff {isOn = True}, traceBlockFetchClient = OnOff {isOn = False}, traceBlockFetchDecisions = OnOff {isOn = False}, traceBlockFetchProtocol = OnOff {isOn = False}, traceBlockFetchProtocolSerialised = OnOff {isOn = False}, traceBlockFetchServer = OnOff {isOn = False}, traceBlockchainTime = OnOff {isOn = False}, traceChainDB = OnOff {isOn = True}, traceChainSyncBlockServer = OnOff {isOn = False}, traceChainSyncClient = OnOff {isOn = False}, traceChainSyncHeaderServer = OnOff {isOn = False}, traceChainSyncProtocol = OnOff {isOn = False}, traceConnectionManager = OnOff {isOn = True}, traceConnectionManagerCounters = OnOff {isOn = True}, traceConnectionManagerTransitions = OnOff {isOn = False}, traceDebugPeerSelectionInitiatorTracer = OnOff {isOn = False}, traceDebugPeerSelectionInitiatorResponderTracer = OnOff {isOn = False}, traceDiffusionInitialization = OnOff {isOn = True}, traceDnsResolver = OnOff {isOn = False}, traceDnsSubscription = OnOff {isOn = True}, traceErrorPolicy = OnOff {isOn = True}, traceForge = OnOff {isOn = True}, traceForgeStateInfo = OnOff {isOn = True}, traceHandshake = OnOff {isOn = False}, traceInboundGovernor = OnOff {isOn = True}, traceInboundGovernorCounters = OnOff {isOn = True}, traceInboundGovernorTransitions = OnOff {isOn = True}, traceIpSubscription = OnOff {isOn = True}, traceKeepAliveClient = OnOff {isOn = False}, traceLedgerPeers = OnOff {isOn = True}, traceLocalChainSyncProtocol = OnOff {isOn = False}, traceLocalConnectionManager = OnOff {isOn = False}, traceLocalErrorPolicy = OnOff {isOn = True}, traceLocalHandshake = OnOff {isOn = False}, traceLocalInboundGovernor = OnOff {isOn = False}, traceLocalMux = OnOff {isOn = False}, traceLocalRootPeers = OnOff {isOn = True}, traceLocalServer = OnOff {isOn = False}, traceLocalStateQueryProtocol = OnOff {isOn = False}, traceLocalTxMonitorProtocol = OnOff {isOn = False}, traceLocalTxSubmissionProtocol = OnOff {isOn = False}, traceLocalTxSubmissionServer = OnOff {isOn = False}, traceMempool = OnOff {isOn = True}, traceMux = OnOff {isOn = False}, tracePeerSelection = OnOff {isOn = True}, tracePeerSelectionCounters = OnOff {isOn = True}, tracePeerSelectionActions = OnOff {isOn = True}, tracePublicRootPeers = OnOff {isOn = True}, traceServer = OnOff {isOn = True}, traceTxInbound = OnOff {isOn = False}, traceTxOutbound = OnOff {isOn = False}, traceTxSubmissionProtocol = OnOff {isOn = False}, traceTxSubmission2Protocol = OnOff {isOn = False}}), ncMaybeMempoolCapacityOverride = Nothing, ncProtocolIdleTimeout = 5s, ncTimeWaitTimeout = 60s, ncAcceptedConnectionsLimit = AcceptedConnectionsLimit {acceptedConnectionsHardLimit = 512, acceptedConnectionsSoftLimit = 384, acceptedConnectionsDelay = 5s}, ncTargetNumberOfRootPeers = 100, ncTargetNumberOfKnownPeers = 100, ncTargetNumberOfEstablishedPeers = 50, ncTargetNumberOfActivePeers = 20, ncEnableP2P = DisabledP2PMode}
Listening on http://127.0.0.1:12798
[DESKTOP-:cardano.node.basicInfo.protocol:Notice:5] [2022-08-05 03:45:48.46 UTC] Byron; Shelley
[DESKTOP-:cardano.node.basicInfo.version:Notice:5] [2022-08-05 03:45:48.46 UTC] 1.34.1
[DESKTOP-:cardano.node.basicInfo.commit:Notice:5] [2022-08-05 03:45:48.46 UTC] 73f9a746362695dc2cb63ba757fbcabb81733d23
[DESKTOP-:cardano.node.basicInfo.nodeStartTime:Notice:5] [2022-08-05 03:45:48.46 UTC] 2022-08-05 03:45:48.460299332 UTC
[DESKTOP-:cardano.node.basicInfo.systemStartTime:Notice:5] [2022-08-05 03:45:48.46 UTC] 2019-07-24 20:20:16 UTC
[DESKTOP-:cardano.node.basicInfo.slotLengthByron:Notice:5] [2022-08-05 03:45:48.46 UTC] 20s
[DESKTOP-:cardano.node.basicInfo.epochLengthByron:Notice:5] [2022-08-05 03:45:48.46 UTC] 21600
[DESKTOP-:cardano.node.basicInfo.slotLengthShelley:Notice:5] [2022-08-05 03:45:48.46 UTC] 1s
[DESKTOP-:cardano.node.basicInfo.epochLengthShelley:Notice:5] [2022-08-05 03:45:48.46 UTC] 432000
[DESKTOP-:cardano.node.basicInfo.slotsPerKESPeriodShelley:Notice:5] [2022-08-05 03:45:48.46 UTC] 129600
[DESKTOP-:cardano.node.basicInfo.slotLengthAllegra:Notice:5] [2022-08-05 03:45:48.46 UTC] 1s
[DESKTOP-:cardano.node.basicInfo.epochLengthAllegra:Notice:5] [2022-08-05 03:45:48.46 UTC] 432000
[DESKTOP-:cardano.node.basicInfo.slotsPerKESPeriodAllegra:Notice:5] [2022-08-05 03:45:48.46 UTC] 129600
[DESKTOP-:cardano.node.basicInfo.slotLengthMary:Notice:5] [2022-08-05 03:45:48.46 UTC] 1s
[DESKTOP-:cardano.node.basicInfo.epochLengthMary:Notice:5] [2022-08-05 03:45:48.46 UTC] 432000
[DESKTOP-:cardano.node.basicInfo.slotsPerKESPeriodMary:Notice:5] [2022-08-05 03:45:48.46 UTC] 129600
[DESKTOP-:cardano.node.basicInfo.slotLengthAlonzo:Notice:5] [2022-08-05 03:45:48.46 UTC] 1s
[DESKTOP-:cardano.node.basicInfo.epochLengthAlonzo:Notice:5] [2022-08-05 03:45:48.46 UTC] 432000
[DESKTOP-:cardano.node.basicInfo.slotsPerKESPeriodAlonzo:Notice:5] [2022-08-05 03:45:48.46 UTC] 129600
[DESKTOP-:cardano.node.startup:Info:5] [2022-08-05 03:45:48.47 UTC] Config path /mnt/h/cardano-src/testnet-config/testnet-config.json, Network magic NetworkMagic {unNetworkMagic = 1097911063}, Protocol "Byron; Shelley", Version "1.34.1", Commit "73f9a746362695dc2cb63ba757fbcabb81733d23", Node start time 2022-08-05 03:45:48.478623464 UTC
[DESKTOP-:cardano.node.startup:Info:5] [2022-08-05 03:45:48.47 UTC] Era Byron, Slot length 20s, Epoch length 21600
[DESKTOP-:cardano.node.startup:Info:5] [2022-08-05 03:45:48.47 UTC] Era Shelley, Slot length 1s, Epoch length 432000, Slots per KESPeriod 129600
[DESKTOP-:cardano.node.startup:Info:5] [2022-08-05 03:45:48.47 UTC] Era Allegra, Slot length 1s, Epoch length 432000, Slots per KESPeriod 129600
[DESKTOP-:cardano.node.startup:Info:5] [2022-08-05 03:45:48.47 UTC] Era Mary, Slot length 1s, Epoch length 432000, Slots per KESPeriod 129600
[DESKTOP-:cardano.node.startup:Info:5] [2022-08-05 03:45:48.47 UTC] Era Alonzo, Slot length 1s, Epoch length 432000, Slots per KESPeriod 129600
[DESKTOP-:cardano.node.startup:Info:5] [2022-08-05 03:45:48.47 UTC] startup time: 1659671149
[DESKTOP-:cardano.node.startup:Info:5] [2022-08-05 03:45:48.51 UTC]
node addresses: 0.0.0.0:3001
local socket: /mnt/h/cardano-src/testnet/db/node.socket
node-to-node versions:
NodeToNodeV_6 HardForkNodeToNodeEnabled HardForkSpecificNodeToNodeVersion1 (EraNodeToNodeEnabled ByronNodeToNodeVersion2 :* EraNodeToNodeEnabled ShelleyNodeToNodeVersion1 :* EraNodeToNodeEnabled ShelleyNodeToNodeVersion1 :* EraNodeToNodeEnabled ShelleyNodeToNodeVersion1 :* EraNodeToNodeDisabled :* Nil)
NodeToNodeV_7 HardForkNodeToNodeEnabled HardForkSpecificNodeToNodeVersion1 (EraNodeToNodeEnabled ByronNodeToNodeVersion2 :* EraNodeToNodeEnabled ShelleyNodeToNodeVersion1 :* EraNodeToNodeEnabled ShelleyNodeToNodeVersion1 :* EraNodeToNodeEnabled ShelleyNodeToNodeVersion1 :* EraNodeToNodeEnabled ShelleyNodeToNodeVersion1 :* Nil)
node-to-client versions:
NodeToClientV_1 HardForkNodeToClientDisabled ByronNodeToClientVersion1
NodeToClientV_2 HardForkNodeToClientDisabled ByronNodeToClientVersion1
NodeToClientV_3 HardForkNodeToClientEnabled HardForkSpecificNodeToClientVersion1 (EraNodeToClientEnabled ByronNodeToClientVersion1 :* EraNodeToClientEnabled ShelleyNodeToClientVersion1 :* EraNodeToClientDisabled :* EraNodeToClientDisabled :* EraNodeToClientDisabled :* Nil)
NodeToClientV_4 HardForkNodeToClientEnabled HardForkSpecificNodeToClientVersion2 (EraNodeToClientEnabled ByronNodeToClientVersion1 :* EraNodeToClientEnabled ShelleyNodeToClientVersion2 :* EraNodeToClientDisabled :* EraNodeToClientDisabled :* EraNodeToClientDisabled :* Nil)
NodeToClientV_5 HardForkNodeToClientEnabled HardForkSpecificNodeToClientVersion2 (EraNodeToClientEnabled ByronNodeToClientVersion1 :* EraNodeToClientEnabled ShelleyNodeToClientVersion2 :* EraNodeToClientEnabled ShelleyNodeToClientVersion2 :* EraNodeToClientDisabled :* EraNodeToClientDisabled :* Nil)
NodeToClientV_6 HardForkNodeToClientEnabled HardForkSpecificNodeToClientVersion2 (EraNodeToClientEnabled ByronNodeToClientVersion1 :* EraNodeToClientEnabled ShelleyNodeToClientVersion2 :* EraNodeToClientEnabled ShelleyNodeToClientVersion2 :* EraNodeToClientEnabled ShelleyNodeToClientVersion2 :* EraNodeToClientDisabled :* Nil)
NodeToClientV_7 HardForkNodeToClientEnabled HardForkSpecificNodeToClientVersion2 (EraNodeToClientEnabled ByronNodeToClientVersion1 :* EraNodeToClientEnabled ShelleyNodeToClientVersion3 :* EraNodeToClientEnabled ShelleyNodeToClientVersion3 :* EraNodeToClientEnabled ShelleyNodeToClientVersion3 :* EraNodeToClientDisabled :* Nil)
NodeToClientV_8 HardForkNodeToClientEnabled HardForkSpecificNodeToClientVersion2 (EraNodeToClientEnabled ByronNodeToClientVersion1 :* EraNodeToClientEnabled ShelleyNodeToClientVersion3 :* EraNodeToClientEnabled ShelleyNodeToClientVersion3 :* EraNodeToClientEnabled ShelleyNodeToClientVersion3 :* EraNodeToClientDisabled :* Nil)
NodeToClientV_9 HardForkNodeToClientEnabled HardForkSpecificNodeToClientVersion2 (EraNodeToClientEnabled ByronNodeToClientVersion1 :* EraNodeToClientEnabled ShelleyNodeToClientVersion4 :* EraNodeToClientEnabled ShelleyNodeToClientVersion4 :* EraNodeToClientEnabled ShelleyNodeToClientVersion4 :* EraNodeToClientEnabled ShelleyNodeToClientVersion4 :* Nil)
NodeToClientV_10 HardForkNodeToClientEnabled HardForkSpecificNodeToClientVersion2 (EraNodeToClientEnabled ByronNodeToClientVersion1 :* EraNodeToClientEnabled ShelleyNodeToClientVersion4 :* EraNodeToClientEnabled ShelleyNodeToClientVersion4 :* EraNodeToClientEnabled ShelleyNodeToClientVersion4 :* EraNodeToClientEnabled ShelleyNodeToClientVersion4 :* Nil)
NodeToClientV_11 HardForkNodeToClientEnabled HardForkSpecificNodeToClientVersion2 (EraNodeToClientEnabled ByronNodeToClientVersion1 :* EraNodeToClientEnabled ShelleyNodeToClientVersion5 :* EraNodeToClientEnabled ShelleyNodeToClientVersion5 :* EraNodeToClientEnabled ShelleyNodeToClientVersion5 :* EraNodeToClientEnabled ShelleyNodeToClientVersion5 :* Nil)
NodeToClientV_12 HardForkNodeToClientEnabled HardForkSpecificNodeToClientVersion2 (EraNodeToClientEnabled ByronNodeToClientVersion1 :* EraNodeToClientEnabled ShelleyNodeToClientVersion5 :* EraNodeToClientEnabled ShelleyNodeToClientVersion5 :* EraNodeToClientEnabled ShelleyNodeToClientVersion5 :* EraNodeToClientEnabled ShelleyNodeToClientVersion5 :* Nil)
[DESKTOP-:cardano.node.ChainDB:Info:5] [2022-08-05 03:45:48.56 UTC] Started opening Chain DB
[DESKTOP-:cardano.node.ChainDB:Info:5] [2022-08-05 03:45:48.56 UTC] Started opening Immutable DB
[DESKTOP-:cardano.node.ChainDB:Info:5] [2022-08-05 03:45:48.60 UTC] Validating chunk no. 0 out of 0. Progress: NaN%
[DESKTOP-:cardano.node.ChainDB:Info:5] [2022-08-05 03:45:48.69 UTC] Validated chunk no. 0 out of 0. Progress: NaN%
[DESKTOP-:cardano.node.ChainDB:Info:5] [2022-08-05 03:45:48.70 UTC] No valid last location was found. Starting from Genesis.
[DESKTOP-:cardano.node.ChainDB:Info:5] [2022-08-05 03:45:48.74 UTC] Opened imm db with immutable tip at genesis (origin) and chunk 0
[DESKTOP-:cardano.node.ChainDB:Info:5] [2022-08-05 03:45:48.74 UTC] Started opening Volatile DB
[DESKTOP-:cardano.node.ChainDB:Info:5] [2022-08-05 03:45:48.77 UTC] Opened vol db
[DESKTOP-:cardano.node.ChainDB:Info:5] [2022-08-05 03:45:48.77 UTC] Started opening Ledger DB
[DESKTOP-:cardano.node.ChainDB:Info:5] [2022-08-05 03:45:48.78 UTC] Replaying ledger from genesis
[DESKTOP-:cardano.node.ChainDB:Info:5] [2022-08-05 03:45:48.80 UTC] Opened lgr db
[DESKTOP-:cardano.node.ChainDB:Info:5] [2022-08-05 03:45:48.80 UTC] Started initial chain selection
[DESKTOP-:cardano.node.ChainDB:Info:5] [2022-08-05 03:45:48.80 UTC] Pushing ledger state for block 1e64e74bd7ac76d6806480a28017deb0aedd356fb61844ec95c429ae2f30c7c3 at slot 0. Progress: NaN%
[DESKTOP-:cardano.node.ChainDB:Info:5] [2022-08-05 03:45:48.81 UTC] Valid candidate at tip 1e64e74bd7ac76d6806480a28017deb0aedd356fb61844ec95c429ae2f30c7c3 at slot 0
[DESKTOP-:cardano.node.ChainDB:Info:5] [2022-08-05 03:45:48.81 UTC] Initial chain selected
[DESKTOP-:cardano.node.ChainDB:Info:5] [2022-08-05 03:45:48.81 UTC] Opened db with immutable tip at genesis (origin) and tip 1e64e74bd7ac76d6806480a28017deb0aedd356fb61844ec95c429ae2f30c7c3 at slot 0
[DESKTOP-:cardano.node.DiffusionInitializationTracer:Info:56] [2022-08-05 03:45:48.82 UTC] CreatingServerSocket 0.0.0.0:3001
[DESKTOP-:cardano.node.DiffusionInitializationTracer:Info:56] [2022-08-05 03:45:48.82 UTC] ConfiguringServerSocket 0.0.0.0:3001
[DESKTOP-:cardano.node.DiffusionInitializationTracer:Info:56] [2022-08-05 03:45:48.82 UTC] ListeningServerSocket 0.0.0.0:3001
[DESKTOP-:cardano.node.DiffusionInitializationTracer:Info:56] [2022-08-05 03:45:48.82 UTC] ServerSocketUp 0.0.0.0:3001
[DESKTOP-:cardano.node.DiffusionInitializationTracer:Info:56] [2022-08-05 03:45:48.82 UTC] RunServer (0.0.0.0:3001 :| [])
[DESKTOP-:cardano.node.DiffusionInitializationTracer:Info:59] [2022-08-05 03:45:48.82 UTC] CreateSystemdSocketForSnocketPath (LocalAddress "/mnt/h/cardano-src/testnet/db/node.socket")
[DESKTOP-:cardano.node.DiffusionInitializationTracer:Info:59] [2022-08-05 03:45:48.82 UTC] CreatedLocalSocket (LocalAddress "/mnt/h/cardano-src/testnet/db/node.socket")
[DESKTOP-:cardano.node.DiffusionInitializationTracer:Info:59] [2022-08-05 03:45:48.82 UTC] ConfiguringLocalSocket (LocalAddress "/mnt/h/cardano-src/testnet/db/node.socket") (FileDescriptor 27)
[DESKTOP-:cardano.node.DiffusionInitializationTracer:Info:5] [2022-08-05 03:45:48.85 UTC] DiffusionErrored Network.Socket.bind: unsupported operation (Operation not supported)
[DESKTOP-:cardano.node.ChainDB:Info:5] [2022-08-05 03:45:48.93 UTC] Closed Immutable DB.
[DESKTOP-:cardano.node.ChainDB:Info:5] [2022-08-05 03:45:48.93 UTC] Closed db with immutable tip at genesis (origin) and tip 1e64e74bd7ac76d6806480a28017deb0aedd356fb61844ec95c429ae2f30c7c3 at slot 0
Shutting down..
cardano-node: Network.Socket.bind: unsupported operation (Operation not supported)
i think it has some thing to do with these two lines
--socket-path /home/krish/cardano-src/test/testnet/db/node.socket \
--host-addr 0.0.0.0 \