Re: pkg_rmleaves in FreeBSD 9
On 08/02/2012 04:55, Kevin Zheng wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I often use pkg_rmleaves(1) to uninstall unused programs on FreeBSD. I'm in the process of test-driving a FreeBSD 9 system on a virtual machine. I've noticed that pkg_rmleaves doesn't take up the entire width of the window anymore. Quite frankly, I like it when pkg_rmleaves takes up the entire window, so is there any nice way to get it (or dialog) to take the entire screen? Thanks, Kevin Zheng For me, it takes the entire screen, I advise you to try out ports-mgmt/pkg_cleanup it is exactly more up to date as pkg_rmleaves is completely outdated. Cheers, -- David Demelier ___ 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: Debug Brother MFC-9560CDW failure to print
On 02/08/12 17:37, Da Rock wrote: On 02/08/12 17:30, Da Rock wrote: On 02/08/12 17:24, Robert Bonomi wrote: Cc: Subject: Re: Debug Brother MFC-9560CDW failure to print On 02/08/12 03:33, Jerry wrote: On Tue, 07 Feb 2012 11:57:26 +1000 Da Rock articulated: Just noticed something: have you specifically got a postscript module in your printer? Because that is what it is sending your printer... I only just found that in the logs :) I have used every PPD file I could find; both those supplied by CUPS and those found on the NET. It doesn't make any difference. I can only get a page printed if I use the LPR option, otherwise only a blank page is ejected. By the way, if I use a BW PPD instead of the color laser one, a BW document is printed when I use the LPR option; therefore, it is apparent that something is actually using that PPD. If you search, you will find that there are numerous reports of problems with blank pages and the CUPS 1.5.0 version. Those that I have personally checked are usually also associated with FreeBSD, which leads me to believe it is a local phenomenon. Luckily, I can print through Windows, so I am not stuck with this BS. By the way, the test page printed is the one that is supplied with CUPS. Interestingly, it prints its own page but not one feed to it. Go figure ... From what I see right now, you're printing ps to a non ps printer. So I'm a little surprised that you get a test page that way. Strange. When I check the specs for that printer, it says it it has following printer-language support: PCL6,BR-Script3 BR-Script3 Is Brother's implementation of PostScript -- thus not having to py Adobe's licensing fees for the genuine interpreter. Interesting. I haven't heard that before. That said, it would take more than a simple name change to beat off the blood-sucking lawyers... so just how close to postscript is it? And how perfectly does cups interpret it as well? A quick glance at wikipedia doesn't show the 9560 as compatible to ps 2 or 3 Excuse me, yet again. I remember now, (it's been close to ten years since I worked on these monsters) that used to be a selling feature; not really a feature technically :) I think some of the earliest models used to have a genuine interpreter built-in. Maybe it was too expensive to sell? I don't know exactly in what direction it has gone now, but it appears not all are compatible. ___ 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: Debug Brother MFC-9560CDW failure to print
On 02/08/12 17:59, Robert Bonomi wrote: From owner-freebsd-questi...@freebsd.org Wed Feb 8 01:46:35 2012 Date: Wed, 08 Feb 2012 17:37:16 +1000 From: Da Rockfreebsd-questi...@herveybayaustralia.com.au To: freebsd-questions@freebsd.org Subject: Re: Debug Brother MFC-9560CDW failure to print On 02/08/12 17:30, Da Rock wrote: On 02/08/12 17:24, Robert Bonomi wrote: Cc: Subject: Re: Debug Brother MFC-9560CDW failure to print On 02/08/12 03:33, Jerry wrote: On Tue, 07 Feb 2012 11:57:26 +1000 Da Rock articulated: Just noticed something: have you specifically got a postscript module in your printer? Because that is what it is sending your printer... I only just found that in the logs :) I have used every PPD file I could find; both those supplied by CUPS and those found on the NET. It doesn't make any difference. I can only get a page printed if I use the LPR option, otherwise only a blank page is ejected. By the way, if I use a BW PPD instead of the color laser one, a BW document is printed when I use the LPR option; therefore, it is apparent that something is actually using that PPD. If you search, you will find that there are numerous reports of problems with blank pages and the CUPS 1.5.0 version. Those that I have personally checked are usually also associated with FreeBSD, which leads me to believe it is a local phenomenon. Luckily, I can print through Windows, so I am not stuck with this BS. By the way, the test page printed is the one that is supplied with CUPS. Interestingly, it prints its own page but not one feed to it. Go figure ... From what I see right now, you're printing ps to a non ps printer. So I'm a little surprised that you get a test page that way. Strange. When I check the specs for that printer, it says it it has following printer-language support: PCL6,BR-Script3 BR-Script3 Is Brother's implementation of PostScript -- thus not having to py Adobe's licensing fees for the genuine interpreter. Interesting. I haven't heard that before. That said, it would take more than a simple name change to beat off the blood-sucking lawyers... so just how close to postscript is it? And how perfectly does cups interpret it as well? A quick glance at wikipedia doesn't show the 9560 as compatible to ps 2 or 3 *sigh* Yet another reason why Wikipedia should not be used/trusted, when authoritative sources -- like Manufacturer specifications -- are available. See: http://welcome.solutions.brother.com/bsc/public_s/id/us/us/en/colorlasermfc/mfc9560cdw_us/spec/index.html scroll down to the 'Printer' section. Check out the 'Emulation' line-item. Notice also the 'Direct Print' item, where the printer can also _directly_ handle 'PDF 1.7' documents. Ok. Now I get where you're coming from. I'm coming from the point of view of the guy that gets in the guts of the beasts and inserts the chips in question; so I'm coming from the other way :) For reference the pdf interpreter is a different kettle of fish as far as the printer is concerned- no where near as involved as ps. Mostly tied with the scanner? That's about the timing of its arrival as a feature on printers (multifunctional). From experience the interpreters differ very slightly, and we're coming from the basis of not only one poser, but 2 posers. ghostscript on the one hand, and br-script3 on the other. I know ghostscript doesn't always get it exactly right every time, and neither does br-script. The only way for perfection is to use one from start to finish- hence why Adobe wins every time because print shops graphic arts are usually already using Adobe. So it could simply be a near miss :) PCL will usually just work - don't know precisely why that should be, but it does. Less licensing/legals? May mean there doesn't need to be a point of difference. Take for example java: one java vm version should be the same as the next of the same version (think iced-tea v sun java), and yet small differences cause issues to creep in and render the app completely useless. Same language, different interpreter (close enough, ok pedantics ;) ). Something happened to me and my systems along these lines. (It was horrible! Bits were flying and mangled everywhere.. :P) Another example along these lines would be posix implementations... (dare I bring it up :) ) Hmmm. Having considered all this... I wonder if porting the brother driver might be useful? Although PCL _is_ fully functioning... ___ 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
[solved]: journal timestamp
An amd64 running fbsd9-RC1 was shutdown overnight from the 'shutdown -p now' command. It reported an unclean shutdown and I ran 'fsck -y'. Still it will not boot and the message is Journal timestamp does not match fs mount time. This is occurring for both /var and /usr. Sporadic episodes of dd, mount, fsck and the like produced no results- apparently if the journal is out of sync then FreeBSD offers no utility to fix it. With a new disk and install of FreeBSD9 then I could mount ufs /usr read-only and copy files to the new installation and then with 'zfs list' created a mount-point for the zfs disk and copied those files as well. Darrel ___ 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: Debug Brother MFC-9560CDW failure to print
On Wed, 8 Feb 2012, Robert Bonomi wrote: Da Rock freebsd-questi...@herveybayaustralia.com.au wrote: On 02/08/12 17:24, Robert Bonomi wrote: Lawyers are not a problem -- the PS _language_ *IS* in the public domain. Anyboy is free to implement their own interpreter. See -'ghostscript' for a _very_ well-known example. grin Many lower-price printer manufacturers use a 'private' implemention -- the Adobe License fee is (or at least used to be, a couplee of decades aoo, when I was dealing with such things) in the hundreds of dollars _per_unit_. Even higher priced models. HP uses a compatible version in many of their office printers. It's very good. I haven't tested a current Brother implementation. A couple of decades ago, their 'PS-level 2 implementation 'just worked' for anything I happened to throw at it in a production environment. Some of the 'alternative' implementations actually have -fewer- bugs in them than the genuine Adobe-licensed code does. wry grin Been a long time since I tried BRScript, but memory suggests it was adequate then, and will have improved since. Machine-generated PS code generally doesn't try anything unusual, and should work fine. The ability to print PDFs directly was added with PostScript 3. Pretty much any printer with a PS interpreter will also accept PCL. Interpreting the PS on the host with ghostscript and then sending PCL bitmaps might be faster. It depends on the document and the bandwidth to the printer. ___ 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: gpt zfs raidz1 boot failure
This actually made for an interesting bug, once I dug into it some more: http://www.freebsd.org/cgi/query-pr.cgi?pr=164861 If you build a zfs in degraded mode, it's not bootable. But if you build it normally, then remove a disk to put it in degraded mode, it is bootable. Chris On 2/4/2012 9:56 PM, Chris Jones wrote: I have a raidz1 in degraded mode, with only 1 disk available. When I try to boot it, I get this: ZFS: can only boot from disk, mirror, raidz1, raidz2 and raidz3 vdevs ZFS: i/o error - all block copies unavailable ZFS: can't read MOS ZFS: unexpected object set type 0 ...followed by a couple of attempts to load maxroot/boot/kernel/kernel. I've carefully followed the instructions at http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/9.0-RELEASE -- except that I'm starting with a degraded zfs so I can transition my data from gmirror. Here's more system info: maxwell$ uname -a FreeBSD maxwell.cjones.org 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012 r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 maxwell# gpart show ada2 = 34 488281183 ada2 GPT (232G) 34128 1 freebsd-boot (64k) 162 488281055 2 freebsd-zfs (232G) maxwell# zpool status pool: maxroot state: DEGRADED status: One or more devices has been taken offline by the administrator. Sufficient replicas exist for the pool to continue functioning in a degraded state. action: Online the device using 'zpool online' or replace the device with 'zpool replace'. scan: none requested config: NAME STATE READ WRITE CKSUM maxroot DEGRADED 0 0 0 raidz1-0 DEGRADED 0 0 0 ada2p2 ONLINE 0 0 0 8747991784175675917 OFFLINE 0 0 0 was /usr/bigfile errors: No known data errors The errors seem to indicate that it's getting to the first- and second-stage bootstrap, but it's unable to load /boot/zfsloader; correct? The first line of error text seems to indicate that the bootstrap thinks my pool isn't a raidz1; but the output of zpool says otherwise. Any thoughts? Chris ___ 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
APC UPS Trip Lite - usb device keeps disconnecting
Gentlemen, I have recently purchased a small APC UPS unit for my office server. We have power outages from time to time that can last a couple of hours ( Mexico City ). I would like to setup apcupsd to automatically shutdown the server when there is a power outage. Upon connecting the UPS with a USB cable to the server I get this message : ugen1.2: Tripp Lite at usbus1 uhid1: Tripp Lite Tripp Lite UPS, class 0/0, rev 1.10/0.07, addr 2 on usbus1 And then about 20 seconds later : ugen1.2: Tripp Lite at usbus1 (disconnected) uhid1: at uhub1, port 2, addr 2 (disconnected) 20 seconds after that : ugen1.2: Tripp Lite at usbus1 uhid1: Tripp Lite Tripp Lite UPS, class 0/0, rev 1.10/0.07, addr 2 on usbus1 Another 20 seconds : ugen1.2: Tripp Lite at usbus1 (disconnected) uhid1: at uhub1, port 2, addr 2 (disconnected) So on and so forth forever. I'm using 8.2-STABLE. I cvsupd, builttheworld, installedtheworld and all that in hopes that would solve the problem. But unfortunately it did not. I was unable to find a similar situation in Google. Any help would be very appreciated. Thank you! - Jose from Mexico ___ 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: fbsd safety of the ports
On Tue, Feb 7, 2012 at 6:54 PM, mikel king mikel.k...@olivent.com wrote: Unfortunately, WP isn't exactly a well designed CMS form the untaring standpoint. Most aren't. TWiki is a nightmare to update, basically requiring you to copy your old content to a new install and then hand-merge the new system preference pages with any modifications you've made. After dealing with that repeatedly I decided maybe the less secure WordPress approach had something to recommend 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: 'rm' Can not delete files
2012/2/7 Ingo Hofmann ingo.hofm...@dont-panic.org: What helps me sometimes is wrapping it up: for i in *; do rm $i; done Won't that just expand the * and result in the same problem? It seems like you've just moved the problem from the rm statement to the for statement. ___ 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: APC UPS Trip Lite - usb device keeps disconnecting
On Wed, Feb 8, 2012 at 9:29 AM, jbiskofski jbiskof...@gmail.com wrote: And then about 20 seconds later : ugen1.2: Tripp Lite at usbus1 (disconnected) uhid1: at uhub1, port 2, addr 2 (disconnected) 20 seconds after that : ugen1.2: Tripp Lite at usbus1 uhid1: Tripp Lite Tripp Lite UPS, class 0/0, rev 1.10/0.07, addr 2 on usbus1 I have a TrippLite UPS that does this too -- it seems to stop disconnecting once the monitoring software runs and connects to the device. I personally use Network UPS Tools for monitoring, but it was a bit more complicated to set up than when I used apcupsd back when I had an APC-branded UPS. Hope this helps, Matt Mullins ___ 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: 'rm' Can not delete files
On 02/08/2012 12:02 PM, David Brodbeck wrote: 2012/2/7 Ingo Hofmann ingo.hofm...@dont-panic.org: What helps me sometimes is wrapping it up: for i in *; do rm $i; done Won't that just expand the * and result in the same problem? It seems like you've just moved the problem from the rm statement to the for statement. This error arises during exec(3) when the length of the program arguments exceeds a certain size. Since 'for' is a shell builtin, there is no such practical limitation thereupon. See the ERRORS section in execve(2), specifically [E2BIG], for more details. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net cyber...@cyberleo.net Furry Peace! - http://.fur.com/peace/ ___ 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: 'rm' Can not delete files
David Brodbeck writes: What helps me sometimes is wrapping it up: for i in *; do rm $i; done Won't that just expand the * and result in the same problem? It seems like you've just moved the problem from the rm statement to the for statement. If the problem is the command line to rm being too long, this will work. Yes, the '* will get expanded to the list of files ... but that will happen _within_ the running shell. (Using the services of glob(3) or something similar.) The command line to rm will have a single file-name, and should not be a problem. Robert Huff ___ 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 9, GPT and gmirror
Hello Everyone, May be I should have searched more for answers, but after installing FreeBSD 9 with gmirror, I am wondering if the experts here have some recommendations for best practices. 1. The Guided partitioning doesn't suggest any more to create /var, /tmp, /usr, etc. file systems. Is it really the recommendation to go with just / ? 2. Is there a way to use the old sysinstall to install FreeBSD 9? 3. It seems that setting up gmirror is more involved with GPT (http://blather.michaelwlucas.com/archives/1071); now I have a mirror for each of the filesystems /, /var, /tmp, etc. Is it OK to use gmirror in this way at all? 4. Also, with GPT, one has to be in single user mode to synchronize disks - correct? 3. Assuming one has enough RAM, is zfs mirror or raidz recommended over gmirror? Prior to FreeBSD 9, I used to take the the sysinstall defaults with some overrides as I thought appropriate and proceeded to set up gmirror - it was simple and not a lot of work, and a good way to make use of older systems... -- Janos Dohanics ___ 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 9, GPT and gmirror
On Wed, 8 Feb 2012 13:42:59 -0500 Janos Dohanics w...@3dresearch.com wrote: Hello Everyone, May be I should have searched more for answers, but after installing FreeBSD 9 with gmirror, I am wondering if the experts here have some recommendations for best practices. 1. The Guided partitioning doesn't suggest any more to create /var, /tmp, /usr, etc. file systems. Is it really the recommendation to go with just / ? This is a bad recommendation I think, but you can accept guidance and the adjust to your needs. 2. Is there a way to use the old sysinstall to install FreeBSD 9? Yes, harder to use, or no the new installer should have some more sane defaults 3. It seems that setting up gmirror is more involved with GPT (http://blather.michaelwlucas.com/archives/1071); now I have a mirror for each of the filesystems /, /var, /tmp, etc. Is it OK to use gmirror in this way at all? 4. Also, with GPT, one has to be in single user mode to synchronize disks - correct? 3. Assuming one has enough RAM, is zfs mirror or raidz recommended over gmirror? gmirror, still I think Prior to FreeBSD 9, I used to take the the sysinstall defaults with some overrides as I thought appropriate and proceeded to set up gmirror - it was simple and not a lot of work, and a good way to make use of older systems... I think the new installer is quite good, but needs some shaving around the rough edges Cheers Disclaimer: http://www.ose.nl/email ___ 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 9, GPT and gmirror
3. Assuming one has enough RAM, is zfs mirror or raidz recommended over gmirror? zfs mirror but I would not recommend a raidz root on zfs. -- George Kontostanos Aicom telecoms ltd http://www.aisecure.net ___ 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
inetd[1081]: ssh/tcp: bind: address already in use
First, thank you folks for your help. Each of you. I been pretty much a glass terminal UN*X user since I started. Now, because of you guys and the people behind X and oh!, all those programs that get linked in (three hours of package loading plus six hours of ports downloading and compilation, I have a pretty nice Fvwm environment with some nifty plotting. (Though I wonder, is it better to be forced to visualize the underlying curve's of a system without looking. A philosophical problem for another day...) Second, I am getting: inetd[1081]: ssh/tcp: bind: address already in use. What's the fix, please? And third, about the intrusion. I have already wiped the machine to rebuild it. But I noted the requested files, if their is a future incident. I had used null passwords while I was loading FBSD software. A practice I shall never repeat. me bad... ___ 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: gpt zfs raidz1 boot failure
On Wed, Feb 8, 2012 at 6:03 PM, Chris Jones ch...@cjones.org wrote: This actually made for an interesting bug, once I dug into it some more: http://www.freebsd.org/cgi/query-pr.cgi?pr=164861 If you build a zfs in degraded mode, it's not bootable. But if you build it normally, then remove a disk to put it in degraded mode, it is bootable. Chris I might be missing something here but it looks like you are trying to boot from a degraded raidz1 pool consisted from 1 drive? -- George Kontostanos Aicom telecoms ltd http://www.aisecure.net ___ 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: inetd[1081]: ssh/tcp: bind: address already in use
On Feb 8, 2012, at 11:39 AM, Henry Olyer wrote: Second, I am getting: inetd[1081]: ssh/tcp: bind: address already in use. What's the fix, please? Don't try to run sshd via inetd when you're already starting it as a daemon. Regards, -- -Chuck ___ 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 9, GPT and gmirror
I can't speak to the mirror issue, but I had difficulty trying to tweak the defaults in the install on a 128G SSD: When manually configuring the SSD, I tried to leave some extra space at the end of the SSD. Not sure that is necessary or not. In any case, I had a 128GB SSD, reported as 119GB. Auto config laid it out as ada1 119GB ada1p1 64KB freebsd-boot ada1p2 115GB freebsd-ufs / ada1p34GB freebsd-swap I then deleted the last 2 and re-created as 100GB and 4GB, at which point it showed ada1 119GB ada1p1 64KB freebsd-boot ada1p2 100GB freebsd-ufs / ada1p3 -15GB freebsd-swap (I may have the -15 wrong; main point is it was negative) After deleting and recreating in different order I managed to get it to ada1 119GB ada1p1 64KB freebsd-boot ada1p34GB freebsd-swap ada1p2 100GB freebsd-ufs / but when I tried to commit it, I got the error: Error mounting partition /mnt: mount: /dev/ada1p2: Operation not permitted The only way I could get it to actually write the distribution was to use auto and keep what it came up with. Is this problem specific to SSDs (seems unlikely)? Is there some magic sequence needed to tweak the Auto result to get it to work? Gary On 2/8/2012 12:00 PM, Bas Smeelen wrote: On Wed, 8 Feb 2012 13:42:59 -0500 Janos Dohanicsw...@3dresearch.com wrote: Hello Everyone, May be I should have searched more for answers, but after installing FreeBSD 9 with gmirror, I am wondering if the experts here have some recommendations for best practices. 1. The Guided partitioning doesn't suggest any more to create /var, /tmp, /usr, etc. file systems. Is it really the recommendation to go with just / ? This is a bad recommendation I think, but you can accept guidance and the adjust to your needs. 2. Is there a way to use the old sysinstall to install FreeBSD 9? Yes, harder to use, or no the new installer should have some more sane defaults 3. It seems that setting up gmirror is more involved with GPT (http://blather.michaelwlucas.com/archives/1071); now I have a mirror for each of the filesystems /, /var, /tmp, etc. Is it OK to use gmirror in this way at all? 4. Also, with GPT, one has to be in single user mode to synchronize disks - correct? 3. Assuming one has enough RAM, is zfs mirror or raidz recommended over gmirror? gmirror, still I think Prior to FreeBSD 9, I used to take the the sysinstall defaults with some overrides as I thought appropriate and proceeded to set up gmirror - it was simple and not a lot of work, and a good way to make use of older systems... I think the new installer is quite good, but needs some shaving around the rough edges Cheers Disclaimer: http://www.ose.nl/email ___ 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: Asymmetric NFS Performance
In the last episode (Feb 02), Tim Daneliuk said: Server:FBSD 8.2-STABLE / MTU set to 15000 Client:Linux Mint 12 / MTU set to 8192 NFS Mount Options: rw,soft,intr Problem: Throughput copying from Server to Client is about 2x that when copying a file from client to server. The client does have a SSD whereas the server has conventional SATA drives but ... This problem is evident with either 100- or 1000- speed ethernet so I don't think it is a drive thing since you'd expect to saturate 100-BASE with either type of drive. Things I've Tried So Far: - Increasing the MTUs - This helped speed things up, but the up/down ratio stayed about the same. - Fiddling with rsize and wsize on the client - No real difference If iostat -zx 1 on the server shows the disks at 100% busy, you're probably getting hit by the fact that NFS has to commit writes to stable storage before acking the client, so writes over NFS can be many times slower than local write speed. Setting the vfs.nfsrv.async sysctl to 1 will speed things up, but if the server reboots while a client is writing, you will probably end up with missing data even though the client thought everything was written. If you are serving ZFS filesystems, stick an SSD in the server and point the ZFS intent log at it: zpool add mypool log da3. 8GB of ZIL is more than enough, but it needs to be fast, so no sticking a $10 thumb drive in and expecting any improvement :) -- 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: Kamailio Sip Server Port Makefile
On Wed, Feb 08, 2012 at 12:09:15AM +0200, Serhat Akca wrote: Hello Is there any port that I can compile Kamailio 3.2.2 ? Only the old version, openser is in ports as net/openser. 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) pgpcnoKhOUhYc.pgp Description: PGP signature
Re: gpt zfs raidz1 boot failure
On 2/8/2012 12:42 PM, George Kontostanos wrote: On Wed, Feb 8, 2012 at 6:03 PM, Chris Jonesch...@cjones.org wrote: If you build a zfs in degraded mode, it's not bootable. But if you build it normally, then remove a disk to put it in degraded mode, it is bootable. I might be missing something here but it looks like you are trying to boot from a degraded raidz1 pool consisted from 1 drive? Correct. I've also replicated the problem using a degraded mirror consisting of 1 drive. Chris ___ 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
/dev/ulpt0 -- How is it created?
It would appear that the device node /dev/ulpt0 gets (re-)created every time I plug my USB printer back in. Could somebody please kindly tell me what the exact mechanism is that causes this device node to be (re-)created upon such events? I am rather hoping that whatever that mechanism is, that I can diddle it somehow so that every time /dev/ulpt0 gets created, it will be created with perms set to 0666. (Sorry, yes, I'm almost totally ignorant about how these kinds of transient device nodes get automagically created these days.) ___ 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: /dev/ulpt0 -- How is it created?
-Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- questi...@freebsd.org] On Behalf Of Ronald F. Guilmette Sent: Wednesday, February 08, 2012 1:58 PM To: freebsd-questions@freebsd.org Subject: /dev/ulpt0 -- How is it created? It would appear that the device node /dev/ulpt0 gets (re-)created every time I plug my USB printer back in. Could somebody please kindly tell me what the exact mechanism is that causes this device node to be (re-)created upon such events? I am rather hoping that whatever that mechanism is, that I can diddle it somehow so that every time /dev/ulpt0 gets created, it will be created with perms set to 0666. This should do the trick (as root): mkdir -p /etc/devd cd /etc/devd touch ulpt.conf cat ulpt.conf EOF notify 100 { match systemDEVFS; match subsystem CDEV; match cdev ulpt[0-9]; match type CREATE; action /bin/chmod 666 /dev/$cdev; }; EOF service devd restart -- Devin _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. ___ 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
/dev/ulpt0 -- How is it created?
Ronald F. Guilmette writes: I am rather hoping that whatever that mechanism is, that I can diddle it somehow so that every time /dev/ulpt0 gets created, it will be created with perms set to 0666. (Sorry, yes, I'm almost totally ignorant about how these kinds of transient device nodes get automagically created these days.) man devfs.rules? Robert Huff ___ 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: 'rm' Can not delete files
On Tue 2012-02-07 23:17:16 UTC+, RW (rwmailli...@googlemail.com) wrote: On Tue, 07 Feb 2012 22:14:56 + Matthew Seaman wrote: ls -1 | xargs rm but be aware that that wont work for filenames with spaces. In addition, I don't believe it solves the OP's initial problem of the argument list being too long! You'd probably need to use the xargs -n switch here. The above will also try to 'rm' directories, which won't work. Instead I would use 'find': find . -type f -depth 1 -delete This will also work with filenames with spaces. Or the scenic route, using xargs, with one rm per file (slower): find . -type f -depth 1 -print0 | xargs -n1 -0 rm -f (The scenic route is useful if you want to do something else with the files instead of deleting them with rm.) Regards Andrew ___ 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: fbsd safety of the ports
David Brodbeck g...@gull.us wrote: TWiki is a nightmare to update ... TWiki was replaced with Foswiki (which is also in ports) at $WORK a while back. Dunno why, or how much of a job the changeover was for the admins, but there must have been some expected benefit to justify the effort. The change was largely transparent to users. ___ 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