NASLite Network Attached Storage

www.serverelements.com
Task-specific simplicity with low hardware requirements.
It is currently Mon May 05, 2025 11:28 am

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Mon Feb 04, 2008 12:32 pm 
Offline

Joined: Mon Feb 04, 2008 12:17 pm
Posts: 6
Hi All

I have lost some space on my disk-1.

Total is 146.7GB Used is 136.9GB and Free is 2.5GB (makes 139.4GB). So 7.3Gb is unaccounted for.

Where did it go?

Thanks


Top
 Profile  
 
PostPosted: Tue Feb 05, 2008 5:07 pm 
Offline

Joined: Mon Feb 04, 2008 12:17 pm
Posts: 6
Ok, this Linux n00b did some searching and I found the answer to my own question.

"The most likely reason is reserved space. When an ext2/3 file system is formated by default 5% is reserved for root. Reserved space is supposed to reduce fragmentation and allow root to login in case the file system becomes 100% used. You can use tune2fs to reduce the amount of reserved space."


Top
 Profile  
 
PostPosted: Tue Feb 05, 2008 9:23 pm 
Offline

Joined: Thu Jan 10, 2008 6:20 pm
Posts: 19
Well done I was wondering this myself.

Thanks for the update


Top
 Profile  
 
PostPosted: Tue Feb 05, 2008 11:37 pm 
Offline

Joined: Tue Aug 10, 2004 1:50 pm
Posts: 604
Location: Texas, USA
Actually, I'm not sure that's it at all. According to this http://www.serverelements.com/info/NASL ... Disk-0.htm there are 0 reserved blocks, so that can't be it. Naslite uses 4K blocks so everything written on the drive will be in 4K increments. If you have 2 blocks and you write 6K of data it will actually occupy 8K of drive space but count as 6K of data. Maybe that's why things may seem a bit off. I think that's perfectly normal.


Top
 Profile  
 
PostPosted: Wed Feb 06, 2008 3:58 am 
Offline

Joined: Sat Jun 02, 2007 2:45 am
Posts: 485
Location: France
Hi,

Just a suggestion as I don't know how the contents of the "lost + found" are counted in the space calculations. Did anybody look for files in "Lost + found" ? Maybe some files got broken and were put in lost and found.

Regards


Last edited by robrub on Thu Feb 07, 2008 2:46 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Wed Feb 06, 2008 5:38 pm 
Offline

Joined: Mon Feb 04, 2008 12:17 pm
Posts: 6
I now have all my space on "Disk-1" :mrgreen:

It was due to the 5% being reserved.
I even deleted, recreated and formatted the drive with a 3rd party utility and 5% was still gone.

I removed the 5% reservation by booting into one of the Linux Live cd distros and ran the tune2fs command.
When I placed the hard drive back into the NAS box it showed this:
Total Space 146.7G, Used 32mb, Free 146.7G

Command I used was: tune2fs -m 0 /dev/sda1

Cheers :wink:

I just formatted a drive from within NASLite and didn't have a problem. Why didn't I do this in the first place :roll:


Top
 Profile  
 
PostPosted: Sun Feb 10, 2008 7:55 pm 
Offline
Site Admin

Joined: Tue Jul 13, 2004 4:11 pm
Posts: 1771
Location: Server Elements
Did you format that drive using NASLite-2 or another distro?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 15 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group