Jump to content
XPEnology Community

Not enough free disk space for FW upgrade


iruindegi

Recommended Posts

Whats the current capacity on your system? How much disk space do you have left. If you login to the cli and use command "df -h" that should give an indication of what free space is left. Likely cleaning up any unnecessary files would be the first step, or increasing capacity.

Link to comment
Share on other sites

thi is the output

 

DiskStation> df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       2.3G  2.1G   88M  97% /
/tmp            500M  168K  500M   1% /tmp
/run            500M  4.2M  496M   1% /run
/dev/shm        500M   12K  500M   1% /dev/shm
none            4.0K     0  4.0K   0% /sys/fs/cgroup
/dev/bus/usb    476M  4.0K  476M   1% /proc/bus/usb
/dev/md4        2.7T  858G  1.9T  32% /volume3
/dev/md3        4.6T  3.4T  1.2T  75% /volume2
DiskStation>

 

I have to say that weeks ago I had a problem with xpenology and I had to reinstall it....

 

any clue how to resolve this issue?

Link to comment
Share on other sites

I would start checking for cleanup in /

/dev/root 2.3G 2.1G 88M 97% / <- 88 MB is not enough space for upgrade

you can try checking /var/log/* to see if anything is overly full that can be blown away

other option is investigating growing the / partition

if you had a re-install and your root folder is that full seems strange to me, are you running a debug on anything or installing huge applications?

Link to comment
Share on other sites

So this is likely tricky, since its the root partition you cant grow it while using it, it would require a rescue disk like knoppix or similar and if you have all the disk capacity in use it might require deleting existing volumes to grow out the root partition and then recreate the volumes.

If you don't have any important data in your volumes I would backup, delete the existing volumes using synology, boot into a rescue CD and use fdisk/parted tool to see what the partitions look like. The other issue is the disks are in a raid I assume so growing a raid partition would require the right tool for that raid. I would recommend searching the synology forums for advice on this as I have never done this before and do not have the means to test it.

 

this might be helpful http://serverfault.com/questions/272776 ... nux-myself

it says synology hybrid raid (shr) uses linux mdadm and lvm and multiple partitions to allocate all the space. If possible you could grow the lvm partition for root with the rescue cd and then add back the volumes and restore your data.

 

mdadm partition resizing: https://raid.wiki.kernel.org/index.php/Growing

LVM resizing: http://www.tecmint.com/extend-and-reduce-lvms-in-linux/

the process is complicated where you could shrink your volumes in lvm and mdadm where space is available and expand the root volume with the free'd up space. If you ever wanted to re-install you would have to do this all over again. If you do have to re-install the system, I would consider not setting up any shr when provisioning, boot from rescue disk to expand the root volume to the size you like and then setup shr with the remaining space using the synology disk tools.

 

Sorry I couldn't be more helpful, might consider setting up a VM with 5 virtual disks and try creating your own shr partition layout like synology has done, and proof of concept the work before trying it on your own array.

Link to comment
Share on other sites

I don´t know what to do

So this is likely tricky, since its the root partition you cant grow it while using it, it would require a rescue disk like knoppix or similar and if you have all the disk capacity in use it might require deleting existing volumes to grow out the root partition and then recreate the volumes.

If you don't have any important data in your volumes I would backup, delete the existing volumes using synology, boot into a rescue CD and use fdisk/parted tool to see what the partitions look like. The other issue is the disks are in a raid I assume so growing a raid partition would require the right tool for that raid. I would recommend searching the synology forums for advice on this as I have never done this before and do not have the means to test it.

 

this might be helpful http://serverfault.com/questions/272776 ... nux-myself

it says synology hybrid raid (shr) uses linux mdadm and lvm and multiple partitions to allocate all the space. If possible you could grow the lvm partition for root with the rescue cd and then add back the volumes and restore your data.

 

mdadm partition resizing: https://raid.wiki.kernel.org/index.php/Growing

LVM resizing: http://www.tecmint.com/extend-and-reduce-lvms-in-linux/

the process is complicated where you could shrink your volumes in lvm and mdadm where space is available and expand the root volume with the free'd up space. If you ever wanted to re-install you would have to do this all over again. If you do have to re-install the system, I would consider not setting up any shr when provisioning, boot from rescue disk to expand the root volume to the size you like and then setup shr with the remaining space using the synology disk tools.

 

Sorry I couldn't be more helpful, might consider setting up a VM with 5 virtual disks and try creating your own shr partition layout like synology has done, and proof of concept the work before trying it on your own array.

 

I´m thinking formating the hole system and installing it again. I have 4 disks inside:

- 320 Gb => Datastore

- 5Tb, 3Tb , 2Tb => raw disks into xpenology

 

If I format de 320Gb disk and reagregate the other disk, I supouse that I´ll lost all the data.

 

Maybe I can try to move all the data to the 3 and 2 tb disks, remove the 5 Tb disk and plug-it like a external disk, backup al the data to the external disk and start all again but... puffffffffffffffffff

Link to comment
Share on other sites

×
×
  • Create New...