Instruktaż/Tutorial Manualna aktualizacja firmware w przypadku braku wolnej przestrzeni na dysku systemowym

Silas Mariusz

rm -rf /
Help us, GOD!
5 Kwiecień 2008
10 326
34
2 658
153
40
Nowy Sącz
forum.qnap.net.pl
QNAP
TS-x77
Ethernet
1 GbE
If you don’t have any system volume space to do firmware update, you can use tmpfs to do it. tmpfs will make a temporary storage space using 50% of NAS RAM. As long as the NAS has 1GB of RAM or more, it will be enough for firmware update.


To create tmpfs space and mount as /mnt/update, use below commands:


mkdir -p /mnt/update

mount -t tmpfs -o size=50% none /mnt/update


Full example of firmware update is below:



[~] # mkdir -p /mnt/update

[~] # mount -t tmpfs -o size=50% none /mnt/update

[~] # df

Filesystem Size Used Available Use% Mounted on



none 1.9G 0 1.9G 0% /mnt/update



[~] # cd /mnt/update

[/mnt/update] # wget https://download.qnap.com/…/xxxxxx.zip

[/mnt/update] # unzip xxxxxx.zip

[/mnt/update] # /etc/init.d/update.sh /mnt/update/xxxxxx.img



Done!

[/mnt/update] # reboot