NASLite Network Attached Storage

www.serverelements.com
Task-specific simplicity with low hardware requirements.
It is currently Thu Oct 31, 2024 8:37 pm

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Reported disksize
PostPosted: Sat Sep 11, 2004 7:33 am 
Offline

Joined: Sat Sep 11, 2004 7:25 am
Posts: 36
hi, first of all,

thanks for the great program (exactly what one would want as server :D )

my only question now (after reading manual and forum) is:

i installed a maxtor 160GB disk
naslite did it's thing and reports it as:
----------------------------------------------------------------------------------
Disk-1 Hardware
Maxtor 6Y160P0, ATA DISK drive
attached ide-disk driver.
host protected area => 1
320173056 sectors (163929 MB) w/7936KiB Cache, CHS=19929/255/63
NOTE: Disk-1 is installed and available for use.
----------------------------------------------------------------------------------
but when i look at system.html it states:
----------------------------------------------------------------------------------
Disks
Filesystem Size Used Available Use% Device
Storage Area 150.3G 5.9G 144.3G 4% NAS Disk-1
----------------------------------------------------------------------------------

is the 10GB difference just an approximation or where are the missing GB's ?

163929 MB /1024 = 160,0869140625GB


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 11, 2004 12:10 pm 
Offline
Site Admin

Joined: Tue Jul 13, 2004 4:11 pm
Posts: 1771
Location: Server Elements
Hi Losha,

The reason for the 10G difference is simple. The 160G is raw capacity. After the drive is formatted, the filesystem itself accupies some if the available space, in this case 10G.

Thanks for choosing NASLite ;-)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 11, 2004 12:18 pm 
Offline

Joined: Sat Sep 11, 2004 7:25 am
Posts: 36
ok..that raw part i get...(well..you've seen the calculation 8) )
i'm just abit shocked about the amount now..10GB..thats alot of music and/or movies :evil:

well, is there anything i can do about the clustersize thou ? (was it the clusters ?!)
i have them at 4096kb (automatically assigned) that gives an enourmous amount of slack also...


Top
 Profile  
 
 Post subject: DiskSpace
PostPosted: Mon Sep 13, 2004 10:12 am 
Offline

Joined: Mon Sep 13, 2004 10:07 am
Posts: 2
Drive manufacturers advertise raw space, based on decimal system sizes, so when they say 160 gig, they mean 160,000,000,000 bytes.

Drive space is reported by most O/Ss using multiples of binary system, so where Kilo is 1000 in decimal, it's 1024 in binary. Mega for million is 1,000,000 in decimal, but in binary it is 1048576. Giga in decimal is 1,000,000,000 but in decimal it is 1073741824.

divide 160,000,000,000 by (1,073,741,824) and you get 149 and change.

Sorry to be long winded, but this should explain the difference... always comes back to 'marketing .vs. reality'


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 13, 2004 12:44 pm 
Offline

Joined: Sat Sep 11, 2004 7:25 am
Posts: 36
i know al that crap about 1000 and 1024
what confuses me is the fact that NASLite reports:
320173056 sectors (163929 MB) w/7936KiB Cache, CHS=19929/255/63

divided by 1024 its still 160..so why is linux reporting 160Gb in the disk (via http) and in system (via http) it reports 150

you would think that since its the same software (linux stuff) it would say the same in both ?!

[edit] forget what i wrote :oops:
i think i got it (windows user..not used to linux..thou "some"experience)

i guess its that:
disk gives the fysical data of the disk, while system states the formatted capacity, right :?:

still the question remains, is it possible to change the clustersize to something smaller (taking 4mb for every little bit is NOT cool)
most of all is it practical or would it result in something bad?
(for example: clustersize in windows = 4096Bytes, under naslite its 4096KILOBytes)

(bit offtopic question...is it normal to get low speedresults with older hardware? only get max of 2MB/s read from the disk..NIC = 100Mbit


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 13, 2004 1:42 pm 
Offline

Joined: Mon Sep 13, 2004 10:07 am
Posts: 2
Sorry to offend you and waste your time with that 'crap'... but it still applies... it reports the disk as the BIOS reads the drive info, which is the brand/marketing decimal capacity.
The system actually reads the mounted drive capacity (binary) ... that's where the 'crap' applies...


There is a difference in throughput with older hardware, but you probably already know that 'crap' too...so I'll not bother.
Good luck to you in the future, I'll try not to reply to any more of your questions...


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 13, 2004 1:57 pm 
Offline

Joined: Sat Sep 11, 2004 7:25 am
Posts: 36
some people are just very easy p***ed of..
sorry for being quite ..uhum..."straightforward" in answering

the bios is disabled, so its more likely to be linux reading the hardware then

but by saying that ... i dont understand it then

why would linux report the disksize once in decimal and the next time in binary, thats just plain...well...CRAP

i call it crap because these kinds of practise from manufacturers p*ss me off (and i'm quite aware of them)..not to anoy you

sorry again, but i'm just one of those people who say/write things the way i think them and that can be quite rude/harsh

could some of the developers please confirm wether the disk tab (http) states size in decimal?


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