12-10-2024 04:20 AM
Hello Team,
I am using NSO v5.7.1, whenever i am trying to reload package or even enter in to ncs-nso i am getting error and i ma not able to proceed further, request anyone to support please.
Last login: Tue Dec 10 16:33:01 2024 from 10.20.30.80
[root@localhost ~]# source nso-5.7/ncsrc
[root@localhost ~]# cd ncs-run/
[root@localhost ncs-run]# ncs
Bad configuration: /root/ncs-run/ncs.conf:0: "./state/packages-in-use: Failed to create symlink: no space left on device"
Daemon died status=21
[root@localhost ncs-run]# df -kh
Filesystem Size Used Avail Use% Mounted on
devtmpfs 908M 0 908M 0% /dev
tmpfs 920M 4.0K 920M 1% /dev/shm
tmpfs 920M 8.8M 911M 1% /run
tmpfs 920M 0 920M 0% /sys/fs/cgroup
/dev/mapper/rhel-root 14G 14G 20K 100% /
/dev/sda1 1014M 150M 865M 15% /boot
tmpfs 184M 0 184M 0% /run/user/0
[root@localhost ncs-run]#
[root@localhost ncs-run]#
[root@localhost ncs-run]# source nso-5.7/ncsrc
-bash: nso-5.7/ncsrc: No such file or directory
[root@localhost ncs-run]# cd
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# source nso-5.7/ncsrc
[root@localhost ~]# ncs_cli -C -u admin
Failed to connect to server
[root@localhost ~]#
[root@localhost ~]# cd ncs-run/
[root@localhost ncs-run]# ncs
Bad configuration: /root/ncs-run/ncs.conf:0: "./state/packages-in-use: Failed to create symlink: no space left on device"
Daemon died status=21
[root@localhost ncs-run]#
12-10-2024 04:46 AM
Hi @ashubirambole from your error you can see there is no space left on your host.
Bad configuration: /root/ncs-run/ncs.conf:0: "./state/packages-in-use: Failed to create symlink: no space left on device"
In your df output you can see that your / don't have any space left: /dev/mapper/rhel-root 14G 14G 20K 100% /
[root@localhost ncs-run]# df -kh Filesystem Size Used Avail Use% Mounted on devtmpfs 908M 0 908M 0% /dev tmpfs 920M 4.0K 920M 1% /dev/shm tmpfs 920M 8.8M 911M 1% /run tmpfs 920M 0 920M 0% /sys/fs/cgroup /dev/mapper/rhel-root 14G 14G 20K 100% / /dev/sda1 1014M 150M 865M 15% /boot tmpfs 184M 0 184M 0% /run/user/0
Other partitions have more space, but in this case / is the one that matters.
Give more space to your / partition and try again.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide