Re: System deadlock when using mksnap_ffs

2008-11-14 Thread Greg Byshenk
On Thu, Nov 13, 2008 at 05:08:10PM +0100, Greg Byshenk wrote: On Wed, Nov 12, 2008 at 08:42:00PM -0800, Jeremy Chadwick wrote: The rest of the below information is good -- but I'm confused about something: is there anyone out there who can use mksnap_ffs on a filesystem (/usr is a good

Re: System deadlock when using mksnap_ffs

2008-11-13 Thread Tim Bishop
Jeremy, On Wed, Nov 12, 2008 at 08:42:00PM -0800, Jeremy Chadwick wrote: On Thu, Nov 13, 2008 at 12:41:02AM +, Tim Bishop wrote: On Wed, Nov 12, 2008 at 09:47:35PM +0200, Kostik Belousov wrote: On Wed, Nov 12, 2008 at 05:58:26PM +, Tim Bishop wrote: I run the mksnap_ffs command

Re: System deadlock when using mksnap_ffs

2008-11-13 Thread Jeremy Chadwick
On Wed, Nov 12, 2008 at 10:05:21PM -0800, Jeremy Chadwick wrote: On Wed, Nov 12, 2008 at 09:02:50PM -0800, David Wolfskill wrote: On Wed, Nov 12, 2008 at 08:42:00PM -0800, Jeremy Chadwick wrote: ... On Wed, Nov 12, 2008 at 05:58:26PM +, Tim Bishop wrote: I've been playing

Re: System deadlock when using mksnap_ffs

2008-11-13 Thread Jeremy Chadwick
On Thu, Nov 13, 2008 at 12:26:42PM +0200, Kostik Belousov wrote: On Wed, Nov 12, 2008 at 08:42:00PM -0800, Jeremy Chadwick wrote: On Thu, Nov 13, 2008 at 12:41:02AM +, Tim Bishop wrote: On Wed, Nov 12, 2008 at 09:47:35PM +0200, Kostik Belousov wrote: On Wed, Nov 12, 2008 at

Re: System deadlock when using mksnap_ffs

2008-11-13 Thread Kostik Belousov
On Thu, Nov 13, 2008 at 02:45:14AM -0800, Jeremy Chadwick wrote: On Thu, Nov 13, 2008 at 12:26:42PM +0200, Kostik Belousov wrote: On Wed, Nov 12, 2008 at 08:42:00PM -0800, Jeremy Chadwick wrote: On Thu, Nov 13, 2008 at 12:41:02AM +, Tim Bishop wrote: On Wed, Nov 12, 2008 at

Re: System deadlock when using mksnap_ffs

2008-11-13 Thread Kostik Belousov
On Wed, Nov 12, 2008 at 08:42:00PM -0800, Jeremy Chadwick wrote: On Thu, Nov 13, 2008 at 12:41:02AM +, Tim Bishop wrote: On Wed, Nov 12, 2008 at 09:47:35PM +0200, Kostik Belousov wrote: On Wed, Nov 12, 2008 at 05:58:26PM +, Tim Bishop wrote: I've been playing around with

Re: System deadlock when using mksnap_ffs

2008-11-13 Thread Greg Byshenk
On Wed, Nov 12, 2008 at 08:42:00PM -0800, Jeremy Chadwick wrote: The rest of the below information is good -- but I'm confused about something: is there anyone out there who can use mksnap_ffs on a filesystem (/usr is a good test source) and NOT experience this deadlocking problem?

Re: System deadlock when using mksnap_ffs

2008-11-13 Thread Doug Ambrisko
Kostik Belousov writes: | On Thu, Nov 13, 2008 at 02:45:14AM -0800, Jeremy Chadwick wrote: [snip] | If he can press Control-T, it means SIGINFO can be sent to the | mksnap_ffs process, and the process responds with that information. So, | the system is not deadlocked -- meaning, I

Re: System deadlock when using mksnap_ffs

2008-11-13 Thread Patrick Reich
I'll just chime in briefly. I contacted Jeremy off the list about this issue a few days ago. I have one spare box i386 sitting here that I can happily test patches against; if I can be of help, let me know. uname -a FreeBSD localhost.localdomain 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Tue

System deadlock when using mksnap_ffs

2008-11-12 Thread Tim Bishop
I've been playing around with snapshots lately but I've got a problem on one of my servers running 7-STABLE amd64: FreeBSD paladin 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #8: Mon Nov 10 20:49:51 GMT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PALADIN amd64 I run the mksnap_ffs command to take

RE: System deadlock when using mksnap_ffs

2008-11-12 Thread David Peall
-Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of Tim Bishop Sent: 12 November 2008 07:58 PM To: freebsd-stable@freebsd.org Cc: [EMAIL PROTECTED] Subject: System deadlock when using mksnap_ffs FreeBSD paladin 7.1-PRERELEASE FreeBSD

Re: System deadlock when using mksnap_ffs

2008-11-12 Thread Jeremy Chadwick
On Wed, Nov 12, 2008 at 06:22:35PM +, Tim Bishop wrote: On Wed, Nov 12, 2008 at 08:10:50PM +0200, David Peall wrote: FreeBSD paladin 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #8: Mon Nov 10 20:49:51 GMT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PALADIN amd64 I run the mksnap_ffs

Re: System deadlock when using mksnap_ffs

2008-11-12 Thread Kostik Belousov
On Wed, Nov 12, 2008 at 05:58:26PM +, Tim Bishop wrote: I've been playing around with snapshots lately but I've got a problem on one of my servers running 7-STABLE amd64: FreeBSD paladin 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #8: Mon Nov 10 20:49:51 GMT 2008 [EMAIL

Re: System deadlock when using mksnap_ffs

2008-11-12 Thread Tim Bishop
On Wed, Nov 12, 2008 at 05:58:26PM +, Tim Bishop wrote: I run the mksnap_ffs command to take the snapshot and some time later the system completely freezes up: paladin# cd /u2/.snap/ paladin# mksnap_ffs /u2 test.1 Someone (not named because they choose not to reply to the list) gave me

Re: System deadlock when using mksnap_ffs

2008-11-12 Thread Kostik Belousov
On Wed, Nov 12, 2008 at 07:49:28PM +, Tim Bishop wrote: On Wed, Nov 12, 2008 at 05:58:26PM +, Tim Bishop wrote: I run the mksnap_ffs command to take the snapshot and some time later the system completely freezes up: paladin# cd /u2/.snap/ paladin# mksnap_ffs /u2 test.1

Re: System deadlock when using mksnap_ffs

2008-11-12 Thread Tim Bishop
On Wed, Nov 12, 2008 at 08:10:50PM +0200, David Peall wrote: FreeBSD paladin 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #8: Mon Nov 10 20:49:51 GMT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PALADIN amd64 I run the mksnap_ffs command to take the snapshot and some time later the system

Re: System deadlock when using mksnap_ffs

2008-11-12 Thread Tim Bishop
On Wed, Nov 12, 2008 at 09:47:35PM +0200, Kostik Belousov wrote: On Wed, Nov 12, 2008 at 05:58:26PM +, Tim Bishop wrote: I've been playing around with snapshots lately but I've got a problem on one of my servers running 7-STABLE amd64: FreeBSD paladin 7.1-PRERELEASE FreeBSD

Re: System deadlock when using mksnap_ffs

2008-11-12 Thread Jeremy Chadwick
On Thu, Nov 13, 2008 at 12:41:02AM +, Tim Bishop wrote: On Wed, Nov 12, 2008 at 09:47:35PM +0200, Kostik Belousov wrote: On Wed, Nov 12, 2008 at 05:58:26PM +, Tim Bishop wrote: I've been playing around with snapshots lately but I've got a problem on one of my servers running

Re: System deadlock when using mksnap_ffs

2008-11-12 Thread Doug Ambrisko
Jeremy Chadwick writes: [snip] | The rest of the below information is good -- but I'm confused about | something: is there anyone out there who can use mksnap_ffs on a | filesystem (/usr is a good test source) and NOT experience this | deadlocking problem? Literally *every* FreeBSD box I

Re: System deadlock when using mksnap_ffs

2008-11-12 Thread David Wolfskill
On Wed, Nov 12, 2008 at 08:42:00PM -0800, Jeremy Chadwick wrote: ... On Wed, Nov 12, 2008 at 05:58:26PM +, Tim Bishop wrote: I've been playing around with snapshots lately but I've got a problem on one of my servers running 7-STABLE amd64: FreeBSD paladin 7.1-PRERELEASE

Re: System deadlock when using mksnap_ffs

2008-11-12 Thread Doug Ambrisko
Kostik Belousov writes: | On Wed, Nov 12, 2008 at 07:49:28PM +, Tim Bishop wrote: | On Wed, Nov 12, 2008 at 05:58:26PM +, Tim Bishop wrote: | I run the mksnap_ffs command to take the snapshot and some time later | the system completely freezes up: | | paladin# cd /u2/.snap/ |

Re: System deadlock when using mksnap_ffs

2008-11-12 Thread Jeremy Chadwick
On Wed, Nov 12, 2008 at 09:02:50PM -0800, David Wolfskill wrote: On Wed, Nov 12, 2008 at 08:42:00PM -0800, Jeremy Chadwick wrote: ... On Wed, Nov 12, 2008 at 05:58:26PM +, Tim Bishop wrote: I've been playing around with snapshots lately but I've got a problem on one of

Re: System deadlock when using mksnap_ffs

2008-11-12 Thread Wilko Bulte
Quoting Jeremy Chadwick, who wrote on Wed, Nov 12, 2008 at 08:42:00PM -0800 .. On Thu, Nov 13, 2008 at 12:41:02AM +, Tim Bishop wrote: On Wed, Nov 12, 2008 at 09:47:35PM +0200, Kostik Belousov wrote: On Wed, Nov 12, 2008 at 05:58:26PM +, Tim Bishop wrote: I've been playing around

Re: System deadlock when using mksnap_ffs

2008-11-12 Thread Peter Jeremy
On 2008-Nov-12 20:47:37 -0800, Doug Ambrisko [EMAIL PROTECTED] wrote: I plan to commit it tomorrow since I sent it to Tim to test. The 10 can be tuned but it has kept a bunch of machines at work up. Glad people don't think it is that it is to wrong :-) It probably could be made a little more

Re: System deadlock when using mksnap_ffs

2008-11-12 Thread Kevin Day
(moving my thread from -fs to -stable) Before touching anything, here's a description of the symptoms I see... Rather busy system, with quite a bit of filesystem activity occurring while the snapshot is being made. Quad CPU amd64 box with 16GB of ram, 6x10Krpm RAID array. Should be