USB Hdd removal from stripe set

Status
Not open for further replies.

Gerdrsa

Cadet
Joined
May 20, 2014
Messages
6
Hi.
I have the following setup:-

FreeNAS-9.2.1.5-RELEASE-x64 (80c1d35)
AMD Turion(tm) II Neo N40L Dual-Core Processor
[root@freenas ~]# zpool status pool: NAS state: ONLINE scan: scrub repaired 0 in 2h18m with 0 errors on Tue May 6 14:49:47 2014 config: NAME STATE READ WRITE CKSUM NAS ONLINE 0 0 0 gptid/0f6f14bb-0da7-11e3-82b3-e83935ec1332 ONLINE 0 0 0 gptid/10168f9a-0da7-11e3-82b3-e83935ec1332 ONLINE 0 0 0 gptid/10b7e764-0da7-11e3-82b3-e83935ec1332 ONLINE 0 0 0 gptid/0d8ed982-4b9e-11e3-86c2-e83935ec1332 ONLINE 0 0 0
=> USB Hdd gptid/aca61217-de4f-11e3-af20-e83935ec1332 ONLINE 0 0 0
errors: No known data errors

[root@freenas ~]# gpart show da0 => 34 2930277101 da0 GPT (1.4T) 34 94 - free - (47k) 128 4194304 1 freebsd-swap (2.0G)
=> USB Hdd 4194432 2926082703 2 freebsd-zfs (1.4T)

Error: Disk offline failed: "cannot offline gptid/aca61217-de4f-11e3-af20-e83935ec1332: no valid replicas, "
When I removed the drive and then reboot die pool is unavailable as it needs this device.

I need to remove this usb drive from my Freenas system.
Please help
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Well, that post you made turned into a blob of text. Repost it in pastebin and provide a link so that the formatting of the text is preserved or paste it in the forums inside of CODE tags.

But it looks like you have a vdev of 5 disks striped, so removing disks is out of the question. It also means that if any of your disks fail, you lose all of your data forever.
 

Yatti420

Wizard
Joined
Aug 12, 2012
Messages
1,437
Pull all data off box and redo pool.. USB drives very bad idea..

Sent from my SGH-I257M using Tapatalk 2
 

Gerdrsa

Cadet
Joined
May 20, 2014
Messages
6
FreeNAS-9.2.1.5-RELEASE-x64 (80c1d35)
HP ProLiant MicroServer
AMD Turion(tm) II Neo N40L Dual-Core Processor
4 x 1Tb Seagate Hdd
Pulling off data at this point in time.
What would the recommendation be when I have to "rebuild" my NAS system, setupwise?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Others will probably have more detailed recommendations, but here are a couple:
  • Make sure you have at least 8 GB of RAM
  • Use internal hard drives, not USB drives
  • Use a RAIDZ configuration to provide some redundancy for your data. Whether to use RAIDZ1 (1 disk redundancy), RAIDZ2 (2 disks redundancy), or RAIDZ3 (3 disks redundancy) is up to you and your needs for the server. I'm using RAIDZ1, but see cyberjock's sig for an article about how that doesn't give as much redundancy as you might think.
When you set up your pool, the ZFS volume manager should build an optimal configuration, which I think will be a RAIDZ2. With 4 x 1 TB disks, that would give you 2 TB of storage capacity, and would tolerate the failure of up to two disks. You could later increase the capacity of the pool by either adding more disks (say, another 4 disks into another RAIDZ2) or by replacing your existing disks, one at a time, with larger disks and letting the pool rebuild.

I'm recommending RAIDZ on the assumption that your data is important, and therefore that redundancy is important. If speed is the top priority, then a stripe set is the way to get it--but be aware that (as cyberjock noted above) if you lose one drive, the entire pool goes away and is unrecoverable.
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
How much RAM do you have in your server? If you have less than 8, I'd upgrade it to 16Gb ECC RAM.

If your willing to install a hacked BIOS on it, you can squeeze 6 3.5" SATA drives in the box. 4 in the drive bays and 2 - stacked in the ODD bay. Connect one drive to the connector in the top bay. Get an eSATA to SATA cable and pipe it in from the rear connector. You'll probably need a splitter to power 2 drives in that bay.

RAIDz2 would be a good choice.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
If you're going to use ZFS (and you should), you NEED more RAM. 8 GB is the minimum, and should be adequate for the storage you have now. USB drives aren't recommended for permanent use--they're much less reliable that permanently-installed drives, and they're much slower (especially since USB 3 isn't supported)--but they can be used temporarily if you need to. I wouldn't have one installed while you're creating your storage pools, though, so you don't inadvertently run into the problem that started this thread.
 

Gerdrsa

Cadet
Joined
May 20, 2014
Messages
6
If you're going to use ZFS (and you should), you NEED more RAM. 8 GB is the minimum, and should be adequate for the storage you have now. USB drives aren't recommended for permanent use--they're much less reliable that permanently-installed drives, and they're much slower (especially since USB 3 isn't supported)--but they can be used temporarily if you need to. I wouldn't have one installed while you're creating your storage pools, though, so you don't inadvertently run into the problem that started this thread.

Exactly.
 

Gerdrsa

Cadet
Joined
May 20, 2014
Messages
6
How much RAM do you have in your server? If you have less than 8, I'd upgrade it to 16Gb ECC RAM.

If your willing to install a hacked BIOS on it, you can squeeze 6 3.5" SATA drives in the box. 4 in the drive bays and 2 - stacked in the ODD bay. Connect one drive to the connector in the top bay. Get an eSATA to SATA cable and pipe it in from the rear connector. You'll probably need a splitter to power 2 drives in that bay.

RAIDz2 would be a good choice.

Runnig 1898MB of ram.
Where will I get this BIOS?
Have extra drives so this could work while I have to "rebuild"
Me thinks never a USB Hdd near my NAS system ever again.​
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
Search then 'net for "N40L hacked BIOS". As I recall TheBay said he had worked for HP and obtained the source code from them.

Since you only have 2 slots for RAM, don't buy anything smaller than an 8Gb stick. I can't give you a direct link using my phone, but I have posted the Kingston part number, here in the past. I'm running 16Gb ECC RAM in my N54L.


Sent from my phone
 
Status
Not open for further replies.
Top