![]() |
|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
![]() |
|
Thread Tools | Display Modes |
|
||||
![]()
Yes, and no.
There are two methods to using ZFS: * everything on ZFS with UFS /boot, or * everything but / on ZFS The second option is easier, and allows you to boot to single-user mode and use /rescue/* when needed. A nice and easy setup if your system can boot off USB flash drives is to copy / (not /usr, /var, /tmp, or /home) onto the flash drive, use fdisk -B /dev/da0 (or whichever device it shows as) to make it bootable, then boot off it into single-user mode. At that point, you can configure the ZFS pool and create filesystems for /usr, /var, /home, and so on and set their mountpoints. Then copy (find|cpio, or dump|restore) the data from the UFS harddrive to the ZFS filesystems. Reboot using the ZFS harddrive to make sure everything still works correctly. Finally, add the UFS harddrive to the ZFS pool. Voila! A system that boots of UFS and stores everything volatile on ZFS. |
|
|||
![]()
As phoenix has mentioned on several other threads - ZFS is experimental !
I have noticed a HUGE performance hit having /usr on ZFS but i think that's mostly due to lack of resources ( need more RAM )
__________________
"No, that's wrong, Cartman. But don't worry, there are no stupid answers, just stupid people." -- Mr. Garrison Forum Netiquette |
|
||||
![]()
If you have a 64-bit system with lots of RAM (8+ GB) and CPU (4+ cores), ZFS is amazing!! Especially as a file server and backup server.
If you have a 64-bit system with adequate RAM (4+ GB) and CPU (2+ cores), ZFS is still very nice. Just depends on the load you put on it. We could lock up a system using 2x Opteron 200 CPUs and 8 GB DDR1 RAM by running 10+ simultaneous rsyncs. Same harddrives in a system with 2x Opteron 2200 CPUs and 8 GB DDR2 RAM doesn't flinch when running 40+ simultaneous rsyncs. If you have a 32-bit system with 2-4 GB of RAM and a 2 GHz CPU, you can get decent performance out of ZFS by maxing out the kmem and tuning the ARC. But it can take a lot of fiddling and time to get it to a nice setup. Took me about a month to get the right values for my system (2 GB RAM). Haven't noticed any issues that are directly related to ZFS. If you have a 32-bit system with less than 2 GB of RAM or 2 GHz CPU, don't bother with ZFS. |
|
|||
![]()
I have two small kids at home who like hitting the reset button...
ZFS has kept my file system sane... AMD64 2800+ 512MB RAM, very low workload, works wonderfully (journalling is just great). The only problem I had was compiling GHC to use xmonad (must have run low on memory)!! Just did a pkg_add and presto... BTW - Did I mention Xmonad absolutely rocks??!! |
![]() |
Tags |
zfs |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Moving ZFS to a other pool? | amscotti | Solaris | 1 | 28th July 2009 11:49 PM |
moving freebsd install to new drive | carpman | FreeBSD General | 7 | 7th August 2008 06:09 PM |
Moving FreeBSD to new PC? | cwhitmore | FreeBSD General | 23 | 22nd July 2008 02:59 PM |
Moving files | Weaseal | Programming | 2 | 14th July 2008 07:30 AM |