Re: gmirror on existing filesystem (was Fresh install on gmirror'ed disks?)

2006-04-07 Thread Pawel Jakub Dawidek
On Thu, Apr 06, 2006 at 09:33:31AM -0400, Mike Jakubik wrote: + Pawel Jakub Dawidek wrote: + One can still see how many sectors exactly has the partition he is going + to create file system on and add additional newfs(8) flag + '-s sectors-1'. + + + gmirror utility uses on-disk metadata

Re: gmirror on existing filesystem (was Fresh install on gmirror'ed disks?)

2006-04-06 Thread Pawel Jakub Dawidek
On Tue, Apr 04, 2006 at 05:51:26PM -0400, Mike Jakubik wrote: + Can someone with knowledge of the UFS internals please confirm one way + or the other if this is dangerous or not? + + + I'm curious to know this as well, as i have some systems using gmirror, that were setup in this fashion.

Re: gmirror on existing filesystem (was Fresh install on gmirror'ed disks?)

2006-04-06 Thread Mike Jakubik
Pawel Jakub Dawidek wrote: I can't give you an authoritative answer, because I don't know UFS internals so well. All I know is that it (UFS) thinks the last sector is available and may want to use it at some point getting EIO then. I'm not using this method, but I've heard of many people using

Re: gmirror on existing filesystem (was Fresh install on gmirror'ed disks?)

2006-04-06 Thread Vivek Khera
On Apr 6, 2006, at 4:12 AM, Pawel Jakub Dawidek wrote: I can't give you an authoritative answer, because I don't know UFS internals so well. All I know is that it (UFS) thinks the last sector is available and may want to use it at some point getting EIO then. Well, my ovservation from

Re: gmirror on existing filesystem (was Fresh install on gmirror'ed disks?)

2006-04-06 Thread Eric Anderson
Pawel Jakub Dawidek wrote: On Tue, Apr 04, 2006 at 05:51:26PM -0400, Mike Jakubik wrote: + Can someone with knowledge of the UFS internals please confirm one way + or the other if this is dangerous or not? + + + I'm curious to know this as well, as i have some systems using gmirror, that

Re: gmirror on existing filesystem (was Fresh install on gmirror'ed disks?)

2006-04-04 Thread Mike Jakubik
Eric Anderson wrote: Mike Jakubik wrote: Craig Boston wrote: On Tue, Mar 07, 2006 at 09:04:02AM -0800, Freddie Cash wrote: There's no need to copy files around. gmirror handles it all for you behind the scenes. Just create the gmirror labels using the existing disks/slices/partitions,

Re: gmirror on existing filesystem (was Fresh install on gmirror'ed disks?)

2006-03-21 Thread Mike Jakubik
Craig Boston wrote: On Tue, Mar 07, 2006 at 09:04:02AM -0800, Freddie Cash wrote: There's no need to copy files around. gmirror handles it all for you behind the scenes. Just create the gmirror labels using the existing disks/slices/partitions, then insert the second set of

gmirror on existing filesystem (was Fresh install on gmirror'ed disks?)

2006-03-16 Thread Craig Boston
On Tue, Mar 07, 2006 at 09:04:02AM -0800, Freddie Cash wrote: There's no need to copy files around. gmirror handles it all for you behind the scenes. Just create the gmirror labels using the existing disks/slices/partitions, then insert the second set of disks/slices/parittions. gmirror

Re: Fresh install on gmirror'ed disks?

2006-03-07 Thread Volker
On Friday 03 March 2006 23:45, Mark Kirkwood wrote: I would certainly see the installer handling software RAID as a considerable benefit. From what I've seen on the net, to install and boot off RAIDed system disks is quite fiddly (maybe gmirror is the exception here, as I've mainly

Re: Fresh install on gmirror'ed disks?

2006-03-07 Thread JoaoBR
On Tuesday 07 March 2006 08:55, Volker wrote: I do agree that gmirror is not that bad and not that difficult. But take a look at how to setup a fresh system using gmirror (slice by slice mirroring): - install a complete system to a fresh disc - create the (well sized) slices on a 2nd disc

Re: Fresh install on gmirror'ed disks?

2006-03-07 Thread Patrick M. Hausen
Hi! On Tue, Mar 07, 2006 at 09:39:29AM -0300, JoaoBR wrote: there is no need to copy anything around ... - you do install the system as usual - before rebooting you create the to be mirrored disk with the gmirror label command (you do not loose data here) - then you change your fstab

Re: Fresh install on gmirror'ed disks?

2006-03-07 Thread Volker
Patrick, On 2006-03-07 13:45, Patrick M. Hausen wrote: . Are there instructions on how to do this to mirror a slice instead of an entire disk? Thanks, Patrick Yes, Ralf S. Engelschall created a good guide: http://people.freebsd.org/~rse/mirror/ See 'GEOM mirror Approach 2: Single

Re: Fresh install on gmirror'ed disks?

2006-03-07 Thread Patrick M. Hausen
Hello! On Tue, Mar 07, 2006 at 01:56:57PM +0100, Volker wrote: Patrick, On 2006-03-07 13:45, Patrick M. Hausen wrote: . Are there instructions on how to do this to mirror a slice instead of an entire disk? Thanks, Patrick Yes, Ralf S. Engelschall created a good guide:

Re: Fresh install on gmirror'ed disks?

2006-03-07 Thread Volker
Patrick, On 2006-03-07 14:22, Patrick M. Hausen wrote: Hello! On Tue, Mar 07, 2006 at 01:56:57PM +0100, Volker wrote: Patrick, On 2006-03-07 13:45, Patrick M. Hausen wrote: . Are there instructions on how to do this to mirror a slice instead of an entire disk? Thanks, Patrick

Re: Fresh install on gmirror'ed disks?

2006-03-07 Thread Freddie Cash
On Tue, March 7, 2006 4:39 am, JoaoBR wrote: On Tuesday 07 March 2006 08:55, Volker wrote: I do agree that gmirror is not that bad and not that difficult. But take a look at how to setup a fresh system using gmirror (slice by slice mirroring): - install a complete system to a fresh disc -

Re: Fresh install on gmirror'ed disks?

2006-03-06 Thread Patrick M. Hausen
Hello! On Fri, Mar 03, 2006 at 06:58:50PM -0800, George Hartzell wrote: http://ezine.daemonnews.org/200502/diskmirror.html When the mirror is up and running, cvsup, buildworld, buildkernel, installkernel, installworld, mergemaster, reboot, enjoy ;-) I think that the instructions

Re: Fresh install on gmirror'ed disks?

2006-03-06 Thread JoaoBR
On Monday 06 March 2006 08:41, Patrick M. Hausen wrote: AFAIK soft-updates don't put your root partition at risk _directly_. You might run into problems, _if_ your root partition is rather small, during installworld/installkernel. This is due to the delayed freeing of data blocks when files

Re: Fresh install on gmirror'ed disks?

2006-03-06 Thread Patrick M. Hausen
Hi! On Mon, Mar 06, 2006 at 10:26:53AM -0300, JoaoBR wrote: I did configure quite a few servers with soft-updates on all partitions, when soft-updates were rather new and I was excited about the performance gain and didn't know about the possible problems with / - as I said, I never had a

Re: Fresh install on gmirror'ed disks?

2006-03-06 Thread JoaoBR
On Sunday 05 March 2006 01:22, Mark Kirkwood wrote: JoaoBR wrote: geom changed this complications definitely, using gmirror or gstripe commands is easy as copying a file. (Chuckles) - While I see your point, I see that Ralf E's article discussing this very issue weighs in at about a

Re: Fresh install on gmirror'ed disks?

2006-03-06 Thread JoaoBR
On Monday 06 March 2006 10:34, Patrick M. Hausen wrote: Hi! On Mon, Mar 06, 2006 at 10:26:53AM -0300, JoaoBR wrote: I did configure quite a few servers with soft-updates on all partitions, when soft-updates were rather new and I was excited about the performance gain and didn't know

Re: Fresh install on gmirror'ed disks?

2006-03-04 Thread JoaoBR
On Friday 03 March 2006 23:45, Mark Kirkwood wrote: I would certainly see the installer handling software RAID as a considerable benefit. From what I've seen on the net, to install and boot off RAIDed system disks is quite fiddly (maybe gmirror is the exception here, as I've mainly been

Re: Fresh install on gmirror'ed disks?

2006-03-04 Thread Mark Kirkwood
JoaoBR wrote: On Friday 03 March 2006 23:45, Mark Kirkwood wrote: I would certainly see the installer handling software RAID as a considerable benefit. From what I've seen on the net, to install and boot off RAIDed system disks is quite fiddly (maybe gmirror is the exception here, as I've

Re: Fresh install on gmirror'ed disks?

2006-03-03 Thread Patrick M. Hausen
Hello! Since you have the luxury of doing this at install time, check out the instructions at: http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html?page=1 It worked for me and I think it's more like what you want than the http://ezine.daemonnews.org/200502/diskmirror.html

Re: Fresh install on gmirror'ed disks?

2006-03-03 Thread JoaoBR
On Friday 03 March 2006 00:01, Mike Jakubik wrote: Because most Linux distributions have had this feature for a while now. It's no secret that our installer blows. It gets the job done for a basic install, provided you know its quirks, and thats it. I don't think that having or not a raid

Re: Fresh install on gmirror'ed disks?

2006-03-03 Thread John Hawkes-Reed
On Friday 03 March 2006 03:01, Mike Jakubik wrote: JoaoBR wrote: On Thursday 02 March 2006 22:59, Mike Jakubik wrote: Thats what i figured. Its sad that the fbsd installer is so behind the linux ones, in terms of setting up raid and lvm during install. I'm sorry that such things make

Re: Fresh install on gmirror'ed disks?

2006-03-03 Thread Spartak Radchenko
On Thu, Mar 02, 2006 at 06:23:37PM -0500, Mike Jakubik wrote: Is it possible to boot off the install CD, setup a gmirror, and then reboot and install on the mirror (and expect things to work ok)? Anyone try this? It would be nice if the installer let you do this... It could be possible, I

Re: Fresh install on gmirror'ed disks?

2006-03-03 Thread Mike Jakubik
JoaoBR wrote: On Friday 03 March 2006 00:01, Mike Jakubik wrote: Because most Linux distributions have had this feature for a while now. It's no secret that our installer blows. It gets the job done for a basic install, provided you know its quirks, and thats it. I don't think that

Re: Fresh install on gmirror'ed disks?

2006-03-03 Thread Dominic Marks
Mike Jakubik wrote: Patrick M. Hausen wrote: Hello! Is it possible to boot off the install CD, setup a gmirror, and then reboot and install on the mirror (and expect things to work ok)? Anyone try this? It would be nice if the installer let you do this... AFAIK, no. Install a minimal

Re: Fresh install on gmirror'ed disks?

2006-03-03 Thread Mike Jakubik
Dominic Marks wrote: Someone could be funded to work on this like the TCP/IP performance project. I'd be willing to make a donation, as I am sure you would Mike. All that is required is a willing + able person and enough donations to make it worth his or her while. Volunteers? Well, there

Re: Fresh install on gmirror'ed disks?

2006-03-03 Thread Peter Jeremy
I think the FreeBSD approach is fairly typical - you get the OS running and then mirror it. On Fri, 2006-Mar-03 10:43:26 +, John Hawkes-Reed wrote: From what I remember, the Solaris installer is fairly pretty and works well, while the HP example is somewhat messy. The mirroring instructions

Re: Fresh install on gmirror'ed disks?

2006-03-03 Thread JoaoBR
On Friday 03 March 2006 12:27, Mike Jakubik wrote: JoaoBR wrote: The only advantage I can see is when you really want raid at install time and that definitly is not usual. What planet are you from? It's very usual. You setup RAID before you copy data to the array, not the other way

Re: Fresh install on gmirror'ed disks?

2006-03-03 Thread Mike Jakubik
JoaoBR wrote: On Friday 03 March 2006 12:27, Mike Jakubik wrote: The only advantage I can see is when you really want raid at install time and that definitly is not usual. What planet are you from? It's very usual. You setup RAID before you copy data to the array, not the other way

Re: Fresh install on gmirror'ed disks?

2006-03-03 Thread JoaoBR
On Friday 03 March 2006 17:36, Mike Jakubik wrote: What are you talking about? I think its time to brush up on your english reading and writing skills. It takes much more work, time, and complexity to 1) boot cd and install os 2) reboot to os and follow a complex procedure to setup geom

Re: Fresh install on gmirror'ed disks?

2006-03-03 Thread Craig Boston
On Fri, Mar 03, 2006 at 03:36:17PM -0500, Mike Jakubik wrote: What are you talking about? I think its time to brush up on your english reading and writing skills. It takes much more work, time, and complexity to 1) boot cd and install os 2) reboot to os and follow a complex procedure to

Re: Fresh install on gmirror'ed disks?

2006-03-03 Thread Mike Jakubik
JoaoBR wrote: On Friday 03 March 2006 17:36, Mike Jakubik wrote: What are you talking about? I think its time to brush up on your english reading and writing skills. It takes much more work, time, and complexity to 1) boot cd and install os 2) reboot to os and follow a complex procedure to

Re: Fresh install on gmirror'ed disks?

2006-03-03 Thread jonathan michaels
craig and the rest of the gang ... On Fri, Mar 03, 2006 at 03:54:33PM -0600, Craig Boston wrote: On Fri, Mar 03, 2006 at 03:36:17PM -0500, Mike Jakubik wrote: with some chunks removed for brevity ... It takes much more work, time, and complexity to 1) boot cd and install os 2) reboot to

Re: Fresh install on gmirror'ed disks?

2006-03-03 Thread Mike Jakubik
jonathan michaels wrote: craig, RAID no matter how simple is a step of complexity that is not warrented for the Installer as most people new to freebsd are new to unix and these days new to computing in general or have just enough ms windows under their belts/skirts to be a bloody nuisance to

Re: Fresh install on gmirror'ed disks?

2006-03-03 Thread Chris
Quoting jonathan michaels [EMAIL PROTECTED]: craig and the rest of the gang ... On Fri, Mar 03, 2006 at 03:54:33PM -0600, Craig Boston wrote: On Fri, Mar 03, 2006 at 03:36:17PM -0500, Mike Jakubik wrote: with some chunks removed for brevity ... It takes much more work, time, and

Re: Fresh install on gmirror'ed disks?

2006-03-03 Thread JoaoBR
On Friday 03 March 2006 20:53, Mike Jakubik wrote: I doubt there is much i can learn from you about FreeBSD, as i've been tststs pay more attention, we spoke about install time not about learning FBSD using it since the 2.x days. I'm well aware how long it takes to setup you should have

Re: Fresh install on gmirror'ed disks?

2006-03-03 Thread Mark Kirkwood
JoaoBR wrote: thank's for your kind advice :) so listen and learn: FreeBSD any version from CD is up in 10 minutes, reboot is 30-40 seconds that what you call complex procedure to set up a raid is done by three commands, 2 minutes for a slow typer perhaps? I would certainly see the

Re: Fresh install on gmirror'ed disks?

2006-03-03 Thread George Hartzell
Patrick M. Hausen writes: Hello! Is it possible to boot off the install CD, setup a gmirror, and then reboot and install on the mirror (and expect things to work ok)? Anyone try this? It would be nice if the installer let you do this... AFAIK, no. Install a minimal system

Re: Fresh install on gmirror'ed disks?

2006-03-03 Thread Andrew Turner
Mike Jakubik wrote: Andrew, have you considered adding support for creating geom based raid/lvm to the bsd installer? I have added it to my todo list. I want to get something in working with a release and any changes needed in cvs before I look at adding more features. Andrew

Fresh install on gmirror'ed disks?

2006-03-02 Thread Mike Jakubik
Is it possible to boot off the install CD, setup a gmirror, and then reboot and install on the mirror (and expect things to work ok)? Anyone try this? It would be nice if the installer let you do this... ___ freebsd-stable@freebsd.org mailing list

Re: Fresh install on gmirror'ed disks?

2006-03-02 Thread Patrick M. Hausen
Hello! Is it possible to boot off the install CD, setup a gmirror, and then reboot and install on the mirror (and expect things to work ok)? Anyone try this? It would be nice if the installer let you do this... AFAIK, no. Install a minimal system on the first disk, then follow these

Re: Fresh install on gmirror'ed disks?

2006-03-02 Thread Mike Jakubik
Patrick M. Hausen wrote: Hello! Is it possible to boot off the install CD, setup a gmirror, and then reboot and install on the mirror (and expect things to work ok)? Anyone try this? It would be nice if the installer let you do this... AFAIK, no. Install a minimal system on the

Re: Fresh install on gmirror'ed disks?

2006-03-02 Thread JoaoBR
On Thursday 02 March 2006 22:59, Mike Jakubik wrote: Thats what i figured. Its sad that the fbsd installer is so behind the linux ones, in terms of setting up raid and lvm during install. I'm sorry that such things make you sad but do you mind to explain why this is behind ? What would be

Re: Fresh install on gmirror'ed disks?

2006-03-02 Thread Mike Jakubik
JoaoBR wrote: On Thursday 02 March 2006 22:59, Mike Jakubik wrote: Thats what i figured. Its sad that the fbsd installer is so behind the linux ones, in terms of setting up raid and lvm during install. I'm sorry that such things make you sad but do you mind to explain why this is

Re: Fresh install on gmirror'ed disks?

2006-03-02 Thread Mitch Parks
On Thu, 2 Mar 2006, JoaoBR wrote: On Thursday 02 March 2006 22:59, Mike Jakubik wrote: Thats what i figured. Its sad that the fbsd installer is so behind the linux ones, in terms of setting up raid and lvm during install. I'm sorry that such things make you sad but do you mind to explain why

Re: Fresh install on gmirror'ed disks?

2006-03-02 Thread [EMAIL PROTECTED]
On 3/2/06, Mitch Parks [EMAIL PROTECTED] wrote: apropos of raid awareness: Having this in the installer seems like a very useful addition! I would favour a geom-aware installer. Maybe start migrating towards a geom default for as much as possible. Issues of kernel bloat and If it works, don't

Re: Fresh install on gmirror'ed disks?

2006-03-02 Thread Mark van Wouw
Is it possible to boot off the install CD, setup a gmirror, and then reboot and install on the mirror (and expect things to work ok)? Anyone try this? It would be nice if the installer let you do this... Since you have the luxury of doing this at install time, check out the instructions