Why can't I write to freebsd-questions?
If you can read this message, the problem has been solved. Thanks Peter ___ 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: Why can't I write to freebsd-questions?
Peter, I can read it . You have solved a problem. Regards, Antonio On 7/29/10, Peter Ulrich Kruppa ulr...@pukruppa.de wrote: If you can read this message, the problem has been solved. Thanks Peter ___ 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 ___ 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: Why can't I write to freebsd-questions?
Thanks, for some reason I could read all messages from this list, but couldn't reply. I just unsubscribed and resubscribed. Strange, but seems to work. Greetings Peter. Am Donnerstag, den 29.07.2010, 23:07 -0500 schrieb Antonio Olivares: Peter, I can read it . You have solved a problem. Regards, Antonio On 7/29/10, Peter Ulrich Kruppa ulr...@pukruppa.de wrote: If you can read this message, the problem has been solved. Thanks Peter ___ 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 ___ 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
Bash logging: two questions
Hello, I would like to run a bash script but to log output and exit codes. Essentially I would like to run the script with bash -x, but for that output to the log to go to a file, and the normal output as from running a normal script to go to the terminal. That's my first question :) My second question is about history. Bash has a -h option to remember the location of commands as they are looked up. Is it possible for this to be recorded in the history? e.g. if I run ls, it would record /bin/ls to the bash history file. Many thanks. JB ___ 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: Bash logging: two questions
jimbob palmer jimbobpal...@gmail.com writes: Hello, I would like to run a bash script but to log output and exit codes. Essentially I would like to run the script with bash -x, but for that output to the log to go to a file, and the normal output as from running a normal script to go to the terminal. Dunno about bash but in zsh it's easy #! /usr/bin/env zsh PS4='+%i:%N:%? ' exec 2trace.log set -x # here goes the main script foo=5 bar=$(date) echo foo=$foo, $bar false echo It should work in sh(1) except you'll not see exit values in prompt. Seems like bash doesn't have tcsh-like features: `%?' and printexitvalue. I guess you'll have to write your own wrapper to put `$?' into stderr after each command. My second question is about history. Bash has a -h option to remember the location of commands as they are looked up. Is it possible for this to be recorded in the history? e.g. if I run ls, it would record /bin/ls to the bash history file. If bash has smth like zshaddhistory() it'd be easy... ___ 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
Herramientas para la Construccion y Mas - freebsd-questions
HERRAMIENTAS PARA LA CONSTRUCCION Y MAS * ANDAMIOS TUBULARES * ACCESORIOS DE SEGURIDAD * CABALLETES EXTENSIBLES * ELEVADOR PARA PLACAS DE DURLOCK O KNAUF * ESCALERAS TIPO BURROS * TORRES DE ELEVACION DE MATERIALES * TRIBUNAS Y GRADAS * CARROS RECOLECTORES * VALLAS CERRAMIENTOS * GUINCHES * PLUMAS * LINEA CARRITOS www.nuevosairesnet.com.ar e mail manunuevosai...@coopenetcolon.com.ar ___ 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
Herramientas para la Construccion y Mas - questions
HERRAMIENTAS PARA LA CONSTRUCCION Y MAS * ANDAMIOS TUBULARES * ACCESORIOS DE SEGURIDAD * CABALLETES EXTENSIBLES * ELEVADOR PARA PLACAS DE DURLOCK O KNAUF * ESCALERAS TIPO BURROS * TORRES DE ELEVACION DE MATERIALES * TRIBUNAS Y GRADAS * CARROS RECOLECTORES * VALLAS CERRAMIENTOS * GUINCHES * PLUMAS * LINEA CARRITOS www.nuevosairesnet.com.ar e mail manunuevosai...@coopenetcolon.com.ar ___ 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
Some GMirror questions.
Hello All, There are a number of gmirror resources available online but there are a few discrepancies. I thought someone here might be able to shed some light on them. Also, this is on FreeBSD 8.0 RELEASE. Does creating the mirror need to be done from a Livefs CD (in Fixit mode) or can it be done directly from the OS? The Handbook makes no reference to things like: # Install FreeBSD on to ad0. # Reboot with the Install CD. # Enter Fixit mode. chroot /dist mount -t devfs devfs /dev gmirror load gmirror label -v -b round-robin gm0 /dev/ad0 mount /dev/mirror/gm0s1a /mnt echo geom_mirror_load=YES /mnt/boot/loader.conf It just indicates jumping right in with gmirror label from the OS (at least it seems to). Also, these next 2 entries in /etc/rc.conf. The Handbook does not make any mention of them. The way the authors state their purpose it would seem as though that should be done in all cases of disk mirroring. Is that true? # tell the system that the swap file will be on a mirror, not a raw drive. echo ’swapoff=”YES”‘ /mnt/etc/rc.conf # need to do this to make dumping cores happy since it won’t use a gmirror’ed drive dumpdev=”NO” Lastly, I know at one point the 'load' algorithm had some performance problems and people were saying to only use 'round-robin'. It seems as though some code was committed back in Dec 2009 to fix it's this. Is there a practical rule of thumb to using 'load' vs 'round-robin'? Is this an accurate way to look at it? Round-robin because if you have two disks in a mirror, they’re both under the same 'load' constraints, and it is best to KISS. Cheers, Peter ___ 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: Some GMirror questions.
I think you are making this harder than is needs to be. When in doubt defer to the Handbook and the man pages. This also a good page http://onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html Lastly, I know at one point the 'load' algorithm had some performance problems and people were saying to only use 'round-robin'. It seems as though some code was committed back in Dec 2009 to fix it's this. Is there a practical rule of thumb to using 'load' vs 'round-robin'? Use load. http://www.freebsd.org/cgi/query-pr.cgi?pr=113885 Is this an accurate way to look at it? Round-robin because if you have two disks in a mirror, they’re both under the same 'load' constraints, and it is best to KISS. No. round-robin is a simple algorithm which alternates drive requests. Also two identical HD's may be mirrored but they will not really ever be same state in terms of caching, performance, etc. -- Adam Vande More ___ 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: two questions....
On Wed, 2 Jun 2010 16:04:20 -0700, Gary Kline kl...@thought.org wrote: guys, i just found a truckload of Just Outstanding fonts. at the CTAN .org site there must be hundreds of these superb serif typefaces. in my /home/kline/ directory, i have a ~/.fonts directory. but it's been awhile since i've added to it. what's the magic to getting these tex-gyre fonts can use them? i would like these to be available for abiword, OOo, as well as my tex packages. clues, please. Installing fonts in ~/.fonts makes them available for all the programs that use fontconfig after you run: fc-cache -v TeX and a few other applications (e.g. groff) have their own way of handling fonts. You may have to install them using a TeX-specific set of commands. Newer TeX-live installations support XeTeX too. To use a Truetype font in XeTeX you will need to copy the fonts to a path that is visible during xetex/xelatex runs and add something like this in your document's preamble: \usepackage{fontspec} \defaultfontfeatures{Mapping=tex-text} \setmainfont[Scale=0.9, BoldFont={*-Bold}, ItalicFont={*-Italic}, BoldItalicFont={*-BoldItalic}] {DejaVuSerifCondensed} \setsansfont[Scale=0.9, BoldFont={*-Bold}, ItalicFont={*-Italic}, BoldItalicFont={*-BoldItalic}] {DejaVuSansCondensed} % Monospace DejaVu fonts have to be scaled down a bit more than % their serif or sans-serif equivalents to look nice in print % output. \setmonofont[Scale=0.85, BoldFont={*-Bold}, ItalicFont={*-Oblique}, BoldItalicFont={*-BoldOblique}] {DejaVuSansMono} \usepackage{xunicode} \usepackage{xltxtra} This is the preamble text I use to write XeTeX documents using the DejaVu family of fonts. The results are fantastic. A sample of what these fonts yield can be seen at: http://students.ceid.upatras.gr/~keramida/free.pdf This is one of the books I converted from their HTML source to XeLaTeX when I was learning to use TrueType and OpenType fonts in TeX. Copying the DejaVu fonts in the same directory as the TeX source makes them immediately available to XeLaTeX. This is nice because you can package both the TeX source *and* the necessary fonts in the same archive :-) ___ 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
two questions....
guys, i just found a truckload of Just Outstanding fonts. at the CTAN .org site there must be hundreds of these superb serif typefaces. in my /home/kline/ directory, i have a ~/.fonts directory. but it's been awhile since i've added to it. what's the magic to getting these tex-gyre fonts can use them? i would like these to be available for abiword, OOo, as well as my tex packages. clues, please. the second question is that a few hours ago i reinstalled something from /usr/ports/print, the lyx15 port. i played around with this only one time and would like this list's opinion of it. i'll probably continue to typeset my manuscripts by hand the way i was learning in the early 90's. would still like the general consensus on lyx and related. tia, gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel ___ 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: two questions....
Gary Kline kl...@thought.org writes: guys, i just found a truckload of Just Outstanding fonts. at the CTAN .org site there must be hundreds of these superb serif typefaces. in my /home/kline/ directory, i have a ~/.fonts directory. but it's been awhile since i've added to it. what's the magic to getting these tex-gyre fonts can use them? i would like these to be available for abiword, OOo, as well as my tex packages. clues, please. mkfontdir(1) and mkfontscale(1) are all you need. ___ 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: two questions....
On Wed, Jun 02, 2010 at 07:32:20PM -0400, Lowell Gilbert wrote: Gary Kline kl...@thought.org writes: guys, i just found a truckload of Just Outstanding fonts. at the CTAN .org site there must be hundreds of these superb serif typefaces. in my /home/kline/ directory, i have a ~/.fonts directory. but it's been awhile since i've added to it. what's the magic to getting these tex-gyre fonts can use them? i would like these to be available for abiword, OOo, as well as my tex packages. clues, please. mkfontdir(1) and mkfontscale(1) are all you need. yeah, check my notes; wsasn't clear. do i run each command in ~/.fonts/TTF and ~/.fonts/Type1 [[[ after i move the tex-* over there? [there are already scores of fonts there.] Matthew mumbled something about 'sadmin' and i found the biary like that. it changed my printer name and said it added 28 ttf fonts [?] -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel ___ 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: two questions....
On Wed, Jun 02, 2010 at 07:32:20PM -0400, Lowell Gilbert wrote: Gary Kline kl...@thought.org writes: guys, i just found a truckload of Just Outstanding fonts. at the CTAN .org site there must be hundreds of these superb serif typefaces. in my /home/kline/ directory, i have a ~/.fonts directory. but it's been awhile since i've added to it. what's the magic to getting these tex-gyre fonts can use them? i would like these to be available for abiword, OOo, as well as my tex packages. clues, please. mkfontdir(1) and mkfontscale(1) are all you need. And fc-cache(1), I think. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpNRUBPiUJuT.pgp Description: PGP signature
Re: two questions....
On Thu, Jun 03, 2010 at 02:13:22AM +0200, Roland Smith wrote: On Wed, Jun 02, 2010 at 07:32:20PM -0400, Lowell Gilbert wrote: Gary Kline kl...@thought.org writes: guys, i just found a truckload of Just Outstanding fonts. at the CTAN .org site there must be hundreds of these superb serif typefaces. in my /home/kline/ directory, i have a ~/.fonts directory. but it's been awhile since i've added to it. what's the magic to getting these tex-gyre fonts can use them? i would like these to be available for abiword, OOo, as well as my tex packages. clues, please. mkfontdir(1) and mkfontscale(1) are all you need. And fc-cache(1), I think. i thought i mailed this several hours ago... anyway, i nowhave the tex-gyre font on both oo.org and abiword, but only on abiword are my entire set of ~/.fonts/* in several more houtrs i'll see what happens when i create a 10pt pdf file from my test.tex. gary Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel ___ 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: From Arthur Sentsov - Questions from beginner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 13/05/2010 05:41:47, Artur Sentsov wrote: 1. I have freebsd server running apache and mysql. In logs i see around 100 attempts to hack the server. Is that normal? what i have to do that after three wrong attempts to enter password server will block ip address?! Do you mean attacks against the web server? Automated web probes attempting to exploit various security flaws are, I'm afraid, completely normal nowadays. The good news is that most of the probe attempts are aimed at other operating systems, and could never work on FreeBSD. Even so, you should take care to apply any available security patches promptly. Unfortunately there aren't many good ways to automatically block bruteforce attacks against web applications -- too many different ways of implementing passwords in different web apps. Use good passwords basically. 2. I use SSH to sonnect to server and work on it! Is that secure? On the other hand, do you mean attempts to bruteforce attacks against ssh? Again, this is unfortunately normal on the web nowadays. Yes, ssh is generally secure. It's certainly better than alternative means of remote access. If you have good passwords on your accounts, the chances of any attacker being able to guess what they are is actually very remote. So no need to run about in a complete panic. Take your time to read up on the possible solutions and implement what works best for you. One very simple means you can use to make it completely impossible for any attacker to bruteforce an ssh password on you machine is to use key based authentication instead: no passwords means no possibility of them being guessed. This will not stop bruteforce /attempts/ -- they are usually done entirely automatically -- and the traces will still clog up your log files, but you can safely ignore them. This is a perennial topic on this list -- search the archives for many, many reiterations of people giving realms of good advice about what to do to defend yourself. 3. How to setup SAMBA on server?! I want my users to be able to upload files and download files from their folder. Users use windows. Well, install the one of the samba ports -- net/samba34 is probably your best bet -- and read the very good documentation that comes with it. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvrlTQACgkQ8Mjk52CukIzQWwCePA1dH42HG4DH+yI9wkrUOXrq M2IAn1B19pICPnD6F47CPYDXQptq4Aad =dCkW -END PGP SIGNATURE- ___ 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: [#24495324] From Arthur Sentsov - Questions from beginner
Hi, Please let us know if there is anything that we could assist you with, thanks. -- Best Regards Ramon Server engineer Hosting Services, Inc. ___ 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: From Arthur Sentsov - Questions from beginner
Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 13/05/2010 05:41:47, Artur Sentsov wrote: 1. I have freebsd server running apache and mysql. In logs i see around 100 attempts to hack the server. Is that normal? what i have to do that after three wrong attempts to enter password server will block ip address?! Use pf -filter to collect attempts to a list. That list will then be used to block attempts in future (aka bruteforce option). Do you mean attacks against the web server? Automated web probes attempting to exploit various security flaws are, I'm afraid, completely normal nowadays. The good news is that most of the probe attempts are aimed at other operating systems, and could never work on FreeBSD. Even so, you should take care to apply any available security patches promptly. Unfortunately there aren't many good ways to automatically block bruteforce attacks against web applications -- too many different ways of implementing passwords in different web apps. Use good passwords basically. 2. I use SSH to sonnect to server and work on it! Is that secure? On the other hand, do you mean attempts to bruteforce attacks against ssh? Again, this is unfortunately normal on the web nowadays. Yes, ssh is generally secure. It's certainly better than alternative means of remote access. If you have good passwords on your accounts, the chances of any attacker being able to guess what they are is actually very remote. So no need to run about in a complete panic. Take your time to read up on the possible solutions and implement what works best for you. One very simple means you can use to make it completely impossible for any attacker to bruteforce an ssh password on you machine is to use key based authentication instead: no passwords means no possibility of them being guessed. This will not stop bruteforce /attempts/ -- they are usually done entirely automatically -- and the traces will still clog up your log files, but you can safely ignore them. This is a perennial topic on this list -- search the archives for many, many reiterations of people giving realms of good advice about what to do to defend yourself. 3. How to setup SAMBA on server?! I want my users to be able to upload files and download files from their folder. Users use windows. Well, install the one of the samba ports -- net/samba34 is probably your best bet -- and read the very good documentation that comes with it. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvrlTQACgkQ8Mjk52CukIzQWwCePA1dH42HG4DH+yI9wkrUOXrq M2IAn1B19pICPnD6F47CPYDXQptq4Aad =dCkW -END PGP SIGNATURE- ___ 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 ___ 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
From Arthur Sentsov - Questions from beginner
Hi I have some questions. 1. I have freebsd server running apache and mysql. In logs i see around 100 attempts to hack the server. Is that normal? what i have to do that after three wrong attempts to enter password server will block ip address?! 2. I use SSH to sonnect to server and work on it! Is that secure? 3. How to setup SAMBA on server?! I want my users to be able to upload files and download files from their folder. Users use windows. Thank you -- www.baptistmp3.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-questions Digest, Vol 308, Issue 10
Yes probably, but for now I can play urban terror as well. Which features are missing ? -- Demelier David What would be awesome is Enemy Territory Quake Wars using the linux compat! The issue is it requires emulation of a later kernel. I also play Urban Terror. Join up on fsk405 Superman! -- Winston Weinert ___ 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-questions Digest, Vol 308, Issue 4
Não responda essa mensagem ela é automatica. ___ 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: Questions about port revision numbers, portsnap, csup
Greg Larkin wrote: Joe Auty wrote: Greg Larkin wrote: John Levine wrote: I have the same problem, recently upgraded to PHP 5.3.2 and Apache was crashing whenever I tried to use a mediawiki page until I commented out the apc library. (Apache is 2.0, Freebsd is still 7.0, if that matters.) cd /usr/ports fetch http://people.freebsd.org/~glarkin/diffs/pecl-APC-3.1.3p1.diff patch pecl-APC-3.1.3p1.diff Didn't work, because pecl-APC is www/pecl-APC, not devel/pecl-APC. I edited the patch to be www/ rather than devel/ at which point the patch applied but make failed due to one of the other patches: Hi John, Sorry about that bit - I'll check my local development environment. === Patching for pecl-APC-3.1.3.p1 === Applying FreeBSD patches for pecl-APC-3.1.3.p1 1 out of 2 hunks failed--saving rejects to apc_sem.c.rej = Patch patch-apc_sem.c failed to apply cleanly. *** Error code 1 Please run the other commands in my email to move those now-obsolete patch files out of the way: mkdir /usr/ports/devel/pecl-APC/files/save-patches mv /usr/ports/devel/pecl-APC/files/patch-* \ /usr/ports/devel/pecl-APC/files/save-patches Regards, Greg I just did a search/replace of devel-www in Greg's patch... It downloaded the beta, but I have compile errors now. Isn't pcre supposed to be built into PHP 5.3 now? In file included from /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:43: /usr/local/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such file or directory In file included from /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:43: /usr/local/include/php/ext/pcre/php_pcre.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token Hi Joe, PCRE problems are very common after upgrading to 5.3.2. ale@ added an entry in /usr/ports/UPDATING that recommends uninstalling all PHP-related ports and recompiling, IIRC. That's the best way to clean out all remnants of the php5-pcre port. Yeah, I saw that notice and I've actually done this already... Perhaps I missed something, although why would the older version compile before applying this patch? Regards, Greg ___ 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 -- Joe Auty, NetMusician NetMusician helps musicians, bands and artists create beautiful, professional, custom designed, career-essential websites that are easy to maintain and to integrate with popular social networks. www.netmusician.org http://www.netmusician.org j...@netmusician.org mailto:j...@netmusician.org ___ 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: Questions about port revision numbers, portsnap, csup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe Auty wrote: Greg Larkin wrote: Joe Auty wrote: Greg Larkin wrote: John Levine wrote: I have the same problem, recently upgraded to PHP 5.3.2 and Apache was crashing whenever I tried to use a mediawiki page until I commented out the apc library. (Apache is 2.0, Freebsd is still 7.0, if that matters.) cd /usr/ports fetch http://people.freebsd.org/~glarkin/diffs/pecl-APC-3.1.3p1.diff patch pecl-APC-3.1.3p1.diff Didn't work, because pecl-APC is www/pecl-APC, not devel/pecl-APC. I edited the patch to be www/ rather than devel/ at which point the patch applied but make failed due to one of the other patches: Hi John, Sorry about that bit - I'll check my local development environment. === Patching for pecl-APC-3.1.3.p1 === Applying FreeBSD patches for pecl-APC-3.1.3.p1 1 out of 2 hunks failed--saving rejects to apc_sem.c.rej = Patch patch-apc_sem.c failed to apply cleanly. *** Error code 1 Please run the other commands in my email to move those now-obsolete patch files out of the way: mkdir /usr/ports/devel/pecl-APC/files/save-patches mv /usr/ports/devel/pecl-APC/files/patch-* \ /usr/ports/devel/pecl-APC/files/save-patches Regards, Greg I just did a search/replace of devel-www in Greg's patch... It downloaded the beta, but I have compile errors now. Isn't pcre supposed to be built into PHP 5.3 now? In file included from /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:43: /usr/local/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such file or directory In file included from /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:43: /usr/local/include/php/ext/pcre/php_pcre.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token Hi Joe, PCRE problems are very common after upgrading to 5.3.2. ale@ added an entry in /usr/ports/UPDATING that recommends uninstalling all PHP-related ports and recompiling, IIRC. That's the best way to clean out all remnants of the php5-pcre port. Yeah, I saw that notice and I've actually done this already... Perhaps I missed something, although why would the older version compile before applying this patch? Hi Joe, My apologies, I went down the wrong path while troubleshooting that error message. I later reproduced the same compiler error here and then committed a fix for it. If you refresh your ports tree again to get the latest version of www/pecl-APC, you should be all set. Let me know if you run into any problems after that. Thank you, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLzflJ0sRouByUApARAqtGAJ0UPNqW0g83i/W9GEXjdu5RPEu+/gCdGR8a MBPUq23QNFsF2saB03HpKho= =a/iE -END PGP SIGNATURE- ___ 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: Questions about port revision numbers, portsnap, csup
Greg, After applying the update (which I noticed was available immediately after my last response to you, sorry about that!), everything is just peachy now, or at least not causing the segfaults, thanks! Not to sound unappreciative and purely in the spirit of being constructive, I'd suggest a little more specificity as far as what a break is on the commit history. This goofy title was created because it didn't occur to me that the break fix committed on April 12 was only for compilation. I would suggest specifying whether the break and the fix is for compiling, or for the software to work properly post-compilation. This would have saved me a little confusion and time. Again, you kick ass, in no way do I want this to sound harshly critical, I hope this can be taken as purely constructive :) Thanks again for your help with this fix! ___ 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: Questions about port revision numbers, portsnap, csup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe Auty wrote: Greg, After applying the update (which I noticed was available immediately after my last response to you, sorry about that!), everything is just peachy now, or at least not causing the segfaults, thanks! Not to sound unappreciative and purely in the spirit of being constructive, I'd suggest a little more specificity as far as what a break is on the commit history. This goofy title was created because it didn't occur to me that the break fix committed on April 12 was only for compilation. I would suggest specifying whether the break and the fix is for compiling, or for the software to work properly post-compilation. This would have saved me a little confusion and time. Again, you kick ass, in no way do I want this to sound harshly critical, I hope this can be taken as purely constructive :) Thanks again for your help with this fix! Hi Joe, Great, I'm glad to hear that's working for you now. I do appreciate your input, re: commit logs. Unbreak is too nebulous, and I'll plan to add further info like fixed compiler error in the future. I admit we were in a bit of a rush to get various PHP modules building again after the PHP 5.3.2 update, and I somehow missed the fact that this one supported 5.3.2 with a new release of itself. I think I'll be better prepared for this kind of thing in the future! Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLzf7v0sRouByUApARAockAKC61isslQlss2C03zRPbovtBG6H9QCgkOFE g2xUYqmTQvdFXZibSEgi5A0= =qfdq -END PGP SIGNATURE- ___ 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
Questions about port revision numbers, portsnap, csup
Hello, I've identified my pecl-APC install as being broken after upgrading to PHP 5.3.2. According to the commit history listed here: http://www.freshports.org/www/pecl-APC/ there is a fix out. However, doing a portsnap fetch update does not seem to fetch this latest revision to this port, after doing my portsnap it shows no updates are available for the port although I'm pretty certain that I last portsnapped before April 12. I'm assuming that portsnap only grabs a new version of the portrevision number has been bumped? My questions: 1) If I were to csup my ports tree to force a fetch of this update, would this break portsnap? 2) Is there a way to look at the commit history of the ports I have installed in /usr/ports so that I can verify whether or not I have the revision with this particular fix? Thus far I've been relying on freshports.org and trusting that doing a portsnap will always fetch the latest stuff visible on freshports.org, but now I'm not so sure... 3) Shouldn't the portrevision number be bumped whenever there is an update? I always assumed that the _x suffixes indicated a portrevision bump. Why was it not bumped for this pecl-APC fix? Human error? Is there any other way I can force the download of this port, or is csup my best bet? -- Joe Auty, NetMusician NetMusician helps musicians, bands and artists create beautiful, professional, custom designed, career-essential websites that are easy to maintain and to integrate with popular social networks. www.netmusician.org http://www.netmusician.org j...@netmusician.org mailto:j...@netmusician.org ___ 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: Questions about port revision numbers, portsnap, csup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe Auty wrote: Hello, Hi Joe, I've identified my pecl-APC install as being broken after upgrading to PHP 5.3.2. Does pecl-APC not compile, or is it functionally broken after compiling succesfully? According to the commit history listed here: http://www.freshports.org/www/pecl-APC/ there is a fix out. However, doing a portsnap fetch update does not seem to fetch this latest revision to this port, after doing my portsnap it shows no updates are available for the port although I'm pretty certain that I last portsnapped before April 12. I'm assuming that portsnap only grabs a new version of the portrevision number has been bumped? No, portsnap builds new updates based on the latest bits committed to the ports tree CVS repository, no matter if PORTREVISION has been bumped or not. My questions: 1) If I were to csup my ports tree to force a fetch of this update, would this break portsnap? Yes, you would have to do portsnap fetch extract again at a later time. 2) Is there a way to look at the commit history of the ports I have installed in /usr/ports so that I can verify whether or not I have the revision with this particular fix? Thus far I've been relying on freshports.org and trusting that doing a portsnap will always fetch the latest stuff visible on freshports.org, but now I'm not so sure... Is /usr/ports/www/pecl-APC/files/patch-php_apc.c present on your machine? If so, then you have the latest commit. 3) Shouldn't the portrevision number be bumped whenever there is an update? I always assumed that the _x suffixes indicated a portrevision bump. Why was it not bumped for this pecl-APC fix? Human error? Is there any other way I can force the download of this port, or is csup my best bet? No, PORTREVISION is only bumped in certain circumstances. In this case, PHP 5.3.2 caused compiler errors for pecl-APC. Committing a change to the port to get it to compile does not necessitate a PORTREVISION bump. You can find more information here: http://www.freebsd.org/doc/en/books/porters-handbook/book.html#MAKEFILE-NAMING-REVEPOCH Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLzJNj0sRouByUApARAoM+AKC/vBEWijwa0DNF2riicpmzsGnNfACeLjaS kxmePUMG3CnGuwPwrrZZvCI= =9JNL -END PGP SIGNATURE- ___ 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: Questions about port revision numbers, portsnap, csup
Greg Larkin wrote: Does pecl-APC not compile, or is it functionally broken after compiling succesfully? It compiles, but once loaded it causes either Apache child processes to segfault or abort traps depending on where the extension is listed in my extensions.ini file. Apache itself is running fine, I don't have these problems on non-PHP pages. Commenting out the apc.so in extensions.ini makes Apache work again. I haven't done an extensive job of looking for PHP extension conflicts just yet, but I've slowly been testing my PHP extensions one by one on a test machine. I got as far as this: extension=session.so extension=mysql.so extension=json.so extension=curl.so extension=openssl.so ;extension=apc.so apc.so is commented out because this was the point where I realized that it was the culprit after this upgrade. So, I'd imagine that APC has some sort of problem with PHP 5.3, or possibly one of these extensions? 2) Is there a way to look at the commit history of the ports I have installed in /usr/ports so that I can verify whether or not I have the revision with this particular fix? Thus far I've been relying on freshports.org and trusting that doing a portsnap will always fetch the latest stuff visible on freshports.org, but now I'm not so sure... Is /usr/ports/www/pecl-APC/files/patch-php_apc.c present on your machine? If so, then you have the latest commit. Yeah, I have that file... I didn't know that the patch fixed compiling problems, that was never my problem. Perhaps PHP 5.3 needs different APC related php.ini options or something? I'm generally pretty lazy about doing a diff between the stock config files and my own... I've been trying to no avail to get a good backtrace of my problem, would that be useful to anybody? Should I keep at this? Thanks for your help Greg! ___ 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: Questions about port revision numbers, portsnap, csup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19/04/2010 18:10:36, Joe Auty wrote: Hello, I've identified my pecl-APC install as being broken after upgrading to PHP 5.3.2. According to the commit history listed here: http://www.freshports.org/www/pecl-APC/ there is a fix out. However, doing a portsnap fetch update does not seem to fetch this latest revision to this port, after doing my portsnap it shows no updates are available for the port although I'm pretty certain that I last portsnapped before April 12. I'm assuming that portsnap only grabs a new version of the portrevision number has been bumped? My questions: 1) If I were to csup my ports tree to force a fetch of this update, would this break portsnap? 2) Is there a way to look at the commit history of the ports I have installed in /usr/ports so that I can verify whether or not I have the revision with this particular fix? Thus far I've been relying on freshports.org and trusting that doing a portsnap will always fetch the latest stuff visible on freshports.org, but now I'm not so sure... 3) Shouldn't the portrevision number be bumped whenever there is an update? I always assumed that the _x suffixes indicated a portrevision bump. Why was it not bumped for this pecl-APC fix? Human error? Is there any other way I can force the download of this port, or is csup my best bet? The only change in the last update (12th April) to pecl-APC was the addition of files/patch-php_apc.c That's good in the sense that you can simply download that file from CVS and put it into the files sub directory if it isn't there already and then force a rebuild of the port to get the benefit. Note that running portsnap after doing that could blow away the patch file if portsnap really is missing it. However, I suspect that it is known to portsnap and that something else is wrong with your build. You could change to using csup rather than portsnap, but be aware that this pretty much means scrubbing all of your portsnap state. Indeed, for best results with csup, starting with an empty /usr/ports might be an idea -- I don't think that will be necessary, but I can't be certain. If you switch to csup, switching back to portsnap will definitely require you to re-download the ports tree and replace everything you had installed via csup. In any case, I don't think the problem you're experiencing is sufficient justification for making such a sweeping change -- both portsnap and csup are effective at what they do, and losing a whole file would be a pretty disastrous failure. Since the port revision number wasn't bumped on 12th April, you'll have to check the oldest date on files inside /var/db/pkg/pecl-APC-3.0.19 -- don't check the date on the directory itself: the normal operation of portupgrade(1) will modify it. The rule about PORTREVISION numbers is that they should be applied when the update causes a material difference in the state of the installed port. Fixing a problem that stops the port compiling at all doesn't usually count: some maintainers/committers might bump portrevision, others wouldn't. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvMmxUACgkQ8Mjk52CukIyHJACfVrNIjL8p/CgY59e6S/xo+jX4 sNoAn2+7bEKxr42Ta5Jn7zbWEnKz5HUZ =Fevg -END PGP SIGNATURE- ___ 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: Questions about port revision numbers, portsnap, csup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe Auty wrote: Greg Larkin wrote: Does pecl-APC not compile, or is it functionally broken after compiling succesfully? It compiles, but once loaded it causes either Apache child processes to segfault or abort traps depending on where the extension is listed in my extensions.ini file. Apache itself is running fine, I don't have these problems on non-PHP pages. Commenting out the apc.so in extensions.ini makes Apache work again. I haven't done an extensive job of looking for PHP extension conflicts just yet, but I've slowly been testing my PHP extensions one by one on a test machine. I got as far as this: extension=session.so extension=mysql.so extension=json.so extension=curl.so extension=openssl.so ;extension=apc.so apc.so is commented out because this was the point where I realized that it was the culprit after this upgrade. So, I'd imagine that APC has some sort of problem with PHP 5.3, or possibly one of these extensions? 2) Is there a way to look at the commit history of the ports I have installed in /usr/ports so that I can verify whether or not I have the revision with this particular fix? Thus far I've been relying on freshports.org and trusting that doing a portsnap will always fetch the latest stuff visible on freshports.org, but now I'm not so sure... Is /usr/ports/www/pecl-APC/files/patch-php_apc.c present on your machine? If so, then you have the latest commit. Yeah, I have that file... I didn't know that the patch fixed compiling problems, that was never my problem. Perhaps PHP 5.3 needs different APC related php.ini options or something? I'm generally pretty lazy about doing a diff between the stock config files and my own... I've been trying to no avail to get a good backtrace of my problem, would that be useful to anybody? Should I keep at this? Thanks for your help Greg! Hi Joe, I believe this is a compatibility problem with the 3.0.x version of the APC extension and PHP 5.3.2. I committed the compiler fix to CVS on 4/12 to get APC building again. I did this at the request of portmgr after the PHP 5.3.2 upgrade, but I didn't go far enough testing the changes. There is a beta version of APC available (3.1.3p1) that is PHP 5.3.2-compatible, and I have prepared a diff for you to try. Can you apply this file to your ports tree and rebuild like so: cd /usr/ports fetch http://people.freebsd.org/~glarkin/diffs/pecl-APC-3.1.3p1.diff patch pecl-APC-3.1.3p1.diff mkdir /usr/ports/devel/pecl-APC/files/save-patches mv /usr/ports/devel/pecl-APC/files/patch-* \ /usr/ports/devel/pecl-APC/files/save-patches cd devel/pecl-APC make deinstall make clean make install Let me know how that goes, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLzJ5k0sRouByUApARAihmAKCvwVT6DVUR7kNpI/HDc/rfJm197wCfYnYT FRNXpElWFPeLdsDrc9CAA5M= =/0Yu -END PGP SIGNATURE- ___ 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: Questions about port revision numbers, portsnap, csup
I have the same problem, recently upgraded to PHP 5.3.2 and Apache was crashing whenever I tried to use a mediawiki page until I commented out the apc library. (Apache is 2.0, Freebsd is still 7.0, if that matters.) cd /usr/ports fetch http://people.freebsd.org/~glarkin/diffs/pecl-APC-3.1.3p1.diff patch pecl-APC-3.1.3p1.diff Didn't work, because pecl-APC is www/pecl-APC, not devel/pecl-APC. I edited the patch to be www/ rather than devel/ at which point the patch applied but make failed due to one of the other patches: === Patching for pecl-APC-3.1.3.p1 === Applying FreeBSD patches for pecl-APC-3.1.3.p1 1 out of 2 hunks failed--saving rejects to apc_sem.c.rej = Patch patch-apc_sem.c failed to apply cleanly. *** Error code 1 Here's what's in apc_sem.c.rej *** *** 82,93 } } - if ((semid = semget(key, 1, IPC_CREAT | IPC_EXCL | perms)) = 0) { /* sempahore created for the first time, initialize now */ arg.val = initval; if (semctl(semid, 0, SETVAL, arg) 0) { apc_eprint(apc_sem_create: semctl(%d,...) failed:, semid); } } else if (errno == EEXIST) { /* sempahore already exists, don't initialize */ --- 82,97 } } + if ((semid = semget(key, 2, IPC_CREAT | IPC_EXCL | perms)) = 0) { /* sempahore created for the first time, initialize now */ arg.val = initval; if (semctl(semid, 0, SETVAL, arg) 0) { apc_eprint(apc_sem_create: semctl(%d,...) failed:, semid); } + arg.val = getpid(); + if (semctl(semid, 1, SETVAL, arg) 0) { + apc_eprint(apc_sem_create: semctl(%d,...) failed:, semid); + } } else if (errno == EEXIST) { /* sempahore already exists, don't initialize */ R's, John ___ 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: Questions about port revision numbers, portsnap, csup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Levine wrote: I have the same problem, recently upgraded to PHP 5.3.2 and Apache was crashing whenever I tried to use a mediawiki page until I commented out the apc library. (Apache is 2.0, Freebsd is still 7.0, if that matters.) cd /usr/ports fetch http://people.freebsd.org/~glarkin/diffs/pecl-APC-3.1.3p1.diff patch pecl-APC-3.1.3p1.diff Didn't work, because pecl-APC is www/pecl-APC, not devel/pecl-APC. I edited the patch to be www/ rather than devel/ at which point the patch applied but make failed due to one of the other patches: Hi John, Sorry about that bit - I'll check my local development environment. === Patching for pecl-APC-3.1.3.p1 === Applying FreeBSD patches for pecl-APC-3.1.3.p1 1 out of 2 hunks failed--saving rejects to apc_sem.c.rej = Patch patch-apc_sem.c failed to apply cleanly. *** Error code 1 Please run the other commands in my email to move those now-obsolete patch files out of the way: mkdir /usr/ports/devel/pecl-APC/files/save-patches mv /usr/ports/devel/pecl-APC/files/patch-* \ /usr/ports/devel/pecl-APC/files/save-patches Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLzKoz0sRouByUApARApGpAKCCtODOcSfyhAQoU8YlrcRU37caKQCgiNpT psKkzZi2vyAvJFzpJTSpZCM= =sHLu -END PGP SIGNATURE- ___ 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: Questions about port revision numbers, portsnap, csup
Greg Larkin wrote: John Levine wrote: I have the same problem, recently upgraded to PHP 5.3.2 and Apache was crashing whenever I tried to use a mediawiki page until I commented out the apc library. (Apache is 2.0, Freebsd is still 7.0, if that matters.) cd /usr/ports fetch http://people.freebsd.org/~glarkin/diffs/pecl-APC-3.1.3p1.diff patch pecl-APC-3.1.3p1.diff Didn't work, because pecl-APC is www/pecl-APC, not devel/pecl-APC. I edited the patch to be www/ rather than devel/ at which point the patch applied but make failed due to one of the other patches: Hi John, Sorry about that bit - I'll check my local development environment. === Patching for pecl-APC-3.1.3.p1 === Applying FreeBSD patches for pecl-APC-3.1.3.p1 1 out of 2 hunks failed--saving rejects to apc_sem.c.rej = Patch patch-apc_sem.c failed to apply cleanly. *** Error code 1 Please run the other commands in my email to move those now-obsolete patch files out of the way: mkdir /usr/ports/devel/pecl-APC/files/save-patches mv /usr/ports/devel/pecl-APC/files/patch-* \ /usr/ports/devel/pecl-APC/files/save-patches Regards, Greg I just did a search/replace of devel-www in Greg's patch... It downloaded the beta, but I have compile errors now. Isn't pcre supposed to be built into PHP 5.3 now? In file included from /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:43: /usr/local/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such file or directory In file included from /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:43: /usr/local/include/php/ext/pcre/php_pcre.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/php/ext/pcre/php_pcre.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/php/ext/pcre/php_pcre.h:44: error: expected specifier-qualifier-list before 'pcre' /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:368: error: expected specifier-qualifier-list before 'pcre' /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c: In function 'apc_regex_compile_array': /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:429: error: 'apc_regex' has no member named 'preg' /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:429: error: 'apc_regex' has no member named 'preg' /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:430: error: 'apc_regex' has no member named 'nreg' /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:430: error: 'apc_regex' has no member named 'nreg' /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c: In function 'apc_regex_match_array': /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:462: error: 'apc_regex' has no member named 'preg' /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:462: error: 'apc_regex' has no member named 'preg' /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:463: error: 'apc_regex' has no member named 'nreg' /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:463: error: 'apc_regex' has no member named 'nreg' *** Error code 1 Stop in /usr/ports/www/pecl-APC/work/APC-3.1.3p1. *** Error code 1 Stop in /usr/ports/www/pecl-APC. *** Error code 1 Stop in /usr/ports/www/pecl-APC. Feel free to change the subject of this message if that would be appropriate... I did notice the full PHP 5.3 support in APC 3.1.3, but I figured that the initial support in 3.0.19 was sufficient. I was obviously wrong! http://pecl.php.net/package-changelog.php?package=APC ___ 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: Questions about port revision numbers, portsnap, csup
fetch http://people.freebsd.org/~glarkin/diffs/pecl-APC-3.1.3p1.diff patch pecl-APC-3.1.3p1.diff Didn't work, because pecl-APC is www/pecl-APC, not devel/pecl-APC. I edited the patch to be www/ rather than devel/ at which point the patch applied but make failed due to one of the other patches: Hi John, Sorry about that bit - I'll check my local development environment. === Patching for pecl-APC-3.1.3.p1 === Applying FreeBSD patches for pecl-APC-3.1.3.p1 1 out of 2 hunks failed--saving rejects to apc_sem.c.rej = Patch patch-apc_sem.c failed to apply cleanly. *** Error code 1 Please run the other commands in my email to move those now-obsolete patch files out of the way: mkdir /usr/ports/devel/pecl-APC/files/save-patches mv /usr/ports/devel/pecl-APC/files/patch-* \ /usr/ports/devel/pecl-APC/files/save-patches Again, I had to change /devel to /www, but having done that, it compiled and installed. Based on 30 seconds of testing, the mediawiki stuff that used to crash now seems to work, phpinfo confirms that apc 3.1.3p1 is active. Adjust the paths and ship it, it's vastly better than the status quo. R's, John PS: Thanks! ___ 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: Questions about port revision numbers, portsnap, csup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe Auty wrote: Greg Larkin wrote: John Levine wrote: I have the same problem, recently upgraded to PHP 5.3.2 and Apache was crashing whenever I tried to use a mediawiki page until I commented out the apc library. (Apache is 2.0, Freebsd is still 7.0, if that matters.) cd /usr/ports fetch http://people.freebsd.org/~glarkin/diffs/pecl-APC-3.1.3p1.diff patch pecl-APC-3.1.3p1.diff Didn't work, because pecl-APC is www/pecl-APC, not devel/pecl-APC. I edited the patch to be www/ rather than devel/ at which point the patch applied but make failed due to one of the other patches: Hi John, Sorry about that bit - I'll check my local development environment. === Patching for pecl-APC-3.1.3.p1 === Applying FreeBSD patches for pecl-APC-3.1.3.p1 1 out of 2 hunks failed--saving rejects to apc_sem.c.rej = Patch patch-apc_sem.c failed to apply cleanly. *** Error code 1 Please run the other commands in my email to move those now-obsolete patch files out of the way: mkdir /usr/ports/devel/pecl-APC/files/save-patches mv /usr/ports/devel/pecl-APC/files/patch-* \ /usr/ports/devel/pecl-APC/files/save-patches Regards, Greg I just did a search/replace of devel-www in Greg's patch... It downloaded the beta, but I have compile errors now. Isn't pcre supposed to be built into PHP 5.3 now? In file included from /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:43: /usr/local/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such file or directory In file included from /usr/ports/www/pecl-APC/work/APC-3.1.3p1/apc.c:43: /usr/local/include/php/ext/pcre/php_pcre.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token Hi Joe, PCRE problems are very common after upgrading to 5.3.2. ale@ added an entry in /usr/ports/UPDATING that recommends uninstalling all PHP-related ports and recompiling, IIRC. That's the best way to clean out all remnants of the php5-pcre port. Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLzLnt0sRouByUApARAj71AJ9YUquDrbHDSwg3owfZ8eF6hQfzUgCgqjxW wI00gh64HXkDFRYXGe7AwqI= =Y9/g -END PGP SIGNATURE- ___ 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: Questions about port revision numbers, portsnap, csup
On Mon, 19 Apr 2010 19:04:05 +0100 Matthew Seaman m.sea...@infracaninophile.co.uk wrote: You could change to using csup rather than portsnap, but be aware that this pretty much means scrubbing all of your portsnap state. Indeed, for best results with csup, starting with an empty /usr/ports might be an idea -- I don't think that will be necessary, but I can't be certain. If you switch to csup, switching back to portsnap will definitely require you to re-download the ports tree and replace everything you had installed via csup. As I understand it portsnap's state is split between /var and the ports directory itself. The former contains the snapshot and its metadata, and the latter contains the metadata for that specific copy of the tree. Using csup shouldn't affect the stuff under /var, but it invalidates the metadata in the ports directory. If you return to portsnap after using csup you should only need to do a new extract which overwrite the individual files and each origin-directory, and generates the local portsnap metadata. If you are paranoid (or want to clean-up extra cruft) delete the ports directory first. Going the other way the tree should really be deleted and redownloaded to ensure that csup keeps track of all the patch files. That's more of a long-term issue though. ___ 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: Questions about port revision numbers, portsnap, csup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John R. Levine wrote: fetch http://people.freebsd.org/~glarkin/diffs/pecl-APC-3.1.3p1.diff patch pecl-APC-3.1.3p1.diff Didn't work, because pecl-APC is www/pecl-APC, not devel/pecl-APC. I edited the patch to be www/ rather than devel/ at which point the patch applied but make failed due to one of the other patches: Hi John, Sorry about that bit - I'll check my local development environment. === Patching for pecl-APC-3.1.3.p1 === Applying FreeBSD patches for pecl-APC-3.1.3.p1 1 out of 2 hunks failed--saving rejects to apc_sem.c.rej = Patch patch-apc_sem.c failed to apply cleanly. *** Error code 1 Please run the other commands in my email to move those now-obsolete patch files out of the way: mkdir /usr/ports/devel/pecl-APC/files/save-patches mv /usr/ports/devel/pecl-APC/files/patch-* \ /usr/ports/devel/pecl-APC/files/save-patches Again, I had to change /devel to /www, but having done that, it compiled and installed. Based on 30 seconds of testing, the mediawiki stuff that used to crash now seems to work, phpinfo confirms that apc 3.1.3p1 is active. Adjust the paths and ship it, it's vastly better than the status quo. R's, John PS: Thanks! Hi John, I just committed the 3.1.3p1 version of APC to the ports tree, and that one should work with PHP 5.3.2, as you noted. Thank you, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLzQ5g0sRouByUApARAhptAKCPCZVhZ3brpxkcdhlHMAvgMUPZAgCfaqc3 3MnVbhQIyeIhb1cMV8DTMrw= =MnWU -END PGP SIGNATURE- ___ 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: Configuring IPFW IP range [FreeBSD-questions] {offlist}
On Sun, 4 Apr 2010 19:11:42 -0500 (CDT), Robert Bonomi bon...@mail.r-bonomi.com articulated: From owner-freebsd-questi...@freebsd.org Sun Apr 4 08:12:11 2010 Date: Sun, 4 Apr 2010 09:11:47 -0400 From: Carmel NY carmel...@hotmail.com To: freebsd-questions@freebsd.org Subject: Configuring IPFW IP range This is my first attempt at configuring IPFW. I have it up and running; however, I am not quite sure how to accomplish configuring it to block an IP range. Assume an IP range: 219.128.0.0 to 219.137.255.255 That is an actual range: CHINANET Guangdong province network I want to block the entire range. I am not sure how to do it in IPFW. I have read the 'man' pages; however, I am not getting the syntax correct since I cannot get the range added. CIDR ranges have to: (a) start on a 'power of 2' address, (b) be a 'power of two' in size, and (c) be no larger than the 'power of 2' factor for the starting address. This range is _not_ that way [fails (b)], so you'll have to do it with multiple entries. i.e., one for 219.128.0.0/13 which will catch 219.128.0.0 - 219.135.255.255 and a 2nd for 219.136.0.0/15 which will catch 219.136.0.0 - 219.137.255.255 Life can get messier, when rule 3 comes into play, consider the block 219.130.0.0 to 219.139.255.255 219.130.0.0 is on a /15 boundary, so that's the max block size you can use for tht starting address. 219.130.0.0/15 catches 219.130.0.0 - 219.131.255.255 next, you can start with 219.132.0.0, which is a /14, and block a /14 wth 219.132.0.0/14 catches 219.132.0.0 - 219.135.255.255 now, 219.136.0.0 is a /13 so you could block that big with just more rule, if needed, (BUT, you only need another /14, to cover the remainder of the group of 10 /16s that the initial block includes. thus, lastly: 219.136.0.0/14 catches 219.136.0.0 - 219.139.255.255 Thanks! It was suggested that I try 'ipcalc' by another poster. I did, and it works excellently. In any case, I do have to familiarize myself more fully with IP addressing. ___ 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: Configuring IPFW IP range [FreeBSD-questions] {offlist}
From owner-freebsd-questi...@freebsd.org Sun Apr 4 08:12:11 2010 Date: Sun, 4 Apr 2010 09:11:47 -0400 From: Carmel NY carmel...@hotmail.com To: freebsd-questions@freebsd.org Subject: Configuring IPFW IP range This is my first attempt at configuring IPFW. I have it up and running; however, I am not quite sure how to accomplish configuring it to block an IP range. Assume an IP range: 219.128.0.0 to 219.137.255.255 That is an actual range: CHINANET Guangdong province network I want to block the entire range. I am not sure how to do it in IPFW. I have read the 'man' pages; however, I am not getting the syntax correct since I cannot get the range added. CIDR ranges have to: (a) start on a 'power of 2' address, (b) be a 'power of two' in size, and (c) be no larger than the 'power of 2' factor for the starting address. This range is _not_ that way [fails (b)], so you'll have to do it with multiple entries. i.e., one for 219.128.0.0/13 which will catch 219.128.0.0 - 219.135.255.255 and a 2nd for 219.136.0.0/15 which will catch 219.136.0.0 - 219.137.255.255 Life can get messier, when rule 3 comes into play, consider the block 219.130.0.0 to 219.139.255.255 219.130.0.0 is on a /15 boundary, so that's the max block size you can use for tht starting address. 219.130.0.0/15 catches 219.130.0.0 - 219.131.255.255 next, you can start with 219.132.0.0, which is a /14, and block a /14 wth 219.132.0.0/14 catches 219.132.0.0 - 219.135.255.255 now, 219.136.0.0 is a /13 so you could block that big with just more rule, if needed, (BUT, you only need another /14, to cover the remainder of the group of 10 /16s that the initial block includes. thus, lastly: 219.136.0.0/14 catches 219.136.0.0 - 219.139.255.255 This should help you get the syntax right. ___ 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: Hardware RAID controller questions - 3Ware vs RocketRaid
On Thu, 18-Mar-2010 at 09:37:32 +0100, Andy Wodfer wrote: Hi, We're setting up two backup servers where each server will have about 4TB of harddrives (for now) connected (4x1TB and 8x500GB drives). Last night we ran into trouble with the 3ware controllers we have (9650SE-8LPML) because we couldn't create a larger RAID5 than 1.99TB. I can only speak for a 9690SA-8I, but this thing is amazing. It handles FSs over 2TB pretty well: twa0: 3ware 9000 series Storage Controller port 0xc800-0xc8ff mem 0xfa00-0xfbff,0xfeaff000-0xfeaf irq 16 at device 0.0 on pci4 twa0: [ITHREAD] twa0: INFO: (0x15: 0x1300): Controller details:: Model 9690SA-8I, 128 ports, Firmware FH9X 4.10.00.007, BIOS BE9X 4.08.00.002 And with 8 1TB in a RAID5 drives it gives me: da0 at twa0 bus 0 target 0 lun 0 box:~diskinfo /dev/da0 /dev/da0512 624277248 13671727104 851025 255 63 -Andre We are going to use FreeBSD 8.0 and Bacula, but first we obviously need to create a working RAID. My questions are: - Are HighPoint RocketRaid controllers a good alternative to 3ware controllers? Are RocketRaid controllers true hardware RAID? - What should we look for in a RAID controller spec to see that it has support for larger than 2TB RAIDs? I've been looking at these: http://www.highpoint-tech.com/USA_new/series_rr2300.htm http://www.highpoint-tech.com/USA_new/series_rr3500.htm Any FreeBSD recommendations? Or perhaps for another 3ware controller? We're using SATAII drives. Thanks for your help! Best regards, Andreas ___ 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 -- I am forced by company policy to use Micro$oft products. I am not responsible for this choice and decline any responsibility for any harm which may be caused by it. ___ 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: Hardware RAID controller questions - 3Ware vs RocketRaid
Thanks for all your feedback. The problem occurs in the RAID controller BIOS (before we even boot or get to the OS install). Thanks to John for confirming these cards do work above 2TB. I will look into upgrading the firmware (on these brand new cards). Perhaps it's just the current firmware that can't handle 2TB harddrives x 3 in RAID. Cheers, Andreas ___ 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
Hardware RAID controller questions - 3Ware vs RocketRaid
Hi, We're setting up two backup servers where each server will have about 4TB of harddrives (for now) connected (4x1TB and 8x500GB drives). Last night we ran into trouble with the 3ware controllers we have (9650SE-8LPML) because we couldn't create a larger RAID5 than 1.99TB. We are going to use FreeBSD 8.0 and Bacula, but first we obviously need to create a working RAID. My questions are: - Are HighPoint RocketRaid controllers a good alternative to 3ware controllers? Are RocketRaid controllers true hardware RAID? - What should we look for in a RAID controller spec to see that it has support for larger than 2TB RAIDs? I've been looking at these: http://www.highpoint-tech.com/USA_new/series_rr2300.htm http://www.highpoint-tech.com/USA_new/series_rr3500.htm Any FreeBSD recommendations? Or perhaps for another 3ware controller? We're using SATAII drives. Thanks for your help! Best regards, Andreas ___ 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: Hardware RAID controller questions - 3Ware vs RocketRaid
On Thu, March 18, 2010 8:37 am, Andy Wodfer wrote: Hi, We're setting up two backup servers where each server will have about 4TB of harddrives (for now) connected (4x1TB and 8x500GB drives). Last night we ran into trouble with the 3ware controllers we have (9650SE-8LPML) because we couldn't create a larger RAID5 than 1.99TB. We are going to use FreeBSD 8.0 and Bacula, but first we obviously need to create a working RAID. My questions are: - Are HighPoint RocketRaid controllers a good alternative to 3ware controllers? Are RocketRaid controllers true hardware RAID? - What should we look for in a RAID controller spec to see that it has support for larger than 2TB RAIDs? I've been looking at these: http://www.highpoint-tech.com/USA_new/series_rr2300.htm http://www.highpoint-tech.com/USA_new/series_rr3500.htm Any FreeBSD recommendations? Or perhaps for another 3ware controller? We're using SATAII drives. Thanks for your help! Is ZFS not an option? - you could save yourself a lot of money and hassle with hardware RAID by moving to ZFS. Either using onboard SATA ports on the motherboard (and accept that you might have to shutdown the box to swap failed disks out) or get a simple 8-port HBA in JBOD mode, e.g: http://www.lsi.com/channel/products/hba/sas_sata_hbas/internal/lsisas3081er/index.html You'll need plenty of RAM too, but IMHO it is worth the trade. HTH, Matt. ___ 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: Hardware RAID controller questions - 3Ware vs RocketRaid
On Thu, Mar 18, 2010 at 10:30 AM, Matthew Law m...@webcontracts.co.ukwrote: Is ZFS not an option? I'm afraid ZFS is not an option for this customer. I use ZFS on other system and it works great, but here the requirement is RAID5, hotswap, hotspare and so on. Cheers, Andreas ___ 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: Hardware RAID controller questions - 3Ware vs RocketRaid
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18.03.2010 10:35, Andy Wodfer wrote: On Thu, Mar 18, 2010 at 10:30 AM, Matthew Law m...@webcontracts.co.ukwrote: Is ZFS not an option? I'm afraid ZFS is not an option for this customer. I use ZFS on other system and it works great, but here the requirement is RAID5, hotswap, hotspare and so on. You should consider the LSI Megaraid SAS as well. The aging 8308elp, performs quite nicely with decent disks. Got one here (at home) handling 8 1T5 Barracudas in RAID50 (with coldspares), that routinely handles 400+mbytes/sec io, even in windows. It's been running in FreeBSD as well, but until I can figure out how to get reliable backups (the MPT issue shared with OpenSolaris) I'm stuck with windows on the box. FreeBSD's mfiutil works works splendidly with the controller allowing you to handle things like patrol-reads from an SSH session without much trouble. As a SAS-controller, it eats both SAS and SATA disks, and plain and simple just works. //Svein - -- - +---+--- /\ |Svein Skogen | sv...@d80.iso100.no \ / |Solberg Østli 9| PGP Key: 0xE5E76831 X|2020 Skedsmokorset | sv...@jernhuset.no / \ |Norway | PGP Key: 0xCE96CE13 | | sv...@stillbilde.net ascii | | PGP Key: 0x58CD33B6 ribbon |System Admin | svein-listm...@stillbilde.net Campaign|stillbilde.net | PGP Key: 0x22D494A4 +---+--- |msn messenger: | Mobile Phone: +47 907 03 575 |sv...@jernhuset.no | RIPE handle:SS16503-RIPE - +---+--- If you really are in a hurry, mail me at svein-mob...@stillbilde.net This mailbox goes directly to my cellphone and is checked even when I'm not in front of my computer. - Picture Gallery: https://gallery.stillbilde.net/v/svein/ - -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.12 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuh9YAACgkQODUnwSLUlKTZiwCeODrGVYneWFn9nKZDUJ5jhOdt 3boAoIM/HrcfpzKXNOsPic+QQ4ooaL5d =Yya0 -END PGP SIGNATURE- ___ 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: Hardware RAID controller questions - 3Ware vs RocketRaid
On Thu, Mar 18, 2010 at 09:37:32AM +0100, Andy Wodfer wrote: Hi, We're setting up two backup servers where each server will have about 4TB of harddrives (for now) connected (4x1TB and 8x500GB drives). Last night we ran into trouble with the 3ware controllers we have (9650SE-8LPML) because we couldn't create a larger RAID5 than 1.99TB. That is strange, since all the 3ware 9000-series controllers (including the 9650) are supposed to be able to handle arrays larger than 2TB. -- Insert your favourite quote here. Erik Trulsson ertr1...@student.uu.se ___ 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: Hardware RAID controller questions - 3Ware vs RocketRaid
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18/03/2010 10:09:55, Erik Trulsson wrote: On Thu, Mar 18, 2010 at 09:37:32AM +0100, Andy Wodfer wrote: Hi, We're setting up two backup servers where each server will have about 4TB of harddrives (for now) connected (4x1TB and 8x500GB drives). Last night we ran into trouble with the 3ware controllers we have (9650SE-8LPML) because we couldn't create a larger RAID5 than 1.99TB. That is strange, since all the 3ware 9000-series controllers (including the 9650) are supposed to be able to handle arrays larger than 2TB. Is it perhaps not a limitation in the 3ware controller, but rather the 2TB limit for a single slice imposed by the traditional DOS mbr? In which case, simply switching to using gpart(8) should solve the problem and let you have much larger filesystems. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuh/1EACgkQ8Mjk52CukIxwFQCfUsDOes4mAPBFLQUX6QvB/F97 4swAnRnKagfg86IG5gxBlMIBJOmmD7y+ =BGlc -END PGP SIGNATURE- ___ 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: Hardware RAID controller questions - 3Ware vs RocketRaid
Hi and what about Areca? Natively supported via arcmsr driver. For SATA II http://www.areca.com.tw/products/pcie.htm (ARC-1230, ARC-1260) or http://www.areca.com.tw/products/pcie341.htm On one installation I have successfully set up RAID5 with 8x 1TB SATA II drives on ARC-1220, approx 6.5TB filesystem regards Jiri - What should we look for in a RAID controller spec to see that it has support for larger than 2TB RAIDs? I've been looking at these: http://www.highpoint-tech.com/USA_new/series_rr2300.htm http://www.highpoint-tech.com/USA_new/series_rr3500.htm Any FreeBSD recommendations? Or perhaps for another 3ware controller? We're using SATAII drives. Thanks for your help! Best regards, Andreas ___ 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 ___ 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: Hardware RAID controller questions - 3Ware vs RocketRaid
At 04:37 AM 3/18/2010, Andy Wodfer wrote: Hi, We're setting up two backup servers where each server will have about 4TB of harddrives (for now) connected (4x1TB and 8x500GB drives). Last night we ran into trouble with the 3ware controllers we have (9650SE-8LPML) because we couldn't create a larger RAID5 than 1.99TB. Are you sure its the controller that was giving that error ? I ran into something similar with my Areca controller on a backup server. I ended up creating 2 raid sets, one for the boot OS and the other for the backup spool and used gpart for the larger than 2TB RS. Perhaps the same needs to be done on the 3ware eg # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/da0s1a1.9G496M1.3G28%/ devfs 1.0K1.0K 0B 100%/dev /dev/da1s1d 29G 10G 16G39%/usr /dev/da1s1e 33G5.0G 26G16%/var /dev/da0s1d 61G 50G6.4G89%/var/db /dev/da2p1 2.6T797G1.6T33%/backup zbackup1 2.7T1.2T1.4T46%/zbackup1 I would go for the 3ware over the RocketRaid. We have used the 3ware cards for some time and they have been very reliable for us. The disk replacement process is well designed and has been reliable for us over the years. We also use some of the Areca cards and they have been good too. Not much experience with the RocketRaid. ---Mike Mike Tancsa, tel +1 519 651 3400 Sentex Communications,m...@sentex.net Providing Internet since 1994www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike ___ 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: Hardware RAID controller questions - 3Ware vs RocketRaid
On Thursday 18 March 2010 03:37:32 Andy Wodfer wrote: Hi, We're setting up two backup servers where each server will have about 4TB of harddrives (for now) connected (4x1TB and 8x500GB drives). Last night we ran into trouble with the 3ware controllers we have (9650SE-8LPML) because we couldn't create a larger RAID5 than 1.99TB. We are going to use FreeBSD 8.0 and Bacula, but first we obviously need to create a working RAID. My questions are: - Are HighPoint RocketRaid controllers a good alternative to 3ware controllers? Are RocketRaid controllers true hardware RAID? - What should we look for in a RAID controller spec to see that it has support for larger than 2TB RAIDs? I've been looking at these: http://www.highpoint-tech.com/USA_new/series_rr2300.htm http://www.highpoint-tech.com/USA_new/series_rr3500.htm Any FreeBSD recommendations? Or perhaps for another 3ware controller? We're using SATAII drives. Thanks for your help! Best regards, Andreas You are hitting an issue with DOS MBR limitations, not the RAID controller itself. Either use GPT or put a filesystem on the raw device with no fdisk at all. The latter strategy is the better one if you intend to ever grow the filesystem. 3ware controllers are the best game in town for FreeBSD. We use them extensively both internally and for our customers at iXsystems. You can flash the controller firmware from in the OS on FreeBSD using tw_cli. You might also consider running ZFS on the hardware RAID instead of UFS. You get the advantages of running a hardware RAID controller, plus the advantages of ZFS (namely no fsck) r...@servant /usr/src -tw_cli /c0 show Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy -- u0RAID-6OK - - 256K5587.88 RiWON r...@servant /usr/src -grep 'da0' /var/run/dmesg.boot da0 at twa0 bus 0 target 0 lun 0 da0: AMCC 9690SA-4I4 DISK 4.08 Fixed Direct Access SCSI-5 device da0: 100.000MB/s transfers da0: 122879MB (251658239 512 byte sectors: 255H 63S/T 15665C) ** small boot LUN r...@servant /usr/src -grep 'da1' /var/run/dmesg.boot da1 at twa0 bus 0 target 0 lun 1 da1: AMCC 9690SA-4I4 DISK 4.08 Fixed Direct Access SCSI-5 device da1: 100.000MB/s transfers da1: 5599104MB (11466964993 512 byte sectors: 255H 63S/T 713785C) ** The rest of it r...@servant /usr/src -zpool status -v pool: a state: ONLINE scrub: none requested config: NAMESTATE READ WRITE CKSUM a ONLINE 0 0 0 da1 ONLINE 0 0 0 errors: No known data errors r...@servant /usr/src -df -h a FilesystemSizeUsed Avail Capacity Mounted on a 5.2T2.2T3.0T42%/a -- Thanks, Josh Paetzel FreeBSD -- The power to serve signature.asc Description: This is a digitally signed message part.
Some questions about vfs.zfs.prefetch_disable=1 and ZFS filesystem versions
After looking at the arc_summary.pl script (found at http://jhell.googlecode.com/files/arc_summary.pl), I have realized that my system has set vfs.zfs.prefetch_disable=1 by default, looking at dmesg, I see: = ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present; to enable, add vfs.zfs.prefetch_disable=0 to /boot/loader.conf. = ...except I do have 4gb of RAM. Is this caused by integrated GPU snatching some of my memory at boot? From dmesg: = real memory = 4294967296 (4096 MB) avail memory = 4088082432 (3898 MB) = What kind of things does this tunable affect and how much of a performance impact does enabling / disabling it have? Should I manually enable it? I've also noticed a really weird inconsistency, my dmesg says the following: = ZFS filesystem version 13 ZFS storage pool version 13 = Yet: = zfs get version NAME PROPERTY VALUE SOURCE cerberus version 3 - cerberus/DATA version 3 - cerberus/ROOT version 3 - cerberus/ROOT/cerberusversion 3 - cerberus/home version 3 - cerberus/home/atombsd version 3 - cerberus/home/frictionversion 3 - cerberus/home/jagoversion 3 - cerberus/home/karni version 3 - cerberus/tmp version 3 - cerberus/usr-localversion 3 - cerberus/usr-obj version 3 - cerberus/usr-portsversion 3 - cerberus/usr-ports-distfiles version 3 - cerberus/usr-src version 3 - cerberus/var version 3 - cerberus/var-db version 3 - cerberus/var-log version 3 - cerberus/var-tmp version 3 - = Is this normal or should zfs get version also show version 13? This is on a system with the pool and filesystems created with 8.0-RELEASE, by the way. Thanks! - Sincerely, Dan Naumov ___ 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: Some questions about vfs.zfs.prefetch_disable=1 and ZFS filesystem versions
Nevermind the question about ZFS filesystem versions, I should've Googled more throughly and read Pawel's responce to this question before (answer: dmesg picks the filesystem version wrong, it IS and supposed to be v3). I am still curious about prefetch though. - Sincerely, Dan Naumov ___ 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: Some questions about vfs.zfs.prefetch_disable=1 and ZFS filesystem versions
On Tue, Mar 16, 2010 at 01:40:25AM +0200, Dan Naumov wrote: After looking at the arc_summary.pl script (found at http://jhell.googlecode.com/files/arc_summary.pl), I have realized that my system has set vfs.zfs.prefetch_disable=1 by default, looking at dmesg, I see: = ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present; to enable, add vfs.zfs.prefetch_disable=0 to /boot/loader.conf. = ...except I do have 4gb of RAM. Is this caused by integrated GPU snatching some of my memory at boot? From dmesg: = real memory = 4294967296 (4096 MB) avail memory = 4088082432 (3898 MB) = I've blogged about this problem when testing out 8.0-RC1. See the bottom third of my post for an explanation: http://koitsu.wordpress.com/2009/10/12/testing-out-freebsd-8-0-rc1/ The message is confusing/badly worded, despite having gone through numerous commits to change its wording. -- | Jeremy Chadwick j...@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ 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: Some questions about vfs.zfs.prefetch_disable=1 and ZFS filesystem versions
On Tue, Mar 16, 2010 at 02:06:35AM +0200, Dan Naumov wrote: Nevermind the question about ZFS filesystem versions, I should've Googled more throughly and read Pawel's responce to this question before (answer: dmesg picks the filesystem version wrong, it IS and supposed to be v3). The printing of the incorrect version number was fixed in RELENG_7 and RELENG_8 approx. 8 weeks ago. See commit revs 1.14.2.8 (RELENG_7) and 1.18.2.5 (RELENG_8) below: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c -- | Jeremy Chadwick j...@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | ___ 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
Expect questions?
What would be the right list for questions about expect? When I upgraded from FreeBSD 4.x to 8.0, my expect script broke, and I cannot for the life of me see why. -- John Lind j...@starfire.mn.org ___ 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: Expect questions?
What would be the right list for questions about expect? When I upgraded from FreeBSD 4.x to 8.0, my expect script broke, and I cannot for the life of me see why. Odd though it may seem you might find the newsgroup: comp.lang.tcl This is the place to go with expect questions. Tcl is the core language fro expect. Learn one you know the other!! david Photographic Artist Permanent Installations Design Creative Imagery and Advanced Digital Techniques High Dynamic Range Photography Official Portraiture Combined darkroom digital creations Systems Adminstrator for the vizion2000.net network ___ 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: Expect questions?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John wrote: What would be the right list for questions about expect? When I upgraded from FreeBSD 4.x to 8.0, my expect script broke, and I cannot for the life of me see why. Hi John, This sites might be good places to post your questions: http://www.stackoverflow.com/ http://www.experts-exchange.com/Programming/Languages/Scripting/TCL/ Obviously, make sure to include verbatim error messages and other output as that will make it a lot easier for folks to understand your script and help you troubleshoot it. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFLjS6/0sRouByUApARAgP2AKCrNPtarO1mGVXEfYAC1mdV/KmDDQCfdlj4 EVHvOFzVyl3fxroj01M9+Dc= =Elpg -END PGP SIGNATURE- ___ 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: Dump questions
On Mon, Feb 22, 2010 at 03:10:01PM +, Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 22/02/2010 14:30, Jerry McAllister wrote: No. In multi-user, files are still changing. The snapshot could possibly be made between parts of a change - between different writes to the file, so there could be some inconsistency. In practice this is not a big problem, but, single user with filesystems unmounted is still the most absolute way of making sure a filesystem is quiescent during a dump. Umm you don't *need* to go to single user to ensure a consistent filesystem dump: unmounting the partition is sufficient, or remounting it read-only. True. But, the problem with that, as you follow with is that it can produce a lot of fudd from parts of the running system that expect to find that file system mountable and writable. Plus some filesystems such as maybe /usr, etc may be needed for the multi-user system to operate at all. So, you either don't dump them or go to single user just for them or use -L and not worry about it, or whatever. jerry It's just that shutting the system down and rebooting to single user mode can save you a deal of faffing about trying to kill off any processes still using the filesystem, which would otherwise block your ability to unmount it. Note too, it's *reboot* into single user ('shutdown -r now', then press 4 at the boot menu) not *drop* into single user ('shutdown now') which doesn't unmount filesystems for you, although it should kill almost all processes. Single user has it's own disadvantages: generally there's no network configured, and with the root partition mounted read-only, you can't update /etc/dumpdates. Whenever you boot into single user, remember to run 'fsck -p' to ensure filesystem integrity. I'm not sure what happens if you attempt to dump'n'restore a dirty filesystem, but it's certainly going to have unintended consequences if the filesystem is actually damaged rather than just dirty. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuCnkkACgkQ8Mjk52CukIyR+gCfX9rep9S9DQcIcRDqSoAptQX9 gMkAoIV/zhe4kRRlRN8fjn5+W7CS1csM =6J2U -END PGP SIGNATURE- ___ 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 ___ 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: Dump questions
___ 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: Dump questions
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 22/02/2010 14:30, Jerry McAllister wrote: No. In multi-user, files are still changing. The snapshot could possibly be made between parts of a change - between different writes to the file, so there could be some inconsistency. In practice this is not a big problem, but, single user with filesystems unmounted is still the most absolute way of making sure a filesystem is quiescent during a dump. Umm you don't *need* to go to single user to ensure a consistent filesystem dump: unmounting the partition is sufficient, or remounting it read-only. It's just that shutting the system down and rebooting to single user mode can save you a deal of faffing about trying to kill off any processes still using the filesystem, which would otherwise block your ability to unmount it. Note too, it's *reboot* into single user ('shutdown -r now', then press 4 at the boot menu) not *drop* into single user ('shutdown now') which doesn't unmount filesystems for you, although it should kill almost all processes. Single user has it's own disadvantages: generally there's no network configured, and with the root partition mounted read-only, you can't update /etc/dumpdates. Whenever you boot into single user, remember to run 'fsck -p' to ensure filesystem integrity. I'm not sure what happens if you attempt to dump'n'restore a dirty filesystem, but it's certainly going to have unintended consequences if the filesystem is actually damaged rather than just dirty. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuCnkkACgkQ8Mjk52CukIyR+gCfX9rep9S9DQcIcRDqSoAptQX9 gMkAoIV/zhe4kRRlRN8fjn5+W7CS1csM =6J2U -END PGP SIGNATURE- ___ 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: Dump questions
On Sun, Feb 21, 2010 at 03:45:51PM +0800, Aiza wrote: Dan Nelson wrote: In the last episode (Feb 21), Aiza said: 1. Using the -L flag to create a snapshot of the live running file system. Does this mean that a complete copy of the file system is written to .snap directory? No; that would be a copy. Snapshots only copy blocks as they are modified on the parent filesystem, so their size is determined by how much data is modified since the snapshot was created. So how does this interact with the dump process? Dump start reading and writing its dump file and as the live system changes the changes are written to the .snap and when dump completes it overwrites it dump with the changes from the .snap??? No. How does this process work in detail? Go back and read the good and quite complete description someone put in about how snapshotting works a while back in this thread. I think it was Matthew Seaman, but I don't remember for sure. jerry ___ 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 ___ 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: Dump questions
On Sun, 21 Feb 2010 11:42:50 +0800, Aiza aiz...@comclark.com wrote: 1. Using the -L flag to create a snapshot of the live running file system. Does this mean that a complete copy of the file system is written to .snap directory? No. The snapshot, quite incorrectly explained, is a saved delta between the file system on disk at a given state, to fixate further modifications (that are not included in the dump, of course). Is this the limiting factor that forces a user to use (single user mode) for running dump? Using SUM is for a feeling of comfort only. You can save the time needed for creating the snapshot by entering SUM - and, what's essential - unmount the partitions. This makes sure the underlying file systems aren't modified. 2. What is the worse that will happen if dump is run on live file system with out the -L flag? The dump could not be readable, which would imply that your backup is useless. Can dump recognize this situation and issue an error message? The dump program does what you tell it to do. It does not bother you with questions that you should have asked yourself already. :-) 3. Can dump be told to only dump a particular directory tree? IE /var/log or /usr/port? No. THe dump program operates on file systems. It does not have a concept of files and directories per se. If you plan to work with individual files and directories rather than partitions (file systems), check out tools like cpdup, rsync and the like. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: Dump questions
Polytropon wrote: On Sun, 21 Feb 2010 11:42:50 +0800, Aiza aiz...@comclark.com wrote: 1. Using the -L flag to create a snapshot of the live running file system. Does this mean that a complete copy of the file system is written to .snap directory? No. The snapshot, quite incorrectly explained, is a saved delta between the file system on disk at a given state, to fixate further modifications (that are not included in the dump, of course). Sorry, I read your words but have no clue as what you are trying to say with that statement. As i understand 'delta' to mean, the difference in file system content between a point in time 'A' and 'B' some point in time later in the future. Now just what is snapshot recording between point 'A' and 'B' and how does that apply to what dump is going to read and write? ___ 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: Dump questions
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/02/2010 12:52, Aiza wrote: Polytropon wrote: On Sun, 21 Feb 2010 11:42:50 +0800, Aiza aiz...@comclark.com wrote: 1. Using the -L flag to create a snapshot of the live running file system. Does this mean that a complete copy of the file system is written to .snap directory? No. The snapshot, quite incorrectly explained, is a saved delta between the file system on disk at a given state, to fixate further modifications (that are not included in the dump, of course). Sorry, I read your words but have no clue as what you are trying to say with that statement. As i understand 'delta' to mean, the difference in file system content between a point in time 'A' and 'B' some point in time later in the future. Now just what is snapshot recording between point 'A' and 'B' and how does that apply to what dump is going to read and write? In horrendously simplified terms, the way snapshots work is this. Whenever there would be a write to a disk block, instead of overwriting the original block, the content is copied and written out to a previously unused disk block. The original block is preserved temporarily while the snapshot is active -- so the snapshotted data you see is the comprised of: * All the disk blocks that haven't been altered during the lifetime of the snapshot * The original, unchanged disk blocks which have been replaced by modified copies in the live filesystem. ZFS always does the copy-on-write thing, so it's a very natural and very fast operation to create snapshots with it -- often described as 'snapshots for free' -- and you can have as many as you want. UFS doesn't do CoW by default (AFAIR) so creating a snapshot under UFS means toggling the default behaviour and initialising some data structures to keep track of the disk blocks that belong to each snapshot. This means it will take a few seconds to create and you can only have a limited number of snapshots per filesystem active simultaneously. In either case, the space used for the snapshot corresponds to the amount of changes made to the filesystem since the snapshot was created. Thus on an active fs, snapshot space usage will go up over time. However, the amount used will generally be a fairly small percentage of the total space on the device, and all the extra space is recovered when the snapshot is released. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuBNYQACgkQ8Mjk52CukIzETQCfdnu2W7BBRVrc1T2H3MPWMA1G KWsAnj6E2hZ3m2WTtMfTfqZ89sWzxaB8 =jOeb -END PGP SIGNATURE- ___ 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: Dump questions
On Sun, Feb 21, 2010 at 1:52 PM, Aiza aiz...@comclark.com wrote: Polytropon wrote: On Sun, 21 Feb 2010 11:42:50 +0800, Aiza aiz...@comclark.com wrote: 1. Using the -L flag to create a snapshot of the live running file system. Does this mean that a complete copy of the file system is written to .snap directory? No. The snapshot, quite incorrectly explained, is a saved delta between the file system on disk at a given state, to fixate further modifications (that are not included in the dump, of course). Sorry, I read your words but have no clue as what you are trying to say with that statement. As i understand 'delta' to mean, the difference in file system content between a point in time 'A' and 'B' some point in time later in the future. Now just what is snapshot recording between point 'A' and 'B' and how does that apply to what dump is going to read and write? A somewhat inaccurate explanation is this: When you (or dump -L) create a snapshot, the current state of the filesystem is frozen and a snapshot file is created. As soon as some process starts to modify the filesystem, the old blocks at the time of snapshot are written in the snapshot file and the new blocks are written in the (current) filesystem. Now, when you (or dump -L) read the snapshot file, the UFS filesystem does some magic behind the scenes: if the snapshot file contains the blocks you ask for, it means that the corresponding blocks in the filesystem have already been changed. That's okay: UFS will then give you the old blocks from the snapshot. If the snapshot file doesn't contain the blocks you asked for, it means that those blocks were not modified in the filesystem, so UFS gives you those unmodified blocks, right from the filesystem. When the snapshot file is deleted, the filesystem will not be monitored anymore and old blocks of modified blocks will not be saved anymore. The net result is that by reading the snapshot, you get the frozen state of the whole filesystem, while everybody else who does read the filesystem will get the current state. Well, it doesn't work exactly as outlined above, but conceptually, it comes pretty close. Regards, -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ 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: Dump questions
and backups will (hopefully) be frequent - and will eventually catch your system in just about every meta state in which it could possibly exist. If you never have to recover from them, more power to you, but you have to consider the case in which you might actually USE your backup. The problem with backups is - you never really know if you can restore the state of BUSINESS until you try it. If you've never done a full system restore and attempted to bring up all your applications and recover things to a known state from which you can go forward - don't assume that you can! This is what DR (Disaster Recovery or Disaster Restart) simulation is all about. -- John Lind j...@starfire.mn.org ___ 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: Dump questions
On Sun, 21 Feb 2010 20:52:31 +0800, Aiza aiz...@comclark.com wrote: Polytropon wrote: On Sun, 21 Feb 2010 11:42:50 +0800, Aiza aiz...@comclark.com wrote: 1. Using the -L flag to create a snapshot of the live running file system. Does this mean that a complete copy of the file system is written to .snap directory? No. The snapshot, quite incorrectly explained, is a saved delta between the file system on disk at a given state, to fixate further modifications (that are not included in the dump, of course). Sorry, I read your words but have no clue as what you are trying to say with that statement. As i understand 'delta' to mean, the difference in file system content between a point in time 'A' and 'B' some point in time later in the future. Now just what is snapshot recording between point 'A' and 'B' and how does that apply to what dump is going to read and write? Oh, I see I did express a bit unclear. The snapshot means that the filesystem's status of a certain point in time - here: when dump is beginning to run - is fixated in a snapshot file, representing its exact content at time A. This representation is subject to the dump. All further deltas after A are not incorporated into the snapshot, and of course not into the dump. This means that all changes after A are lost if the backup is restored. A welcome solution, especially when dumo + restore are used to transfer system and user data, is to first run dump and restore, and then use cpdup to commit changes that took place during or right after the dump to the target. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: Dump questions
On Sun, Feb 21, 2010 at 11:03:58AM +0100, Polytropon wrote: On Sun, 21 Feb 2010 11:42:50 +0800, Aiza aiz...@comclark.com wrote: 1. Using the -L flag to create a snapshot of the live running file system. ... Is this the limiting factor that forces a user to use (single user mode) for running dump? The snapshot, as far as the dump is concerned, essentially freezes the condition of the file system so that dump does not see any changes while dump is running. Without the snapshot, files could change or be deleted during the time it takes dump to finish. Dump starts by making its own list, by inode, of all the files to dump. Then it writes out, first the list, then the directories and finally the files and links to the media. If the files change between the time that list is made and things get written to the media, you will have an inaccurate representation of the file system. This can result in error messages if files it expects to be there are missing It can mean that a mangled image of a file is written in the dump. Doing a dump in Single User Mode means stopping activity on the system so there are fewer chances of the above happening. Using -L and doing a snapshot will not prevent a dump from being technically obsolete by the time it gets done, but it will mean that what gets written to media is internally consistent. The list it made will be exactly what is on the backup media and the files are all written completely as they were when the snapshot was taken with no mangling. 2. What is the worse that will happen if dump is run on live file system with out the -L flag? The index list that is written as part of the dump will not reflect what is on the dump media. It may claim a file is there, but it really is not. A file or some files are mangled because they are open and being modified by another process as the dump is reading them. The file may be either an inaccurate image or even completely unreadable. Restore is smart enough to skip over these problems if the file[s] you are looking to restore are not the ones mangled or deleted. But, you could get in to a situation of not being able to restore some things that you have on media. Can dump recognize this situation and issue an error message? I don't remember if dump puts out any useful diagnostic. I think it might tell you if it cannot file a file whose inode is in its list to write. But, it is restore that really notices and complains. If you have room, you can use restore to 'verify' a dump just by doing a restore of it to some extra space (maybe even to /dev/null, though I have never tried that one) and seeing if it makes any complaints. This, of course, is a long way to do this, but it might be valuable if it is essential for that dump to be completely readable in a later situation where the original is not longer available. But, in this situation, then making a -L dump (using a snapshot) is really important or even a single user, filesystem unmounted -L dump. 3. Can dump be told to only dump a particular directory tree? IE /var/log or /usr/port? dump only workes on filesystems/partitions. If you know you will want to make dumps on just that directory tree, that is a reason to make a separate partition/filesystem for it and mount it up. There is no reason that /var/log cannot be in its own partition/filesystem separate from /var and just mounted that way. Of course, you have to make sure that /var gets mounted before /var/log. But, that is not strange. Many people make a separate partition for /usr/home inside of /usr or a /var/db that is mounted inside of /var. Now, you can restore just a single file, group of files or a directory tree out of a dump. You do not have to restore the whole dump. So, you can make a dump of a '/var' filesystem if that is what you have and then if you need to restore just '/var/db' out of it, that is no problem. Just make sure you understand where you are putting it and how you specifiy it in the restore. But, if you just want a backup copy of a directory tree that is not its own partition/filesystem, you must use some other tool, such as tar or possibly rsync. jerry ___ 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 ___ 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: Dump questions
Jerry McAllister wrote: On Sun, Feb 21, 2010 at 11:03:58AM +0100, Polytropon wrote: On Sun, 21 Feb 2010 11:42:50 +0800, Aiza aiz...@comclark.com wrote: 1. Using the -L flag to create a snapshot of the live running file system. ... Is this the limiting factor that forces a user to use (single user mode) for running dump? The snapshot, as far as the dump is concerned, essentially freezes the condition of the file system so that dump does not see any changes while dump is running. Without the snapshot, files could change or be deleted during the time it takes dump to finish. Dump starts by making its own list, by inode, of all the files to dump. Then it writes out, first the list, then the directories and finally the files and links to the media. If the files change between the time that list is made and things get written to the media, you will have an inaccurate representation of the file system. This can result in error messages if files it expects to be there are missing It can mean that a mangled image of a file is written in the dump. Doing a dump in Single User Mode means stopping activity on the system so there are fewer chances of the above happening. Using -L and doing a snapshot will not prevent a dump from being technically obsolete by the time it gets done, but it will mean that what gets written to media is internally consistent. The list it made will be exactly what is on the backup media and the files are all written completely as they were when the snapshot was taken with no mangling. 2. What is the worse that will happen if dump is run on live file system with out the -L flag? The index list that is written as part of the dump will not reflect what is on the dump media. It may claim a file is there, but it really is not. A file or some files are mangled because they are open and being modified by another process as the dump is reading them. The file may be either an inaccurate image or even completely unreadable. Restore is smart enough to skip over these problems if the file[s] you are looking to restore are not the ones mangled or deleted. But, you could get in to a situation of not being able to restore some things that you have on media. Can dump recognize this situation and issue an error message? I don't remember if dump puts out any useful diagnostic. I think it might tell you if it cannot file a file whose inode is in its list to write. But, it is restore that really notices and complains. If you have room, you can use restore to 'verify' a dump just by doing a restore of it to some extra space (maybe even to /dev/null, though I have never tried that one) and seeing if it makes any complaints. This, of course, is a long way to do this, but it might be valuable if it is essential for that dump to be completely readable in a later situation where the original is not longer available. But, in this situation, then making a -L dump (using a snapshot) is really important or even a single user, filesystem unmounted -L dump. 3. Can dump be told to only dump a particular directory tree? IE /var/log or /usr/port? dump only workes on filesystems/partitions. If you know you will want to make dumps on just that directory tree, that is a reason to make a separate partition/filesystem for it and mount it up. There is no reason that /var/log cannot be in its own partition/filesystem separate from /var and just mounted that way. Of course, you have to make sure that /var gets mounted before /var/log. But, that is not strange. Many people make a separate partition for /usr/home inside of /usr or a /var/db that is mounted inside of /var. Now, you can restore just a single file, group of files or a directory tree out of a dump. You do not have to restore the whole dump. So, you can make a dump of a '/var' filesystem if that is what you have and then if you need to restore just '/var/db' out of it, that is no problem. Just make sure you understand where you are putting it and how you specifiy it in the restore. But, if you just want a backup copy of a directory tree that is not its own partition/filesystem, you must use some other tool, such as tar or possibly rsync. jerry Thank you for the detail insight of how dump functions. Now one more question. Is the dump -L backup file made in a multiple-user-mode environment just as dependable as dump backups made in single-user-mode? ___ 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
Dump questions
1. Using the -L flag to create a snapshot of the live running file system. Does this mean that a complete copy of the file system is written to .snap directory? So if the running file system is more than 50% full there will not be enough free space available to hold the duplicate image? Can dump recognize this situation and issue an error message? Is this the limiting factor that forces a user to use (single user mode) for running dump? 2. What is the worse that will happen if dump is run on live file system with out the -L flag? Can dump recognize this situation and issue an error message? 3. Can dump be told to only dump a particular directory tree? IE /var/log or /usr/port? ___ 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: Dump questions
In the last episode (Feb 21), Aiza said: 1. Using the -L flag to create a snapshot of the live running file system. Does this mean that a complete copy of the file system is written to .snap directory? No; that would be a copy. Snapshots only copy blocks as they are modified on the parent filesystem, so their size is determined by how much data is modified since the snapshot was created. -- Dan Nelson dnel...@allantgroup.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: Dump questions
3. Can dump be told to only dump a particular directory tree? IE /var/log or /usr/port? No. ___ 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: Dump questions
Dan Nelson wrote: In the last episode (Feb 21), Aiza said: 1. Using the -L flag to create a snapshot of the live running file system. Does this mean that a complete copy of the file system is written to .snap directory? No; that would be a copy. Snapshots only copy blocks as they are modified on the parent filesystem, so their size is determined by how much data is modified since the snapshot was created. So how does this interact with the dump process? Dump start reading and writing its dump file and as the live system changes the changes are written to the .snap and when dump completes it overwrites it dump with the changes from the .snap??? How does this process work in detail? ___ 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: Dump questions
In the last episode (Feb 21), Aiza said: Dan Nelson wrote: In the last episode (Feb 21), Aiza said: 1. Using the -L flag to create a snapshot of the live running file system. Does this mean that a complete copy of the file system is written to .snap directory? No; that would be a copy. Snapshots only copy blocks as they are modified on the parent filesystem, so their size is determined by how much data is modified since the snapshot was created. So how does this interact with the dump process? Dump start reading and writing its dump file and as the live system changes the changes are written to the .snap and when dump completes it overwrites it dump with the changes from the .snap??? How does this process work in detail? Dump reads from the snapshot, which is guaranteed not to change while dump is running. When its done, dump deletes the snapshot file. Changes made after the dump has started will not be saved. This is the same as any other backup system that uses snapshots afaik; none try and catch up changes made while the backup itself is running. You could run another incremental dump right after the previous one, which would back up any changes since the first one. -- Dan Nelson dnel...@allantgroup.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: Newbie gmirror questions
On Sunday 17 January 2010, Matthew Seaman wrote: However, one of the really amazingly brilliant things about geom is that just about any disk / storage related thing can be a geom provider, and geom constructs will nest very happily. Here's a howto for setting up gmirror across a pair of slices: http://people.freebsd.org/~rse/mirror/ Thanks for all the advice, my mirrors are now up and running on 2 of the 4 slices without any problems. But just one last dumb question. Does gmirror consider one of the consumers to act as a master for the pair? The reason I ask is that earlier today I needed to disconnect a few cables inside the PC to get better access to a bit of internal hardware and then realised that although I knew which two SATA connectors to use for the mirror drives I'd failed to make a note of which order the drives were connected. I felt about 75% sure I'd paired them up the same way as before so went ahead, everything started up OK and gmirror status shows the status for both mirrors as COMPLETE. Now I'm wondering if I was just lucky or if it just doesn't matter if the order of mirror consumers is interchanged after creation. -- Mike Clarke ___ 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: Newbie gmirror questions
Does gmirror consider one of the consumers to act as a master for the pair? No. The order doesn't matter. You could take out your hard drives and shuffle them like cards and it wouldn't matter. All metadata is stored in the last sector of the drives themselves. Cable order is irrelevant. -Modulok- On 2/5/10, Mike Clarke jmc-freeb...@milibyte.co.uk wrote: On Sunday 17 January 2010, Matthew Seaman wrote: However, one of the really amazingly brilliant things about geom is that just about any disk / storage related thing can be a geom provider, and geom constructs will nest very happily. Here's a howto for setting up gmirror across a pair of slices: http://people.freebsd.org/~rse/mirror/ Thanks for all the advice, my mirrors are now up and running on 2 of the 4 slices without any problems. But just one last dumb question. Does gmirror consider one of the consumers to act as a master for the pair? The reason I ask is that earlier today I needed to disconnect a few cables inside the PC to get better access to a bit of internal hardware and then realised that although I knew which two SATA connectors to use for the mirror drives I'd failed to make a note of which order the drives were connected. I felt about 75% sure I'd paired them up the same way as before so went ahead, everything started up OK and gmirror status shows the status for both mirrors as COMPLETE. Now I'm wondering if I was just lucky or if it just doesn't matter if the order of mirror consumers is interchanged after creation. -- Mike Clarke ___ 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 ___ 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: More sysinstall questions 1 of 2
mj Entering y and waiting several minutes as all the data were extracted produced: l Message qk xCongratulations! You now have FreeBSD installed on your system. x x x xWe will now move on to the final configuration questions. x xFor any option you do not wish to configure, simply selectx xNo. x x x xIf you wish to re-enter this utility after the system is up, you x xmay do so by typing: /usr/sbin/sysinstall.x tqq(100%)qqu x [ OK ] x mq[ Press enter or space ]qj Whatever it is that differs between using mfs to run sysinstall and the CDROM to also run sysinstall is not obvious, at least to me. Sorry for the length of this message and I hope all the little boxes and box parts didn't wreck anybody's terminal. Martin McCormick ___ 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
More sysinstall questions 1 of 2
Yesterday, I asked how sysinstall mounts the drive on which FreeBSD is to install. I might not have been clear enough so I will try again since my question may have been confusing. The system is booting via mfs so we are starting out with a virtual disk drive made of memory. The hard drive is sitting right there as /dev/ad0. It can be formatted and mounted and appears to be working properly. As a trouble-shooting step, I ran sysinstall from mfs manually exactly as I have done from a CDROM on that very box. With the mfs system, sysinstall sees the hard drive and appears to let you format it. The bsdlabel section appears to let you assign the partitions. One selects distributions and a ftp site and then . . . it all goes wrong. The commit does not format the disk. There is no last chance prompt. It goes right to the download and proceeds to install FreeBSD all over mfs. The CDROM for installing FreeBSD correctly formats the drive and installs the OS on that very same box. My first question is why doesn't the mfs do the same thing? My second question will be on a separate message. Martin McCormick ___ 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
More sysinstall questions 2 of 2
When looking at the screen in sysinstall that lets one choose a medium to import an install.cfg file, there is the CDROM, the floppy disk and what looks like another option. Here is the text of the screen: ³ ³ fd0floppy drive unit A³ ³ ³ ³ acd0 ATAPI/IDE CDROM³ ³ ³ ³ ufsid/4b6787a7598a9a8bs1a ufsid/4b6787a7598a9a8bs1a ³ ³ Is that line with the ufsid some way to import a file without having to install a CDROM or some other physical media? Thanks for your help. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group ___ 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: More sysinstall questions 1 of 2
On Wed, 03 Feb 2010 17:01:52 -0600, Martin McCormick mar...@dc.cis.okstate.edu wrote: The commit does not format the disk. There is no last chance prompt. It goes right to the download and proceeds to install FreeBSD all over mfs. This seems to be obvious because no changes have been made to the disk (i. e. no slicing, no MBRin, no partitioning). The CDROM for installing FreeBSD correctly formats the drive and installs the OS on that very same box. My first question is why doesn't the mfs do the same thing? This is a matter of what has been selected within the partition editor. If not UFS2+S Y is set, no formatting process will take place. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: More sysinstall questions 2 of 2
On Wed, 03 Feb 2010 17:09:28 -0600, Martin McCormick mar...@dc.cis.okstate.edu wrote: ³ ³ ufsid/4b6787a7598a9a8bs1a ufsid/4b6787a7598a9a8bs1a ³ ³ Is that line with the ufsid some way to import a file without having to install a CDROM or some other physical media? To me, it seems to refer to an obviously UFS formatted media; maybe this is the hard disk (which has a UFS partition on it accessible via its UFSID)? The last part s1a may suggest that it is s1a (of ad0)... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: Newbie gmirror questions
On Sunday 17 January 2010, Matthew Seaman wrote: However, one of the really amazingly brilliant things about geom is that just about any disk / storage related thing can be a geom provider, and geom constructs will nest very happily. Here's a howto for setting up gmirror across a pair of slices: http://people.freebsd.org/~rse/mirror/ That's a very interesting article. Since I'll be able to configure the mirror on the new drives before installing any software my approach can be a bit simpler. In the example he's using a single partition for the whole disk but reduces the size if the partition by one block so that the mirror's meta data doesn't get misinterpreted as whole disk meta data. Since I anticipate using only the first 2 partitions for a couple of mirrors and using the rest of the disk as plain partitions then I don't think I need to do this but might it still be a good idea to reduce the last partition by one block anyway in case my usage changes in the future? -- Mike Clarke ___ 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: Newbie gmirror questions
On Saturday 16 January 2010, Pieter de Goeje wrote: On Saturday 16 January 2010 00:34:52 Mike Clarke wrote: I'm about to upgrade to more disk space and I'm tempted use this as an opportunity to get two disks and implement gmirror. Before I go ahead there's a few aspects of mirroring I'm not sure about and would appreciate some advice. I'm using grub for multi booting. Does this introduce any problems if I want to boot into Windows or Linux on one of the other partitions? Gmirror stores the metadata at the last sector of each disk. So this shouldn't be a problem. But other operating systems might overwrite this data if you're not careful during the paritioning. I'll make sure that the last stripe on the disk isn't used by any alien OS then. Actually I was more concerned about what happens when I boot into another OS like Windows or Linux on one of the spare slices - I'm assuming that I have to apply gmirror to the whole disk rather than just selected slices? My main reason for multibooting with grub is to have a spare slice where I can install a spare copy of FreeBSD. I find this very useful when I do any major upgrade (like trying out your suggestion of going to 8-STABLE) because I can copy the current system onto the spare slice and use that to apply the upgrades, if I hit any major problems I can easily revert to booting the original slice until I figure out how to fix the problem. I'm assuming that using gmirror won't prevent me from doing this. If I boot into an OS which isn't aware of gmirror, such as Windows, then I assume it will just run normally if I point grub to the appropriate slice on the primary drive. Next time I boot into FreeBSD then I expect gmirror will recognise that the second drive is out of sync with the primary and update it in the background. Perhaps this might hit performance for a while but on the other hand it provides me with a certain amount of backup if the Windows system trashes itself because I could try to restore it from the copy on the second drive before attempting to reboot FreeBSD. I assume the same logic would also apply to running Linux on one of the slices, although Linux has software mirror capability it appears to be totally different from gmirror so I expect it's a case of running that non-mirrored too. If this approach isn't wise then I expect I'll need to keep a spare non-mirrored disk for the other systems. I don't expect to need to boot into Windows or Linux very often. Now that I've upgraded from FreeBSD 6.4 to 8.0 I'm able to make use of virtualbox for this sort of thing which is generally much more convenient but I'd like to keep the ability to run them natively should the need arise. -- Mike Clarke ___ 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: Newbie gmirror questions
Mike Clarke wrote: Actually I was more concerned about what happens when I boot into another OS like Windows or Linux on one of the spare slices - I'm assuming that I have to apply gmirror to the whole disk rather than just selected slices? You can't do this. gmirror is FreeBSD specific, and other OSes can't deal with it. You can take your two drives, partition them (fdisk) and then create a gmirror across the slices you assign to FreeBSD. Similarly you could set up md to mirror the slice(s) used for Linux. As far as I know, Windows doesn't come with OS level mirroring software -- it can use hostraid[*], or I believe there are some commercial solutions you can purchase. Or just treat your Windows partitions as two separate drives, and live without resilience for that OS. As far as booting the system goes, Grub should be able to boot each OS from either mirror as if it was a plain installation on a single drive. Wilder suggestions would be to install Linux, Open Solaris or NetBSD as a Xen dom0, and then install your other OSes as domU guests. In this case, you'ld mirror the storage within the dom0 instance and export a device to each of the client OSes. [Open Solaris particularly interesting for this purpose, as you could use ZFS.] This is substantially more complex to set up than your current plan, but does have the very handy advantage that you can run all of your OSes simultaneously. Cheers, Matthew [*] FreeBSD can use this too -- the disks appear as an ar device (see ata(4)) -- and presumably so can Linux, but I can't confirm that. Hostraid is generally second best to OS based RAIDs. Apart from anything else, you tend to have to bring the system down to the BIOS level to do anything to the RAIDs. -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Newbie gmirror questions
On Sunday 17 January 2010, Matthew Seaman wrote: Mike Clarke wrote: Actually I was more concerned about what happens when I boot into another OS like Windows or Linux on one of the spare slices - I'm assuming that I have to apply gmirror to the whole disk rather than just selected slices? You can't do this. gmirror is FreeBSD specific, and other OSes can't deal with it. You can take your two drives, partition them (fdisk) and then create a gmirror across the slices you assign to FreeBSD. This will make things a lot easier for me. I think all the examples of gmirror I've seen used things like /dev/da0 as the provider in label commands so I assumed that I had to use the whole physical disk but if I can mirror individual slices then I have much more flexibility. My motherboard has a UDMA133 controller for ata0 ata1 (which I don't use) and 2 SATA controllers for ata2 to ata5 so with my 2 SATA drives spread between the controllers on channels 2 4 I could have something like /dev/mirror/gm1 provided by /dev/ad2s1 /dev/ad4s1 and /dev/mirror/gm2 provided by /dev/ad2s2 /dev/ad4s2 for a couple of FreeBSD systems. That will leave me with 2 spare slices on each drive for other purposes. Any Windows or Linux stuff I put on tends to be mainly experimental and less long term than my FreeBSD system so don't really need the resilience of being mirrored. -- Mike Clarke ___ 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: Newbie gmirror questions
Mike Clarke wrote: On Sunday 17 January 2010, Matthew Seaman wrote: Mike Clarke wrote: Actually I was more concerned about what happens when I boot into another OS like Windows or Linux on one of the spare slices - I'm assuming that I have to apply gmirror to the whole disk rather than just selected slices? You can't do this. gmirror is FreeBSD specific, and other OSes can't deal with it. You can take your two drives, partition them (fdisk) and then create a gmirror across the slices you assign to FreeBSD. This will make things a lot easier for me. I think all the examples of gmirror I've seen used things like /dev/da0 as the provider in label commands so I assumed that I had to use the whole physical disk but if I can mirror individual slices then I have much more flexibility. My motherboard has a UDMA133 controller for ata0 ata1 (which I don't use) and 2 SATA controllers for ata2 to ata5 so with my 2 SATA drives spread between the controllers on channels 2 4 I could have something like /dev/mirror/gm1 provided by /dev/ad2s1 /dev/ad4s1 and /dev/mirror/gm2 provided by /dev/ad2s2 /dev/ad4s2 for a couple of FreeBSD systems. That will leave me with 2 spare slices on each drive for other purposes. Any Windows or Linux stuff I put on tends to be mainly experimental and less long term than my FreeBSD system so don't really need the resilience of being mirrored. Yes -- there's an On-Lamp article by Dru Lavigne that has been particularly influential, and gmirror'ing whole disks is the best way forwards for the vast majority of cases where you've a server dedicated to one OS. However, one of the really amazingly brilliant things about geom is that just about any disk / storage related thing can be a geom provider, and geom constructs will nest very happily. Here's a howto for setting up gmirror across a pair of slices: http://people.freebsd.org/~rse/mirror/ It's fairly old now, but the essentials are still correct. The one thing that has changed in the intervening time is what is the best algorithm to use for the gmirror. Up until the release of 8.0, 'round-robin' was virtually always the right choice, but nowadays 'load' is preferred. All that means, is change the following line in rse's article from: gmirror label -v -n -b round-robin ${gm} /dev/${d2}s1 to gmirror label -v -n -b load ${gm} /dev/${d2}s1 Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Newbie gmirror questions
On 17.01.2010 19:18, Matthew Seaman wrote: Mike Clarke wrote: Actually I was more concerned about what happens when I boot into another OS like Windows or Linux on one of the spare slices - I'm assuming that I have to apply gmirror to the whole disk rather than just selected slices? You can't do this. gmirror is FreeBSD specific, and other OSes can't deal with it. You can take your two drives, partition them (fdisk) and then create a gmirror across the slices you assign to FreeBSD. Similarly you could set up md to mirror the slice(s) used for Linux. As far as I know, Windows doesn't come with OS level mirroring software -- it can use hostraid[*], or I believe there are some commercial solutions you can purchase. Or just treat your Windows partitions as two separate drives, and live without resilience for that OS. I can correct you here. XP Pro and later do know about 'dynamic' disks and they can make mirrors from them. Booting from such disks is a kind pain in the ass but it works for RAID0, RAID1, RAID0+1 and RAID5 setup. I can be wrong, I'm not a Win-fan, I just do know this exists. You can find details here: http://support.microsoft.com/default.aspx/kb/816307 -- 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 freebsd-questions-unsubscr...@freebsd.org
Re: Newbie gmirror questions
On Saturday 16 January 2010 00:34:52 Mike Clarke wrote: I'm about to upgrade to more disk space and I'm tempted use this as an opportunity to get two disks and implement gmirror. Before I go ahead there's a few aspects of mirroring I'm not sure about and would appreciate some advice. I'm using grub for multi booting. Does this introduce any problems if I want to boot into Windows or Linux on one of the other partitions? Gmirror stores the metadata at the last sector of each disk. So this shouldn't be a problem. But other operating systems might overwrite this data if you're not careful during the paritioning. The gmirror manpage describes the procedure for handling kernel dumps using the prefer balance algorithm in the early stages of booting and then switching to round-robin in the /etc/rc.local script. It then goes on to say that If on the next boot a component with a higher priority will be available, the prefer algorithm will choose to read from it and savecore(8) will find nothing. Does this only arise if I've made some change to the configuration of the mirror between the dump and the reboot or is there some instances when the priority automatically changes? Priority never changes automatically. Some of the articles I've read about gmirror suggest setting the balance to round-robin while others just leave this at the default setting of split. Am I right in assuming that round-robin would give better performance, and does it make much noticeable difference in real terms. In particular am I likely to see a reduction in performance using gmirror compared with what I would get with just a normal single disk. Assuming you have two or more regular HDDs, I can recommend updating to 8-STABLE and using the load algorithm. It has had some major improvements lately, and is now the default. It should give equal or better read performance in comparison to a single disk in all cases. The performance of split and round-robin is very dependent on the access patterns and stripe size (for split). Finally, recent articles say to set kern.geom.debugflags to 17 when creating a mirror on a mounted drive while older articles say to set it to 16. Although I'll probably be creating the mirror on my disks before copying my system onto them so I don't really need to worry about setting this flag but I'm curious to know the difference between using the two values. The sysctl is a bitfield, so 17 (0x11) enables some extra stuff compared to 16 (0x10). See geom(4), section DIAGNOSTICS for more details. -- Pieter de Goeje ___ 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
Newbie gmirror questions
Forwarded Message: Newbie gmirror questions Newbie gmirror questions Saturday, January 16, 2010 12:34 AM From: Mike Clarke jmc-freeb...@milibyte.co.uk To: freebsd-questions@freebsd.org I'm about to upgrade to more disk space and I'm tempted use this as an opportunity to get two disks and implement gmirror. Before I go ahead there's a few aspects of mirroring I'm not sure about and would appreciate some advice. I'm using grub for multi booting. Does this introduce any problems if I want to boot into Windows or Linux on one of the other partitions? The gmirror manpage describes the procedure for handling kernel dumps using the prefer balance algorithm in the early stages of booting and then switching to round-robin in the /etc/rc.local script. It then goes on to say that If on the next boot a component with a higher priority will be available, the prefer algorithm will choose to read from it and savecore(8) will find nothing. Does this only arise if I've made some change to the configuration of the mirror between the dump and the reboot or is there some instances when the priority automatically changes? Some of the articles I've read about gmirror suggest setting the balance to round-robin while others just leave this at the default setting of split. Am I right in assuming that round-robin would give better performance, and does it make much noticeable difference in real terms. In particular am I likely to see a reduction in performance using gmirror compared with what I would get with just a normal single disk. Finally, recent articles say to set kern.geom.debugflags to 17 when creating a mirror on a mounted drive while older articles say to set it to 16. Although I'll probably be creating the mirror on my disks before copying my system onto them so I don't really need to worry about setting this flag but I'm curious to know the difference between using the two values. -- Mike Clarke ** Hi Mike, I' ve just (ok, two weeks ago) completed a gmirror setup so can tell about what I know about this process However, my setup is not the same as yours because I' m not in a multi boot situation. I let others give their opinion regarding GRUB. I do guess that your OS-es are on a separate disk and in FreeBSD you will create a mirror with the two identical disks using gmirror. I've used round-robin because that's what the handbook suggested. I used kern.geom.debugflags = 17 because I looked at the handbook and guessed the other articles which suggested 16 were not up to date and it worked flawlessly. BrgdsDino ___ 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
Newbie gmirror questions
I'm about to upgrade to more disk space and I'm tempted use this as an opportunity to get two disks and implement gmirror. Before I go ahead there's a few aspects of mirroring I'm not sure about and would appreciate some advice. I'm using grub for multi booting. Does this introduce any problems if I want to boot into Windows or Linux on one of the other partitions? The gmirror manpage describes the procedure for handling kernel dumps using the prefer balance algorithm in the early stages of booting and then switching to round-robin in the /etc/rc.local script. It then goes on to say that If on the next boot a component with a higher priority will be available, the prefer algorithm will choose to read from it and savecore(8) will find nothing. Does this only arise if I've made some change to the configuration of the mirror between the dump and the reboot or is there some instances when the priority automatically changes? Some of the articles I've read about gmirror suggest setting the balance to round-robin while others just leave this at the default setting of split. Am I right in assuming that round-robin would give better performance, and does it make much noticeable difference in real terms. In particular am I likely to see a reduction in performance using gmirror compared with what I would get with just a normal single disk. Finally, recent articles say to set kern.geom.debugflags to 17 when creating a mirror on a mounted drive while older articles say to set it to 16. Although I'll probably be creating the mirror on my disks before copying my system onto them so I don't really need to worry about setting this flag but I'm curious to know the difference between using the two values. -- Mike Clarke ___ 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
glabel label questions
My system currently has three external disk drives connected via USB 2.0 ports and will soon have another drive connected via a Firewire port. The three already present have quite a few partitions on them, nearly all of which already contain file systems with lots of files in them. I would like to use the glabel label method of labeling each of these partitions, so that I do not always have to disconnect all but one external drive when rebooting the system and then reconnect them one by one in order to get the proper device files assigned to them for use with /etc/fstab entries. However, some of these partitions contain GELI-encrypted file systems. Can the glabel label sort of labeling be used with encrypted partitions? If so, can glabel label be used on the encrypted partitions without destroying the file systems or the data in them? Or will I need to recreate the file systems after labeling the partitions and then restore their contents from backups? Is there any danger to unencrypted partitions and data when using the glabel label operation? Thanks in advance for any help with this matter. Scott Bennett, Comm. ASMELG, CFIAG ** * Internet: bennett at cs.niu.edu * ** * A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army. * *-- Gov. John Hancock, New York Journal, 28 January 1790 * ** ___ 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: glabel label questions
2010/1/11 Scott Bennett benn...@cs.niu.edu My system currently has three external disk drives connected via USB 2.0 ports and will soon have another drive connected via a Firewire port. The three already present have quite a few partitions on them, nearly all of which already contain file systems with lots of files in them. I would like to use the glabel label method of labeling each of these partitions, so that I do not always have to disconnect all but one external drive when rebooting the system and then reconnect them one by one in order to get the proper device files assigned to them for use with /etc/fstab entries. However, some of these partitions contain GELI-encrypted file systems. Can the glabel label sort of labeling be used with encrypted partitions? If so, can glabel label be used on the encrypted partitions without destroying the file systems or the data in them? Or will I need to recreate the file systems after labeling the partitions and then restore their contents from backups? Is there any danger to unencrypted partitions and data when using the glabel label operation? Thanks in advance for any help with this matter. Scott Bennett, Comm. ASMELG, CFIAG ** * Internet: bennett at cs.niu.edu * ** * A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army. * *-- Gov. John Hancock, New York Journal, 28 January 1790 * ** ___ 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 just unmount them and do a tunefs -L name device on them. Geli works a layer below the fs so should work fine. ___ 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: glabel label questions
On Mon, 11 Jan 2010 12:24:47 + krad kra...@googlemail.com wrote: 2010/1/11 Scott Bennett benn...@cs.niu.edu My system currently has three external disk drives connected via USB 2.0 ports and will soon have another drive connected via a Firewire port. The three already present have quite a few partitions on them, nearly all of which already contain file systems with lots of files in them. I would like to use the glabel label method of labeling each of these partitions, so that I do not always have to disconnect all but one external drive when rebooting the system and then reconnect them one by one in order to get the proper device files assigned to them for use with /etc/fstab entries. However, some of these partitions contain GELI-encrypted file systems. Can the glabel label sort of labeling be used with encrypted partitions? If so, can glabel label be used on the encrypted partitions without destroying the file systems or the data in them? Or will I need to recreate the file systems after labeling the partitions and then restore their contents from backups? Is there any danger to unencrypted partitions and data when using the glabel label operation? Thanks in advance for any help with this matter. just unmount them and do a tunefs -L name device on them. Geli works a layer below the fs so should work fine. Thank you for responding. Unfortunately, it appears I didn't state my questions clearly enough. The layering of the software is not what concerns me most here. What worries me is whether writing the label information to the disk will overwrite my data or file system control structure data that are already present on the disk. The layering issue that does concern me, however, is not that GELI lies below the file system, which one can clearly see even from the instructions in the handbook for setting up GELI-encrypted partitions. What is at issue is whether GELI can properly handle /dev/label/somename as a provider for a geli attach operation, creating then a /dev/label/somename.eli device file that can then be mounted onto a directory in the file system. Scott Bennett, Comm. ASMELG, CFIAG ** * Internet: bennett at cs.niu.edu * ** * A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army. * *-- Gov. John Hancock, New York Journal, 28 January 1790 * ** ___ 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
i've questions sure this e-mail for questions
hello sir i am wanyce ashoura from Libya i notice in Libya and Africa there is no community for BSD and i start manged some small group of bsd group so if that not bothering you cause my language english not so good ok and i am new in bsd world and i wasn't use windows xp sure i start with slackware and i notice there are bsd so i say let me test it and i like so much i want understanding this freebsd and openbsd and pcbsd not is distributor as gnu linux yes or not cause there just few os named bsd i know bsd is open source but not free software here i am not talk about free of charging . so my questions is bsd is not free software mean i cant make distributor on bsd is what i do now on my pc not distributor for business just for my own small work like manged my network with me friend's and play costuming every thing as i want so thank you for your time ___ 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: i've questions sure this e-mail for questions
On January 9, 2010 07:28:24 pm libyan linux wrote: hello sir i am wanyce ashoura from Libya i notice in Libya and Africa there is no community for BSD and i start manged some small group of bsd group so if that not bothering you cause my language english not so good ok and i am new in bsd world and i wasn't use windows xp sure i start with slackware and i notice there are bsd so i say let me test it and i like so much i want understanding this freebsd and openbsd and pcbsd not is distributor as gnu linux yes or not cause there just few os named bsd i know bsd is open source but not free software here i am not talk about free of charging . so my questions is bsd is not free software mean i cant make distributor on bsd is what i do now on my pc not distributor for business just for my own small work like manged my network with me friend's and play costuming every thing as i want so thank you for your time ___ 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 FreeBSD, OpenBSD and PC-BSD are all free software, and there is nothing I know of to stop you distributing and using them locally. You can find out more from http://en.wikipedia.org/wiki/BSD_licenses and from http://63.249.85.132/fbsd_intro.html Good luck - the software is of very high quality and very reliable. ___ 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: i've questions sure this e-mail for questions
On Sun, 10 Jan 2010 02:28:24 +0200 libyan linux libyan@gmail.com wrote: so my questions is bsd is not free software mean i cant make distributor on bsd is what i do now on my pc not distributor for business just for my own small work like manged my network with me friend's and play costuming every thing as i want so thank you for your time You can do what you like with it - including using it in commercial software. The GPL licence used by Linux is much more restrictive than the BSD licence. ___ 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: Any delivery block to freebsd-questions list?
Matthias Apitz wrote: El día Friday, January 08, 2010 a las 06:57:04AM +0100, Matthias Apitz escribió: Sounds like that's just graylisting. The delay will depend on how long it takes your MTA (or the smarthost you use) to retry the message. In my case it seems not to be graylisting, but blacklisting; i.e. the mail is not delivered at all :-( Now, with the above reply, the mail of yesterday showed up in the list as well... what is this? Well, looking at the headers, it spent about 11 hours sitting at ms4-1.1blu.de. Once it was accepted at freebsd.org, it went out to the list in about 2 minutes. Received: from ms4-1.1blu.de (ms4-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id EDF3F8FC1C for freebsd-questions@freebsd.org; Fri, 8 Jan 2010 05:57:09 + (UTC) Received: from [193.31.11.193] (helo=current.Sisis.de) by ms4-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1NSuhI-0004mn-4D for freebsd-questions@freebsd.org; Thu, 07 Jan 2010 16:54:52 +0100 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id o07FspAW026325 for freebsd-questions@freebsd.org; Thu, 7 Jan 2010 16:54:51 +0100 (CET) (envelope-from g...@unixarea.de) Now, not knowing what the configuration of ms4-1.1blu.de is like, I can only speculate that it tried to deliver to mx1.freebsd.org and, for whatever reason, failed at the initial attempt. [It's not greylisting by the FreeBSD mailservers, because they don't use it.] We can't see from this trace how many times ms4-1.1blu.de retried sending the message during that time -- typically it should try again after 15 or 30min and then keep trying again at that sort of interval or longer for up to 5 days. As they are using Exim, it's quite likely the message ended up in a stuck-message queue which would still keep retrying delivery, but at a much lower frequency. Without looking at the mail logs on mx1.freebsd.org we can't know why the message wasn't accepted. We can tell that it was temp-failed -- ie. you didn't get a bounce back with a permanent failure message. There are several mechanisms used with e-mail that might generate this sort of temp-fail response (SPF, DKIM -- but there are no indications freebsd.org uses these in the message headers) or else the problem might well have been a failure in the DNS -- if mx1.freebsd.org couldn't look up ms4-1.1blu.de or sisis.de then it wouldn't accept the message. This last scenario seems the most likely to me, especially since you say you've recently changed e-mail service provider. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Any delivery block to freebsd-questions list?
Hello, I have sent some hours ago a mail to freebsd-questions which went out fine to the MX of my ISP (as I can see in /var/log/maillog) but does not show up in the list and not in the Archives. The Subject: was about sendmail and SMTP AUTH. I have changed the ISP today morning for outbound mail and it may happen that this could be the cause, even if mails to other recipients are working fine... Is there some kind of anti-SPAM protection for freebsd-questions based on the IP of the SMTP origin? To whom I could contact? Thanks in advance matthias -- Matthias Apitz g...@unixarea.de - http://www.UnixArea.de/ - http://gurucubano.blogspot.com/ «...una sola vez, que es cuanto basta si se trata de verdades definitivas.» «...only once, which is enough if it has todo with definite truth.» José Saramago, Historia del Cerco de Lisboa ___ 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: Any delivery block to freebsd-questions list?
On 1/7/2010 2:18 PM, Matthias Apitz wrote: Hello, I have sent some hours ago a mail to freebsd-questions which went out fine to the MX of my ISP (as I can see in /var/log/maillog) but does not show up in the list and not in the Archives. The Subject: was about sendmail and SMTP AUTH. I have changed the ISP today morning for outbound mail and it may happen that this could be the cause, even if mails to other recipients are working fine... Is there some kind of anti-SPAM protection for freebsd-questions based on the IP of the SMTP origin? To whom I could contact? Thanks in advance matthias I too have a similar problem with my emails. They take about 30-45 minutes to be posted to the list. According to Thunderbird the mail is sent (at least to my mail server @ Bluehost), and the time-stamp on the message reads as the time I sent it. Didn't think anyone else was having this problem. -- PIT signature.asc Description: OpenPGP digital signature
Re: Any delivery block to freebsd-questions list?
On 1/7/2010 2:36 PM, Programmer In Training wrote: snip I too have a similar problem with my emails. They take about 30-45 minutes to be posted to the list. According to Thunderbird the mail is sent (at least to my mail server @ Bluehost), and the time-stamp on the message reads as the time I sent it. Didn't think anyone else was having this problem. I should note this only happens when I'm posting a new message to the list. Replies go straight through. -- PIT signature.asc Description: OpenPGP digital signature