Re: New ZFSv28 patchset for 8-STABLE

2011-01-10 Thread Pawel Jakub Dawidek
out of the pool. Such hangs happen when I/O never returns. ZFS doesn't timeout I/O requests on its own, this is driver's responsibility. It is still strange that the driver didn't pass I/O error up to ZFS or it might as well be ZFS bug, but I don't think so. -- Pawel

Re: New ZFSv28 patchset for 8-STABLE

2011-01-10 Thread Pawel Jakub Dawidek
, I'm afraid. I just sent an e-mail to Brendan Gregg from Oracle who originally implemented L2ARC in ZFS why this is turned off by default. Once I get answer we can think about turning it on again. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd

Re: New ZFSv28 patchset for 8-STABLE

2011-01-10 Thread Pawel Jakub Dawidek
loc()/zfs_free() mismatch > Just before loading kernel modules, after that my system hangs. Could you tell me more about you pool configuration? 'zpool status' output might be helpful. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.

Re: geli problems after installkernel & installworld

2011-01-15 Thread Pawel Jakub Dawidek
have I noticed a change in the device names nor any unusual > messages from dmesg. Currently, I am doing a new compile run on world > and kernel to attempt anew tomorrow. > > Am I missing something? Can you show the output of 'geli list' from a running system? -- Pawe

Re: Any success stories for HAST + ZFS?

2011-03-25 Thread Pawel Jakub Dawidek
The simpler the better. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com pgpQSkm3Cfnru.pgp Description: PGP signature

Re: Any success stories for HAST + ZFS?

2011-04-02 Thread Pawel Jakub Dawidek
x27;m not > chasing a dead rabbit. I just committed a fix for a problem that might look like a deadlock. With trociny@ patch and my last fix (to GEOM GATE and hastd) do you still have any issues? -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer

Re: geli(4) memory leak

2011-04-02 Thread Pawel Jakub Dawidek
gt; pbp->bio_error); > pbp->bio_completed = 0; > } > - g_destroy_bio(bp); > /* >* Write is finished, send it up. >*/ -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com pgpmtOt5nWc4N.pgp Description: PGP signature

Re: buildworld FAIL.

2011-04-26 Thread Pawel Jakub Dawidek
+++ sbin/hastd/hast_proto.c (working copy) > @@ -69,7 +69,9 @@ struct hast_pipe_stage { > > static struct hast_pipe_stage pipeline[] = { > { "compression", compression_send, compression_recv }, > +#ifdef HAVE_CRYPTO > { "checksum", checksum_send, checksum_recv } &

Re: gmirror+gjournal often makes inconsistens file systems

2011-09-09 Thread Pawel Jakub Dawidek
o tell, but it could be at least better documented. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com pgpw2NPzuXcLC.pgp Description: PGP signature

Are there any users of accelerated asymmetric cryptography?

2011-11-12 Thread Pawel Jakub Dawidek
, but whoever steps up have to be ready to test patches. 2. Use alternative way of accessing it (eg. via direct ioctl to ubsec device), at least until we start to support more cards. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD comm

Re: problems with hast

2012-02-05 Thread Pawel Jakub Dawidek
HAST_REPLICATION_ASYNC) { > + HAST_REPLICATION_ASYNC && !ISSYNCREQ(hio)) { Could you move this additional check to separate line? Thanks! -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl pgpZaHy0KpR84.pgp Description: PGP signature

Re: FreeBSD 8.1 prerelease "security.jail.mount_allowed" is broken?

2010-05-25 Thread Pawel Jakub Dawidek
t be safe. Imagine creating corrupted file system on da2s2a and mounting it. It will panic entire system, not only your jail. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgp5qyFIhUszz.pgp Description: PGP signature

Re: Freebsd 8.0 kmem map too small

2010-06-08 Thread Pawel Jakub Dawidek
s of > that, it's still adjustable in loader.conf. Why? I create vfs.zfs.zio node and create vfs.zfs.zio.use_uma sysctl to match tunable name. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.F

Re: Multiple zdevs in the root zpool?

2010-10-08 Thread Pawel Jakub Dawidek
SD doesn't have OpenSolaris limitations when it comes to booting. You can boot from multi-vdev pools, from RAIDZ1, RAIDZ2, etc. There are some comments in the code that comes from OpenSolaris and suggests otherwise, but simply ignore them. There is also one change to be merged soon, th

Re: Label question...why does ufs label vanish on mount?

2010-10-13 Thread Pawel Jakub Dawidek
fied) volume label. The class may choose to ignore the spoil event from GEOM (it is send on first open for write), but if it isn't based on autodiscovering metadata. For example the NOP class ignores this event, because it doesn't care about metadata of provider it

Re: Label question...why does ufs label vanish on mount?

2010-10-13 Thread Pawel Jakub Dawidek
On Wed, Oct 13, 2010 at 11:47:41AM +0200, Stefan Bethke wrote: > Am 13.10.2010 um 10:20 schrieb Pawel Jakub Dawidek: > > > On Tue, Oct 12, 2010 at 11:33:11PM -0700, Jeremy Chadwick wrote: > >> On Wed, Oct 13, 2010 at 08:29:06AM +0200, Stefan Bethke wrote: > >>>

Re: hast vs ggate+gmirror sychrnoisation speed

2010-10-22 Thread Pawel Jakub Dawidek
ks like might affect synchronization speed too. Previously we had > 128kB > here but this has been changed to 32Kb because it was reported about slow > synchronization with MAX_SEND_SIZE=128kB. The same restriction exists in ggate. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpQiMF7vaurm.pgp Description: PGP signature

Re: Can't build boot blocks after new GPT attributes added

2010-10-27 Thread Pawel Jakub Dawidek
of this header file. This can be easly fixed by extending CFLAGS in one of the Makefiles (which is already done in HEAD), but I'm afraid this procedure is incorrect (and never was correct). Apart from including wrong files it also links to wrong libraries, etc. The proper way is to: #

Re: Can't build boot blocks after new GPT attributes added

2010-10-27 Thread Pawel Jakub Dawidek
rk for the case that your source tree does not match your installed > > world. > > But this doesn't appear to be the case here: [...] Because you don't have toolchain built. Once you buildworld you can do that. All in all, the safest and most recommended way is to just use bu

Re: hast vs ggate+gmirror sychrnoisation speed

2010-10-28 Thread Pawel Jakub Dawidek
e sent from another thread. Could you try turning them off in primary.c and see if that helps? -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes,

Re: hast vs ggate+gmirror sychrnoisation speed

2010-11-01 Thread Pawel Jakub Dawidek
On Sat, Oct 30, 2010 at 03:25:56PM +0300, Mikolaj Golub wrote: > > On Thu, 28 Oct 2010 22:08:54 +0300 Mikolaj Golub wrote to Pawel Jakub Dawidek: > > PJD>> I looked at the code and the keepalive packets arbe sent from another > PJD>> thread. Could you try turning th

Re: hast vs ggate+gmirror sychrnoisation speed

2010-11-02 Thread Pawel Jakub Dawidek
On Mon, Nov 01, 2010 at 09:57:08PM +0200, Mikolaj Golub wrote: > > On Mon, 01 Nov 2010 17:06:49 +0200 Mikolaj Golub wrote: > > MG> On Mon, 1 Nov 2010 12:01:00 +0100 Pawel Jakub Dawidek wrote: > > PJD>> I like your patch and I agree of course it is better to send

Re: GELI partition mount on boot fails after 7.0 -> 7.1-PRERELEASE upgrade

2008-09-30 Thread Pawel Jakub Dawidek
Cannot access ad0s1f (error=1). Something keeps ad0s1f open, so geli cannot access it. Could you add somewhere 'sysctl -b kern.geom.confxml' (maybe to /etc/rc.d/geli script), so we can see how keeps ad0s1f open. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PR

Re: zfs quota question

2008-10-07 Thread Pawel Jakub Dawidek
> pool/lhm available 0 - > > pool/lhm referenced 1.00M - > > pool/lhm compressratio 7.25x - Turn compression off and retry. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED]

Re: zfs quota question

2008-10-07 Thread Pawel Jakub Dawidek
On Tue, Oct 07, 2008 at 03:30:09AM -0700, Jeremy Chadwick wrote: > On Tue, Oct 07, 2008 at 12:17:55PM +0200, Pawel Jakub Dawidek wrote: > > Turn compression off and retry. > > Yep, that's the key! > > # zfs set quota=4g storage/home > # zfs set compression=off st

Re: ZFS crashes on heavy threaded environment

2008-11-17 Thread Pawel Jakub Dawidek
0 > vm.kmem_size_scale="2" > > The system is running FreeBSD/amd64 7.1-PRERELEASE equipped with 8GB of > RAM with GENERIC kernel. With new ZFS I get: Memory allocation failed:: Cannot allocate memory Is this expected? -- Pawel Jakub Dawidek

Re: MFC ZFS: when?

2008-11-29 Thread Pawel Jakub Dawidek
veryone is very welcome to try ZFS on HEAD and report results (both bad and good). The current plan is to have new ZFS in 7.2. For this to happen, some other changes have to be MFCed too, like *at() syscalls, etc. I hope this helps to understand what's going on. -- Pawel Jakub Dawidek

Re: Curious failure of ZFS snapshots

2008-11-29 Thread Pawel Jakub Dawidek
e you using? I've seen quite a few > different "non-existent"/"invalid directory" errors when using tcsh to > navigate through the .zfs/ hierarchy. Can do "cd ..", "ls .", or tab > completion when in anything under .zfs/ This was a bug

Re: Curious failure of ZFS snapshots

2008-11-29 Thread Pawel Jakub Dawidek
It's not file system on-disk structure fault, as far as I understand, because reboot fixes it. I belive it's how you access the snapshots. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD

Re: ZFS panic on RELENG_7/i386

2010-01-25 Thread Pawel Jakub Dawidek
t; #3 0xc08e95ce in zfs_fuid_create (zfsvfs=0xc65c4800, id=Unhandled dwarf > expression opcode 0x93 > ) > at > /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_fuid.c:591 -- Pawel Jakub Dawidek http://www.wheel.pl p...@freebsd.or

Re: ZFS hot spares

2010-03-09 Thread Pawel Jakub Dawidek
s events to devd. It should be possible to implement some scripts (or maybe reuse zfs-retire/zfs-diagnose?) to perform 'zpool replace' when disk disappears, etc. This shouldn't be very hard modulo bugs in FreeBSD/ZFS as this functionality, because unused, wasn'

Re: Many processes stuck in zfs

2010-03-09 Thread Pawel Jakub Dawidek
er diagnose? What kind of hardware do you have there? There is 3-way deadlock I've a fix for which would be hard to trigger on single or dual core machines. Feel free to try the fix: http://people.freebsd.org/~pjd/patches/zfs_3way_deadlock.patch -- Pawel Jakub Dawidek

Re: Many processes stuck in zfs

2010-03-09 Thread Pawel Jakub Dawidek
On Tue, Mar 09, 2010 at 01:57:07PM +0100, Borja Marcos wrote: > > On Mar 9, 2010, at 1:29 PM, Pawel Jakub Dawidek wrote: > > > On Tue, Mar 09, 2010 at 10:15:53AM +0100, Stefan Bethke wrote: > >> Over the past couple of months, I've more or less regularly observed

Re: Many processes stuck in zfs

2010-03-10 Thread Pawel Jakub Dawidek
ot. Once the deadlock occur, enter DDB and send me the output of: ps show alllocks show lockedvnods show allchains alltrace Thanks. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://ww

Re: Many processes stuck in zfs

2010-03-10 Thread Pawel Jakub Dawidek
see any console output mechanism. You should be able to use text dumps to capture output of those commands on panic. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpDWmgFdBBAn.pgp Description: PGP signature

Re: Many processes stuck in zfs

2010-03-10 Thread Pawel Jakub Dawidek
On Wed, Mar 10, 2010 at 04:12:36PM +0100, Borja Marcos wrote: > > On Mar 10, 2010, at 12:02 PM, Pawel Jakub Dawidek wrote: > > > Once the deadlock occur, enter DDB and send me the output of: > > > > ps > > show alllocks > >

Re: Many processes stuck in zfs

2010-03-10 Thread Pawel Jakub Dawidek
On Wed, Mar 10, 2010 at 07:42:43PM +0200, Andriy Gapon wrote: > on 10/03/2010 19:31 Pawel Jakub Dawidek said the following: > > This should be impossible. If we are that deep in zfsvfs_teardown(), it > > means > > that we hold the z_teardown_lock exclusively. And we

Re: proliant server lockups with freebsd-amd64-stable (2010-03-10)

2010-03-12 Thread Pawel Jakub Dawidek
em as potential ZFS bug. It turned out to be bug in ciss(4) and I believe mav@ (CCed) has fix for that. -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes

Re: Freebsd 8.0 kmem map too small

2010-05-05 Thread Pawel Jakub Dawidek
is causing your problems? Could you try 8-STABLE kernel from before r206815? -- Pawel Jakub Dawidek http://www.wheelsystems.com p...@freebsd.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgptmoGQAAce1.pgp Description: PGP signature

Re: 7.0-RC1 - ZFS + UFS + io activity show a deadlock

2008-02-01 Thread Pawel Jakub Dawidek
d/patches/zgd_done.patch This patch is wrong, why do you use it in the first place? -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpVkS6s6ba90.pgp Description: PGP signature

Re: Reliably trigger-able ZFS panic

2008-03-03 Thread Pawel Jakub Dawidek
les/zfs/../../contrib/opensolaris/uts/common/zmod/deflate.c:318 Can you send me your FS configuration? zfs get all your/file/system I see that you use compression on this dataset? -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED]

Re: ZFS on root and disk write caching.

2008-05-29 Thread Pawel Jakub Dawidek
ki states that we may encounter problems > with more than one pool in use : is it still the case ? AFAIK it was never the case. Where did you find that information exactly? I've two systems that have more than one pool configured and never had any problems. -- Pawel Jakub Dawidek

Re: ZFS on root and disk write caching.

2008-05-29 Thread Pawel Jakub Dawidek
You may have a pool with no redundancy at all for unimportant data, then you can have another pool with RAIDZ2 for more important data and at the end mirrored pool on top of encrypted disks for secret data. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED]

Re: Analysis of disk file block with ZFS checksum error

2008-05-29 Thread Pawel Jakub Dawidek
ou observe is either a misdirected read/write (you asked to read/write sector X, but the data was read from or wrote to sector Y) or a phantom write (you asked to write, but the data never reach the disk, so you have old data there). -- Pawel Jakub Dawidek http://www.wheel.

Re: ZFS on root and disk write caching.

2008-05-30 Thread Pawel Jakub Dawidek
On Thu, May 29, 2008 at 01:58:21PM +0200, Arnaud Houdelette wrote: > Pawel Jakub Dawidek a écrit : > >On Wed, May 21, 2008 at 03:00:41PM +0200, Arnaud Houdelette wrote: > >>3. I'd like to keep the storage pool (zraid1) separated from the system > >>pool (just on

Re: Lenovo Thinkpad t61p and FreeBSD?

2008-06-03 Thread Pawel Jakub Dawidek
river limitation I can't run amd64 or PAE. > I'm also having issues with the DVD reader on the machine. I'm mainly > curious to know if anyone else is having these problems, and if anyone > has comments about the hardware in general. I haven't tried DV

Re: Panic on ZFS startup after crash

2008-07-19 Thread Pawel Jakub Dawidek
eft the intent > log in an inconsistent state and that ZFS panics on startup due to badly > formatted data in the intent log. > > Is there any way I can recover this pool? Can you try this patch? http://people.freebsd.org/~pjd/patches/space_map.c.patch -- Pawel Jak

Re: Panic on ZFS startup after crash

2008-07-21 Thread Pawel Jakub Dawidek
On Mon, Jul 21, 2008 at 12:29:54AM +0200, Daniel Eriksson wrote: > Pawel Jakub Dawidek wrote: > > > Can you try this patch? > > > > http://people.freebsd.org/~pjd/patches/space_map.c.patch > > Now it panics (solaris assert) at line 431 in dmu.c. I'll try t

Re: Panic on ZFS startup after crash

2008-07-21 Thread Pawel Jakub Dawidek
On Mon, Jul 21, 2008 at 11:02:36AM +0200, Pawel Jakub Dawidek wrote: > On Mon, Jul 21, 2008 at 12:29:54AM +0200, Daniel Eriksson wrote: > > Pawel Jakub Dawidek wrote: > > > > > Can you try this patch? > > > > > > http://people.freebsd.org/~pjd/patche

Re: Panic on ZFS startup after crash

2008-07-21 Thread Pawel Jakub Dawidek
On Mon, Jul 21, 2008 at 03:49:24PM +0200, Daniel Eriksson wrote: > Pawel Jakub Dawidek wrote: > > > I'm afraid your pool's metadata is > > somehow corrupted that ZFS can't handle that. > > Yes, that's my conclusion also. It looks like the intent lo

Re: Panic on ZFS startup after crash

2008-07-21 Thread Pawel Jakub Dawidek
On Mon, Jul 21, 2008 at 03:51:56PM +0200, Pawel Jakub Dawidek wrote: > On Mon, Jul 21, 2008 at 03:49:24PM +0200, Daniel Eriksson wrote: > > Pawel Jakub Dawidek wrote: > > > > > I'm afraid your pool's metadata is > > > somehow corrupted that ZFS

Re: Panic on ZFS startup after crash

2008-07-22 Thread Pawel Jakub Dawidek
gt; statement ? There might be some small differences, but the patches I provide here will apply to 7.0-RELEASE, 7-STABLE and 8-CURRENT. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer

Re: [HEADSUP] zfs root pool mounting

2012-12-01 Thread Pawel Jakub Dawidek
has been bothering me ever since, there was no way (and I tried) to re route > it. I believe zpool.cache is not required only for root pool anymore and that you still need it if you want non-root pools to be automatically configured after reboot. Am I right, Andriy? Zpool.cache basically t

Re: Crashed gmirror, single disk marked SYNC and wont boot...

2007-08-21 Thread Pawel Jakub Dawidek
. SYNCHRONIZING means that this component was/is being synchronized. It seems that you removed/lost the master disk, while it was synchronizing. It should work anyway. BTW. You confuse things again. Your slice is just fine (ad6s1), you don't have partitions, AFAIU. All in all, your partition

Re: ZFS deadlock ?

2007-11-10 Thread Pawel Jakub Dawidek
.org/~pjd/patches/zgd_done.patch -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpJHYGJwsy6i.pgp Description: PGP signature

Re: ZFS deadlock ?

2007-11-10 Thread Pawel Jakub Dawidek
On Sat, Nov 10, 2007 at 12:39:27PM +0100, Henri Hennebert wrote: > Pawel Jakub Dawidek wrote: > >On Fri, Nov 09, 2007 at 05:37:00PM +0100, Henri Hennebert wrote: > >>hello > >> > >>To push zfs, I launch 2 scrub at the same time, after ~20 seconds the > >

Re: ZFS root File System

2009-02-27 Thread Pawel Jakub Dawidek
usr/src (zfs, local, noatime) system/var/log on /var/log (zfs, local, noatime) system/var/tmp on /var/tmp (zfs, local, noatime, nosuid) puppet:root:~# swapctl -l Device: 1024-blocks Used: /dev/mirror/swap.eli4194300 0

Re: RELENG_7/i386: ZFS constant panic on file system writes

2009-04-07 Thread Pawel Jakub Dawidek
hen I try to access the directory containing this file. Could you try running 'zpool scrub' on this pool? Nothing better comes to my mind, it looks like some kind of internal inconsistency and hopefully scrub will be able to find it. Could you also show 'zpool status' outpu

Re: gstripe problem

2009-07-30 Thread Pawel Jakub Dawidek
8-BETA1 is amd64 and core 2 quad cpu. > > any hints ? 'gstripe create' command doesn't store any metadata, it creates temporary device (see Type: MANUAL). If you want your stripe to show up after reboot, the command you're looking for is 'gstripe label'. -- P

Re: zfs kernel panic

2009-09-08 Thread Pawel Jakub Dawidek
ny further hints what might cause the > crash? I copied the files again, but this time everything went fine. If this is amd64, add vm.kmem_size="4G" to your loader.conf back. -- Pawel Jakub Dawidek http://www.wheel.pl p...@freebsd.org

Re: zfs kernel panic

2009-09-09 Thread Pawel Jakub Dawidek
On Wed, Sep 09, 2009 at 09:07:15AM +0200, Gerrit Kühn wrote: > On Tue, 8 Sep 2009 18:44:13 +0200 Pawel Jakub Dawidek > wrote about Re: zfs kernel panic: > > PJD> If this is amd64, add vm.kmem_size="4G" to your loader.conf back. > > What about vm.kmem_size_max?

Re: zfs kernel panic

2009-09-09 Thread Pawel Jakub Dawidek
On Wed, Sep 09, 2009 at 07:41:08PM +1000, Danny Carroll wrote: > On 9/09/2009 6:33 PM, Pawel Jakub Dawidek wrote: > >On Wed, Sep 09, 2009 at 09:07:15AM +0200, Gerrit Kühn wrote: > > > >>On Tue, 8 Sep 2009 18:44:13 +0200 Pawel Jakub Dawidek > >>wrote about Re: zf

Re: glabel+gmirror (8.0-RC1 problem)

2009-09-28 Thread Pawel Jakub Dawidek
o the kernel before and now is loaded as module or something similar? Could you test this patch: http://people.freebsd.org/~pjd/patches/improved_taste.patch -- Pawel Jakub Dawidek http://www.wheel.pl p...@freebsd.org http://www.FreeBSD

Re: glabel+gmirror (8.0-RC1 problem)

2009-09-28 Thread Pawel Jakub Dawidek
On Mon, Sep 28, 2009 at 08:37:56PM +0200, Oliver Lehmann wrote: > Hi Pawel, > > Pawel Jakub Dawidek wrote: > > > Does anything change between you upgrade from BETA3 and RC1? For example > > gmirror was compiled into the kernel before and now is loaded as module

Re: glabel+gmirror (8.0-RC1 problem)

2009-10-09 Thread Pawel Jakub Dawidek
ut journaling at all (which hurts on a 2.7TB partition when the > system was not cleanly shut down) I just committed the patch. Yes, it should fix gjournal case as well. I want to merge it before 8.0-RELEASE. -- Pawel Jakub Dawidek http://www.wheel.pl p...@freebsd.org

Re: graid3 rebuild panic: mb_dtor_pack: ext_size != MCLBYTES

2006-07-07 Thread Pawel Jakub Dawidek
d on google and > didn't find much. > > panic: mb_dtor_pack: ext_size != MCLBYTES Could you tell me which FreeBSD version do you use? Can I reproduce it somehow? -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.

Re: graid3 configure on 6 stable

2006-07-07 Thread Pawel Jakub Dawidek
anks for the report, I fixed it in HEAD and I'm going to MFC the fix in three days. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpVeRzJYEHjY.pgp Description: PGP signature

Re: gmirror problems

2006-07-25 Thread Pawel Jakub Dawidek
that disk back and running camcontol rescan > all - bring it back > to panic... so, i cannot use this disk anymore (i know, that i can rewrite > it's last sector on machine without GEOM compiled into the kernel) I you want me to help with this one, you need to

Re: geom_mirror problem.

2006-08-07 Thread Pawel Jakub Dawidek
280 > Trying to mount root from ufs:/dev/mirror/gm0s3 > > So, can somebody help me to solve this problem. This is not an error, but a warning. This is not geom_mirror problem, but geom_bsdlabel issue. And it's harmless:) -- Pawel Jakub Dawidek

Re: gjournal questions

2006-09-01 Thread Pawel Jakub Dawidek
urnal > newfs -U -L "scr10" /dev/da4.journal > > so 1 -8 G journal for each data device. Hmm, using SU with gjournal is really bad choice and you didn't tell file system that it is on gjournaled device. Try: # newfs -J -L scr0X /dev/daX.journal -- Pawel Jakub Da

Re: gjournal questions

2006-09-01 Thread Pawel Jakub Dawidek
isable SU and turn on gjournal? Without "renewfsing" you could do on an unmounted file system: # tunefs -n disable -J enable /dev/daX.journal -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org F

Re: gjournal questions

2006-09-01 Thread Pawel Jakub Dawidek
( > error=35). It happens sometimes under load, haven't investigated yet what exactly is happening, but you can ignore it for now, it's harmless, it just means journal switch will be done a bit later. BTW. 8GB for journals is much. You should not need more than 2GB p

Re: FAST_IPSEC + device padlock + device crypto + IKE broken?

2006-09-05 Thread Pawel Jakub Dawidek
t net.inet.ipsec.crypto_support=0 these same dynamic ike key > configurations work, albeit without HW crypto accelleration. > > Has anyone else observed this and know what the problem is? Is this after my recent padlock(4) update in RELENG_6? -- Pawel Jakub Dawid

Re: gmirror RAID-1: rebuilding freezes machine

2006-09-09 Thread Pawel Jakub Dawidek
;, 'synchronization of component X in Y finished', etc. which could be helpful for such a daemon. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgppPnabptqya.pgp Description: PGP signature

Re: gjournal and Softupdates

2006-09-13 Thread Pawel Jakub Dawidek
and those are not always valid today > > I think journaling relies on the same assumptions. Not gjournal, because it uses BIO_FLUSH I/O requests which flushes disk write cache when needed. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED]

Re: ARRRRGH! Guys, who's breaking -STABLE's GMIRROR code?!

2006-09-13 Thread Pawel Jakub Dawidek
y mistake, just trying to show how you can avoid such bad days in the future. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpSmq7KzBDhd.pgp Description: PGP signature

Re: gjournal and Softupdates

2006-09-13 Thread Pawel Jakub Dawidek
On Wed, Sep 13, 2006 at 05:28:49PM +0200, Teufel wrote: > Pawel Jakub Dawidek wrote: > >>>- todays desktop drives can lie about writing data. SoftUpdates relies > >>>on some assumptions about when the data is physically written to > >>>media, and those are n

Re: ARRRRGH! Guys, who's breaking -STABLE's GMIRROR code?!

2006-09-13 Thread Pawel Jakub Dawidek
On Wed, Sep 13, 2006 at 11:15:04AM -0700, Gary Kline wrote: > On Wed, Sep 13, 2006 at 04:46:05PM +0200, Pawel Jakub Dawidek wrote: > > On Sat, Sep 09, 2006 at 12:38:13PM -0500, Karl Denninger wrote: > > > This is not cool folks. > > > > I'm really sorry fo

Re: RELENG_6_1 panic, possibly gmirror related

2006-09-29 Thread Pawel Jakub Dawidek
ance to build debugging kernel > there, but will do that on similar test machine. > > Before I dig for it, maybe it's known issue? Never heard of it, so please provide some more info. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED]

Re: ggated not working on 6.2-PRERELEASE

2006-10-30 Thread Pawel Jakub Dawidek
;> when I backout sys/kern/uipc_socket2.c rev. 1.147.2.7. > > > > I will try to reproduce that here. > > I can confirm that it works for me too with the above mentioned change > backed out. This was ggate bug. I committed fix to HEAD and will MFC it in one week. Thank you! --

Re: serious networking (em) performance (ggate and NFS) problem

2004-11-18 Thread Pawel Jakub Dawidek
ugh*): [...] I done some test in the past with ggate and PCI64/GBit NICs and I get ~38MB/s AFAIR. Remember that when using 32bit PCIs you can get transfer about 500Mbit/s. Please run those test with netperf (/usr/ports/benchmarks/netperf) and send results. -- Pawel Jakub Dawidek

Re: graid3 not working on partitions

2004-11-24 Thread Pawel Jakub Dawidek
create labels once again and leave the last sector on da1s1 unused, so da1s1 and da1s1a don't end at the same offset. -- Pawel Jakub Dawidek http://www.FreeBSD.org [EMAIL PROTECTED] http://garage.freebsd.pl FreeBSD committer

Re: graid3 not working on partitions

2004-11-24 Thread Pawel Jakub Dawidek
On Wed, Nov 24, 2004 at 10:57:08AM +0100, Michael Reifenberger wrote: +> On Wed, 24 Nov 2004, Pawel Jakub Dawidek wrote: +> ... +> >The thing you have to avoid (probably it should be more clear in the +> >manual page) is to allow providers to share the same last sector. +> &

Re: graid3 not working on partitions

2004-11-24 Thread Pawel Jakub Dawidek
or size and use metadata for this. You can use gnop(8) to do it, but NOP class doesn't use on-disk metadata, so it will not be visible after a reboot. -- Pawel Jakub Dawidek http://www.FreeBSD.org [EMAIL PROTECTED] http://garage.freebsd.pl F

Re: graid3 - requirements or manpage wrong?

2004-11-24 Thread Pawel Jakub Dawidek
se we want sectorsize to be power of 2 (UFS needs it). In RAID3 we want to send every I/O request to all components at once, that's why we need sector size to be N*512, where N is a power of 2 value AND because graid3 uses one parity component we need N+1 providers. -- Pawel Jakub Dawidek

Re: ggated, dvd+rw, atapicam problem

2004-12-27 Thread Pawel Jakub Dawidek
has two atapi cd +> drives on a promise card, which cuases the system to hardlock if any +> atapi drives are found hooked up to a promise controller. GEOM Gate can send only I/O requests, it cannot forward ioctls. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTE

Re: Questions about GEOM and MIRROR

2004-12-27 Thread Pawel Jakub Dawidek
+> f: 164620971 31457444.2BSD 2048 16384 28552 +> +> # bsdlabel -B /dev/mirror/precious +> bsdlabel: Geom not found +> +> What does this error mean? It could mean, that there is no such device. Hard to say, as I can't reproduce it here - 'bsdlabel -B' wo

Re: mbuf leak in bpf.c

2004-12-27 Thread Pawel Jakub Dawidek
mitted to HEAD, thanks! -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgp7ufDAkrjsR.pgp Description: PGP signature

Re: GMIRROR can be destroyed by ordinary users

2005-01-08 Thread Pawel Jakub Dawidek
On Sat, Jan 08, 2005 at 04:33:14PM +0100, Simon L. Nielsen wrote: +> I'm not really sure it is expected that you can do that when being in +> the operator group. Yes. If you want to change it you should do: # chmod 600 /dev/geom.ctl -- Pawel Jakub Dawidek

Re: Hardcoding gmirror provider [was Re: Problem with migrating...]

2005-02-06 Thread Pawel Jakub Dawidek
+> +> and +> +> Freesbie 1.1 It happens because ad0 and ad0s1 share the same last sector. To fix this you should use '-h' option as you did or you should recreate ad0s1 slice one sector smaller. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PRO

Re: Hardcoding gmirror provider

2005-02-22 Thread Pawel Jakub Dawidek
problem if gmirror, gstripe etc. placed metadata at +> the start of the provider, like God intended, instead of at the end. You won't be able to boot from the mirror then. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED]

Re: Hardcoding gmirror provider

2005-02-22 Thread Pawel Jakub Dawidek
On Wed, Feb 23, 2005 at 12:47:28AM +0100, Pawel Jakub Dawidek wrote: +> On Tue, Feb 22, 2005 at 09:29:38PM +0100, Dag-Erling Sm?rgrav wrote: +> +> George Hartzell <[EMAIL PROTECTED]> writes: +> +> > I just skimmed through your comment about hardcoding the provider name

Re: Hardcoding gmirror provider

2005-02-23 Thread Pawel Jakub Dawidek
On Wed, Feb 23, 2005 at 10:32:01AM +0100, Dag-Erling Sm?rgrav wrote: +> Pawel Jakub Dawidek <[EMAIL PROTECTED]> writes: +> > ...and metadata at the begining of the provider still doesn't fix 'c' +> > partition problem and 'a' partition which start

Re: Hardcoding gmirror provider

2005-02-23 Thread Pawel Jakub Dawidek
On Wed, Feb 23, 2005 at 10:27:09AM +0100, Dag-Erling Sm?rgrav wrote: +> Pawel Jakub Dawidek <[EMAIL PROTECTED]> writes: +> > On Tue, Feb 22, 2005 at 09:29:38PM +0100, Dag-Erling Sm?rgrav wrote: +> > > George Hartzell <[EMAIL PROTECTED]> writes: +> > > >

Re: gmirror over ggate{d,c}

2005-02-28 Thread Pawel Jakub Dawidek
M_MIRROR: Device data: rebuilding provider ggate0 stopped. +> +> First node -- 5.3-STABLE. Second -- 5.3-RELEASE. +> +> Any ideas? +> May be some enhanced information needed? Please set kern.geom.gate.debug sysctl to 1, rerun your test and send console output. -- Pawel Jakub Da

Re: gmirror over ggate{d,c}

2005-03-05 Thread Pawel Jakub Dawidek
of all, can you increase buffers: net.inet.tcp.sendspace=4194304 net.inet.tcp.recvspace=4194304 kern.ipc.maxsockbuf=2097152 And run ggated and ggatec with '-R 1048576 -S 1048576'? -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED]

Re: dumpon and gmirror = ioctl(DIOCSKERNELDUMP): Operation not supported

2005-03-24 Thread Pawel Jakub Dawidek
ed +> +> It's possible to use dumpon with gmirror disk? Any patch? No, you cannot dump on GEOM providers such as gmirror's provider, because GEOM needs context switching. You can try to dump on one of the mirror components (the one with the biggest priority). -- Pawe

Re: HEADS UP: Re: FreeBSD Security Advisory FreeBSD-SA-07:01.jail

2007-01-13 Thread Pawel Jakub Dawidek
ce the jail is running. There could be a race where `realpath -c` returns one path, an attacker inside a jail changes one of resolved path's component and rc.d/jail from outside a jail tries to use it. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! pgpSbbFVrYgiw.pgp Description: PGP signature

Re: Improving FreeBSD-SA-07:01.jail fix [was: HEADS UP: Re: FreeBSD Security Advisory FreeBSD-SA-07:01.jail]

2007-01-20 Thread Pawel Jakub Dawidek
ree that console.log should be outside a jail. At least noone proposed safe solution so far, which also means it's not an easy fix. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer

Re: Improving FreeBSD-SA-07:01.jail fix [was: HEADS UP: Re: FreeBSD Security Advisory FreeBSD-SA-07:01.jail]

2007-01-23 Thread Pawel Jakub Dawidek
On Sat, Jan 20, 2007 at 03:24:23PM +0100, Alexander Leidinger wrote: > Quoting Pawel Jakub Dawidek <[EMAIL PROTECTED]> (Sat, 20 Jan 2007 14:03:08 > +0100): > > > I fully agree that console.log should be outside a jail. At least noone > > proposed safe solution so far

  1   2   >