data,
necessary to fix it is in the journal, but you cannot access the journal
because the file, which contains the journal, is on a corrupted fs?
You should better ask at the geom mailing list.
--
Vasil Dimov
[EMAIL PROTECTED]
%
Everything should be made as simple as possible, but not simpler
rently I have 2 mirrors and after a
crash just one of them is rebuild because the other one is rarely used.
--
Vasil Dimov
[EMAIL PROTECTED]
%
Shaw's Principle:
Build a system that even a fool can use, and only a fool will
want to use it.
pgprkzevUK6QY.pgp
Description: PGP signature
return (-1);
709 }
710
711 if ((opts->rtsc_m1 < opts->rtsc_m2 && opts->rtsc_m1 != 0) ||
712 (opts->rtsc_m1 < opts->rtsc_m2 && opts->rtsc_m1 != 0) ||
713 (opts->rtsc_m1 < opts->rtsc_m2 && opts->rtsc_m1 != 0)) {
71
er by writing a fool-proof software. To me the beauty of Unixes is
that they are _not_ fool-proof, e.g. your are holding a real gun, you
should be carefull not to point it to your head and pull the trigger.
--
Vasil Dimov
[EMAIL PROTECTED]
%
Shaw's Principle:
Build a system that even a fool can use, and only a fool will
want to use it.
pgpBTvTYbAucH.pgp
Description: PGP signature
's exactly the opposite. While the one is constantly reading disk
contents the other is constantly compressing. With one process you have
to read data, compress, read data, compress and so on which is
suboptimal (see Mike's reply too).
It is not a problem in any program nor a feat
> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
> >
> Hum, I was probably wrong about the free memory threshold - it
> currently has ~1600MB of free and it is doing it again. When the free
> memory falls under ~30MB it is just doing it more frequently.
>
If y
OS, so for portability I'll stick to
> the pthread_sigmask in threads, and sigprocmask in single threaded apps.
>
For portability you should stick to the standards.
Good luck!
--
Vasil Dimov
[EMAIL PROTECTED]
Testing can show the presence of bugs, but not their absence.
-- Edsger W. Dijkstra
pgpwZHQNWp4He.pgp
Description: PGP signature
ur test on my mirror gstat shows read and write activity,
but the reading dd quits very soon, because reading appears to be faster
than writing.
I would suggest that you write to one file and read from another file
when you do the parallel test.
Just a hint: for the write test you should better use /dev/zero instead
of /dev/ad0 - ``dd if=/dev/zero of=/home/test.data bs=4m'' for obvious
reasons.
--
Vasil Dimov
[EMAIL PROTECTED]
Testing can show the presence of bugs, but not their absence.
-- Edsger W. Dijkstra
pgpwJYZwChR4y.pgp
Description: PGP signature
(where ad0 is your disk with data and ad1 is your new disk, make sure
you do not swap them :)
--
Vasil Dimov
[EMAIL PROTECTED]
Testing can show the presence of bugs, but not their absence.
-- Edsger W. Dijkstra
___
freebsd-hackers@
an mount the ad1a, ad1d, ad1f, and ad1g partitions just
> fine, it's the ad1e partition only that is giving me the grief and that's
> the one i need!
> Thanks.
> Dave.
>
dd if=/dev/ad1 of=file bs=1m
mdconfig -a -t vnode -f file
mdX gets outputed, then you can play with
irectory of the mounted
filesystem. You may also notice that the owner/group and permissions
"had changed".
--
Vasil Dimov
pgppAQRgIt0Zp.pgp
Description: PGP signature
d 00316 fwd x.x.x.x.204,80 tcp from any to x.x.x.28 80
>
> what's wrong with it?
>
I suggest that you read *carefully* ipfw(8) and rewrite your rule to:
00316 fwd x.x.x.x.28,80 tcp from any to x.x.x.204 80
Good luck!
--
Vasil Dimov
pgpHrDtEl1UnX.pgp
Description: PGP signature
using world and kernel, compiled with -O2 instead
of -g, and yet 10% more speedup when removing J option from
malloc.conf(3).
--
Vasil Dimov
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe
On Wed, Sep 07, 2005 at 07:32:41PM -0400, Kris Kennaway wrote:
> On Wed, Sep 07, 2005 at 09:46:43PM +0300, Vasil Dimov wrote:
> > Unread portion of the kernel message buffer:
> > panic: kmem_malloc(4096): kmem_map too small: 40886272 total allocated
>
> This indicates you
Hi, all
I have submitted a PR for this (kern/85809), but I guess someone on this
list may have some explanation:
After adding:
options WITNESS
options INVARIANTS
options INVARIANT_SUPPORT
options MUTEX_DEBUG
to my kernel config (for bug hunting, related to disk io-
On Tue, Aug 16, 2005 at 03:10:34PM +0200, Joost Bekkers wrote:
> On Tue, Aug 16, 2005 at 04:51:15PM +0400, Dmitry Agaphonov wrote:
> > Hello,
> >
> >
> > I have user A from group G creating shared memory M with permissions
> > 0060. After this, A fails to attach M due to permission denied.
> > H
On Mon, Aug 15, 2005 at 11:41:09PM -0700, Patrick Dung wrote:
> Hi
>
> We are using an old backup product which can only backup files < 2GB.
> Now we have a mysql file > 2GB. The backup product refuse to backup
> that file.
>
> So, whats the alternatives to perform backup for this situation?
> Th
On Sat, Aug 06, 2005 at 09:49:36PM +1000, Peter Jeremy wrote:
>
...
> scratch with different CPUTYPE and/or CFLAGS? (I'm currently using
> CPUTYPE=athlon-xp and CFLAGS=-O -g).
Hmmz, CFLAGS=-O -g, what do you expect from this combination?
gcc(1):
Without `-O', the compiler's goal is to reduce the
On Tue, Aug 02, 2005 at 02:38:36PM +0300, Giorgos Keramidas wrote:
> On 2005-08-02 14:05, Vasil Dimov <[EMAIL PROTECTED]> wrote:
> >On Tue, Aug 02, 2005 at 12:33:48PM +0300, Giorgos Keramidas wrote:
> >>On 2005-08-02 09:29, Vasil Dimov <[EMAIL PROTECTED]> wrote:
>
On Tue, Aug 02, 2005 at 01:15:35PM +0200, Joerg Sonnenberger wrote:
> On Tue, Aug 02, 2005 at 02:06:32PM +0300, Vasil Dimov wrote:
> > On Tue, Aug 02, 2005 at 12:52:34PM +0200, Dario Freni wrote:
> > > Vasil Dimov wrote:
> > > > Even we can use
> > > > i
On Tue, Aug 02, 2005 at 12:52:34PM +0200, Dario Freni wrote:
> Vasil Dimov wrote:
> > Even we can use
> > if [ -d /tmp -a -w /tmp ] ; then
> > or (which is equivalent)
> > if [ -d /tmp ] && [ -w /tmp ] ; then
> > and save external commands (mkdir) executi
On Tue, Aug 02, 2005 at 12:33:48PM +0300, Giorgos Keramidas wrote:
> On 2005-08-02 09:29, Vasil Dimov <[EMAIL PROTECTED]> wrote:
> > > --- /etc/rc.d/tmp.orig Mon Aug 1 23:20:24 2005
> > > +++ /etc/rc.d/tmp Mon Aug 1 23:22:07 2005
> > &
On Mon, Aug 01, 2005 at 11:37:05PM -0500, [EMAIL PROTECTED] wrote:
> Howdy hackers,
>
> I'm sorry for the previous patch, so here is at least one item that really
> bugs me that isn't obfuscation. In short, I don't see any reason to fork
> some process to simply "touch" a file (is a filesystem wri
On Fri, Jul 15, 2005 at 12:41:48PM +0300, Peter Pentchev wrote:
> On Fri, Jul 15, 2005 at 09:44:35AM +0300, Vasil Dimov wrote:
> > On Thu, Jul 14, 2005 at 09:55:16AM -0400, John Von Essen wrote:
> > > Boot with 1st CD, goto the Fixit Shell (will need 2nd CD). From there you
>
On Thu, Jul 14, 2005 at 09:55:16AM -0400, John Von Essen wrote:
> Boot with 1st CD, goto the Fixit Shell (will need 2nd CD). From there you
> have to manually mount the / filesystem and edit passwd (just clear out
> the passwd, root::). However, do an fsck on the device first (you may have
> to reb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
>
> But I'd like to ask if it'd theoretically be possible to create the RAID1
> array (ar0) with only one disk and add the second one later? It'd work
> like a broken array for some time. It's just an idea :)
>
Find some unused disk, plug it into t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Thu, Jul 07, 2005 at 10:39:42AM +0200, Simon 'corecode' Schubert wrote:
> Lately Vasil Dimov <[EMAIL PROTECTED]> said:
> > > 1) Does the fact that the linker does not realize that the libraries
> > > have alr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Wed, Jul 06, 2005 at 10:29:20AM -0600, Tom Schutter wrote:
> On 7/5/05, Vasil Dimov <[EMAIL PROTECTED]> wrote:
> > On Tue, Jul 05, 2005 at 03:55:26PM -0600, Tom Schutter wrote:
> > > I am having problems linking i
On Tue, Jul 05, 2005 at 03:55:26PM -0600, Tom Schutter wrote:
> I am having problems linking in the Java JVM libraries (libjava.so,
> libverify.so, libjvm.so) into my executable.
>
> With these options added to my gcc command:
> -L/usr/local/jdk1.4.2/jre/lib/i386 -ljava -lverify
> -L/usr/local/j
On Fri, Jul 01, 2005 at 05:11:40PM +0800, shiner chen wrote:
> I want to establish a web-cluster.Now i face with the problem how to
> configure the virtual ip in back-end server and how to ignore the arp
> request to virtual ip of back-end server. who can tell me ? please detail
> it !thanks
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Sun, Jun 26, 2005 at 11:27:02AM +0300, Vasil Dimov wrote:
>
> Can anyone explain this:
>
> % sh -ec 'f() { return 5 ; } ; if f ; then echo tt ; else echo ff ; fi'
> ff
> % sh -ec 'f() { return 5 ; : ; } ; if f ;
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Can anyone explain this:
% sh -ec 'f() { return 5 ; } ; if f ; then echo tt ; else echo ff ; fi'
ff
% sh -ec 'f() { return 5 ; : ; } ; if f ; then echo tt ; else echo ff ; fi'
% echo $?
5
If any commands appear after the return statement in a functi
32 matches
Mail list logo