|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Best Filesystem
Ive been running FreeBSD for years now and have only now on my file server noticed something.
When using UFS2 after the drive is prepared. fdisk,label, etc i loose a hell of alot of space. To give example: a 750Gb drive UFS2 useable space = 609Gb+- NTFS usable space = 698Gb ext3fs useable space = 680Gb please note figures are +- This is making me wonder if it's not best to use ext3fs in FreeBSD rather than UFS2? What is the performance difference between them? Any input on this issue? |
|
|||
if you use ZFS - you get even less wastage
__________________
"No, that's wrong, Cartman. But don't worry, there are no stupid answers, just stupid people." -- Mr. Garrison Forum Netiquette |
|
|||
ZFS?
Does FreeBSD support this?
What is the reliability vs other file systems? Also what data recovery tools are there on the market in case of the unthinkable? Thank You For Input! |
|
|||
yes
it's experimental so not very i doubt there's many
__________________
"No, that's wrong, Cartman. But don't worry, there are no stupid answers, just stupid people." -- Mr. Garrison Forum Netiquette |
|
|||
Remember UFS reserves 8% of the space for root. Factor in that hdd manufacturers stick to 'proper' SI quantities (K = 1000, M = 1000000, G = 1000000000) rather than K = 2^10, M = 2^20, etc
So your 750GB is as far as software is concerned 698GB Less the 8% reserved for root = 642GB ext3 isn't supported on FreeBSD, you can use ext3 without journalling if you mount your volumes as ext2 I don't know where the missing 30GB have gone, the figures always added up for me. |
|
||||
And mounting ext3 as ext2 is less useful then ufs2+soft updates.
of all the file systems I've used or oogled, I generally look most favorably on ext3 and ntfs (but drool over concepts used in zfs). I've however never seen any good reasons to store system data on any thing but the native file system for the BSDS. Except when I need to share it with something else, in which case fat32 and ext2 come into play.
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|||
Figures
xiphias: i have no idea where the space went. I will confirm everything first.
TerryP: Less usefull meaning? Worse performance i imagine... However im running this in file server across network so doubt i will loose anything above what the LAN is already restricting me! I need space over speed. (Obviously a balance) Top speed = 12m on 100lan 22m on 1000m Actual copy rate given... |
|
|||
UFS2 implements an alternative to journalling called Soft Updates. Soft Updates is an attempt to maintain consistency on the disk, so that recovery from a crash is less of problem. Soft Updates is almost like a journal of metadata held in memory. Ext2 on the otherhand has no journalling functionality, Ext3 is essentially Ext2 with a journal. I think this is what TerryP is referring to.
On a 100Mbps the network is definitely the bottleneck, on a lightly loaded 1000Mbps network the hard drive is the bottle neck. The only time I've achieved the maximum speed of my gigabit network is transferring files already cached in main memory of the source host. I think the speed of your hardware is a bigger concern than the speed differences between file systems on the same hardware. |
|
|||
xiphias: are my network speeds considered acceptable then?
Im very disappointed with 1000m tops of 20-20something copy rate. As for filesystem, so the conclusion is no matter what i choose the network will be the bottleneck so therefore i might aswell choose one that offers least space lost after format? |
|
|||
Wonder if anybody of these people ever have read newfs(8) and/or tunefs(8) FreeBSD System Manager's Manual page.
NOTE: Look for -m switch. Of course UFS2 is the best (Just look comparasion of fs on Wikipedia) - with various GEOM plugins UFS2 is even much better .... Last edited by richardpl; 28th May 2008 at 01:39 PM. |
|
|||
richardpl, I have already offered the explanation that the default 8% reserved for root as a cause for the missing space. Perhaps you should more carefully read the posts before taking a stab at us. Also UFS2 isn't the best solution for every scenario.
12MB/s is about the max you'll see on a 100Mbps network. 22MB/s is about normal for the read speed of a IDE hard drive 125MB/s is about the max you'll see on a 1Gbps network. I have managed about 118MB/s copying a 350MB (yes 1.5 seconds for the transfer) file over nfs that was cached in the memory of the source host. If I copy a file from the hdd of the server then I can achieve about 50MB/s. So the hard drive is the bottleneck here (they are sATA by the way) |
|
|||
Quote:
Quote:
|
|
|||
Again, I said about normal. The speed can vary widely depending whereabouts on the data is stored on the drive, there are also other considerations to take into account, for example on my laptop with a pATA drive I can see 35MB/s from data at the front of the drive, down to about 27 at the back of the drive. The actual hdd and hdd controller also affect the speed
|
|
|||
SATA?
The Drive im getn these speeds from Is a SATA 2 drive on a SATA1 controller.
HDD has 32mb cache. It is unbelievably fast localy, on windows 2008 i copied a file from the drive to the drive it peaked at 96Mb and settled around 66m. From drive to another drive peaks at 120mb and drops to more or less same speed. Just over network even gigabit its pathetic... Thank you for -m switch, will look into it to see if i can set it to 0% damn it i want my space!!! |
|
||||
space is cheap
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|||
Space
Depends how much, and if you have the dosh.
Besides, don't see point in wasting it. Ive saved 100G already and only done that to a few of my storage drives! ThankX Guys! I might now decide to settle with UFS2 with that option! Just wish i could sort out my LAN speed issue now! |
|
|||
NTFS
Then how do other file systems deal with this issue?
Ie ntfs allows you to utilize almost the entire disk... i do understand it will decrease performance , but currently im only getn 12m or max 20m over network anyways. Can it get worse than this? |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A Brief History of the BSD Fast Filesystem, Kirk McKusick | ai-danno | Off-Topic | 0 | 9th March 2009 05:59 AM |
Mount filesystem with a regular user | ivanatora | FreeBSD General | 15 | 30th July 2008 08:51 AM |
dvd filesystem type | chill | FreeBSD General | 6 | 17th June 2008 08:22 AM |
acessing the root filesystem kernel module! | rayden | FreeBSD General | 1 | 11th June 2008 06:48 PM |
Filesystem read errors | Foon | FreeBSD General | 0 | 10th May 2008 07:27 AM |