w****f 发帖数: 1420 | 1 半年前建了一台家用NAS,系统是FreeNAS 0.7
看上它的ZFS,bt,webGUI,结果问题不断。使用Samba,
client 是 Windows 7 和 mac os
结构各种各样的error接踵而至,上网一搜,一大片,都是完全相同问题。
tune up后速度最高20MB/s,平均10MB/s (全gigabit network),经常没反应一分钟,然
后又好了。
specs:
mini-itx atom 330 with gigabit LAN
system drive on IDE channel
zfs 4x1tb wd HDD in RAIDZ1 form (4-1)x1=3
现在想好赖把数据导出来,(不考虑zfs upgrade了)
然后重装一个稳定的系统,再把数据倒回去。
一定要zfs 的fs,希望稳定,不出错,速度高。最好有什么Upnp之类的,不过也无所谓
。主要用Samba,服务windows xp/vista/7 和 mac os。
freeBSD 呢,还是 opensolaris / solaris, 还是 别的?
推荐Windows server/ho |
p**i 发帖数: 688 | 2 你这个NAS是不是zfs太耗CPU了? thrust的NAS也是atom 330, ext3? 速度能到50-70MB/
s
你有没有用iostat检查一下问题, 如果是CPU太慢, 你可能需要至少上个celeron e3200
【在 w****f 的大作中提到】 : 半年前建了一台家用NAS,系统是FreeNAS 0.7 : 看上它的ZFS,bt,webGUI,结果问题不断。使用Samba, : client 是 Windows 7 和 mac os : 结构各种各样的error接踵而至,上网一搜,一大片,都是完全相同问题。 : tune up后速度最高20MB/s,平均10MB/s (全gigabit network),经常没反应一分钟,然 : 后又好了。 : specs: : mini-itx atom 330 with gigabit LAN : system drive on IDE channel : zfs 4x1tb wd HDD in RAIDZ1 form (4-1)x1=3
|
w****f 发帖数: 1420 | 3 cpu没开ht, 20MB/s时候30%左右。
主要是error太多了
smbd[2428]: [2010/02/06 21:07:46, 0] lib/util_sock.c:write_data(562)
smbd[2428]: write_data: write failure in writing to client 192.168.*.*.
Error Broken pipe
smbd[2428]: [2010/02/06 21:07:46, 0] lib/util_sock.c:send_smb(761)
smbd[2428]: Error writing 51 bytes to client. -1. (Broken pipe)
之类的重复出现。
网上查了一下,改tune的都tune了,Auxiliary parameters也试了无数次了。
唉,不折腾FreeNAS了。
tmmd,验证码=脑子被门迦过 |
p**i 发帖数: 688 | 4 你可以发信给aloeoos问问, 他搞过ZFS的NAS, 既然是sun做出来的,
估计solaris对zfs支持最好, 但是对samba支持的好不好就不知道了
【在 w****f 的大作中提到】 : cpu没开ht, 20MB/s时候30%左右。 : 主要是error太多了 : smbd[2428]: [2010/02/06 21:07:46, 0] lib/util_sock.c:write_data(562) : smbd[2428]: write_data: write failure in writing to client 192.168.*.*. : Error Broken pipe : smbd[2428]: [2010/02/06 21:07:46, 0] lib/util_sock.c:send_smb(761) : smbd[2428]: Error writing 51 bytes to client. -1. (Broken pipe) : 之类的重复出现。 : 网上查了一下,改tune的都tune了,Auxiliary parameters也试了无数次了。 : 唉,不折腾FreeNAS了。
|
m**u 发帖数: 541 | 5 忘了FREENAS吧,用那个就是找自虐。FREENAS本来指望用FREEBSD+ZFS来提高稳定性和
性能,结果成了最不稳定的NAS系统。
经验之谈:
如果想要自己搭的话, 建议用DEBIAN,稳定性和性能都有保障。N330 传175GB 测试中
最低83.8MB/s,绝大多数时候在90MB以上。另外,稳定性非常好。
另外,不要迷信ZFS,我们曾经广泛测试过,没觉得ZFS有任何真正的优势(也许纸面上看着有)。 |
f****a 发帖数: 4708 | 6 CentOS 5.4 + Soft Raid5 + XFS here.
9K Jumbo Frame Samba 75MB/s (client is the bottleneck) |
Z****e 发帖数: 2999 | 7 俺在Atom 330上跑WHS,很痛苦。。。
但是懒得换系统,太麻烦鸟。。。
【在 w****f 的大作中提到】 : 半年前建了一台家用NAS,系统是FreeNAS 0.7 : 看上它的ZFS,bt,webGUI,结果问题不断。使用Samba, : client 是 Windows 7 和 mac os : 结构各种各样的error接踵而至,上网一搜,一大片,都是完全相同问题。 : tune up后速度最高20MB/s,平均10MB/s (全gigabit network),经常没反应一分钟,然 : 后又好了。 : specs: : mini-itx atom 330 with gigabit LAN : system drive on IDE channel : zfs 4x1tb wd HDD in RAIDZ1 form (4-1)x1=3
|
l***r 发帖数: 37 | 8 我研究了一段时间.NAS用的是ITX+E5200+Windows server 2008 R2. |
w****f 发帖数: 1420 | 9 今天重新试了一下
smb ports = 139
解决了一些error 问题,
大文件(>1GB) 平均 22MB/s @ 70% of server CPU atom 330 |
t****t 发帖数: 6806 | 10 太差了。应该不少于50MB/s.
我用的ext3, soft raid 5, 读至少有70MB/s, CPU在80%+
写至少有55, CPU在150%+(另外50%是raid5的写计算)
forget ZFS吧。
【在 w****f 的大作中提到】 : 今天重新试了一下 : smb ports = 139 : 解决了一些error 问题, : 大文件(>1GB) 平均 22MB/s @ 70% of server CPU atom 330
|
|
|
w****f 发帖数: 1420 | 11 问一下你的atom 330主板是哪个?NIC型号?
另外我用的是DIR-655 router + DGS-2208 switch,是否会有影响? |
t****t 发帖数: 6806 | 12 MSI的9832,不是什么好东西,用的还是945GC
NIC也是realtek的便宜货,jumbo frame只有7200。
switch或许会有影响,但是不会很大.关router什么事?你又不经过router.
【在 w****f 的大作中提到】 : 问一下你的atom 330主板是哪个?NIC型号? : 另外我用的是DIR-655 router + DGS-2208 switch,是否会有影响?
|
a*****s 发帖数: 2663 | 13 Intel N330 board here with osol 09.06(build 111b), 2GB ddr2, 4 X 1TB WD
green drive in raidz1.
Cifs transfer between server and window7 client is about 45~55MB/sec with no
jumbo frames enabled. Router does matter a bit, I was getting 30~40MB/sec
with my DGL-4300, but now I'm extremely happy with my WNDR3700.
The first thing I tried on this system actually was FREENAS with ZFS. It
wasn't impressive. Then I tried ubuntu64. I was getting 65~70MB/sec on the
same hardware in raid5 with DGL4300 router |
w****f 发帖数: 1420 | 14 Thanks very much,
your input is very important to me and others with similar specs machine.
I am backing up data now, and install osol09.06 soon.
by the way, are you using raidz1 or raidz2?
is there any special tuning has to/must be done at the first time, I mean
before put data in?
no
I
ZFS
【在 a*****s 的大作中提到】 : Intel N330 board here with osol 09.06(build 111b), 2GB ddr2, 4 X 1TB WD : green drive in raidz1. : Cifs transfer between server and window7 client is about 45~55MB/sec with no : jumbo frames enabled. Router does matter a bit, I was getting 30~40MB/sec : with my DGL-4300, but now I'm extremely happy with my WNDR3700. : The first thing I tried on this system actually was FREENAS with ZFS. It : wasn't impressive. Then I tried ubuntu64. I was getting 65~70MB/sec on the : same hardware in raid5 with DGL4300 router
|
a*****s 发帖数: 2663 | 15 No special tunings are required before putting in data. If you can wait a
bit, the new 10.02 release is coming soon. If you have time to z-turn a bit,
the osol based NAS distro EON is a worth trying dedicated solution.
All osol and eon releases are available at http://www.genunix.org/
【在 w****f 的大作中提到】 : Thanks very much, : your input is very important to me and others with similar specs machine. : I am backing up data now, and install osol09.06 soon. : by the way, are you using raidz1 or raidz2? : is there any special tuning has to/must be done at the first time, I mean : before put data in? : : no : I : ZFS
|
w****f 发帖数: 1420 | 16 =================================
我靠,报喜了
opensolaris 09.06 Raidz2 NAS CIFS
NAS --- DIR655(giga LAN) --- 802.11n --- PC (802.11n 20Mhz 150Mbps)
上传 平均 9MB/s (72Mb/s)
下载 平均 5MB/s
速度非常稳定,
PC忘了关杀毒了,正在full scan, ft!!!
=================================
FreeNAS + ZFS加油啊. |
t****t 发帖数: 6806 | 17 喜在哪里啊.
【在 w****f 的大作中提到】 : ================================= : 我靠,报喜了 : opensolaris 09.06 Raidz2 NAS CIFS : NAS --- DIR655(giga LAN) --- 802.11n --- PC (802.11n 20Mhz 150Mbps) : 上传 平均 9MB/s (72Mb/s) : 下载 平均 5MB/s : 速度非常稳定, : PC忘了关杀毒了,正在full scan, ft!!! : ================================= : FreeNAS + ZFS加油啊.
|
a*****s 发帖数: 2663 | 18 Great! Pretty good numbers for dir655.
RaidZ2! You must've got some precious data out there!
【在 w****f 的大作中提到】 : ================================= : 我靠,报喜了 : opensolaris 09.06 Raidz2 NAS CIFS : NAS --- DIR655(giga LAN) --- 802.11n --- PC (802.11n 20Mhz 150Mbps) : 上传 平均 9MB/s (72Mb/s) : 下载 平均 5MB/s : 速度非常稳定, : PC忘了关杀毒了,正在full scan, ft!!! : ================================= : FreeNAS + ZFS加油啊.
|
t****t 发帖数: 6806 | 19 9MB/s?
无线网是挺快了, 但是这跟NAS毫无关系啊.
【在 a*****s 的大作中提到】 : Great! Pretty good numbers for dir655. : RaidZ2! You must've got some precious data out there!
|
w****f 发帖数: 1420 | 20 not really precious, but certainly not consumables.
I guess it can tolerant another disk failure while replacing/resilvering an
already failed disk. Murphy always exist somewhere.
I hate lost data, just not feel good at all.
So for a cheap/consumer home NAS solution, stability is the very first
concern for me.
Try to search some tweaks.
【在 a*****s 的大作中提到】 : Great! Pretty good numbers for dir655. : RaidZ2! You must've got some precious data out there!
|
|
|
i***e 发帖数: 648 | 21 ZFS如果没有ZIL的话,CIFS和NFS都是龟速。 |
t***s 发帖数: 4666 | 22 raid 5 just won't do these days if you are using 1TB+ drives.
go with raid 6.
【在 f****a 的大作中提到】 : CentOS 5.4 + Soft Raid5 + XFS here. : 9K Jumbo Frame Samba 75MB/s (client is the bottleneck)
|
t***s 发帖数: 4666 | 23 so what's wrong with soft raid 6?
an
【在 w****f 的大作中提到】 : not really precious, but certainly not consumables. : I guess it can tolerant another disk failure while replacing/resilvering an : already failed disk. Murphy always exist somewhere. : I hate lost data, just not feel good at all. : So for a cheap/consumer home NAS solution, stability is the very first : concern for me. : Try to search some tweaks.
|