[Help] How to mount encrypted shares via CLI  [SOLVED]

Topics related to system security only
Post Reply
User avatar
chris0478
Posts: 7
Joined: 05 May 2022, 22:13
Germany

[Help] How to mount encrypted shares via CLI  [SOLVED]

Post by chris0478 »

Hi,

unfortunatley I cannot use my WEB IF anymore. I can login via the terminal. I'm running TOS6 and want to mount my encrypted Volume via the Command Line. How to do this?

Best regards

Christian
User avatar
CursaYang
TM Support
Posts: 740
Joined: 06 Jan 2025, 16:34
China

Re: [Help] How to mount encrypted shares via CLI

Post by CursaYang »

Hello, mounting an encrypted shared folder requires entering a key.
Is there any error message when accessing the web page? What is the status of the TNAS PC finding the NAS?
To contact our team, please send email to following addresses, remember to replace (at) with @

Technical team: support(at)terra-master.com(for technical support)
Service team: service(at)terra-master.com(for purchasing, return, replacement, RMA service)
User avatar
chris0478
Posts: 7
Joined: 05 May 2022, 22:13
Germany

Re: [Help] How to mount encrypted shares via CLI

Post by chris0478 »

Hi, I know that I have to enter the key.

This morning I had an issue with my F4-421. I get an error from the nginx and cannot login anymore via the WebIF. I tried several Browsers and deleted the cache. Before reinstalling TOS I want to backup my data via an external HDD and copying from the shell. I can login via the console (HDMI and external Keyboard connected) I'm used to Linux.

Could you please tell me the command for mounting the encrypted Volume?

By the way: Where can I download the Installation package for TOS6 Form my F4-421

Best regards

Christian
User avatar
TMzethar
TM Support
Posts: 2819
Joined: 27 Oct 2020, 16:43

Re: [Help] How to mount encrypted shares via CLI

Post by TMzethar »

We currently do not have a method to mount encrypted shared folders through commands. Perhaps we can first troubleshoot and resolve the issue where TOS Web is not functioning, and then you can mount the encrypted shared folder via TOS Web.
Please let me know what TOS version you are currently using.

Code: Select all

cat /usr/lib/version
Please enter the following command to check some potentially relevant information:

Code: Select all

findmnt
lsblk
du -s /etc/* |sort -rn | head -n 5
systemctl status TOSDaemon.service
systemctl status [email protected] | head -n 10
systemctl status redis.service
ll /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
To contact our team, please send email to following addresses, remember to replace (at) with @:
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
chris0478
Posts: 7
Joined: 05 May 2022, 22:13
Germany

Re: [Help] How to mount encrypted shares via CLI

Post by chris0478 »

Hi TMzethar,

thank you very much for your help. I'm running TOS_X642.0_6.0.783

Only the redis service is running. TOS.Daemon and postgres are failed to start. I don't know why. The day before the technical isssue ("502 Bad Gateway") I installed portainer ans tested some docker containers (only running with user privileges)


Image

Image

Best regards
chris
User avatar
CursaYang
TM Support
Posts: 740
Joined: 06 Jan 2025, 16:34
China

Re: [Help] How to mount encrypted shares via CLI

Post by CursaYang »

You can try restarting TOSDaemon and postgresql manually using the following two commands.

Code: Select all

systemctl restart TOSDaemon.service
systemctl restart [email protected]
You can also use the following installation package to reinstall version 6.0.783

https://download3.terra-master.com/TOS% ... 170918.ins
To contact our team, please send email to following addresses, remember to replace (at) with @

Technical team: support(at)terra-master.com(for technical support)
Service team: service(at)terra-master.com(for purchasing, return, replacement, RMA service)
User avatar
chris0478
Posts: 7
Joined: 05 May 2022, 22:13
Germany

Re: [Help] How to mount encrypted shares via CLI

Post by chris0478 »

Hi, the system is asking for a bootloader, Could you provide me please the corresponding bootloader?
User avatar
chris0478
Posts: 7
Joined: 05 May 2022, 22:13
Germany

Re: [Help] How to mount encrypted shares via CLI

Post by chris0478 »

Hi, sorry - I found it and downloaded it via online. System is running again. Thx for the system and help
Post Reply

Return to “Security”