Re: SU+J on 9.1-RC2 ISO

2012-11-04 Thread Bas Smeelen
On 11/04/2012 06:19 AM, Zoran Kolic wrote: There's an existing checkbox to disable it. There was substantial consensus for 9.0 that SUJ was something we wanted Nice to hear. I assume you mean check box during install process? Not mentioned in install guide in handbook. So, after I accept

Re: SU+J on 9.1-RC2 ISO

2012-11-04 Thread Adam Strohl
On 11/3/2012 1:31, Mateusz Guzik wrote: Currently when you try to take a snapshot, the kernel checks whether SUJ is enabled on specified mount-point, and if yes it returns EOPNOTSUPP. See this commit (MFCed as r230725): http://svnweb.freebsd.org/base?view=revisionamp;revision=230250 Ahhh

Re: SU+J on 9.1-RC2 ISO

2012-11-04 Thread HATANO Tomomi
Hi all. The point is: There is completely no way to take a snapshot of SU+J partition unless modify one's kernel. Whether some issue still exist or not, how about enabling snapshoting SU+J partition through sysctl variable? Would you mind to see patch attached? 1. Taking a snapshot of

Re: SU+J on 9.1-RC2 ISO

2012-11-04 Thread Bas Smeelen
On 11/04/2012 01:13 PM, HATANO Tomomi wrote: Hi all. The point is: There is completely no way to take a snapshot of SU+J partition unless modify one's kernel. Whether some issue still exist or not, how about enabling snapshoting SU+J partition through sysctl variable? Would

Re: SU+J on 9.1-RC2 ISO

2012-11-04 Thread HATANO Tomomi
Hi Bas, thank you for your response. When taking a snapshot of a SU+J filesystem we already get the nice not supported error instead of getting into trouble. It's not nice. Hiding problem will never solve problem. Currently we have no choice. If we have a way to choose (e.g. through sysctl),

Re: SU+J on 9.1-RC2 ISO

2012-11-04 Thread George Mitchell
On 11/03/12 15:09, Jeremy Chadwick wrote: (Please keep me CC'd, as I'm not subscribed to -stable) I've CC'd Nathan Whitehorn, who according to bsdinstall(8) is the author (not sure if maintainer) of the code. This default has already begun to bite users/SAs in the ass:

Re: SU+J on 9.1-RC2 ISO

2012-11-04 Thread Bas Smeelen
On 11/04/2012 03:43 PM, George Mitchell wrote: On 11/03/12 15:09, Jeremy Chadwick wrote: (Please keep me CC'd, as I'm not subscribed to -stable) I've CC'd Nathan Whitehorn, who according to bsdinstall(8) is the author (not sure if maintainer) of the code. This default has already begun to

Re: SU+J on 9.1-RC2 ISO

2012-11-04 Thread Zoran Kolic
Just rebooting to single user mode after the install and then tunefs -j disable /dev/ada0p2 works for me. After a reboot then I just removed /.sujournal That crystillized to me as a correct way in this situation. Just one fsck at the very beginning? Manual says about some options available

Re: SU+J on 9.1-RC2 ISO

2012-11-04 Thread Bas Smeelen
On 11/04/2012 04:33 PM, Zoran Kolic wrote: Just rebooting to single user mode after the install and then tunefs -j disable /dev/ada0p2 works for me. After a reboot then I just removed /.sujournal That crystillized to me as a correct way in this situation. Just one fsck at the very beginning?

Re: [patch] Re: SU+J on 9.1-RC2 ISO

2012-11-03 Thread Mark Felder
On Fri, 2 Nov 2012 20:00:27 +0100 Bas Smeelen b.smee...@ose.nl wrote: Though the last 10 years I have not had the inconvenience of having to deal with long fsck' s or bgfsck' s on servers or workstation installs, so I think this should not be default on new installs. This is one man's

Re: SU+J on 9.1-RC2 ISO

2012-11-03 Thread Mark Felder
On Fri, 2 Nov 2012 23:13:43 +0100 Bas Smeelen b.smee...@ose.nl wrote: I have submitted a PR with patch, see how it goes Cheers Why aren't we patching the dump utility to error/exit saying it's not compatible with SUJ at this time? Update the descriptions in the installer, but leave SUJ as

Re: SU+J on 9.1-RC2 ISO

2012-11-03 Thread Maxim Khitrov
On Sat, Nov 3, 2012 at 10:10 AM, Mark Felder f...@feld.me wrote: On Fri, 2 Nov 2012 23:13:43 +0100 Bas Smeelen b.smee...@ose.nl wrote: I have submitted a PR with patch, see how it goes Cheers Why aren't we patching the dump utility to error/exit saying it's not compatible with SUJ at this

Re: [patch] Re: SU+J on 9.1-RC2 ISO

2012-11-03 Thread Ian Lepore
On Sat, 2012-11-03 at 09:08 -0500, Mark Felder wrote: On Fri, 2 Nov 2012 20:00:27 +0100 Bas Smeelen b.smee...@ose.nl wrote: Though the last 10 years I have not had the inconvenience of having to deal with long fsck' s or bgfsck' s on servers or workstation installs, so I think this

Re: SU+J on 9.1-RC2 ISO

2012-11-03 Thread Mark Felder
On Sat, 3 Nov 2012 10:18:55 -0400 Maxim Khitrov m...@mxcrypt.com wrote: If I understood Mateusz correctly, r230725 already took care of the panic, so there is no need to modify dump. That, however, still doesn't solve all problems:

Re: SU+J on 9.1-RC2 ISO

2012-11-03 Thread Zoran Kolic
I still use 8 and plan to install branch 9 on new laptop with ssd. If journaling comes as default on 9.1, I plan to accept defaults on partitioning and use tunefs to remove it with -h disable. Any idea what steps should I take for that? As far as I read, journaling uses it's own partitions. Do I

Re: SU+J on 9.1-RC2 ISO

2012-11-03 Thread jb
Zoran Kolic zkolic at sbb.rs writes: I still use 8 and plan to install branch 9 on new laptop with ssd. If journaling comes as default on 9.1, I plan to accept defaults on partitioning and use tunefs to remove it with -h disable. Any idea what steps should I take for that? As far as I

Re: SU+J on 9.1-RC2 ISO

2012-11-03 Thread Jeremy Chadwick
(Please keep me CC'd, as I'm not subscribed to -stable) I've CC'd Nathan Whitehorn, who according to bsdinstall(8) is the author (not sure if maintainer) of the code. This default has already begun to bite users/SAs in the ass:

Re: SU+J on 9.1-RC2 ISO

2012-11-03 Thread Nathan Whitehorn
There's an existing checkbox to disable it. There was substantial consensus for 9.0 that SUJ was something we wanted -- I'd personally be very hesitant to change the defaults without more input from FS people. I think this discussion should be moved to freebsd-fs@ or freebsd-current@ instead

Re: SU+J on 9.1-RC2 ISO

2012-11-03 Thread Zoran Kolic
There's an existing checkbox to disable it. There was substantial consensus for 9.0 that SUJ was something we wanted Nice to hear. I assume you mean check box during install process? Not mentioned in install guide in handbook. So, after I accept guided partitioning, I should go to modify or

SU+J on 9.1-RC2 ISO

2012-11-02 Thread Bas Smeelen
Hi Why are journaled soft updates the default when installing a new system from a 9.1-RC2 ISO? I admit I did not pay too much attention when installing a new system from an 9.1-RC2 ISO and found out when taking a snapshot with dump (dump -0Lauf) to clone the system. Other systems (9-STABLE,

Re: SU+J on 9.1-RC2 ISO

2012-11-02 Thread Adam Strohl
On 11/2/2012 23:47, Bas Smeelen wrote: Hi Why are journaled soft updates the default when installing a new system from a 9.1-RC2 ISO? I admit I did not pay too much attention when installing a new system from an 9.1-RC2 ISO and found out when taking a snapshot with dump (dump -0Lauf) to clone

Re: SU+J on 9.1-RC2 ISO

2012-11-02 Thread Mike Jakubik
On Sat, 2012-11-03 at 00:05 +0700, Adam Strohl wrote: On 11/2/2012 23:47, Bas Smeelen wrote: Hi Why are journaled soft updates the default when installing a new system from a 9.1-RC2 ISO? Can SU+J be disabled for the 9.1-RELEASE or do you think this is not going to be a problem

Re: SU+J on 9.1-RC2 ISO

2012-11-02 Thread Maxim Khitrov
On Fri, Nov 2, 2012 at 1:13 PM, Mike Jakubik mike.jaku...@intertainservices.com wrote: On Sat, 2012-11-03 at 00:05 +0700, Adam Strohl wrote: On 11/2/2012 23:47, Bas Smeelen wrote: Hi Why are journaled soft updates the default when installing a new system from a 9.1-RC2 ISO? Can SU+J

Re: SU+J on 9.1-RC2 ISO

2012-11-02 Thread Adam Strohl
On 11/3/2012 0:13, Mike Jakubik wrote: You can disable SU+J after installing, though it would be nice if the installer gave you a choice. This assumes that you know about this flaw, which most people do not. I didn't until I discovered it by panic-ing a perfectly fine running server.

Re: SU+J on 9.1-RC2 ISO

2012-11-02 Thread Mike Jakubik
On Fri, 2012-11-02 at 13:23 -0400, Maxim Khitrov wrote: I don't think SU+J should even be an option in the installer as long as this bug persists. If you don't use dump, go ahead and enable journaling after the installation, but it's not a decision that new users should be asked to make. This

[patch proposal] Re: SU+J on 9.1-RC2 ISO

2012-11-02 Thread Bas Smeelen
On 11/02/2012 06:27 PM, Adam Strohl wrote: On 11/3/2012 0:13, Mike Jakubik wrote: You can disable SU+J after installing, though it would be nice if the installer gave you a choice. This assumes that you know about this flaw, which most people do not. I didn't until I discovered it by

[patch proposal typo corrected] Re: SU+J on 9.1-RC2 ISO

2012-11-02 Thread Bas Smeelen
On 11/02/2012 06:27 PM, Adam Strohl wrote: On 11/3/2012 0:13, Mike Jakubik wrote: You can disable SU+J after installing, though it would be nice if the installer gave you a choice. This assumes that you know about this flaw, which most people do not. I didn't until I discovered it by

Re: [patch proposal typo corrected] Re: SU+J on 9.1-RC2 ISO

2012-11-02 Thread Bas Smeelen
On 11/02/2012 07:08 PM, Bas Smeelen wrote: On 11/02/2012 06:27 PM, Adam Strohl wrote: On 11/3/2012 0:13, Mike Jakubik wrote: You can disable SU+J after installing, though it would be nice if the installer gave you a choice. This assumes that you know about this flaw, which most people do not.

[patch] Re: SU+J on 9.1-RC2 ISO

2012-11-02 Thread Bas Smeelen
On 11/02/2012 07:17 PM, Bas Smeelen wrote: On 11/02/2012 07:08 PM, Bas Smeelen wrote: On 11/02/2012 06:27 PM, Adam Strohl wrote: On 11/3/2012 0:13, Mike Jakubik wrote: You can disable SU+J after installing, though it would be nice if the installer gave you a choice. This assumes that you

Re: SU+J on 9.1-RC2 ISO

2012-11-02 Thread Mateusz Guzik
On Sat, Nov 03, 2012 at 12:27:18AM +0700, Adam Strohl wrote: On 11/3/2012 0:13, Mike Jakubik wrote: You can disable SU+J after installing, though it would be nice if the installer gave you a choice. This assumes that you know about this flaw, which most people do not. I didn't until I

Re: SU+J on 9.1-RC2 ISO

2012-11-02 Thread Bas Smeelen
On 11/02/2012 07:31 PM, Mateusz Guzik wrote: On Sat, Nov 03, 2012 at 12:27:18AM +0700, Adam Strohl wrote: On 11/3/2012 0:13, Mike Jakubik wrote: You can disable SU+J after installing, though it would be nice if the installer gave you a choice. This assumes that you know about this flaw, which

Re: [patch] Re: SU+J on 9.1-RC2 ISO

2012-11-02 Thread Mateusz Guzik
On Fri, Nov 02, 2012 at 07:30:04PM +0100, Bas Smeelen wrote: On 11/02/2012 07:17 PM, Bas Smeelen wrote: On 11/02/2012 07:08 PM, Bas Smeelen wrote: On 11/02/2012 06:27 PM, Adam Strohl wrote: On 11/3/2012 0:13, Mike Jakubik wrote: You can disable SU+J after installing, though it would be

Re: [patch] Re: SU+J on 9.1-RC2 ISO

2012-11-02 Thread Gary Palmer
On Fri, Nov 02, 2012 at 07:41:31PM +0100, Mateusz Guzik wrote: On Fri, Nov 02, 2012 at 07:30:04PM +0100, Bas Smeelen wrote: On 11/02/2012 07:17 PM, Bas Smeelen wrote: On 11/02/2012 07:08 PM, Bas Smeelen wrote: On 11/02/2012 06:27 PM, Adam Strohl wrote: On 11/3/2012 0:13, Mike Jakubik

Re: [patch] Re: SU+J on 9.1-RC2 ISO

2012-11-02 Thread Bas Smeelen
On 11/02/2012 07:41 PM, Mateusz Guzik wrote: On Fri, Nov 02, 2012 at 07:30:04PM +0100, Bas Smeelen wrote: On 11/02/2012 07:17 PM, Bas Smeelen wrote: On 11/02/2012 07:08 PM, Bas Smeelen wrote: On 11/02/2012 06:27 PM, Adam Strohl wrote: On 11/3/2012 0:13, Mike Jakubik wrote: You can disable

Re: [patch] Re: SU+J on 9.1-RC2 ISO

2012-11-02 Thread Bas Smeelen
On 11/02/2012 07:59 PM, Gary Palmer wrote: On Fri, Nov 02, 2012 at 07:41:31PM +0100, Mateusz Guzik wrote: On Fri, Nov 02, 2012 at 07:30:04PM +0100, Bas Smeelen wrote: On 11/02/2012 07:17 PM, Bas Smeelen wrote: On 11/02/2012 07:08 PM, Bas Smeelen wrote: On 11/02/2012 06:27 PM, Adam Strohl

Re: [patch] Re: SU+J on 9.1-RC2 ISO

2012-11-02 Thread Mateusz Guzik
On Fri, Nov 02, 2012 at 02:59:29PM -0400, Gary Palmer wrote: On Fri, Nov 02, 2012 at 07:41:31PM +0100, Mateusz Guzik wrote: On Fri, Nov 02, 2012 at 07:30:04PM +0100, Bas Smeelen wrote: On 11/02/2012 07:17 PM, Bas Smeelen wrote: On 11/02/2012 07:08 PM, Bas Smeelen wrote: On 11/02/2012

Re: SU+J on 9.1-RC2 ISO

2012-11-02 Thread Daniel Eischen
On Sat, 3 Nov 2012, Adam Strohl wrote: On 11/2/2012 23:47, Bas Smeelen wrote: Hi Why are journaled soft updates the default when installing a new system from a 9.1-RC2 ISO? I admit I did not pay too much attention when installing a new system from an 9.1-RC2 ISO and found out when taking a

Re: SU+J on 9.1-RC2 ISO

2012-11-02 Thread Bas Smeelen
On 11/02/2012 10:42 PM, Daniel Eischen wrote: On Sat, 3 Nov 2012, Adam Strohl wrote: On 11/2/2012 23:47, Bas Smeelen wrote: Hi Why are journaled soft updates the default when installing a new system from a 9.1-RC2 ISO? I admit I did not pay too much attention when installing a new system