FreeBSD 7.3 RC1 - gmirror - changed devices name

2010-02-16 Thread Gabriel Lavoie
Hello everyone,
 I just upgraded my system to 7.3 RC1, from 7.1, to test it. I had
a lot of trouble with my gmirror setup as none of my providers were
recognized. It happened that the HARDCODED flag was set on both my
providers and my hard disk drives device nodes changed name from 7.1
to 7.3RC1. Removing the HARDCODED flag from a FixIt live CD and
rebooting solved the problem. How comes device nodes can change name
from a release to another? Both my hard disk drives went from ad8 and
ad10 to ad4 and ad6...

Thank you,

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


Re: jpeg-7

2009-07-23 Thread Gabriel Lavoie
Hello,
 check /usr/ports/UPDATING... You have to rebuild everything
depending on jpeg...

Gabriel

2009/7/20 ajtiM lum...@gmail.com:
 Hi!

 My system: FreeBSD 7.2, KDE 3.5.10.

 I updated jpeg-7 with portupgrade -fr jpeg-* and looks that evrything works
 fine (GIMP, Firefox...) except GQview 2.15 (gqview-devel). It doesn't show
 jpg, gif, png or better from 100 pictures it shows one or maybe two. It show
 just black square.
 Did I forgot to rebuilt something or it is problem with GQview. pleaee?

 Thanks in advance...
 --
 Mitja
 -
 http://starikarp.redbubble.com
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




-- 
Gabriel Lavoie
glav...@gmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Opinion request about a file server

2009-06-08 Thread Gabriel Lavoie
If you want to use gmirror + gjournal on the root filesystem (/), be
sure to use FreeBSD 7.2. A bug prevented the system to boot on unclean
shutdown because the replay of the journal took too much time and
FreeBSD wanted to mount non-existant (yet) devices. It caused me a lot
of trouble when I installed my server and finally I had to leave the
root filesystem without gjournal as a workaround.

Gabriel

2009/6/8 Valentin Bud valentin@gmail.com:
 On Mon, Jun 8, 2009 at 10:06 AM, DA Forsyth d.fors...@ru.ac.za wrote:

  I think my file/print/mail server is a bit overkill:
  http://w3.mutehq.net:8008/sysinfo/

 Nice, esp when you compile world.   Last year I upgraded our server
 to a Core 2 Duo 1.8Ghz, Intel DG965 board.  2GB RAM.  Previous board
 was an ASUS P3 1.1GHz, which now hosts my backup server.  Both ran
 FreeBSD file/print/email/web services perfectly.  I upgraded to get
 the onboard SATA sockets so I could increase our available disk space
 (4x500GB in RAID5 for data).

 However, a nice benefit is that the Core2 will compile world in 1/4
 the time, and user don't notice the server is 'busy'.

 SO, to the original question, yes that motherboard will work just
 fine.   What are you doing for system backups?  A single drive is not
 enough.  I recommend a mirror pair at least, and suggest a second box
 for backups.



 Hello community,

  Thanks everybody for their thoughts. After reading your posts and some
 articles over the
 weekend I will take the gmirror(8) + gjournal(8) road.

  The backups will be done offsite because the company which I'm doing this
 for
 is a friend of my boss and we do have a lot of spare space or our servers.

 thanks once again,
 v



 --
 network warrior since 2005
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




-- 
Gabriel Lavoie
glav...@gmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Opinion request about a file server

2009-06-05 Thread Gabriel Lavoie
I think my file/print/mail server is a bit overkill:

http://w3.mutehq.net:8008/sysinfo/

2009/6/5 Valentin Bud valentin@gmail.com:
 Hello community,

  I have an old computer (ASRock P4Dual-915GL) with Intel P4
 CPU at 3.0Ghz and 2Gb of RAM.

  I am asking the list maybe is somebody out there with a similar
 configuration
 and running FreeBSD on such a system as a File Server and Print Server
 using samba.

  What i mainly try to achieve, talking in storage space, is 2 HDD of 1TB in
 mirroring using gmirror(8) and 1 separate HDD of 500Gb.

  So do you think the system I've mentioned would handle the load? The server
 will be
 used by 4 people for storage of all sorts of files that can be found in
 Design and daily
 Office World (Photoshop, Illustrator, etc, Word Documents, etc).

 Thank you,
 v
 --
 network warrior since 2005
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




-- 
Gabriel Lavoie
glav...@gmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Opinion request about a file server

2009-06-05 Thread Gabriel Lavoie
Much less than a Pentium 4! Exactly I don't know. This server is a
normal PC with a 380W PSU (still too much for the hardware). The funny
thing is that the CPU in it (Pentium Dual Core E5200 45nm) is supposed
to draw under 4W of power when idle with EIST enabled. This power draw
on Intel 45nm CPUs had been tested with a Core 2 Quad! What I can say
is that this server uses a lot less power than the Pentium II (dual
CPU) it replaced and it's much more powerful. It really made a
difference in my electricity bill.

2009/6/5 Chris Rees utis...@googlemail.com:
 2009/6/5 Gabriel Lavoie glav...@gmail.com:
 I think my file/print/mail server is a bit overkill:

 http://w3.mutehq.net:8008/sysinfo/


 What a waste... How much power does that chug??

 Chris

 --
 A: Because it messes up the order in which people normally read text.
 Q: Why is top-posting such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing in a mailing list?




-- 
Gabriel Lavoie
glav...@gmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: GEOM_JOURNAL on a 550G partition - opinions ?

2009-02-04 Thread Gabriel Lavoie
Hi,
two 500gb hard drives under gmirror/gjournal and no problem here.
I've had a few problems with the root partition under gjournal in
FreeBSD 7.0. With an unclean shutdown, the journal replay wasn't done
quickly enough before the kernel tried to mount the root partition,
failing to do so because the device node is only created after the
journal has been replayed. I reported the bug and it has been
corrected in HEAD but I don't know if the correction made its way on
7.1. So, my / partition is on gmirror only with soft-updates and the
rest of my system has gjournal on top of gmirror. Made a lot of test
by resetting the system and removing/putting back a hard drive and the
system always came back in a clean state.

Gabriel

2009/2/4 Manolis Kiagias sonic200...@gmail.com:
 Hugo Silva wrote:
 Hi list,

 For a server I will be setting up, I am considering using gjournal on
 the partition that will hold all the www data.

 The journaled partition (mounted async) would be mostly read from,
 uploads would not be very frequent and most sites wouldn't write to
 the disk. Logs would be kept elsewhere.

 This server will have two hard disks, mirrored (gmirror) at the disk
 level.



 Here are my questions:


 - Will the fact that gmirror is underneath the journal
 (/dev/mirror/gm0s1f.journal) affect performance ? (either positively
 or negatively)
   (* I would be keeping the journal in the same provider)

 I can only tell you this works. Have not done any real measurements on
 this stuff, as most of my systems are normally not under high load.
 I've done this for a friend's SAMBA server, who is storing very large
 photo files all the time.  In fact, I am just preparing our local LUG
 server in exactly this way.
 At least in theory gmirror can be set to balance (round-robin) reads
 from the disks, so read should be improved. On the other hand, the
 journaling implementation in gjournal writes everything twice, so expect
 to have some significant overhead there.
 Ivan Voras has done some performance testing on several filesystems,
 including UFS with soft updates and journaling. See the results in this
 post:

 http://lists.freebsd.org/pipermail/freebsd-questions/2008-December/188131.html


 - Would reads / writes be faster? considerably faster ? (gjournal)
 I've seen different numbers from different places, the impression I
 got is that reads should be faster while writes will be substantially
 slower - is this correct ?


 It seems so, at least for the writes.


 - What about reliability ? From the manpage, I know that if I
 journaled the entire mirror, I would not need to sync it after an
 unclean shutdown.
   Going from the assumption that this will not be so for a single
 journaled partition, will there be any interference between gjournal
 and gmirror ?

 I haven't had any reliability problems combining gmirror and gjournal.
 To my experience, gjournal syncs the gmirror almost instantly after an
 unclean shutdown.



 - I've never had an UFS2 partition filled with more than 200G of data,
 so I am not sure what to expect for 550G with soft-updates (I expect
 this partition to hold close to 550G of data) - real numbers about
 this would also be helpful.


 Any personal experiences concerning gjournal or gmirror+gjournal are
 greatly appreciated!


 As I said, I've been using both (and combined) for quite some, and
 haven't faced any problems caused by the software.  I even recovered
 from a serious hardware problem, without losing any data. For
 performance measuring I guess you would have
 to setup a test system and see by yourself if it is acceptable.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




-- 
Gabriel Lavoie
glav...@gmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Keeping FreeBSD updated (the binary way)

2009-01-23 Thread Gabriel Lavoie
Since I started using FreeBSD with 6.2 on my home server, I studied
this problem very well. In the default installation, there are a daily
system check script and a daily security check script included in
periodic. You can easily configure your system so e-mails are sent to
you every days with the output of the execution of those scripts
(usually sent to root). Also, freebsd-update can also be configured as
a cron job that will fetch the latest update and send you an e-mail if
core system updates are available. portsnap cron job will be executed
in the security periodic job and will tell you if any of your
installed ports need to be updated for security reasons. So...

I always check the output of those runs in my e-mails every morning or
every few days. If there is an update available from freebsd-update, I
install it and I reboot the complete server if there is an update for
the kernel or a used kernel module, or only a few services that depend
on the updated files (often sshd). About my ports, I only upgrade
those that get security notices. This way my system has been very
stable, up to date and it doesn't take too much time to maintain it in
this state. The only time where I upgrade all my ports is when I
update my entire system to a newer FreeBSD revision (7.0 - 7.1,
etc.). I'll also likely stay on a particular revision of FreeBSD until
the security updates are ended for it. I first went from 6.2 to 6.3 on
my old server because 6.3 was flagged for long term support (2 years).
Went from 6.3 to 7.0 because I replaced my old server (Dual Pentium
II) with new hardware. And I went from 7.0 to 7.1 because some new
drivers were available to better support my new hardware (EIST on 45nm
Intel CPUs, Atheros L1E network adapter). Now my hardware is well
supported, my system is very stable and I will likely stay on 7.1
until January 2011 (end of support for security updates).

I hope it helps,

Gabriel

2009/1/23 Svein Halvor Halvorsen svei...@lvor.halvorsen.cc:
 Svein Halvor Halvorsen svei...@lvor.halvorsen.cc wrote:

 Is it possible to pkg_add -r packages from -STABLE on the latest
 -RELEASE? That is, will the following work, or slowly render my
 system to an incoherent state:

 RW wrote:

 It'll work most of the time, but occasionally it will fail, when a
 STABLE package relies on a library or other feature that's not in the
 release.

 A compromise might be to stick to the release packages, until portaudit
 reveals a significant vulnerability and then switch to Stable until
 the next release.

 But when that happens, should I upgrade just the one affected package, or
 grab updates for all my installed packages, to make sure all packages on the
 system is concurrent? That is, made from the same ports tree at some point
 in time.


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




-- 
Gabriel Lavoie
glav...@gmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd-update and latest security patches

2009-01-08 Thread Gabriel Lavoie
It depends. This update was related to the flaw found in OpenSSL
recently. Since this update didn't touch the kernel, it's normal that
your're still on the 7.1-RELEASE kernel. The kernel version changes
only when an update touches it directly.

Gabriel

2009/1/8 Ivailo Bonev ibb_o...@mbox.contact.bg:
 I've tried to install latest security patches with
 # freebsd-update fetch
 # freebsd-update install
 # reboot
 but after reboot
 # uname -r tells me that I have
 7.1-RELEASE
 If I understand corectly from handbook, it should tells me -p1?
 Is there somthing that I am missing?
 ... and sorry for my bad English :)

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




-- 
Gabriel Lavoie
glav...@gmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Updating from 7.0 to 7.1

2009-01-08 Thread Gabriel Lavoie
For me it was worth the effort as 7.1 has the driver for the network
interface found on my motherboard (Atheros L1E) and has an updated est
(SpeedStep) driver that support my CPU (45nm Pentium Dual Core E5200).
The update using freebsd-update was quick and went smoothly. Also, the
new scheduler is now enabled but I can't tell yet if it performs
better on an SMP system.

Gabriel

2009/1/8 David Karapetyan david.karapet...@gmail.com:
 Hello, I was wondering if it was worth the time or effort to update from
 fbsd 7.0 to 7.1. From what I see, the only major change is the inclusion
 of dtrace. I am leaning towards not switching, but it seems a lot of
 people are.

 On Thu, Jan 08, 2009 at 05:50:24PM -0500, Gabriel Lavoie wrote:
 It depends. This update was related to the flaw found in OpenSSL
 recently. Since this update didn't touch the kernel, it's normal that
 your're still on the 7.1-RELEASE kernel. The kernel version changes
 only when an update touches it directly.

 Gabriel

 2009/1/8 Ivailo Bonev ibb_o...@mbox.contact.bg:
  I've tried to install latest security patches with
  # freebsd-update fetch
  # freebsd-update install
  # reboot
  but after reboot
  # uname -r tells me that I have
  7.1-RELEASE
  If I understand corectly from handbook, it should tells me -p1?
  Is there somthing that I am missing?
  ... and sorry for my bad English :)
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org
 



 --
 Gabriel Lavoie
 glav...@gmail.com
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

 --
 --
 Best,
 David Karapetyan
 http://davidkarapetyan.homeunix.com
 University of Notre Dame
 Department of Mathematics
 255 Hurley Hall
 Notre Dame, IN 46556-4618
 Phone: 574-631-5706
 Cell:  202-460-5173
 Fax:   574-631-6579

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




-- 
Gabriel Lavoie
glav...@gmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Intel Pentium Dual Core E5200 and Enhanced Speedstep

2008-12-09 Thread Gabriel Lavoie
2008/12/9 Ian Smith [EMAIL PROTECTED]
 [ skipping lots until you've seen how powerd goes on it .. and please
  drop gmail's HTML attachments on messages to the FreeBSD lists]

I found the option to disable HTML in the reply. Is it better now?

I enabled powerd and it seems to work for now.

 Ok.  If updated est code isn't in 7.0p6 you maybe could apply a patch if
 you won't be upgrading to 7.1, assuming I'm right about recent new code.

I do plan to upgrade to 7.1 when it's out as it will probably include
the driver for my onboard network adapter.

 There may be some BIOS stuff about SpeedStep options too.  Basically you
 should expect FreeBSD to ignore BIOS settings, except how they influence
 the ACPI implementation, but some BIOSes can contain surprises.

Yes, there are options about SpeedStep.

 I suspect 3-4W, even per core, would be at a much lower freq than 1GHz,
 probably nearer the minimum of ~125MHz.

The  5W consumption isn't even at the lowest speed. The 45nm CPUs are
supposed to have an excellent power efficiency. Under Windows/Linux,
Enhanced Intel SpeedStep Technology (EIST) doesn't step down the
frequency at the lowest value possible. On my C2D (65nm), like I said,
it drops to 2 GHz from 2.66. It seems the idle power consumption of
those C2D is around 15W. With EIST on the 45nm Intel CPUs, the idle
power usage has been tested to be under 4W with a quad-core unit, and
this is not at the lowest possible frequency. The 1.25 GHz frequency I
see in the BIOS is probably related to the frequency step down EIST
automatically does as with my C2D, the BIOS always shows 2 GHz but
under Windows/Linux, when the CPU is working, the frequency comes back
to 2.66 GHz. I guess that the FreeBSD est driver needs to work with my
processor to enable this behaviour.

See this:
http://www.intel.com/cd/channel/reseller/asmo-na/eng/203838.htm
http://www.tomshardware.com/reviews/intel-penryn-4ghz-air-cooling,1712-13.html

 No, if it were based on load while looking at the BIOS it'd show you the
 lowest speed for sure.  This sounds like a selection more than a report?

No, it's a report.

 2GHz is hardly idling .. maybe there's a BIOS option affecting that too,
 but it should only affect the starting freq, which powerd should ignore.

The 2 GHz is the stop down EIST does when the CPU is idling. I was
surprised to see this when I got my C2D last January. I was wondering
why the CPU was at 2 GHz when it was supposed to be running at 2.66
GHz.


 Under powerd it should drop right back at idle.  In fact there've been
 problems with some machines dropping back to 125, 100, even 75MHz under
 no or very light load, such that interactive responsiveness is shot and
 some processes needing fast interrupt response (bursts of wifi traffic,
 for one) have had issues, prompting some recent new work on algorithms
 for powerd on SMP systems.

I noticed that after I enabled powerd. At 313 MHz with my system the
responsiveness took a hit. I enabled powerd with those parameters and
it seems to step up the frequency quickly enough. Responsiveness
doesn't seems to be a problem with a polling time of 100ms.

powerd_flags=-i 90 -r 90 -p 100


 See cpufreq(4) about all this, and especially you might want to set
 debug.cpufreq.lowest to some sensible minimum freq, say 3-500MHz?

 The acpi@ list is really a better place for this; not too many of the
 heavy hitters there seem to have much spare time to read questions@ and
 where I'm mostly just an interested bystander, trying to learn :)

I'll ask there if there are still problems after I check my BIOS
settings tonight.


 cheers, Ian

Gabriel



--
Gabriel Lavoie
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd-update

2008-11-27 Thread Gabriel Lavoie
I've also got some problem with freebsd-update, under 7.0. I installed them
to update to 7.0-RELEASE-p6 and when I fetch them again I get the following:

[EMAIL PROTECTED] /home/wildchild]# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching metadata signature for 7.0-RELEASE from update1.FreeBSD.org...
done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

The following files will be updated as part of updating to 7.0-RELEASE-p6:
/boot/kernel/linker.hints

If I install and fetch them over and over again, this file will always
appear as needing an update.

Gabriel

2008/11/26 gahn [EMAIL PROTECTED]

 Hi, all:

 i did freebsd-update fetch and i got message:

 No updates needed to update system to 6.3-RELEASE-p6

 what does that suppose to mean? My current system (this one is online) is
 p4.

 Thanks all.



 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]




-- 
Gabriel Lavoie
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Setting up gmirror

2008-11-06 Thread Gabriel Lavoie
As I asked in another thread, what is the problem with the load algorith?

Thanks

2008/11/6 Volodymyr Kostyrko [EMAIL PROTECTED]

 Carl wrote:

  What are the considerations in choosing between load, prefer,
 round-robin, and split balance algorithms?


 load is currently not good at high loads, pr's pending...

 --
 Sphinx of black quartz judge my vow.

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]




-- 
Gabriel Lavoie
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gmirror + gjournal setup question

2008-11-06 Thread Gabriel Lavoie
Thanks for your reply. I finally understood that with the power failure
tests I made.

Gabriel

2008/11/6 Volodymyr Kostyrko [EMAIL PROTECTED]

 Gabriel Lavoie wrote:

 Hello,
 I would like to know what is the best way to setup gmirror + gjournal,
 on a slice level on two hard drives. Do I set up a mirrored journal
 partition + mirrored journalized slice (gmirror on top of gjournal) on
 which
 I create my labels with bsdlabels (will create /dev/mirror/name.journal,
 /dev/mirror/name.journala, /dev/mirror/name.journalb). Or I setup a
 journalized slice on both hard drive and then I mirror /dev/ad0s1.journal
 and /dev/ad1s1.journal (gjournal on top of gmirror)? I have hard time to
 figure out what would be the best, if I want to avoid mirror rebuild on
 power failure and I want fast fsck. I'd also like to make this setup on my
 1st slice (which contains the root filesystem).


 man gjournal:
 ...
 When gjournal is configured on top of gmirror(8) or graid3(8)
 providers,
 it also keeps them in a consistent state, thus automatic
 synchronization
 on power failure or system crash may be disabled on those providers.
 ...

 I think journaling a mirrored partition can be much better.

 --
 Sphinx of black quartz judge my vow.

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]




-- 
Gabriel Lavoie
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In

2008-11-05 Thread Gabriel Lavoie
That's strange, because I enabled the reporting on my system but its CPU
that wasn't on the list didn't appear.

Gabriel

2008/11/4 Marc G. Fournier [EMAIL PROTECTED]

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1



 - --On Tuesday, November 04, 2008 12:25:39 -0500 Gabriel Lavoie
 [EMAIL PROTECTED] wrote:

  When are the stats updated on bsdstats.org?

 real-time ... and they aren't for all time, the #s are based on systems
 reporting in over the past 60 days, so you will periodically see a bit of
 back
 tracking, depending on when in the cycle hosts reported in ... if I reload
 the
 page a few times, I may see it go from 25 013 - 25 103 - 25 143 - 25 140
 ...
 but the overall is an upward increase in numbers ...


 
  Thanks
 
  Gabriel
 
  2008/11/4 Marc G. Fournier [EMAIL PROTECTED]
 
  On Wed, 5 Nov 2008, andrew clarke wrote:
 
   On Mon 2008-11-03 18:33:57 UTC-0400, Marc G. Fournier ([EMAIL PROTECTED]
 )
  wrote:
 
   For FreeBSD users, you just need to install
 /usr/ports/sysutils/bsdstats
  to set things up.
 
 
  I stopped using bsdstats after it caused my FreeBSD router to take too
  long to boot up after a reboot.  If I recall correctly, I had
  bsdstats_enable=YES in /etc/rc.conf and after the reboot bsdstats
  was called before ppp was able to start, so it couldn't connect to the
  bsdstats server.  On the other hand this was a while ago and I am
  going by memory, so I may be wrong about what happened or it was just
  a coincidence.  At the time I was more interested in getting the
  router running so I didn't really care for debugging what was going
  on.  I realise this is a bit of a vague bug report, so feel free to
  ignore it.
 
 
  There is an optional flag for 'reporting on reboot' ... the original
 script
  only did reporting monthly, out of periodic, but some ppl (ie. using
  laptops) suggesting an optional flag so that when they rebooted, they
 would
  be counted also ...
 
  And you are correct, just change:
 
  bsdstats_enable=YES
 
  to
 
  bsdstats_enable=NO
 
  And 'on reboot' will eb disabled, and only periodic will be used ... at
 a
  minimum, you just need:
 
  monthly_statistics_enable=YES
 
  in /etc/periodic.conf, wich will only report OS/version and skip the
  devices/ports reports ...
 
  
  Marc G. Fournier   Hub.Org Networking Services (
 http://www.hub.org
  )
  Email . [EMAIL PROTECTED]  MSN .
 [EMAIL PROTECTED]
  Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  [EMAIL PROTECTED]
 
 
 
 
  --
  Gabriel Lavoie
  [EMAIL PROTECTED]
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 [EMAIL PROTECTED]



 - --
 Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org
 )
 Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
 Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.9 (FreeBSD)

 iEYEARECAAYFAkkRHfcACgkQ4QvfyHIvDvMP1gCfWcuWqCGNWSR5HuGSO4vgRwLb
 Y0EAn3+Pi3/1+eM/mxmKFrF7AFTMQBbv
 =yRDb
 -END PGP SIGNATURE-




-- 
Gabriel Lavoie
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In

2008-11-05 Thread Gabriel Lavoie
Good, my system finally appeared.

Gabriel

2008/11/5 Gabriel Lavoie [EMAIL PROTECTED]

 That's strange, because I enabled the reporting on my system but its CPU
 that wasn't on the list didn't appear.


 Gabriel

 2008/11/4 Marc G. Fournier [EMAIL PROTECTED]

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1



 - --On Tuesday, November 04, 2008 12:25:39 -0500 Gabriel Lavoie
 [EMAIL PROTECTED] wrote:

  When are the stats updated on bsdstats.org?

 real-time ... and they aren't for all time, the #s are based on systems
 reporting in over the past 60 days, so you will periodically see a bit of
 back
 tracking, depending on when in the cycle hosts reported in ... if I reload
 the
 page a few times, I may see it go from 25 013 - 25 103 - 25 143 - 25
 140 ...
 but the overall is an upward increase in numbers ...


 
  Thanks
 
  Gabriel
 
  2008/11/4 Marc G. Fournier [EMAIL PROTECTED]
 
  On Wed, 5 Nov 2008, andrew clarke wrote:
 
   On Mon 2008-11-03 18:33:57 UTC-0400, Marc G. Fournier (
 [EMAIL PROTECTED])
  wrote:
 
   For FreeBSD users, you just need to install
 /usr/ports/sysutils/bsdstats
  to set things up.
 
 
  I stopped using bsdstats after it caused my FreeBSD router to take too
  long to boot up after a reboot.  If I recall correctly, I had
  bsdstats_enable=YES in /etc/rc.conf and after the reboot bsdstats
  was called before ppp was able to start, so it couldn't connect to the
  bsdstats server.  On the other hand this was a while ago and I am
  going by memory, so I may be wrong about what happened or it was just
  a coincidence.  At the time I was more interested in getting the
  router running so I didn't really care for debugging what was going
  on.  I realise this is a bit of a vague bug report, so feel free to
  ignore it.
 
 
  There is an optional flag for 'reporting on reboot' ... the original
 script
  only did reporting monthly, out of periodic, but some ppl (ie. using
  laptops) suggesting an optional flag so that when they rebooted, they
 would
  be counted also ...
 
  And you are correct, just change:
 
  bsdstats_enable=YES
 
  to
 
  bsdstats_enable=NO
 
  And 'on reboot' will eb disabled, and only periodic will be used ... at
 a
  minimum, you just need:
 
  monthly_statistics_enable=YES
 
  in /etc/periodic.conf, wich will only report OS/version and skip the
  devices/ports reports ...
 
  
  Marc G. Fournier   Hub.Org Networking Services (
 http://www.hub.org
  )
  Email . [EMAIL PROTECTED]  MSN .
 [EMAIL PROTECTED]
  Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  [EMAIL PROTECTED]
 
 
 
 
  --
  Gabriel Lavoie
  [EMAIL PROTECTED]
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 [EMAIL PROTECTED]



 - --
 Marc G. FournierHub.Org Hosting Solutions S.A. (
 http://www.hub.org)
 Email . [EMAIL PROTECTED]  MSN .
 [EMAIL PROTECTED]
 Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.9 (FreeBSD)

 iEYEARECAAYFAkkRHfcACgkQ4QvfyHIvDvMP1gCfWcuWqCGNWSR5HuGSO4vgRwLb
 Y0EAn3+Pi3/1+eM/mxmKFrF7AFTMQBbv
 =yRDb
 -END PGP SIGNATURE-




 --
 Gabriel Lavoie
 [EMAIL PROTECTED]




-- 
Gabriel Lavoie
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In

2008-11-04 Thread Gabriel Lavoie
When are the stats updated on bsdstats.org?

Thanks

Gabriel

2008/11/4 Marc G. Fournier [EMAIL PROTECTED]

 On Wed, 5 Nov 2008, andrew clarke wrote:

  On Mon 2008-11-03 18:33:57 UTC-0400, Marc G. Fournier ([EMAIL PROTECTED])
 wrote:

  For FreeBSD users, you just need to install /usr/ports/sysutils/bsdstats
 to set things up.


 I stopped using bsdstats after it caused my FreeBSD router to take too
 long to boot up after a reboot.  If I recall correctly, I had
 bsdstats_enable=YES in /etc/rc.conf and after the reboot bsdstats
 was called before ppp was able to start, so it couldn't connect to the
 bsdstats server.  On the other hand this was a while ago and I am
 going by memory, so I may be wrong about what happened or it was just
 a coincidence.  At the time I was more interested in getting the
 router running so I didn't really care for debugging what was going
 on.  I realise this is a bit of a vague bug report, so feel free to
 ignore it.


 There is an optional flag for 'reporting on reboot' ... the original script
 only did reporting monthly, out of periodic, but some ppl (ie. using
 laptops) suggesting an optional flag so that when they rebooted, they would
 be counted also ...

 And you are correct, just change:

 bsdstats_enable=YES

 to

 bsdstats_enable=NO

 And 'on reboot' will eb disabled, and only periodic will be used ... at a
 minimum, you just need:

 monthly_statistics_enable=YES

 in /etc/periodic.conf, wich will only report OS/version and skip the
 devices/ports reports ...

 
 Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org
 )
 Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
 Yahoo . yscrappy   Skype: hub.orgICQ . 7615664

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]




-- 
Gabriel Lavoie
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gjournal: journaled slices vs. journaled partitions

2008-11-04 Thread Gabriel Lavoie
:

  glabel label umgah0swap /dev/mirror/umgah0.journalb

 You can skip all this glabel thing, I just prefer to have slim fstab, as
 slim as possible.

 fstab
 /dev/label/umgah0swap none swap sw 0 0

 md /tmp mfs rw,-s1024m,-S,-oasync 0 0

 /dev/ufs/umgah0root / ufs rw,async,noatime 0 1
 /dev/ufs/umgah0var /var ufs rw,async,noatime 0 2
 /dev/ufs/umgah0usr /usr ufs rw,async,noatime 0 2
 /fstab

 There's a lot more here to describe from moving system to newly created
 partitions to inserting and rebuilding our first disk to gmirror. All this
 issues are described in handbook or other articles found on the net.


 --
 Sphinx of black quartz judge my vow.

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]




-- 
Gabriel Lavoie
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gjournal: journaled slices vs. journaled partitions

2008-11-04 Thread Gabriel Lavoie
2008/11/4 Volodymyr Kostyrko [EMAIL PROTECTED]

 2008/11/4 Gabriel Lavoie [EMAIL PROTECTED]:
  When building this setup I got one big problem. If the root filesystem
 (/)
  was on a gjournal provider, an unclean shutdown when data was being
 written
  on the disk rendered the system completely unbootable. I got this
 message:
 
  GEOM_MIRROR: Device mirror/gm launched (2/2)
  GEOM_JOURNAL: Journal 3672855181: mirror/gma contains data.
  GEOM_JOURNAL: Journal 3672855181: mirror/gma contains journal.
  GEOM_JOURNAL: Journal 3868799910: mirror/gmd contains data.
 
  GEOM_JOURNAL: Journal 3868799910: mirror/gmd contains journal.
  GEOM_JOURNAL: Journal mirror/gmd consistent.

 Just one thing - you have two separate journaled partitions, one
 journal per one partition.


Yes, this is the test setup I made with one journal for / and one journal
for /usr. Only an unclean journal on / rendered the journal unbootable. An
unclean journal on /usr gave me no problem.

If I put the journal on the slice level, with the root filesystem over the
journal. Resetting the system while writing data on any filesystem causes
the problem as the journal is shared to the root filesystem too.




  Trying to mount root from ufs:/dev/mirror/gm.journal
 
  Manual root filesystem specification:
  fstype:device  Mount device using filesystem fstype
 
 eg. ufs:da0s1a
  ? List valid disk boot devices
  empty line  Abort manual input
 
 
  mountroot ?
 
  List of GEOM managed disk devices:
 
   mirror/gmd.journal mirror/gmd mirror/gmc mirror/gma mirror/gm
 ad10s1c
  ad10s1b ad8s1c ad8s1b ad10s2 ad10s1 ad8s1 ad10 ad8 acd0
 
  As you can see, in the proposed list of disk devices devices to boot on,
  mirror/gm.journala is absent. As I and Ivan Voras, that I contacted
 about
  this problem, found, the GEOM_JOURNAL thread that is supposed to mark the
  journal consistent takes too much time to do it with the root
 filesystem's
  provider and the kernel try to mount a device that doesn't yet exist. A
 bug
  report has been opened about this problem. For my final setup I decided
 to
  put the root filesystem on a separate mirrorred slice of 1GB. Since this
  slice isn't often written on, not many rebuilds should occur in case of
  power failure. And I made my power failure test by hitting the reset
  button while writing data on this filesystem and the rebuild on 1GB
 doesn't
  takes too much time (at most 20-30 seconds).

 Good to hear it, i've fallen for that too, but the machine isn't
 powercycled at all and runs on guaranteed power. I had the similar
 problems with described setup on virtual test machine too, yet
 entering anything at mountroot prompt gave gjournal a chance to keep
 up and needed partition comes up eventually... I didn't reported that,
 thought it was a virtual machine issue.


Same thing here, I had a backup installation on another slice and when I
gave this one on the prompt, as soon as I hit Enter, GEOM_JOURNAL was
marking the journal consistent. I'm happy to hear that I'm not the only one
that had this problem. As for my setup. I put / on its own 1GB mirrored
slice with auto-synchronization and soft-updates and I put the other
filesystems (/home /usr /var /tmp) on a second fully mirrored/journalised
slice (with the journal at the slice level), with auto-synchronization on
power failure turned off and async mount option.

As for the bug report, I consider this is an easily reproductible bug and I
hope it will be solved soon! :)



  Now I have the question. Why the load algorith wasn't recommended? Is
 it
  fixed in 7.0-RELEASE-p5?

 Nope...

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

 --
 Sphinx of black quartz judge my vow.



Gabriel

-- 
Gabriel Lavoie
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


gmirror + gjournal setup question

2008-10-29 Thread Gabriel Lavoie
Hello,
 I would like to know what is the best way to setup gmirror + gjournal,
on a slice level on two hard drives. Do I set up a mirrored journal
partition + mirrored journalized slice (gmirror on top of gjournal) on which
I create my labels with bsdlabels (will create /dev/mirror/name.journal,
/dev/mirror/name.journala, /dev/mirror/name.journalb). Or I setup a
journalized slice on both hard drive and then I mirror /dev/ad0s1.journal
and /dev/ad1s1.journal (gjournal on top of gmirror)? I have hard time to
figure out what would be the best, if I want to avoid mirror rebuild on
power failure and I want fast fsck. I'd also like to make this setup on my
1st slice (which contains the root filesystem).

Thanks

Gabriel

-- 
Gabriel Lavoie
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]