«608 »
  • Post
  • Reply
Megaman
May 8, 2004
I didn't read the thread BUT...

DrDork posted:

Starting out with different sized disks in RAID2Z isn't bad, but it is quite inefficient, since as I'm sure you've noticed, you only get usable space commensurate with whatever the smallest drive you have is.

If you want to simply replace a smaller drive in your current array with a larger one, there's a GUI option to offline the drive--you then shut the system down, replace the drive, boot up, find the old drive in the GUI, and use the "replace" option, and let it resilver. Done. I'll admit I'm not sure if you can do this going from a larger drive to a smaller one--never tried.

Now if you're talking about adding another drive, you cannot do that easily--once created, a RAID2Z pool is locked to that number of physical drives, and to add more you'd need to add an entire RAID2Z pool. That is, you can't really add just one drive, but if you wanted to add another pool of 4, you can do that.

No one that I know of does anything about the prompt--if you have physical access, you've already won. However, if you're really concerned, there's an option that I believe is in System/Settings/Advanced "Enable Console Menu" that can be disabled. This will make the console ask for credentials, which sounds like is what you want.

Thanks so much! Do you possibly have an answer to the permissions problem I asked about?

DrDork
Dec 29, 2003
commanding officer of the Army of Dorkness

Megaman posted:

Thanks so much! Do you possibly have an answer to the permissions problem I asked about?
How exactly are you looking to present the server to your users? If it's through CFIS or something, it's trivial to just make two shared folders like /mnt/tank/drop and /mnt/tank/everythingelse and set the permissions accordingly.

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

DrDork posted:

How exactly are you looking to present the server to your users? If it's through CFIS or something, it's trivial to just make two shared folders like /mnt/tank/drop and /mnt/tank/everythingelse and set the permissions accordingly.

As NFS

Ninja Rope
Oct 22, 2005

Wee.


Can't you replace each drive one by one with a larger drive and let it resilver, and at the end it will grow the filesystem to the new drive sizes?

Also I don't think you want 111 for permissions, that would deny read and write access to everyone.

thideras
Oct 27, 2010

Fuck you, I'm a tree.


Fun Shoe

Megaman posted:

One more question, when ZFS is started up I've noticed that it just sits at a question prompt that anyone is allowed to access physically on the server itself. Should I be selecting "shell" then logging out of that account? How does everyone else handle post boot security on the server cli?

edit - turns out that going to shell and logging out brings you right back to the question prompt so that idea is no good
In FreeNAS on the left hand panel, go to System > Settings, click the "Advanced" option at the top, and uncheck "Enable console menu". Save and it won't show that menu at the server.

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

Ninja Rope posted:

Can't you replace each drive one by one with a larger drive and let it resilver, and at the end it will grow the filesystem to the new drive sizes?

Also I don't think you want 111 for permissions, that would deny read and write access to everyone.

Sorry I meant 555 (or 755 ). I'm not sure about resilvering, but that sounds like what I'd need to do if I can't expand the pool by physical disks. What is the reason for that limitation?

DrDork
Dec 29, 2003
commanding officer of the Army of Dorkness

Megaman posted:

Sorry I meant 555 (or 755 ). I'm not sure about resilvering, but that sounds like what I'd need to do if I can't expand the pool by physical disks. What is the reason for that limitation?
RAIDZ tries to keep the same amount of data on each drive (which is why it won't let you use drives of dissimilar size--or it'll chop them down to the lowest common denominator, anyhow). If it allowed you to add in another disk, it would have to re-balance the entire array to incorporate it. This is a stressful process. While you can argue that a similar thing happens when you replace a failed drive, somewhere along the way the devs decided to not support pool expansion. If I had to guess, I'd imagine that since ZFS has its roots in high-end servers, the assumption was if you needed more space, you'd just make a new pool, especially with the relatively low "recommended" maximum pool sizes.

devmd01
Mar 7, 2006

Elektronik
Supersonik


so uh....this followed me home today from work in order to "run a vmware lab at home for training."



I guess my paltry 6tb server is going to get shut down soon!

chizad
Jul 9, 2001

'Cus we find ourselves in the same old mess
Singin' drunken lullabies

devmd01 posted:

so uh....this followed me home today from work in order to "run a vmware lab at home for training."



I guess my paltry 6tb server is going to get shut down soon!

Am I reading those drive labels right? 2x300GB and 10x3TB?

IOwnCalculus
Apr 2, 2003





Sure does.

I hope you're using it to store terabytes of uncompressed high def recordings of Hinch.

IT Guy
Jan 12, 2010

You people drink like you don't want to live!

IT Guy posted:

I have a problem using FreeNAS.

I have a folder that has a lot of large files in it. Multiple hundreds of gigs. When I navigate to this folder, it takes about 5 seconds for the folder to populate in Windows explorer (using cifs) before I can click anything and the green loading bar or whatever it is goes across my windows explorer window as if it's loading something. Now, I have a second identical box that I use just to replicate and when I navigate to the same folder on that machine, it's instant. I have both FreeNAS machines setup identically. What could be the issue?

Here is the green bar loading the folder taking about 5 seconds to populate:



IT Guy posted:

Update:

Turns out I have some SMART errors on one of my disks. During the scheduled long test of one of my drives today I was surprised to see an email from my server saying there were SMART errors with bad sectors. I'm going to attempt to remap these but this is probably why my performance is fucked.

Update #2:

I replaced the drive with bad sectors, reslivered and ran a scrub. I'm back to my normal performance and folder browsing is instant. Thanks for the heads up on the drive failure. I thought bad sectors were no big deal.

Odette
Mar 19, 2011



Aw shit, I'm having the same issues. Guess I better go run some SMART tests.

Devian666
Aug 20, 2008

Take some advice Chris.



Fun Shoe

devmd01 posted:

so uh....this followed me home today from work in order to "run a vmware lab at home for training."



I guess my paltry 6tb server is going to get shut down soon!

I started smaller than this for home vmware lab. Which reminds me I need to do something with my VM server as it's only got 4 gig of ram so it's borderline functioning.

Devian666
Aug 20, 2008

Take some advice Chris.



Fun Shoe

I just saw a piece of news on toms that western digital are releasing 5TB green and red drives next year. Next year may now be the year I build a home storage server.

necrobobsledder
Mar 21, 2005
Lay down your soul to the gods rock 'n roll

Nap Ghost

Just a bit of forewarning that the supposed timeframe is Q4 2013.

CrazyLittle
Sep 11, 2001







Clapping Larry

5TB disks? Seriously? Good god I can't imagine the rebuild times on something like that. With disks that large is ZFS / raid-z pretty much the only feasible redundancy path?

movax
Aug 30, 2008



CrazyLittle posted:

5TB disks? Seriously? Good god I can't imagine the rebuild times on something like that. With disks that large is ZFS / raid-z pretty much the only feasible redundancy path?

Shit at that point I feel you want -Z2/RAID-6 or above, especially if you're using consumer drives.

mcsuede
Dec 30, 2003

Anyone who has a continuous smile on his face conceals a toughness that is almost frightening.
-Greta Garbo

movax posted:

Shit at that point I feel you want -Z2/RAID-6 or above, especially if you're using consumer drives.

WD Reds are designed for NAS use, not that I disagree with you.

CrazyLittle
Sep 11, 2001







Clapping Larry

I have to wonder if something like triple parity would even be useful at that point. I'm already re-doing an array of 750gb disks into 10x3TB disks in raid6 + 1 hot spare (21TB usable space), and that's just betting on having up to two disks fail with 1 standby to buy me more time.

IOwnCalculus
Apr 2, 2003





Why not do Z3? Seems like that might be better than hoping you don't have two more failures during the rebuild.

Also, for what it's worth, if you're like me and turn on dedup without realizing just how much RAM it needs (roughly a fuckton), this process seems to be working pretty well for me to undo the damage.

Specifically:
code:
# zfs scrub tank
# zfs set dedup=off tank 
# zfs snapshot tank/fish@1 
# zfs send tank/fish@1 | zfs receive tank/fish-temp 
# zfs destroy -r tank/fish && zfs rename tank/fish-temp tank/fish 
Only downside is you need enough free space to duplicate a given share, at least temporarily; and my single largest share is about 3x the size of my free space.

IOwnCalculus fucked around with this message at 22:04 on Dec 5, 2012

yomisei
Mar 18, 2011




This is me, switching from 4 Seagate Baracuda 3TB to 4 WD Red 3TB with the help of a lot of scrapped SATA cables, SATA power adapters and a stronger PSU (with 6 SATA power cables) ripped from the heart of my desktop PC for the duration of this operation.

I got the Seagates from external USB 3.0 cases, which miraculously cost 5€ less than the bare HDD itself. But since it has shown really bad noise, a high power consumption and thermal profile I decided to switch to the WD Red, which according to SPCR is one of the most silent and power saving 3TB drives. Thank god for free return after 14 days due to right of withdrawal

What I'm trying to build is a silent NAS, which made me dump the HP N40L due to its quite noisy PSU fan. So I switched to a crappy midi-tower, 400W PSU, Intel G630T and the cheapest MB with 6+ SATA ports, 8GB ram and 2 silent 120mm fans. I really like this setup over the N40L as it is not only stronger (about 4 times in CPU) but also only costs ~25% more and is scalable (Socket 1155 and Ivy Bridge compability, 4 ram slots, tower for more HDDs).

I feel a little for juggling 24TB around for fun.

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

What do people recommend for a 9 drive raidz nasty? I need something where I can easily swap the drives and not something that costs a billion dollars

Ninja Rope
Oct 22, 2005

Wee.


Megaman posted:

What do people recommend for a 9 drive raidz nasty?

Frequent backups.

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

Ninja Rope posted:

Frequent backups.

I meant a case, or drive mounts.

Xenomorph
Jun 13, 2001


Anyone hosting Windows 8 roaming profiles on Samba shares? Any issues with that? I'm getting all kinds of weird corruption issues (the contents of \Favorites end up getting zeroed out).

I haven't been able to find anything on Google that even hints that any people are using Windows 8 profiles on Samba.

evol262
Nov 30, 2010
#!/usr/bin/perl

Xenomorph posted:

Anyone hosting Windows 8 roaming profiles on Samba shares? Any issues with that? I'm getting all kinds of weird corruption issues (the contents of \Favorites end up getting zeroed out).

I haven't been able to find anything on Google that even hints that any people are using Windows 8 profiles on Samba.

This looks different than the last question you had about Samba/Win8. Did you try enforcing smb2?

necrobobsledder
Mar 21, 2005
Lay down your soul to the gods rock 'n roll

Nap Ghost

Megaman posted:

I meant a case, or drive mounts.
For 9 drives (on the cheap), I've done fine with an Antec 300 with a 4-in-3 (could have been 5-in-3 for more $$) SATA backplane from uh... IcyDock. Some people have a now-discontinued CoolerMaster case with a couple backplanes in it with everything accessible from the front (but probably ~$80 premium over my cheapo setup). If you want to go completely insane with drives in the future in a tower case, you may be better off looking for some discontinued full tower Lian Li cases with 10+ 5.25" bays. My current workstation's Lian Li A04 can fit 7 3.5" drives in the cage and could fit another 3 alongside the SSD boot I mounted if I opted for a 3-in-2 backplane. In case I feel like adding more drives to my Microserver, I could use this thing that was linked earlier to adapt a 5.25" bay for hard drives.

yomisei posted:

What I'm trying to build is a silent NAS, which made me dump the HP N40L due to its quite noisy PSU fan.
A lot of people have swapped out that fan (it's a standard 92mm fan I think). I haven't had a problem with it in my living room because it sits inside a closed TV stand. Also, I highly doubt that your machine is more power efficient than an N40L just by virtue of the 400w PSU (even a "Gold" rated 80Plus PSU can only do so well on a load average of less than 13%). Not saying it doesn't work for you, but sounds like your needs weren't quite fitting into what people buy Microservers for honestly.

Xenomorph
Jun 13, 2001


evol262 posted:

This looks different than the last question you had about Samba/Win8. Did you try enforcing smb2?

I've tried with SMB2 and SMB1 (checked with the Get-SmbConnection command). I've tried with SMB1 and oplocks enabled & disabled. I tried with and without extended attributes and alternative data streams enabled.

It's always the same errors and always on the same files. I started with a new profile (nothing local, nothing on server). The files are created locally (Favorites/desktop.ini), saved to the server as zero-byte files, then re-read back to the profile as zero-byte files, destroying the good/local copies.

Ninja Rope
Oct 22, 2005

Wee.


Xenomorph posted:

I've tried with SMB2 and SMB1 (checked with the Get-SmbConnection command). I've tried with SMB1 and oplocks enabled & disabled. I tried with and without extended attributes and alternative data streams enabled.

It's always the same errors and always on the same files. I started with a new profile (nothing local, nothing on server). The files are created locally (Favorites/desktop.ini), saved to the server as zero-byte files, then re-read back to the profile as zero-byte files, destroying the good/local copies.

If you run smbd with all the debugging flags enabled, does it print anything interesting about that file? It's probably a lack of support for Win8 in Samba, though.

Edit: smbd -i -S -d 9999 ?

yomisei
Mar 18, 2011


necrobobsledder posted:

A lot of people have swapped out that fan (it's a standard 92mm fan I think). I haven't had a problem with it in my living room because it sits inside a closed TV stand. Also, I highly doubt that your machine is more power efficient than an N40L just by virtue of the 400w PSU (even a "Gold" rated 80Plus PSU can only do so well on a load average of less than 13%). Not saying it doesn't work for you, but sounds like your needs weren't quite fitting into what people buy Microservers for honestly.

It's the 40mm PSU fan, not the big one cooling the case that was the real noisemaker. Switching out the PSU for a PicoPSU or something similar would've pushed it to about the same price I smashed my server together for, so I opted for the more powerful one I can scale and customize more. If it weren't for the different PSU the SPCR review said to be unnoticeable (their model at least) I would've kept the N40L though. I'd heartily recommend it for anyone who doesn't have an issue with noise.

Galler
Jan 28, 2008



The PSU fan is luck of the draw. Many of them, including mine, are virtually silent but a bunch are rather noisy. HP or the PSU manufacturer are probably getting fans from different suppliers with different tolerances or something.

Odette
Mar 19, 2011



I've been having really fucked up problems with my NAS recently. I've run SMART tests and everything on the NAS and it's all checked out OK. It runs the latest version of FreeNAS.

If I'm on Ubuntu or some other Linux variant, I can access/transfer files over FTP/Samba without any issues. When I use Windows, the problems start. FTP transfers go from 100 MB/s down to 100 KB/s and constantly cuts out.

File browsing via Samba is terrible. It won't always load directories/files and it will constantly get frozen on any file that I click on. Even a very tiny text file. If I want to watch a movie, I have to restart the Windows PC. And if I decide that I want to watch something else ... well, I have to restart again ...

This is driving me up the wall. Any help would be much appreciated!

forbidden dialectics
Jul 26, 2005







So I bought this today:


code:
Antec Three Hundred Black Steel ATX Mid Tower Computer Case
CORSAIR Builder Series CX430 430W ATX12V v2.3 80 PLUS BRONZE Certified Active PFC 
Intel Celeron G555 Sandy Bridge 2.7GHz LGA 1155 Dual-Core Desktop Processor 
ASRock H77 Pro4/MVP LGA 1155 Intel H77 HDMI SATA 6Gb/s USB 3.0 ATX Intel Motherboard
Intel EXPI9301CTBLK 10/ 100/ 1000Mbps PCI-Express Network Adapter
Transcend JetFlash 500 4GB USB 2.0 Flash Drive (Red) Model TS4GJF500
G.SKILL Ares Series 32GB (4 x 8GB) 240-Pin DDR3 SDRAM DDR3 1333 (PC3 10666) Desktop Memory
6 x Western Digital WEWD30EFRX 3 TB WD Red SATA 3.5" NAS Hard Drive
with the intent to run FreeNAS with raidz2, for steaming media to a Boxee, 4 other computers, and just for general storage.

Is the CIFS/Samba support really as bad as people say it is? All of my computers are Windows and only 1 of them has Pro, so NFS wouldn't do me much good. Does the NAS4Free SMB implementation work any better?

DrDork
Dec 29, 2003
commanding officer of the Army of Dorkness

Nostrum posted:

Is the CIFS/Samba support really as bad as people say it is? All of my computers are Windows and only 1 of them has Pro, so NFS wouldn't do me much good. Does the NAS4Free SMB implementation work any better?
Well.... yeah, it's bad. It's almost always slower than the other usual types of connections, but it works, and works well enough for most people. 40MB/s is more than enough to stream media, after all. CIFS/SMB works almost exactly the same between NAS4Free and FreeNAS (they're both forks off the same original line, and Samba is a package they stuff in there--so that it sucks is something that the Samba group has to fix, not the FreeNAS/NAS4Free people).

Matt Zerella
Oct 7, 2002


Why not give Solaris/OpenIndiana and napp-it a shot? Their CIFS is kernel mode and apparently really good.

Ninja Rope
Oct 22, 2005

Wee.


I've got FreeBSD 9.1-RC3 on a N40L and I get reads of around 100mb/sec that drop down to ~60mb/second after maybe 30 seconds. I'm not sure why that is but it's possibly on the client end, my desktop is almost out of disk space.

forbidden dialectics
Jul 26, 2005







LmaoTheKid posted:

Why not give Solaris/OpenIndiana and napp-it a shot? Their CIFS is kernel mode and apparently really good.

I think I will do this! This sounds pretty painless and will force me to actually brush up on my UNIX(like) skills. Any preference on Solaris 11 vs OpenIndiana? Thanks!

EDIT: Well should have just read napp-it's manual, he recommends OpenIndiana.

forbidden dialectics fucked around with this message at 06:00 on Dec 7, 2012

Matt Zerella
Oct 7, 2002


Nostrum posted:

I think I will do this! This sounds pretty painless and will force me to actually brush up on my UNIX(like) skills. Any preference on Solaris 11 vs OpenIndiana? Thanks!

I honestly don't know anymore. I stopped following the OI/Solaris thing a while ago, but napp-it is super simple to install once you have solaris/oi installed and you'll never really mess with the OS after napp-it is up and running.

chizad
Jul 9, 2001

'Cus we find ourselves in the same old mess
Singin' drunken lullabies

Maybe the complaints I've seen scattered throughout the thread lowered my expectations, but so far (knock on wood) I've been impressed with the CIFS/SMB performance I'm getting out of my N40L. For reference, my system has 8GB ECC RAM, Intel gigabit PCIe NIC and 5x 3TB WD Reds in a RAIDZ2 on the hardware side. Software wise, I'm using N4F 9.1.0.1 rev 531 and SMB2 with AIO disabled.

I have noticed that writes (and to a lesser extent reads) are bursty, but the actual transfer speeds I'm seeing are good. My read speeds from the Microserver top out around 900Mbit/s and writes will peak up near 800Mbit/s but probably average more like 600Mbit/s.

DrDork
Dec 29, 2003
commanding officer of the Army of Dorkness

My issue with CIFS has always been one of consistency: some files will transfer at 70-100MB/s. Others at 30-40MB/s. There seems to be no rhyme or reason for this.

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