Hi folks,
I’m adding a second disk (two in fact for redundancy).
I have done it in NS7 by hand, mount in fstab and running a script to fix the permissions.
Is there a better way in NS8?
Thanks,
Hi folks,
I’m adding a second disk (two in fact for redundancy).
I have done it in NS7 by hand, mount in fstab and running a script to fix the permissions.
Is there a better way in NS8?
Thanks,
Adding disk space is explained in the documentation: Disk usage — NS8 documentation
Hi Markus,
Thank you very much, that did the trick!
But I lost acess to cockpit
I’m looking for what has caused, it’s not listening on 443 anymore, so something is not running.
Best regards,
Let’s check if traefik (NS8 reverse proxy) is running:
runagent -m traefik1 systemctl --user status traefik -l --no-pager
runuser: warning: cannot change directory to /home/traefik1: No such file or directory
Traceback (most recent call last):tl --user status traefik -l --no-pager
File "/usr/local/bin/runagent", line 51, in <module>
read_env(f"{home_dir}/.config/state/agent.env")
File "/usr/local/bin/runagent", line 40, in read_env
env = agent.read_envfile(file_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/agent/pypkg/agent/__init__.py", line 90, in read_envfile
fo = open(file_path, 'r')
^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/traefik1/.config/state/agent.env'
It seems so!
Maybe the traffic instance isn’t named traefik1? You can check the instance names in the app drawer on the top right or on CLI:
ls /home
OK,
seems like I have two /home
The old and the new one that the script asked me to add to fstab.
If I comment it out from fstab then the server does not boot
Markus,
Thank you for your time and patience, something did not work.
I gonna reinstall and restore!
Best regards,
Hi @mrmarkuz sorry for revisiting this topic once again, but it’s so it can help others.
I reinstalled and tried once again and what’s happening is that the /home is being mounted twice and since the script removes the original files after moving them, I get a empty /home.
It mounts twice because the script asks to add the disk to fstab, but the LVM one remains.
Thanks,