Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Readynas os partition full

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
pk_fox
LXF regular


Joined: Wed Apr 13, 2005 2:38 pm
Posts: 236
Location: Surrey, UK

PostPosted: Fri Jul 19, 2013 10:07 am    Post subject: Readynas os partition full Reply with quote

Hi there, I'm trying to update the firmware on my Readynas and keep receiving an error that the upgrade file has an invalid checksum, on Googling, this is down to the system partition being full - using df it indeed reports /dev/md0 as 100% used, my question is, how do I free some space up ? I have backups but can really do without wiping and restoring. Any ideas ?

Edit

All sorted it was my backup - my external HDD wasn't mounted where it should be so my backup somehow wrote to the system partition until it was full up, Deleted the backup and all is fine.
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8368
Location: Warrington, UK

PostPosted: Fri Jul 19, 2013 11:53 am    Post subject: Reply with quote

Your backup program wrote to the mount point. As the drive wasn't mounted, this was in the root filesystem. Are you using a script to run your backups? If so, have it check that the backup device is mounted before it proceeds. Something like

Code:
mount | grep -q /mnt/backup || exit 1

_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
pk_fox
LXF regular


Joined: Wed Apr 13, 2005 2:38 pm
Posts: 236
Location: Surrey, UK

PostPosted: Fri Jul 19, 2013 1:02 pm    Post subject: Reply with quote

nelz wrote:
Your backup program wrote to the mount point. As the drive wasn't mounted, this was in the root filesystem. Are you using a script to run your backups? If so, have it check that the backup device is mounted before it proceeds. Something like

Code:
mount | grep -q /mnt/backup || exit 1


Hi Nelz, that's exactly what happened, thanks for the tip.
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast