# Want to move external hdd 1TB from docker synoloy to pc server linux ubuntu

**URL:** <https://forum.storj.io/t/want-to-move-external-hdd-1tb-from-docker-synoloy-to-pc-server-linux-ubuntu/22527>\
**Category:** Node Operators\
**Tags:** synology-nas, multiple-nodes, move-node\
**Created:** [May 1, 2023, 7:06am UTC](https://forum.storj.io/t/want-to-move-external-hdd-1tb-from-docker-synoloy-to-pc-server-linux-ubuntu/22527 "2023-05-01T07:06:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![philippe456](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/philippe456/32/10067_2.png) [@philippe456](https://forum.storj.io/u/philippe456)\
**Post date:** [May 1, 2023, 7:06am UTC](https://forum.storj.io/t/want-to-move-external-hdd-1tb-from-docker-synoloy-to-pc-server-linux-ubuntu/22527/1 "2023-05-01T07:06:35Z")

</div>

hello, I would like some advise :

i have a 1TB external HDD USB on my NAS synology docker (DS720+).  
here is my docker command:  
sudo docker run --rm -e SETUP=“true” --mount type=bind,source=“/volumeUSB2/usbshare/storj/identity”,destination=/app/identity --mount type=bind,source=“/volumeUSB2/usbshare/storj/data”,destination=/app/config --name storagenode storjlabs/storagenode:latest

sudo docker run -d --restart unless-stopped --stop-timeout 300   
-p 28967:28967/tcp   
-p 28967:28967/udp   
-p 14002:14002   
-e WALLET=“0x0000000000000000000000000”   
-e [EMAIL="pxxx@xxx.com](mailto:EMAIL=%22pxxx@xxx.com)"   
-e ADDRESS=“[pxxxxx.xxx.com:28967](http://pxxxxx.xxx.com:28967)”   
-e STORAGE=“900GB”   
–mount type=bind,source=“/volumeUSB2/usbshare/storj/identity”,destination=/app/identity   
–mount type=bind,source=“/volumeUSB2/usbshare/storj/data”,destination=/app/config   
–name storagenode storjlabs/storagenode:latest   
–operator.wallet-features=zksync

I want to move it on a PC with UBUNTU Server 22.04, on an USB port.

on this PC server i already have 2 SATA HDD

first one “storagenode1” on : /mnt/hdd1

docker run --rm -e SETUP=“true” --mount type=bind,source=“/mnt/hdd1/identity”,destination=/app/identity --mount type=bind,source=“/mnt/hdd1/data”,destination=/app/config --name storagenode1 storjlabs/storagenode:latest

docker run -d --restart unless-stopped --stop-timeout 300   
-p 28968:28967/tcp   
-p 28968:28967/udp   
-p 14003:14002   
-e WALLET=“0x000000000000000000000000”   
-e [EMAIL="pxxxxxxxxx@xxxxxx.com](mailto:EMAIL=%22pxxxxxxxxx@xxxxxx.com)"   
-e ADDRESS=“[pxxxxxx.xxxxxxxx.com:28968](http://pxxxxxx.xxxxxxxx.com:28968)”   
-e STORAGE=“3.60TB”   
–mount type=bind,source=“/mnt/hdd1/identity”,destination=/app/identity   
–mount type=bind,source=“/mnt/hdd1/data”,destination=/app/config   
–name storagenode1 storjlabs/storagenode:latest

second “storagenode2” on /mnt/hdd2

sudo docker run --rm --mount type=bind,source=“/mnt/hdd2/identity”,destination=/app/identity --mount type=bind,source=“/mnt/hdd2/data”,destination=/app/config --name storagenode2 storjlabs/storagenode:latest

sudo docker run -d --restart unless-stopped --stop-timeout 300   
-p 28969:28967/tcp   
-p 28969:28967/udp   
-p 14004:14002   
-e WALLET=“0xxxxxxxxxxxxxxxxxxxxxxxxxxxx”   
-e [EMAIL="pxxxxxxxxxx@xxxxxxxxx.com](mailto:EMAIL=%22pxxxxxxxxxx@xxxxxxxxx.com)"   
-e ADDRESS=“xxxxxxxxxxxxxxxxxxxx.xxx:28969”   
-e STORAGE=“3.60TB”   
–mount type=bind,source=“/mnt/hdd2/identity”,destination=/app/identity   
–mount type=bind,source=“/mnt/hdd2/data”,destination=/app/config   
–name storagenode2 storjlabs/storagenode:latest   
–operator.wallet-features=zksync

To resume : there will be 2 SATA HDD (4TB) 28968, 28969 & 1 external HDD USB (1TB) 28967

Could you help me to add my existing “storagenode” ext HDD USB to my other machine ?  
I do not want to make mistakes to my 1 year old storagenode

thank you 🙂

---

<div class="post-metadata">

**Author:** ![labooll](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/labooll/32/1136_2.png) [@labooll](https://forum.storj.io/u/labooll)\
**Post date:** [May 1, 2023, 7:56am UTC](https://forum.storj.io/t/want-to-move-external-hdd-1tb-from-docker-synoloy-to-pc-server-linux-ubuntu/22527/2 "2023-05-01T07:56:45Z")

</div>

Hello @philippe456 ,  
You just have to mount the new HDD (you can mount it to /mnt/hdd3 or any mount point you want)

Then simply execute the same command you used on the NAS, adapting the paths, to run the node:  
docker run -d --restart unless-stopped --stop-timeout 300  
-p 28967:28967/tcp  
-p 28967:28967/udp  
-p 14002:14002  
-e WALLET=“0x000000000000000000000000”  
-e [EMAIL="pxxxxxxxxx@xxxxxx.com](mailto:EMAIL=%22pxxxxxxxxx@xxxxxx.com)"  
-e ADDRESS=“[pxxxxxx.xxxxxxxx.com:28968](http://pxxxxxx.xxxxxxxx.com:28968/)”  
-e STORAGE=“900GB”  
–mount type=bind,source=“/mnt/hdd3/identity”,destination=/app/identity  
–mount type=bind,source=“/mnt/hdd3/data”,destination=/app/config  
–name storagenode storjlabs/storagenode:latest

Don’t forget to redirect port 28967 to your linux server instead of the NAS.

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [May 1, 2023, 8:19am UTC](https://forum.storj.io/t/want-to-move-external-hdd-1tb-from-docker-synoloy-to-pc-server-linux-ubuntu/22527/3 "2023-05-01T08:19:29Z")

</div>

> [@philippe456](#):
>
> docker run --rm -e SETUP=“true” --mount type=bind,source=“/mnt/hdd1/identity”,destination=/app/identity --mount type=bind,source=“/mnt/hdd1/data”,destination=/app/config --name storagenode1 storjlabs/storagenode:latest

You must never run this command for the worked node, you may destroy it! This command should be executed only once for the same identity.

> [@labooll](#):
>
> ```auto
> -e ADDRESS="pxxxxxx.xxxxxxxx.com:28968" \
> 
> ```

Should be corrected also to use a different port,

```auto
-p 28967:28967/tcp \
-p 28967:28967/udp \
-p 14002:14002 \
-e WALLET="0x000000000000000000000000" \
-e EMAIL="pxxxxxxxxx@xxxxxx.com" \
-e ADDRESS="pxxxxxx.xxxxxxxx.com:28967" \

```

Also as @labooll suggested, do not forget to forward this port on your router.

---

<div class="post-metadata">

**Author:** ![philippe456](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/philippe456/32/10067_2.png) [@philippe456](https://forum.storj.io/u/philippe456)\
**Post date:** [May 1, 2023, 9:25am UTC](https://forum.storj.io/t/want-to-move-external-hdd-1tb-from-docker-synoloy-to-pc-server-linux-ubuntu/22527/4 "2023-05-01T09:25:01Z")

</div>

allright , i will do that tomorrow & tell you how it goes

Thanks a lot.
