«608 »
  • Post
  • Reply
evil_bunnY
Apr 2, 2003



Have you checked your DHCP DNS settings are identical to those you get over ethernet?

Megaman
May 8, 2004
I didn't read the thread BUT...

Question about NFS in FreeNAS. I've set up a freenas setup, and I have a one volume with several several top level folders in it. I want each folder to be either rw or ro to the user accessing them, these will all be exported via NFS. Whenever I make a new NFS share with a different permission FreeNAS seems to apply this same permission to all previous shares, even if they are marked read only. Is this a FreeNAS bug? Or am I just doing something stupid? Has anyone run into NFS export permissions problems? If this is a bug, how would I get around this by not using NFS permissions? Should I really be mucking with filesystems permissions?

Also, what user/group is everyone using for files and folders? Should I be using default (nothing)? Or should I be using nobody/nobody?

John Capslocke
Jun 5, 2007


My current D-Link DNS-321 is on it's way out, I was wondering what people suggest in the way of an out-of-the box SOHO NAS these days? Only really need two bays, and nothing too fancy.

SilentGeek
Jul 24, 2011



evil_bunnY posted:

Have you checked your DHCP DNS settings are identical to those you get over ethernet?

Yeah. It's all set the same. I also rebooted the NAS after I finished transferring everything to it and now the box doesn't show up at all on my network list. Can still get to it through the IP and by mapping the shares as drives though. I can just go and set the shares to drives on all the wireless computers, I'm just curious as to why it wouldn't show up.

taqueso
Mar 8, 2004









Fun Shoe

sholin posted:

My current D-Link DNS-321 is on it's way out, I was wondering what people suggest in the way of an out-of-the box SOHO NAS these days? Only really need two bays, and nothing too fancy.

Synology 212j

Ninja Rope
Oct 22, 2005

Wee.


I have my wireless and wired on different subnets, but I also couldn't get samba shares to work by name instead of IP. SMB does some bullshit broadcast stuff I'm sure is the problem, so I gave up and just went with the IP. If you've got everything on the same subnet it could also be your wireless router not passing broadcast traffic (which has bitten me in the ass before with cheap wifi routers).

SilentGeek
Jul 24, 2011



Ninja Rope posted:

I have my wireless and wired on different subnets, but I also couldn't get samba shares to work by name instead of IP. SMB does some bullshit broadcast stuff I'm sure is the problem, so I gave up and just went with the IP. If you've got everything on the same subnet it could also be your wireless router not passing broadcast traffic (which has bitten me in the ass before with cheap wifi routers).

Yeah, it's all the same subnet through my wireless router but it is a cheap Asus 10/100Mbps model so that could very well be the reason.

Fitret
Mar 25, 2003

We are rolling for the King of All Cosmos!

Fitret posted:

I hate to cross-post, but my RAID5 array is dead and I am very worried that I have just lost all of my data despite the fact that I have 4/5 good drives! Details are in a HoTS thread and I'd really love any advice or suggestions you guys have. At this point I'm at a loss with what to try next. http://forums.somethingawful.com/fo...php?forumid=170

I got some advice from a friend, which is to plug in those drives to another device with the same RAID controller (i.e. another motherboard that also supports ICH10R). Could this be dangerous at all (i.e. destroy data), or is it safe?

Wifi Toilet
Oct 1, 2004



Toilet Rascal

Just a heads up for anyone with a Fry's in their area...HGST 4TB internal drive for $200.

dox
Mar 4, 2006


dox posted:

Synology... all hell broke lose.

I ended up opening a ticket with Synology to try to contact their support to resolve the issue. Within a few days, they were remoting into machine and did "something" to successfully repair and rebuild the array. The delay in getting a response back was about a day, but in the end a really successful experience... I didn't lose any data. In case anyone was wondering about Synology tech support...

McGlockenshire
Dec 16, 2005


Fitret posted:

I got some advice from a friend, which is to plug in those drives to another device with the same RAID controller (i.e. another motherboard that also supports ICH10R). Could this be dangerous at all (i.e. destroy data), or is it safe?

Even though Intel firmware RAID is just short of a joke, it still tries to take itself seriously. The data about the array setup is stored on the disks, not inside the firmware on the board. You should be totally safe plugging all of the disks into another machine with an identical chipset.

Very, very modern versions of the Linux kernel and the mdraid tools also recognize Intel firmware RAID arrays and can perform basic maintenance on them as if they were normal software RAID drives. At the minimum, this could let you poke at the array from outside...

Fitret
Mar 25, 2003

We are rolling for the King of All Cosmos!

McGlockenshire posted:

Even though Intel firmware RAID is just short of a joke, it still tries to take itself seriously. The data about the array setup is stored on the disks, not inside the firmware on the board. You should be totally safe plugging all of the disks into another machine with an identical chipset.

Very, very modern versions of the Linux kernel and the mdraid tools also recognize Intel firmware RAID arrays and can perform basic maintenance on them as if they were normal software RAID drives. At the minimum, this could let you poke at the array from outside...

Thanks! I didn't think it could be a problem, but I figured better safe than sorry. Hopefully this works, otherwise I'm looking at whether or not my insurance company will cover data recovery scenarios.

Megaman
May 8, 2004
I didn't read the thread BUT...

I have a single raidz3 volume made up of 7 1tb disks. I've started copying data to it from my synology device and all of the sudden 2 disks in the pool are showing checksum errors. The more data I copy, the more checksum errors I get. I did a scrub on the entire zpool volume and it says there are no errors. Is it possible these 2 disks are bad? They are literally a day old, but are all from the same manufacturer and the same model and size. Is there a cleancut way to tell if they are bad drives or should i not screw with it and just RMA them? I am running freenas 8.3 p1

adorai
Nov 2, 2002

10/27/04 Never forget

Grimey Drawer

Megaman posted:

I have a single raidz3 volume made up of 7 1tb disks. I've started copying data to it from my synology device and all of the sudden 2 disks in the pool are showing checksum errors. The more data I copy, the more checksum errors I get. I did a scrub on the entire zpool volume and it says there are no errors. Is it possible these 2 disks are bad? They are literally a day old, but are all from the same manufacturer and the same model and size. Is there a cleancut way to tell if they are bad drives or should i not screw with it and just RMA them? I am running freenas 8.3 p1
I would swap the controller ports and sata cables of a disk reporting good and a disk reporting bad, then reboot the NAS. I assume it is all brand new and data loss would not matter. I had an issue once where a specific sata cable on a specific sata port caused a disk to give checksum errors. I didn't troubleshoot why, I just know that swapping things around solved the issue. Since it's just for my home files, i didn't think too much of it other than "Awesome, no need to spend time or money on this."

edit: why the hell are you running a 4+3 zfs volume? Your chance of data loss at 5+2 is immeasurably small, even with 3tb disks.

Megaman
May 8, 2004
I didn't read the thread BUT...

adorai posted:

I would swap the controller ports and sata cables of a disk reporting good and a disk reporting bad, then reboot the NAS. I assume it is all brand new and data loss would not matter. I had an issue once where a specific sata cable on a specific sata port caused a disk to give checksum errors. I didn't troubleshoot why, I just know that swapping things around solved the issue. Since it's just for my home files, i didn't think too much of it other than "Awesome, no need to spend time or money on this."

edit: why the hell are you running a 4+3 zfs volume? Your chance of data loss at 5+2 is immeasurably small, even with 3tb disks.

So in ZFS it doesn't matter what bay you're plugged into? Just as long as the disk is available to ZFS it can find out where it is in the pool and be ok with that? I've swapped the cables and it doesn't seem to have done any good, so swapping them into different bays would be a good test if ZFS will allow it.

I'm running 4+3 because I'm fucking nuts [:

adorai
Nov 2, 2002

10/27/04 Never forget

Grimey Drawer

Megaman posted:

I'm running 4+3 because I'm fucking nuts [:
With 1.5TB disks the probability of data loss on a 6+2 is something like 0.05% (that's 1/20th of a percent) over 10 years assuming you replace a failed disk immediately. It's probably a little higher on 3TB drives, but even double is only a 1 in 1000 chance of data loss.

fletcher
Jun 27, 2003

ken park is my favorite movie

Cybernetic Crumb

dox posted:

I ended up opening a ticket with Synology to try to contact their support to resolve the issue. Within a few days, they were remoting into machine and did "something" to successfully repair and rebuild the array. The delay in getting a response back was about a day, but in the end a really successful experience... I didn't lose any data. In case anyone was wondering about Synology tech support...

Well, hopefully the company never goes belly up then.

hifi
Jul 25, 2012



taqueso posted:

There are two onboard NICs, lspci says: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 01)

I can pull an Intel gbit NIC from a workstation, but I probably have to wait until the user goes home.

Also, did a quick check and the server reads at 20MB/s from the diskstation over SMB.

e: Found out with lspci -k that I am using r8169 driver for the NIC, which various google results say is slow/bad. Hopefully that is the culprit.

taqueso posted:

Woo! This is exactly right. Put in an Intel 82574L and I'm getting 100-108MB/s!!!

Thanks for the input everyone.

fwiw I was using Ubuntu raring with a NIC that used the same driver and was experiencing ~10% packet loss until I switched to the latest mainline kernel, so it could just be a driver problem (I'm getting gigabit speeds and 0 packet loss with the same nic now).

Goon Matchmaker
Oct 23, 2003

I play too much EVE-Online

hifi posted:

fwiw I was using Ubuntu raring with a NIC that used the same driver and was experiencing ~10% packet loss until I switched to the latest mainline kernel, so it could just be a driver problem (I'm getting gigabit speeds and 0 packet loss with the same nic now).

Realtek hardware is pretty much shit. The drivers try compensate but the hardware is just so awful.

tarepanda
Mar 26, 2011

Living the Dream

My NAS is running FreeNAS off a USB stick. I rebooted it today and it wouldn't boot from the stick. When I went to the BIOS, I couldn't move it to the top of the boot order.

For now, I manually selected it and it booted fine.

Is this symptomatic of something? It had automatically booted from the stick until today. I haven't upgraded or otherwise changed anything.

IOwnCalculus
Apr 2, 2003





Possibly a failing USB stick? They're cheap enough that I'd grab a second and duplicate your FreeNAS over to it.

blacksun
Mar 16, 2006
I told Cwapface not to register me with a title that said I am a faggot but he did it anyway because he likes to tell the truth.

I wanted to get a critique for a home server build, a function of which will be a centralised backup for all the computers in the house.

i3 3220
Gigabyte GA-Z77MX-D3H TH
Corsair 1x8Gb DDR3 1600Mhz
SilverStone Strider ST50F-TS 500w 80plus
Lian Li PC-A04

And the important bits for a pack-rat setup:
Intel 330 Series 128Gb SSD
Western Digital Red 2Gb x 3 (maybe 4 if I can afford it)

The role of this PC:
Centralised backup
Web Server (for web development)
Media Server
HTPC
Linux-distro downloader

Other considerations:
Low power
Run 24x7

As far as other details about the setup, I will likely be either running Linux natively or Xen Hypervisor with a Linux and Windows instance running side-by-side (this way I can play around with creating server setups etc). The SSD will function as a boot sector so as to not have it located on the raid array.

Considering some tasks require a bit of grunt (media transcoding, web server duties) and some frugality (24x7 uptime) I have tried to strike a balance between low power and processing capacity.

From my perusing of this thread, it seems that RAID-Z would probably be my best choice?

Is there any other advice anyone can lend regarding the setup (either in hardware or software choice) that could improve any aspect without sacrificing others?

yomisei
Mar 18, 2011


For a low power system you need a low power PSU, for example the Sea Sonic G-Series 360W. Not only will you never use the maximum load, ever, you primarily need to have good efficiency at low loads like 30-50W, for which this PSU is often recommended for. The other one I can recommend is the LC-Power LC7300. The CPU fits your HTPC needs, and if you need a more powerful GPU you can also pick the i3-3225. 8GB RAM also seems fine for 6-8TB with ZFS. Intel 330 and WD Reds are very solid choices. And if you're open to other cases, I'll throw the Fractal Design Arc Mini/Midi into the mix.

I'm suspicious of the Gigabyte MB though, it seems like a feature-packed and power hungry board. Do you actually need all those fancy ports? There are way cheaper boards like the ASRock B75 Pro3-M, which could make the difference in getting another WD Red for more space. I'm not sure how good the Atheros NIC on the Gigabyte will do, but I can tell you the RTL8111E on the ASRock is doing just fine with 95MB/s in my NAS.

yomisei fucked around with this message at 12:16 on Feb 3, 2013

blacksun
Mar 16, 2006
I told Cwapface not to register me with a title that said I am a faggot but he did it anyway because he likes to tell the truth.

Am I likely to get loads as low as that at idle? I do agree though, I won't ever be pushing more than 350w or so, probably a good decision to get something a bit smaller.

Thanks for the tip with the case, what's the build quality of the Fractal Design like compared to the Lian Li? I've got another Lian Li case and as the PC was going to be located in the lounge it seemed the logical choice (looks nice + quality construction) as I'm unfamiliar with the Fractal Design cases. Anything else to take it over and above the Lian Li?

I do like the GB board just for the point of future-proofing (HDMI vs Thunderbolt), however it's difficult to see comparative power usage of MBs. How much usage will I see with the GB vs the ASRock?

yomisei
Mar 18, 2011


I have no experience with Lian Li cases and only got myself a Fractal Design Define R4 for my desktop system. Fractal Design cases feature movable HDD cases with nice trays and look really smooth in general. You also get enough fans for a perfect airflow, throw in a Xigmatek Monocool on those fans, reduce stock Intel cooler to 20% and enjoy a silent server. It's a fashion choice, mostly.

My Pentium G630T+ASRock B75 Pro3-M+16GB+4x3TB WD Red NAS runs at 29.5/43W in idle with hdds spun down/up+reading. AnandTech reviewed several mini-ITX Z77 boards where the difference in power consumption could be as high as 15W, which is quite stunning. Personally I'd stick with a normal board and when the time comes a Thunderbolt PCI-E adapter. It'll be cheaper, more mature / power efficient and won't be stuck in your MB.

taqueso
Mar 8, 2004









Fun Shoe

Goon Matchmaker posted:

Realtek hardware is pretty much shit. The drivers try compensate but the hardware is just so awful.

After that experience, I don't see any reason to mess around with Realtek. I bought a couple dual-port Intel NICs on ebay for less than $35 each. Basically free in business terms. I'm going to play around with link aggregation, just for fun mostly.

yomisei
Mar 18, 2011


taqueso posted:

After that experience, I don't see any reason to mess around with Realtek. I bought a couple dual-port Intel NICs on ebay for less than $35 each. Basically free in business terms. I'm going to play around with link aggregation, just for fun mostly.

I never had an unpleasant experienc with Realtek NICs. The RTL8111E can push 95MB/s under FreeNAS 8.3, where I'm not even sure if that's the bottleneck or if I could get improvements with jumbo frames, another switch or an Intel NIC, or if the the Intel NIC on my Win7 desktop is the culprit. On the other hand I can tell you you get what you pay for, i.e. the RTL8110SC 2nd NIC on my desktop can only reach about 60MB/s, where the PCI (no express) connection takes the blame for. This number fits the rough numbers for what PCI connected devices can reach in bandwidth under normal circumstances. This depends on the actual chip and which driver you use.

If dual port isn't required, single integrated Realtek NICs can do the job just fine.

DashingGentleman
Nov 10, 2009


I just ordered an N40L (the UK cashback is back, yay!). Could use a bit of setup advice.

I would like a RAID solution that does the following:
- Ideally runs on top of linux
- Mix+match drive sizes with minimal wasted space
- Easy expansion
- I'm fine with single drive parity
- Snapshot RAID would be just fine, especially if it improves performance and allows individual drives to spin down

I was thinking of doing this properly and using ZFS, but the lack of easy expandability kills it for me - I don't need or want to buy 4 or more 3TB drives now, but that will be the eventual aim. The really important data is also backed up elsewhere, this is mostly for media storage.
Considering flexraid, snapraid + a pooling solution or alternatively just RAID5. Any opinions?

Gism0
Mar 20, 2003

huuuh?

DashingGentleman posted:

I just ordered an N40L (the UK cashback is back, yay!). Could use a bit of setup advice.

Oh really, where did you order from?

DashingGentleman
Nov 10, 2009


Gism0 posted:

Oh really, where did you order from?

Ebuyer, but they have just run out it seems (£185 - £100 cashback, it's ridiculous)
Think amazon and serversdirect still have them though. Make sure you buy from amazon.co.uk rather than a marketplace seller - the purchase needs to be a UK HP-approved retailer for cashback to work.

IOwnCalculus
Apr 2, 2003





Random ZFS protip: Apparently if you have a corrupted file in a pool, even after you replace the drive that corrupted it, the pool will be flagged as degraded until you delete all traces of said file and scrub. I banged my head against the wall on this one for a while until I figured that one out. It also won't remove the old devices from the pool until it completes this, either.

IOwnCalculus fucked around with this message at 17:43 on Feb 4, 2013

Longinus00
Dec 29, 2005
Ur-Quan

DashingGentleman posted:

I just ordered an N40L (the UK cashback is back, yay!). Could use a bit of setup advice.

I would like a RAID solution that does the following:
- Ideally runs on top of linux
- Mix+match drive sizes with minimal wasted space
- Easy expansion
- I'm fine with single drive parity
- Snapshot RAID would be just fine, especially if it improves performance and allows individual drives to spin down

I was thinking of doing this properly and using ZFS, but the lack of easy expandability kills it for me - I don't need or want to buy 4 or more 3TB drives now, but that will be the eventual aim. The really important data is also backed up elsewhere, this is mostly for media storage.
Considering flexraid, snapraid + a pooling solution or alternatively just RAID5. Any opinions?

It doesn't really sound like ZFS meets any of your criteria. Are you okay with losing about half your available space (assuming you want to protect everything you put on the disks)? In that case those drive extnder style raids will give you what you want, e.g. greyhole, or use btrfs' "raid1" feature to combine all the disks. If you want a bunch of disks and are okay with having to juggle which drive is the parity when your add bigger drives then flexraid/unraid style setups will work. I should note that none of these systems are likely to improve performance compared to stripped raid.


IOwnCalculus posted:

Random ZFS protip: Apparently if you have a corrupted file in a pool, even after you replace the drive that corrupted it, the pool will be flagged as degraded until you delete all traces of said file and scrub. I banged my head against the wall on this one for a while until I figured that one out. It also won't remove the old devices from the pool until it completes this, either.

It won't recover the file? Are you running raid0?

Devian666
Aug 20, 2008

Take some advice Chris.



Fun Shoe

I'm always trying to avoid building a freenas box for home use but I know I'll end up at that point sometime in the next year. However I know that there are a lot of data hoarders here. How many of you have considered using GlusterFS when one nas box isn't enough?
http://www.gluster.org/

IOwnCalculus
Apr 2, 2003





Longinus00 posted:

It won't recover the file? Are you running raid0?

It was on a raidz vdev, where one drive completely shat the bed, and then a second drive started puking up errors (but only around that one file). It was able to rebuild everything else.

This seems to be one of the neat things about ZFS - it recovers what it can so that instead of having to restore the entire goddamn thing from backup, I can only restore what can't be recreated.

Longinus00
Dec 29, 2005
Ur-Quan

Devian666 posted:

I'm always trying to avoid building a freenas box for home use but I know I'll end up at that point sometime in the next year. However I know that there are a lot of data hoarders here. How many of you have considered using GlusterFS when one nas box isn't enough?
http://www.gluster.org/

Is gluster even available in ports? You might want to try moosefs if you're planning on rocking freebsd.

IOwnCalculus posted:

It was on a raidz vdev, where one drive completely shat the bed, and then a second drive started puking up errors (but only around that one file). It was able to rebuild everything else.

This seems to be one of the neat things about ZFS - it recovers what it can so that instead of having to restore the entire goddamn thing from backup, I can only restore what can't be recreated.

That's not very different from rebuilding an array (forecefully if need be) and doing a fsck after, you'll just have to manually determine which inodes have errors in them by mapping the blocks that had errored to inodes. What zfs does is that it checksums all the blocks/parity so you can't have data corruption sneak in during the rebuild due to "silent corruption" where a drive/controller returns data that is wrong without throwing an error. With only xor parity in raid5 it is literally impossible for the hw/sw raid controller to know if something is "wrong". Raid6 mostly avoids this issue and means that in raid6 you can realistically scrub data just like in zfs. In fact if you really cared, you could modify linux md to do full stripe reads so you get on-read data scrubbing just like in zfs.

Longinus00 fucked around with this message at 02:50 on Feb 5, 2013

Devian666
Aug 20, 2008

Take some advice Chris.



Fun Shoe

Longinus00 posted:

Is gluster even available in ports? You might want to try moosefs if you're planning on rocking freebsd.

Thanks for that. The idea of going more than one box for a file system is new thinking for me. I've never been interested in scaling up beyond a single storage box for work or home.

spoon daddy
Aug 11, 2004
Who's your daddy?

College Slice

My nas drives warranty expire in the next 6 months. I am looking to swap them out for some 2tb or if my budget allows, 3tb drives. However, I cant seem to find any consumer drives of that capacity with 5 year warranties. Seems all the manufacturers have droped their warranties to 1-3 years. Are there any 5 year warranties left?

I like 5 because it gives me some cushion around 3 year mark. However, unless someone has some suggestions here I'll be looking at 3 years

Star War Sex Parrot
Oct 2, 2003



Muldoon

spoon daddy posted:

Are there any 5 year warranties left?
For consumer drives, I believe it's just WD Black drives. Otherwise you're stepping up to enterprise drives.

Longinus00
Dec 29, 2005
Ur-Quan

spoon daddy posted:

My nas drives warranty expire in the next 6 months. I am looking to swap them out for some 2tb or if my budget allows, 3tb drives. However, I cant seem to find any consumer drives of that capacity with 5 year warranties. Seems all the manufacturers have droped their warranties to 1-3 years. Are there any 5 year warranties left?

I like 5 because it gives me some cushion around 3 year mark. However, unless someone has some suggestions here I'll be looking at 3 years

Industry standard has been to slash warranties on consumer HDs. As has been mentioned WD Blacks are 5 years but unfortunately they're also relatively expensive and 7200rpm.

tarepanda
Mar 26, 2011

Living the Dream

Does anyone have a source for hot swap drive caddies that fit in the N40L bay? The HP replacements are ridiculously expensive.

Could I use other Proliant server caddies? The G4, G5, and G6 caddies all look like they're pretty much the same, just cosmetically different...

tarepanda fucked around with this message at 04:07 on Feb 5, 2013

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply
«608 »