Re: geom mirror now rebuilding on every reboot?

2012-08-14 Thread Gavin Atkinson
On Mon, 2012-08-06 at 08:34 -0700, Maksim Yevmenkin wrote:
 Michael,
 
  Something in -current and recently MFC'd to -stable is causing all of my
  gmirror drives to rebuild on reboot :-(
 
  Being remote and these being production machines, I suspect SVN r237929
  and r237930 in -current and SVN r238500 to -stable but haven't yet been
  able to prove it.
 
  Is anyone else seeing this?
 
 yes, i've seem something similar only much, much worse. one of our
 production systems completely kept loosing its gmirror volumes on
 every reboot. it looked like gmirror metadata were completely
 corrupted. rebuilding mirrors and reverting back to previous kernel
 seemed to work. someone else is tracking it down.

Have they managed to track this down to a commit or range of commits
yet?

Thanks,

Gavin

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: geom mirror now rebuilding on every reboot?

2012-08-11 Thread Michael Butler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/06/12 14:06, Gleb Smirnoff wrote:
   Michael,
 
 On Sat, Aug 04, 2012 at 12:49:49PM -0400, Michael Butler wrote:
 M Something in -current and recently MFC'd to -stable is causing all of my
 M gmirror drives to rebuild on reboot :-(
 M 
 M Being remote and these being production machines, I suspect SVN r237929
 M and r237930 in -current and SVN r238500 to -stable but haven't yet been
 M able to prove it.
 
 I'd appreciate if you test that and either confirm or disclaim that
 r238500 introduces such regression. Thanks!

I'm only home for a few hours this weekend (enough to do the laundry
before hitting the road again :-() but I did prove that disabling SUJ
and moving back to SU mitigates the problem,

imb


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (FreeBSD)

iEYEARECAAYFAlAmhXIACgkQQv9rrgRC1JLqCQCghWIHeG9m3q6qY2o4vuTqXAx1
PSkAoIKgsEfiDxJJAqni/bL2CqRBG4+D
=3fLJ
-END PGP SIGNATURE-
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


RE: geom mirror now rebuilding on every reboot?

2012-08-07 Thread Dewayne Geraghty
 -Original Message-
 From: owner-freebsd-sta...@freebsd.org 
 [mailto:owner-freebsd-sta...@freebsd.org] On Behalf Of Frank Reppin
 Sent: Tuesday, 7 August 2012 11:46 AM
 To: sta...@freebsd.org; curr...@freebsd.org
 Subject: Re: geom mirror now rebuilding on every reboot?
 
 by any chance...
 
 ... is this maybe related to my PR:
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=170038
 
 cheers,
 Frank Reppin
 
 
 --
 43rd Law of Computing:
  Anything that can go wr
 fortune: Segmentation violation -- Core dumped 
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to 
 freebsd-stable-unsubscr...@freebsd.org

Maksim, Michael,
After reading Frank's PR, would you please advise how you newfs your
devices/partitions - are you using SU+J?  
Regards, Dewayne.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: geom mirror now rebuilding on every reboot?

2012-08-07 Thread Maksim Yevmenkin
On Tue, Aug 7, 2012 at 2:22 AM, Dewayne Geraghty
dewayne.gerag...@heuristicsystems.com.au wrote:
 -Original Message-
 From: owner-freebsd-sta...@freebsd.org
 [mailto:owner-freebsd-sta...@freebsd.org] On Behalf Of Frank Reppin
 Sent: Tuesday, 7 August 2012 11:46 AM
 To: sta...@freebsd.org; curr...@freebsd.org
 Subject: Re: geom mirror now rebuilding on every reboot?

 by any chance...

 ... is this maybe related to my PR:

 http://www.freebsd.org/cgi/query-pr.cgi?pr=170038

 Maksim, Michael,
 After reading Frank's PR, would you please advise how you newfs your
 devices/partitions - are you using SU+J?

i'm not using SU+J, i.e.

# dumpfs -m /dev/mirror/prim
# newfs command for /dev/mirror/prim (/dev/mirror/prim)
newfs -O 2 -a 16 -b 65536 -d 65536 -e 8192 -f 8192 -g 16384 -h 64 -m 8
-o time -s 6291440 -t /dev/mirror/prim

# tunefs -p /dev/mirror/prim
tunefs: POSIX.1e ACLs: (-a)disabled
tunefs: NFSv4 ACLs: (-N)   disabled
tunefs: MAC multilabel: (-l)   disabled
tunefs: soft updates: (-n) disabled
tunefs: soft update journaling: (-j)   disabled
tunefs: gjournal: (-J) disabled
tunefs: trim: (-t) enabled
tunefs: maximum blocks per file in a cylinder group: (-e)  8192
tunefs: average file size: (-f)16384
tunefs: average number of files in a directory: (-s)   64
tunefs: minimum percentage of free space: (-m) 8%
tunefs: optimization preference: (-o)  time
tunefs: volume label: (-L)

thanks
max
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: geom mirror now rebuilding on every reboot?

2012-08-06 Thread Maksim Yevmenkin
Michael,

 Something in -current and recently MFC'd to -stable is causing all of my
 gmirror drives to rebuild on reboot :-(

 Being remote and these being production machines, I suspect SVN r237929
 and r237930 in -current and SVN r238500 to -stable but haven't yet been
 able to prove it.

 Is anyone else seeing this?

yes, i've seem something similar only much, much worse. one of our
production systems completely kept loosing its gmirror volumes on
every reboot. it looked like gmirror metadata were completely
corrupted. rebuilding mirrors and reverting back to previous kernel
seemed to work. someone else is tracking it down.

thanks,
max
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: geom mirror now rebuilding on every reboot?

2012-08-06 Thread Garrett Cooper
On Mon, Aug 6, 2012 at 8:34 AM, Maksim Yevmenkin
maksim.yevmen...@gmail.com wrote:
 Michael,

 Something in -current and recently MFC'd to -stable is causing all of my
 gmirror drives to rebuild on reboot :-(

 Being remote and these being production machines, I suspect SVN r237929
 and r237930 in -current and SVN r238500 to -stable but haven't yet been
 able to prove it.

 Is anyone else seeing this?

 yes, i've seem something similar only much, much worse. one of our
 production systems completely kept loosing its gmirror volumes on
 every reboot. it looked like gmirror metadata were completely
 corrupted. rebuilding mirrors and reverting back to previous kernel
 seemed to work. someone else is tracking it down.

Is this is in 9.1 -PRERELEASE, -RELEASE (or whatever the official
label is...)? If so, it seems like this would be a ship blocker.
Thanks!
-Garrett
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: geom mirror now rebuilding on every reboot?

2012-08-06 Thread Maksim Yevmenkin
On Mon, Aug 6, 2012 at 9:23 AM, Garrett Cooper yaneg...@gmail.com wrote:
 On Mon, Aug 6, 2012 at 8:34 AM, Maksim Yevmenkin
 maksim.yevmen...@gmail.com wrote:
 Michael,

 Something in -current and recently MFC'd to -stable is causing all of my
 gmirror drives to rebuild on reboot :-(

 Being remote and these being production machines, I suspect SVN r237929
 and r237930 in -current and SVN r238500 to -stable but haven't yet been
 able to prove it.

 Is anyone else seeing this?

 yes, i've seem something similar only much, much worse. one of our
 production systems completely kept loosing its gmirror volumes on
 every reboot. it looked like gmirror metadata were completely
 corrupted. rebuilding mirrors and reverting back to previous kernel
 seemed to work. someone else is tracking it down.

 Is this is in 9.1 -PRERELEASE, -RELEASE (or whatever the official
 label is...)? If so, it seems like this would be a ship blocker.

sorry. its releng_9/9-stable. gmirrors are on two ssds. we use gpt and
gmirror individual partitions, not entire disks.

thanks,
max
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: geom mirror now rebuilding on every reboot?

2012-08-06 Thread Kevin Oberman
On Mon, Aug 6, 2012 at 9:26 AM, Maksim Yevmenkin
maksim.yevmen...@gmail.com wrote:
 On Mon, Aug 6, 2012 at 9:23 AM, Garrett Cooper yaneg...@gmail.com wrote:
 On Mon, Aug 6, 2012 at 8:34 AM, Maksim Yevmenkin
 maksim.yevmen...@gmail.com wrote:
 Michael,

 Something in -current and recently MFC'd to -stable is causing all of my
 gmirror drives to rebuild on reboot :-(

 Being remote and these being production machines, I suspect SVN r237929
 and r237930 in -current and SVN r238500 to -stable but haven't yet been
 able to prove it.

 Is anyone else seeing this?

 yes, i've seem something similar only much, much worse. one of our
 production systems completely kept loosing its gmirror volumes on
 every reboot. it looked like gmirror metadata were completely
 corrupted. rebuilding mirrors and reverting back to previous kernel
 seemed to work. someone else is tracking it down.

 Is this is in 9.1 -PRERELEASE, -RELEASE (or whatever the official
 label is...)? If so, it seems like this would be a ship blocker.

 sorry. its releng_9/9-stable. gmirrors are on two ssds. we use gpt and
 gmirror individual partitions, not entire disks.

I may well be confused, but I don't understand how you can use GPT for
a single partition. Looks to me like a disk is GPT or legacy.
Declaring which is the first command when setting up a new disk.
-- 
R. Kevin Oberman, Network Engineer
E-mail: kob6...@gmail.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: geom mirror now rebuilding on every reboot?

2012-08-06 Thread Maksim Yevmenkin
On Mon, Aug 6, 2012 at 9:33 AM, Kevin Oberman kob6...@gmail.com wrote:
 On Mon, Aug 6, 2012 at 9:26 AM, Maksim Yevmenkin
 maksim.yevmen...@gmail.com wrote:
 On Mon, Aug 6, 2012 at 9:23 AM, Garrett Cooper yaneg...@gmail.com wrote:
 On Mon, Aug 6, 2012 at 8:34 AM, Maksim Yevmenkin
 maksim.yevmen...@gmail.com wrote:
 Michael,

 Something in -current and recently MFC'd to -stable is causing all of my
 gmirror drives to rebuild on reboot :-(

 Being remote and these being production machines, I suspect SVN r237929
 and r237930 in -current and SVN r238500 to -stable but haven't yet been
 able to prove it.

 Is anyone else seeing this?

 yes, i've seem something similar only much, much worse. one of our
 production systems completely kept loosing its gmirror volumes on
 every reboot. it looked like gmirror metadata were completely
 corrupted. rebuilding mirrors and reverting back to previous kernel
 seemed to work. someone else is tracking it down.

 Is this is in 9.1 -PRERELEASE, -RELEASE (or whatever the official
 label is...)? If so, it seems like this would be a ship blocker.

 sorry. its releng_9/9-stable. gmirrors are on two ssds. we use gpt and
 gmirror individual partitions, not entire disks.

 I may well be confused, but I don't understand how you can use GPT for
 a single partition. Looks to me like a disk is GPT or legacy.
 Declaring which is the first command when setting up a new disk.

i'm sorry, to make it (hopefully) clear, we are using gpt partitioning
scheme (as opposed to mbr partitioning scheme), and then use gmirror
on individual partitions, i.e. we gimirror /dev/ada0p1 and /dev/ada1p1
and not /dev/ada0 and /dev/ada1.

thanks
max
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: geom mirror now rebuilding on every reboot?

2012-08-06 Thread Garrett Cooper
On Aug 6, 2012, at 9:40 AM, Maksim Yevmenkin maksim.yevmen...@gmail.com wrote:

 On Mon, Aug 6, 2012 at 9:33 AM, Kevin Oberman kob6...@gmail.com wrote:
 On Mon, Aug 6, 2012 at 9:26 AM, Maksim Yevmenkin
 maksim.yevmen...@gmail.com wrote:
 On Mon, Aug 6, 2012 at 9:23 AM, Garrett Cooper yaneg...@gmail.com wrote:
 On Mon, Aug 6, 2012 at 8:34 AM, Maksim Yevmenkin
 maksim.yevmen...@gmail.com wrote:
 Michael,
 
 Something in -current and recently MFC'd to -stable is causing all of my
 gmirror drives to rebuild on reboot :-(
 
 Being remote and these being production machines, I suspect SVN r237929
 and r237930 in -current and SVN r238500 to -stable but haven't yet been
 able to prove it.
 
 Is anyone else seeing this?
 
 yes, i've seem something similar only much, much worse. one of our
 production systems completely kept loosing its gmirror volumes on
 every reboot. it looked like gmirror metadata were completely
 corrupted. rebuilding mirrors and reverting back to previous kernel
 seemed to work. someone else is tracking it down.
 
Is this is in 9.1 -PRERELEASE, -RELEASE (or whatever the official
 label is...)? If so, it seems like this would be a ship blocker.
 
 sorry. its releng_9/9-stable. gmirrors are on two ssds. we use gpt and
 gmirror individual partitions, not entire disks.
 
 I may well be confused, but I don't understand how you can use GPT for
 a single partition. Looks to me like a disk is GPT or legacy.
 Declaring which is the first command when setting up a new disk.
 
 i'm sorry, to make it (hopefully) clear, we are using gpt partitioning
 scheme (as opposed to mbr partitioning scheme), and then use gmirror
 on individual partitions, i.e. we gimirror /dev/ada0p1 and /dev/ada1p1
 and not /dev/ada0 and /dev/ada1.

Can you provide more helpful info like svn 
revisions?___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: geom mirror now rebuilding on every reboot?

2012-08-06 Thread Gleb Smirnoff
  Michael,

On Sat, Aug 04, 2012 at 12:49:49PM -0400, Michael Butler wrote:
M Something in -current and recently MFC'd to -stable is causing all of my
M gmirror drives to rebuild on reboot :-(
M 
M Being remote and these being production machines, I suspect SVN r237929
M and r237930 in -current and SVN r238500 to -stable but haven't yet been
M able to prove it.

I'd appreciate if you test that and either confirm or disclaim that
r238500 introduces such regression. Thanks!

-- 
Totus tuus, Glebius.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


RE: geom mirror now rebuilding on every reboot?

2012-08-06 Thread Michael Butler
Ding, ding - I use the old partitioning scheme but also mirror individual 
partitions rather than whole disks,

imb

 

-Original Message-
From: Maksim Yevmenkin maksim.yevmen...@gmail.com
Sent: Monday, 6 August 2012 12:26
To: Garrett Cooper yaneg...@gmail.com
Cc: sta...@freebsd.org; Michael Butler i...@protected-networks.net; 
curr...@freebsd.org
Subject: Re: geom mirror now rebuilding on every reboot?

On Mon, Aug 6, 2012 at 9:23 AM, Garrett Cooper yaneg...@gmail.com wrote:
 On Mon, Aug 6, 2012 at 8:34 AM, Maksim Yevmenkin
 maksim.yevmen...@gmail.com wrote:
 Michael,

 Something in -current and recently MFC'd to -stable is causing all of my
 gmirror drives to rebuild on reboot :-(

 Being remote and these being production machines, I suspect SVN r237929
 and r237930 in -current and SVN r238500 to -stable but haven't yet been
 able to prove it.

 Is anyone else seeing this?

 yes, i've seem something similar only much, much worse. one of our
 production systems completely kept loosing its gmirror volumes on
 every reboot. it looked like gmirror metadata were completely
 corrupted. rebuilding mirrors and reverting back to previous kernel
 seemed to work. someone else is tracking it down.

 Is this is in 9.1 -PRERELEASE, -RELEASE (or whatever the official
 label is...)? If so, it seems like this would be a ship blocker.

sorry. its releng_9/9-stable. gmirrors are on two ssds. we use gpt and
gmirror individual partitions, not entire disks.

thanks,
max
___
freebsd-curr...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


RE: geom mirror now rebuilding on every reboot?

2012-08-06 Thread Michael Butler
Sorry but I'm not going to be able to get to this until next w/e as I'm ~1500 
miles away from them at present :-(

 

-Original Message-
From: Gleb Smirnoff gleb...@freebsd.org
Sent: Monday, 6 August 2012 14:06
To: Michael Butler i...@protected-networks.net
Cc: curr...@freebsd.org; sta...@freebsd.org
Subject: Re: geom mirror now rebuilding on every reboot?

  Michael,

On Sat, Aug 04, 2012 at 12:49:49PM -0400, Michael Butler wrote:
M Something in -current and recently MFC'd to -stable is causing all of my
M gmirror drives to rebuild on reboot :-(
M 
M Being remote and these being production machines, I suspect SVN r237929
M and r237930 in -current and SVN r238500 to -stable but haven't yet been
M able to prove it.

I'd appreciate if you test that and either confirm or disclaim that
r238500 introduces such regression. Thanks!

-- 
Totus tuus, Glebius.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: geom mirror now rebuilding on every reboot?

2012-08-06 Thread Scott Long

On Aug 6, 2012, at 12:06 PM, Gleb Smirnoff gleb...@freebsd.org wrote:

  Michael,
 
 On Sat, Aug 04, 2012 at 12:49:49PM -0400, Michael Butler wrote:
 M Something in -current and recently MFC'd to -stable is causing all of my
 M gmirror drives to rebuild on reboot :-(
 M 
 M Being remote and these being production machines, I suspect SVN r237929
 M and r237930 in -current and SVN r238500 to -stable but haven't yet been
 M able to prove it.
 
 I'd appreciate if you test that and either confirm or disclaim that
 r238500 introduces such regression. Thanks!
 

I'm not sure how r238500 could affect what Max, myself, and presumably the 
original poster are seeing.  There's one other change in 9-stable, r235599, but 
it looks like a benign change as well.

Scott


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: geom mirror now rebuilding on every reboot?

2012-08-06 Thread Frank Reppin

by any chance...

... is this maybe related to my PR:

http://www.freebsd.org/cgi/query-pr.cgi?pr=170038

cheers,
Frank Reppin


--
43rd Law of Computing:
Anything that can go wr
fortune: Segmentation violation -- Core dumped
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


geom mirror now rebuilding on every reboot?

2012-08-04 Thread Michael Butler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Something in -current and recently MFC'd to -stable is causing all of my
gmirror drives to rebuild on reboot :-(

Being remote and these being production machines, I suspect SVN r237929
and r237930 in -current and SVN r238500 to -stable but haven't yet been
able to prove it.

Is anyone else seeing this?

imb
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (FreeBSD)

iEYEARECAAYFAlAdUqwACgkQQv9rrgRC1JIVSwCfctGE6tASTXyhW1ejHsWLTDRs
MTsAoMXqcQ3dwlurELdqm2ZBqTCCgRaR
=J/No
-END PGP SIGNATURE-
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org