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
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