Hello
YunoHost 11.0.9.15
60 gb sd card
Raspberry Pi 3
SSH yes
I wanted to increase the swap file size with sudo nano /etc/dphys-swapfile because it was too just 100, I increased it 512.
sudo nano /etc/dphys-swapfile
CONF_SWAPFILE=100 =>> CONF_SWAPFILE=512
I can no longer restart dphys-swapfile
root@xxx:~# dphys-swapfile setup
/usr/sbin/dphys-swapfile: 1: /etc/dphys-swapfile: /etc/dphys-swapfile: Permission denied
root@xxx:~# sudo dphys-swapfile swapon
/usr/sbin/dphys-swapfile: 1: /etc/dphys-swapfile: /etc/dphys-swapfile: Permission denied
I started the system it’s the same and in addition I have swap disappeared
root@xxx:~# sudo free -h
total used free shared buff/cache available
Mem: 909Mi 582Mi 51Mi 19Mi 275Mi 247Mi
I have very little knowledge of linux and I don’t know what to do.
Do you have a solution to find my swap or to remove “Permission denied”
Thanks.
PS: My English is bad I used a translator, forgive me
Bonjour
YunoHost 11.0.9.15
sur carte sd 60 go
Raspberry Pi 3
SSH oui
J’ai voulu augmenter la taille fichier d’échange swap avec sudo nano /etc/dphys-swapfile car il était trop juste 100, je l’ai augmenté 512 .
sudo nano /etc/dphys-swapfile
CONF_SWAPFILE=100 =>> CONF_SWAPFILE=512
je n’arrive plus a redémarrer dphys-swapfile
root@xxx:~# dphys-swapfile setup
/usr/sbin/dphys-swapfile: 1: /etc/dphys-swapfile: /etc/dphys-swapfile: Permission denied
root@xxx:~# sudo dphys-swapfile swapon
/usr/sbin/dphys-swapfile: 1: /etc/dphys-swapfile: /etc/dphys-swapfile: Permission denied
j’ai démarré le système c’est pareil et en plus je n’ai plus de swap
root@xxx:~# sudo free -h
total used free shared buff/cache available
Mem: 909Mi 582Mi 51Mi 19Mi 275Mi 247Mi
J’ai très peu de connaissance en linux et je ne sais pas quoi faire
Avez-vous une solution pour retrouver mon swap ou pour enlever “Permission denied”
Merci.