ZFS Recovery Tools

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Thu Nov 20 13:31:47 PST 2008


> Hi,
>  I was just reading stuff about ZFS, and wonder if it would be
> beneficial for me to use it. I store a lots of multimedia files in my
> HD, they usually have the size of > 1GB (e.g. 1.2, 1.7 or even
> bigger), and my system is running UFS.

simply use UFS with big blocks (-b 65536 -f 8192) will be OK.

BTW i have such change in param.h on every system i have:

--- param.h~    2008-10-09 20:49:54.000000000 +0200
+++ param.h     2008-10-09 20:49:54.000000000 +0200
@@ -121,7 +121,7 @@
  #define DFLTPHYS       (64 * 1024)     /* default max raw I/O transfer 
size */
  #endif
  #ifndef MAXPHYS
-#define MAXPHYS                (128 * 1024)    /* max raw I/O transfer 
size */
+#define MAXPHYS                (1024 * 1024)    /* max raw I/O transfer 
size */
  #endif
  #ifndef MAXDUMPPGS
  #define MAXDUMPPGS     (DFLTPHYS/PAGE_SIZE)


no idea why it's not the default.



>  so can I buy a new HD, say 500GB, and format it ZFS style and use it
> along with other UFS? and will ZFS performs better than UFS in my

there may be slight (if any) speedup with transfer speed, and HUGE (like 
10x) increase in CPU load. on slower CPUs transfers will be actually 
slower.


More information about the freebsd-questions mailing list