Re: ZFS Recovery Tools

2008-11-21 Thread Wojciech Puchar

What does MAXPHYS mean (yes max raw I/O transfer) and do? A little
bit more specific if you may.


how large can be single read from disk.

when you say read 2 files in the same time, FreeBSD will readahead at most 
MAXPHYS from one file, then from file 2, from file 1 etc.


128kB/s is way too much for todays drives, that can read 1MB within one 
access time.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ZFS Recovery Tools

2008-11-21 Thread Valentin Bud
On Fri, Nov 21, 2008 at 10:42 AM, Wojciech Puchar
[EMAIL PROTECTED] wrote:
 What does MAXPHYS mean (yes max raw I/O transfer) and do? A little
 bit more specific if you may.

 how large can be single read from disk.

 when you say read 2 files in the same time, FreeBSD will readahead at most
 MAXPHYS from one file, then from file 2, from file 1 etc.

 128kB/s is way too much for todays drives, that can read 1MB within one
 access time.

Thank you for your explanation.

a great day,
v
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: ZFS Recovery Tools

2008-11-21 Thread Johan Hendriks


 What does MAXPHYS mean (yes max raw I/O transfer) and do? A little
 bit more specific if you may.

how large can be single read from disk.

when you say read 2 files in the same time, FreeBSD will readahead at most 
MAXPHYS from one file, then from file 2, from file 1 etc.

128kB/s is way too much for todays drives, that can read 1MB within one 
access time.

128kB/s is way to much  , and you set it to 1024, or did you mean way to low ?

Regards,
Johan Hendriks



No virus found in this outgoing message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.9.4/1795 - Release Date: 17-11-2008 17:24
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ZFS Recovery Tools

2008-11-21 Thread Wojciech Puchar



Thank you for your explanation.
from what i tested 1MB is optimal on modern drives, 2MB doesn't speed up 
much (if any) but increases latency.


use lower values for old drives (20GB) and low memory (=64MB) machines
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: ZFS Recovery Tools

2008-11-21 Thread Wojciech Puchar


when you say read 2 files in the same time, FreeBSD will readahead at most
MAXPHYS from one file, then from file 2, from file 1 etc.

128kB/s is way too much for todays drives, that can read 1MB within one
access time.

128kB/s is way to much  , and you set it to 1024, or did you mean way to low ?


i meant too little. sorry.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ZFS Recovery Tools

2008-11-20 Thread Wojciech Puchar

all the input from various users I assume zfs would be the file system of
choice for such large volumes?

Are there limitations or downsides using UFS on such a large volume?


no, unless you will create it with default options.

use -i big-power-of-two simply to have enough inodes for your files, but 
not 100 times too much. too much inodes=more wasted space AND VERY SLOW 
FSCK


use -b 32768 or 65536 depending of your file's average size.

-b 16384 will work too, but again fsck may be long.


of course turn on softupdates.

UFS performs excellent on large drives/volumes. not in theory but in 
practice, i use it every place, on volumes up to 3GB


NO PROBLEMS.


Also are there any tools for recovery off ZFS volumes? Accidental 
delete/format/corruption...?

no.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ZFS Recovery Tools

2008-11-20 Thread Wojciech Puchar

On Thu, Nov 20, 2008 at 11:51 AM, Wojciech Puchar
[EMAIL PROTECTED] wrote:

UFS performs excellent on large drives/volumes. not in theory but in
practice, i use it every place, on volumes up to 3GB

NO PROBLEMS.


Do you mean 3TB instead?



yes. sorry
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ZFS Recovery Tools

2008-11-20 Thread Tsu-Fan Cheng
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.
  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
situation? Thank you!!


TFC

On Thu, Nov 20, 2008 at 2:51 PM, Wojciech Puchar
[EMAIL PROTECTED] wrote:
 all the input from various users I assume zfs would be the file system of
 choice for such large volumes?

 Are there limitations or downsides using UFS on such a large volume?

 no, unless you will create it with default options.

 use -i big-power-of-two simply to have enough inodes for your files, but not
 100 times too much. too much inodes=more wasted space AND VERY SLOW FSCK

 use -b 32768 or 65536 depending of your file's average size.

 -b 16384 will work too, but again fsck may be long.


 of course turn on softupdates.

 UFS performs excellent on large drives/volumes. not in theory but in
 practice, i use it every place, on volumes up to 3GB

 NO PROBLEMS.


 Also are there any tools for recovery off ZFS volumes? Accidental
 delete/format/corruption...?

 no.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: ZFS Recovery Tools

2008-11-20 Thread Marcel Grandemange
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.
  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
situation? Thank you!!


Correct me if im wrong but zfs seems way to experimental and unstable
according to what I have found on net so far.
FYI - I decided to use UFS in mean while, but for those interested in why I
say this...

http://wiki.freebsd.org/ZFSKnownProblems

I share other NB server roles with my file server and cannot afford lockups
etc...

Please anyone correct me if im wrong!

TFC

On Thu, Nov 20, 2008 at 2:51 PM, Wojciech Puchar
[EMAIL PROTECTED] wrote:
 all the input from various users I assume zfs would be the file system of
 choice for such large volumes?

 Are there limitations or downsides using UFS on such a large volume?

 no, unless you will create it with default options.

 use -i big-power-of-two simply to have enough inodes for your files, but
not
 100 times too much. too much inodes=more wasted space AND VERY SLOW FSCK

 use -b 32768 or 65536 depending of your file's average size.

 -b 16384 will work too, but again fsck may be long.


 of course turn on softupdates.

 UFS performs excellent on large drives/volumes. not in theory but in
 practice, i use it every place, on volumes up to 3GB

 NO PROBLEMS.


 Also are there any tools for recovery off ZFS volumes? Accidental
 delete/format/corruption...?

 no.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]


__ NOD32 3628 (20081120) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ZFS Recovery Tools

2008-11-20 Thread Kurt Buff
On Thu, Nov 20, 2008 at 11:51 AM, Wojciech Puchar
[EMAIL PROTECTED] wrote:
 UFS performs excellent on large drives/volumes. not in theory but in
 practice, i use it every place, on volumes up to 3GB

 NO PROBLEMS.

Do you mean 3TB instead?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ZFS Recovery Tools

2008-11-20 Thread Wojciech Puchar



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.0 +0200
+++ param.h 2008-10-09 20:49:54.0 +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.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ZFS Recovery Tools

2008-11-20 Thread Valentin Bud
On Thu, Nov 20, 2008 at 11:31 PM, Wojciech Puchar
[EMAIL PROTECTED] wrote:

 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.0 +0200
 +++ param.h 2008-10-09 20:49:54.0 +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 */

What does MAXPHYS mean (yes max raw I/O transfer) and do? A little
bit more specific if you may.
thank you.

  #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.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]