8.2 should be out shortly, I've read the end of April.
You can try the 8.2 beta in a virtual instance and see if drive replacement actually works though the GUI.
I got it to work successfully under FreeNAS-8.0.4-RELEASE-p1-x64. Built a RaidZ pool with 2 disks.
Shut the machine down and pulled one of the disks and put it a new one. Went to the GUI....
View Volumes / View Disks / Clicked the replace button on the new disk and after a short period of
time everything was back to normal (only had about 60GB of data in the pool cause I'm still playing/learning).
I built a 3 disk pool, and I expect to get a 4th disk so I can run RaidZ2.
One thing that would really help is a progress report from the GUI. Not a big deal... just SSH and type
zpool status
I just built my box a week or so ago, and from the testing I've done so far it seems to be pretty good...
yes plugins would be nice, but from what I can see freenas works pretty well. Get a copy of WinSCP or some
graphical tool to use for a file manager for setting permissions on individual directories within a dataset
and life should be good.
Here's the step by step of simulating a failed disk:
MY TEST SYSTEM
FreeNAS Build FreeNAS-8.0.4-RELEASE-p2-x64 (11367)
Platform Intel(R) Pentium(R) CPU G620 @ 2.60GHz
Memory 16281MB
System Time Fri May 11 16:47:46 2012
OS Version FreeBSD 8.2-RELEASE-p7
freenas# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ufs/FreeNASs2a 927M 379M 474M 44% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/md0 4.6M 1.9M 2.3M 44% /etc
/dev/md1 824K 2.0K 756K 0% /mnt
/dev/md2 149M 16M 121M 12% /var
/dev/ufs/FreeNASs4 20M 1.1M 17M 6% /data
TANK 5.3T 240K 5.3T 0% /mnt/TANK
TANK/b 5.3T 64G 5.3T 1% /mnt/TANK/b
TANK/library 5.3T 149K 5.3T 0% /mnt/TANK/library
TANK/ 5.3T 213K 5.3T 0% /mnt/TANK/m
TANK/music 5.3T 3.0G 5.3T 0% /mnt/TANK/music
TANK/video 5.3T 8.6G 5.3T 0% /mnt/TANK/video
1. Drive /dev/ada2 removed and replaced with a blank drive to simulate failure.
Status after /dev/ada2 replaced with a blank drive
freenas# zpool status
pool: TANK
state: DEGRADED
status: One or more devices could not be opened. Sufficient replicas exist for
the pool to continue functioning in a degraded state.
action: Attach the missing device and online it using 'zpool online'.
see:
http://www.sun.com/msg/ZFS-8000-2Q
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
TANK DEGRADED 0 0 0
raidz1 DEGRADED 0 0 0
ada0p2 ONLINE 0 0 0
ada1p2 ONLINE 0 0 0
4177951429355492921 UNAVAIL 0 0 0 was /dev/ada2p2
errors: No known data errors
2. Go to GUI and click Show Volumes and then Display Disks disks icon.
Click replace on the failed disk
SSH to check status.... (OPTIONAL just to see what is going on)
freenas# zpool status
pool: TANK
state: DEGRADED
status: One or more devices is currently being resilvered. The pool will
continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
scrub: resilver in progress for 0h3m, 47.71% done, 0h3m to go
config:
NAME STATE READ WRITE CKSUM
TANK DEGRADED 0 0 0
raidz1 DEGRADED 0 0 0
ada0p2 ONLINE 0 0 0
ada1p2 ONLINE 0 0 0
replacing DEGRADED 0 0 0
4177951429355492921 UNAVAIL 0 0 0 was /dev/ada2p2/old
ada2p2 ONLINE 0 0 0 18.0G resilvered
errors: No known data errors
Status Check After Resilvering
freenas# zpool status
pool: TANK
state: DEGRADED
scrub: resilver completed after 0h6m with 0 errors on Fri May 11 07:49:42 2012
config:
NAME STATE READ WRITE CKSUM
TANK DEGRADED 0 0 0
raidz1 DEGRADED 0 0 0
ada0p2 ONLINE 0 0 0
ada1p2 ONLINE 0 0 0
replacing DEGRADED 0 0 0
4177951429355492921 UNAVAIL 0 0 0 was /dev/ada2p2/old
ada2p2 ONLINE 0 0 0 37.6G resilvered
errors: No known data errors
3. Detach the unused disk from the GUI and then reboot.
(May be possible to avoid the reboot - not sure, but it didn't do any harm other than a few seconds of extra downtime)
freenas# zpool status
pool: TANK
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
TANK ONLINE 0 0 0
raidz1 ONLINE 0 0 0
ada0p2 ONLINE 0 0 0
ada1p2 ONLINE 0 0 0
ada2p2 ONLINE 0 0 0
Hope this is helpful to the community.