Disk Cloning
Greetings, Please suggest a cloning method comparable to Clonezilla. Preferably fast, no need to install a base OS, easy to clone and restore. Of course, the key is fast. Clonezilla does a nice job with OS's other than *BSD (It uses dd (iirc)) and that takes forever (at least when cloning - have not tried a restore). Some specs I'm using to compare: A typical restore/save currently with other OS's using CloneZ takes about 12 minutes with a simple boot from CD. The restored/imaged drive is 400 meg sata. -- Best regards, Chris () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments There's no place like 127.0.0.1 ___ 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
battery reconditioning
hi list, form time to time, there appears some error / warning messages in console, which say this: Sep 27 23:54:40 dell kernel: aac0: **Monitor** ID(0:02:0); Error Event [command:0x28] Sep 27 23:54:40 dell kernel: aac0: **Monitor** ID(0:02:0); Medium Error [k:0x3,c:0x3,q:0x0] Sep 27 23:54:40 dell kernel: aac0: **Monitor** ID(0:02:0); Peripheral Device Write Fault Sep 28 00:13:40 dell kernel: aac0: **Monitor** Battery needs reconditioning. Sep 28 00:19:07 dell kernel: aac0: **Monitor** ID(0:02:0); Error Event [command:0x28] Sep 28 00:19:07 dell kernel: aac0: **Monitor** ID(0:02:0); Medium Error [k:0x3,c:0x3,q:0x0] Sep 28 00:19:07 dell kernel: aac0: **Monitor** ID(0:02:0); Peripheral Device Write Fault Sep 28 00:23:09 dell kernel: aac0: **Monitor** ID(0:02:0); Error Event [command:0x28] Sep 28 00:23:09 dell kernel: aac0: **Monitor** ID(0:02:0); Medium Error [k:0x3,c:0x3,q:0x0] Sep 28 00:23:09 dell kernel: aac0: **Monitor** ID(0:02:0); Peripheral Device Write Fault Sep 28 00:23:52 dell kernel: aac0: **Monitor** Container 0 completed SCRUB task: aac0 is raid device target machine: FreeBSD dell.tlis.sk 8.0-RC1 FreeBSD 8.0-RC1 #0: Thu Sep 17 20:45:19 UTC 2009 r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 it is dell poweredge 6450, 4x xeon 700MHz, 4G ram, 4X72G disk in raid5 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
Re: battery reconditioning
Hi, form time to time, there appears some error / warning messages in console, which say this: Sep 28 00:13:40 dell kernel: aac0: **Monitor** Battery needs reconditioning. What is your question? It informs you you should change the battery used on the RAID hardware, so change the battery :) Hardware RAID has a system to delay the write when the disk is idled. The sectors to be written are kept in a temporary RAM and this RAM is powered by batteries. When there is a power failure, the battery should provide electricity to the hard disk, just long enough to write back the sectors that have been delayed. If the battery fails, these sectors will never be written. So if the battery is bad, replace the battery. Best Olivier ___ 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: Whic mail server?
2009/9/28 Karl Vogel vogelke+u...@pobox.com vogelke%2bu...@pobox.com On Sun, 27 Sep 2009 06:01:22 -0700 (PDT), Aflatoon Aflatooni aaflato...@yahoo.com said: A I am running a server that is acting as the mail server for only A internal users (about 50 users). Currently we are running Sendmail... First things first: if you're happy with Sendmail and your system works to your satisfaction, I'd leave it be. Just watch your logs and keep an eye out for security patches. A I am wondering if qmail is thought to be better than sendmail. There are fanboys on all three sides of that question (yes, no, and qmail bites, use this-other-MTA instead). I switched from sendmail to qmail on a server because I had an odd corner case that qmail happened to handle just about perfectly. I also botched a qmail install on my own workstation, didn't feel like finding out what I did wrong, and decided to install Postfix instead. I've had fine experiences with both qmail and Postfix. If you're using a system that's a little under-powered, you might appreciate Dr. Bernstein's efforts to make qmail and its supporting tools *very* frugal with OS resources. If you're used to the sendmail way of doing things, you'd probably be better off with Postfix. I like Dr. Bernstein's programming approach, but be prepared to spend time getting used to his way of setting up network daemons, etc. It's internally consistent but *very* different. It takes me 30-40 minutes to install all of the qmail stuff from source because I've done it at least 6 or 7 times; I could probably cut that in half if I didn't save build and installation outputs for my logs. My first time took most of a weekend to figure out what was going on. A Any suggestions on spam filters like spam-assassin? I tried SA a few years ago, and it was a little heavy-weight for my filtering needs. I use a simple Bayesian filter (ifile) trained on around 100,000 spams plus some procmail rules, and I get along fine. Your mileage will vary. I saw some other comments: Qmail is not, nor has it been, actively supported for years. Depends on what you mean by support. The user community is very active; have a look at http://www.ornl.gov/lists/mailing-lists/qmail/ if you doubt it. OTOH, said community can be a bit, um, brusque, but the Qmail Handbook and the Life with Qmail webpage filled in the blanks for me. Qmail has a very limited set of features... It's intended to handle one problem well, which it does. If you have some other requirements, http://www.qmail.org/ probably has a plugin that will do what you want. OK, now let's settle which text editor is best. -- Karl Vogel I don't speak for the USAF or my company They say marriages are made in heaven. So is thunder and lightning. --Clint Eastwood ___ 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 exim is worth a look, it scales very well and is fairly easy to understand. I also has a very powerful acl language for filtering and plugs directly into lots of av/anti spam stuff ___ 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
fix remote degraded gmirror
I have a freebsd 6.1 system with a gmirror raid 1 which is degraded. Originally I had /dev/ad4 /dev/ad6, but I'm getting a degraded status and log messages reporting dergraded status and uncorrectable block for ad4. Obviously I need to remove the device and get it replaced and then insert back into the mirror. However, this is a remote machine and I need to get the right disk fixed. Is there a way I can get the colocation engineer to replace the right disk? I guess I need to do 1) figure out what kind of disk this is and 2) figure out some information to allow them to identify. I looked at the smartctl output and see this /dev/ad4 Device Model: WDC WD1600JS-22MHB0 Serial Number:WD-WCANM4438410 /dev/ad6 Device Model: WDC WD1600JS-22MHB0 Serial Number:WD-WCANM4434657 is this sufficient to enable a data centre engineer to fix my problem? -- Robin Becker ___ 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
java/jdk16 vulnerability?
[Sorry for resending: I didn't get any replies] Freenet (http://www.freenetproject.org/) on my FreeBSD/amd64 system complains about an old and vulnerable Java version: Your installed version of Java is vulnerable to a severe remote exploit (remote code execution!). You must upgrade to at least Java 5 update 20 or Java 6 update 15 as soon as possible. Freenet has disabled any plugins handling XML for the time being, but this includes searching and chat so you should upgrade ASAP! See http://www.cert.fi/en/reports/2009/vulnerability2009085.html for details. Also, please do not use Thaw or Freetalk. The UPnP plugin is enabled, it might present a risk if you have bad guys on your LAN, but without it Freenet will not be able to port forward and will have severe problems. I'm running java/jdk16: phenom# java -version java version 1.6.0_03-p4 Java(TM) SE Runtime Environment (build 1.6.0_03-p4-root_08_sep_2009_17_05-b00) Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_03-p4-root_08_sep_2009_17_05-b00, mixed mode) On 7.2-STABLE: phenom# uname -a FreeBSD phenom.cordula.ws 7.2-STABLE FreeBSD 7.2-STABLE #0: Tue Sep 8 10:43:26 CEST 2009 r...@phenom.cordula.ws:/usr/obj/usr/src/sys/GENERIC amd64 Is that version of Java really vulnerable? If yes, why doesn't # portaudit -Fda report it as such, and could you please update the java/jdk16 port? Thanks, -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: Whic mail server?
On Sun, 27 Sep 2009, Aflatoon Aflatooni wrote: Hi, I am running a server that is acting as the mail server for only internal users (about 50 users). Currently we are running Sendmail, but reading on other discussions I noticed that qmail and other programs are suggested. I am wondering if qmail is thought to be better than sendmail. Is there a matrix of features and functionalities that would compare the different mail servers? Any suggestions on spam filters like spam-assassin? Thank you Hello Aflatoon Aflatooni: Are you running Sendmail on FreeBSD ? If yes, what issue are you facing ? and what did you read ? thanks Saifi. ___ 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: fix remote degraded gmirror
2009/9/28 Robin Becker ro...@reportlab.com I have a freebsd 6.1 system with a gmirror raid 1 which is degraded. Originally I had /dev/ad4 /dev/ad6, but I'm getting a degraded status and log messages reporting dergraded status and uncorrectable block for ad4. Obviously I need to remove the device and get it replaced and then insert back into the mirror. However, this is a remote machine and I need to get the right disk fixed. Is there a way I can get the colocation engineer to replace the right disk? I guess I need to do 1) figure out what kind of disk this is and 2) figure out some information to allow them to identify. I looked at the smartctl output and see this /dev/ad4 Device Model: WDC WD1600JS-22MHB0 Serial Number:WD-WCANM4438410 /dev/ad6 Device Model: WDC WD1600JS-22MHB0 Serial Number:WD-WCANM4434657 is this sufficient to enable a data centre engineer to fix my problem? -- Robin Becker ___ 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 probably not but possibly. What is the server you have is it a custom build one? Does it have a drive cage? Can you make the hd light blink? Is the remote hands going to go inside the case for you, as I think he might to have to trace the cables to work out what drive is the correct one? Personally I would recommend that you or one of your trusted engineers goes down an replaces the drive yourself. Remote hands engineers in my experiance are a bit crude, and at the end of the day dont care about your box as much as you would. While you or your guy is down there he could do a proper job and label up all the drives so in future you can get remote hands to do it all for 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
Re: fix remote degraded gmirror
krad wrote: ... probably not but possibly. What is the server you have is it a custom build one? Does it have a drive cage? Can you make the hd light blink? I've never seen the machinery. Is the remote hands going to go inside the case for you, as I think he might to have to trace the cables to work out what drive is the correct one? I thought the serial number would help with that, Personally I would recommend that you or one of your trusted engineers goes down an replaces the drive yourself. Remote hands engineers in my experiance are a bit crude, and at the end of the day dont care about your box as much as you would. but you're probably right about the remote hands being uncaring :( While you or your guy is down there he could do a proper job and label up all the drives so in future you can get remote hands to do it all for you. it's still under discussion anyway whether we just abandon the machine; the current colo company took over our freebsd machines from another and they don't provide freebsd support anyway. The alternative ugh is to switch to ubuntu. I suspect if we do go ahead it will come down to one of our guys going down there to do the hands on. I'm still looking for good examples of exactly how to do the actual recovery. I assume I can just do gmirror remove gm0 /dev/ad4 to eliminate the bad disk. However, will the system still reboot from the disk on /dev/ad6 or should the good disk be swapped into the /dev/ad4 position. I don't know enough about sata booting, but I suppose it can be configured through our serial console. If the system does boot then the other disk can be inserted with gmirror insert gm0 /dev/ad6, but I am not sure whether any partitioning/formatting etc etc is required, Dru Lavigne was my guide when we installed this stuff, but this is the first time it's failed and she doesn't mention the repair process. -- Robin Becker ___ 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: Whic mail server?
On Sun, Sep 27, 2009 at 06:01:22AM -0700, Aflatoon Aflatooni wrote: Hi, I am running a server that is acting as the mail server for only internal users (about 50 users). Currently we are running Sendmail, but reading on other discussions I noticed that qmail and other programs are suggested. I am wondering if qmail is thought to be better than sendmail. Is there a matrix of features and functionalities that would compare the different mail servers? No, sendmail is as good or better, especially in a situation such as you describe.Some people believe that sendmail can be hard to configure, and it is a little arcane to do it directly in the sendmail.cf file. But there are things that help nowdays. Anyway, if you already have it configured and working your are past that already. Most of the things these others complain about being to complicated are more exotic and special-cased stuff. Then they become religious zealots about their favorites. Any suggestions on spam filters like spam-assassin? Learn to use procmail. jerry 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 ___ 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: Whic mail server?
On Mon, Sep 28, 2009 at 09:49:37AM -0400, Jerry McAllister wrote: On Sun, Sep 27, 2009 at 06:01:22AM -0700, Aflatoon Aflatooni wrote: Hi, I am running a server that is acting as the mail server for only internal users (about 50 users). Currently we are running Sendmail, but reading on other discussions I noticed that qmail and other programs are suggested. I am wondering if qmail is thought to be better than sendmail. Is there a matrix of features and functionalities that would compare the different mail servers? No, sendmail is as good or better, especially in a situation such as you describe.Some people believe that sendmail can be hard to configure, and it is a little arcane to do it directly in the sendmail.cf file. But there are things that help nowdays. Anyway, if you already have it configured and working your are past that already. Most of the things these others complain about being to complicated are more exotic and special-cased stuff. Then they become religious zealots about their favorites. Any suggestions on spam filters like spam-assassin? Learn to use procmail. Sorry, I meant to say spamassasin + procmail jerry jerry 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 ___ 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: fix remote degraded gmirror
On Mon, Sep 28, 2009 at 4:14 AM, Robin Becker ro...@reportlab.com wrote: I have a freebsd 6.1 system with a gmirror raid 1 which is degraded. Originally I had /dev/ad4 /dev/ad6, but I'm getting a degraded status and log messages reporting dergraded status and uncorrectable block for ad4. Obviously I need to remove the device and get it replaced and then insert back into the mirror. However, this is a remote machine and I need to get the right disk fixed. Is there a way I can get the colocation engineer to replace the right disk? I guess I need to do 1) figure out what kind of disk this is and Looks like sata... 2) figure out some information to allow them to identify. Power down system and disconnect one drive. Note that the drive plugged into the lowest sata port is probably ad4. Watch dmesg and check hd detection. If you got the wrong one unplug and try again with other disk. Refer to man gmirror for replace procedure, it's quite simple. I looked at the smartctl output and see this /dev/ad4 Device Model: WDC WD1600JS-22MHB0 Serial Number:WD-WCANM4438410 /dev/ad6 Device Model: WDC WD1600JS-22MHB0 Serial Number:WD-WCANM4434657 is this sufficient to enable a data centre engineer to fix my problem? -- Robin Becker ___ 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 -- 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: fix remote degraded gmirror
On Mon, Sep 28, 2009 at 8:32 AM, Robin Becker ro...@reportlab.com wrote: krad wrote: ... probably not but possibly. What is the server you have is it a custom build one? Does it have a drive cage? Can you make the hd light blink? I've never seen the machinery. Is the remote hands going to go inside the case for you, as I think he might to have to trace the cables to work out what drive is the correct one? I thought the serial number would help with that, Personally I would recommend that you or one of your trusted engineers goes down an replaces the drive yourself. Remote hands engineers in my experiance are a bit crude, and at the end of the day dont care about your box as much as you would. but you're probably right about the remote hands being uncaring :( While you or your guy is down there he could do a proper job and label up all the drives so in future you can get remote hands to do it all for you. it's still under discussion anyway whether we just abandon the machine; the current colo company took over our freebsd machines from another and they don't provide freebsd support anyway. The alternative ugh is to switch to ubuntu. I suspect if we do go ahead it will come down to one of our guys going down there to do the hands on. I'm still looking for good examples of exactly how to do the actual recovery. I assume I can just do gmirror remove gm0 /dev/ad4 to eliminate the bad disk. However, will the system still reboot from the disk on /dev/ad6 or should the good disk be swapped into the /dev/ad4 position. I don't know enough about sata booting, but I suppose it can be configured through our serial console. It would boot fine from either assuming drive is good and mirror was consisent. If the system does boot then the other disk can be inserted with gmirror insert gm0 /dev/ad6, but I am not sure whether any partitioning/formatting etc etc is required, Dru Lavigne was my guide when we installed this stuff, but this is the first time it's failed and she doesn't mention the repair process. -- Robin Becker ___ 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 -- 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: Disk Cloning
On Mon, 28 Sep 2009, Chris wrote: Please suggest a cloning method comparable to Clonezilla. Preferably fast, no need to install a base OS, easy to clone and restore. Of course, the key is fast. Clonezilla uses ntfsclone or partimage, both programs that have built-in knowledge of specific filesystems. ntfsclone, the default, of course only supports NTFS. partimage has had beta support for UFS for a while. I don't know how well it works. You'd have to specifically choose partimage instead of ntfsclone in the Clonezilla startup. To get the equivalent of Clonezilla with FreeBSD, you should be able to boot a livefs FreeBSD CD and use dump to backup via ssh. There's an example in the Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/backup-basics.html#AEN25814 dump is not terribly fast. A comparison to partimage would be interesting. -Warren Block * Rapid City, South Dakota USA ___ 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: Question about FreeBSD installation procedure
On Sat, Sep 26, 2009 at 10:01:18PM +0800, Bret Busby wrote: Hello. I have been interested in installing FreeBSD on my laptop (HP/Compaq NX5000, 2MB RAM), in a free 20MB partition. I noticed that the Linux Format magazine to which I subscribe, in Issue 124, comes with FreeBSD 7.2 on the DVD. From what I understand, FreeBSD (and possibly all BSD) uses hard disc slices rather than partitions, and therefore cannot easily be installed in a free partition, but needs for hard disc slices to be used. Is it yet possible to install FreeBSD into a hard disc partition, rather than needing to install into hard disc slices? I think other responders have handled most of what you need to know. But, to try and be clear for a newbie; you are running in to a terminology issue here.MS and FreeBSD use the word partition to mean different (but related) things. Generally, in MS, the terms partition and primary-partition often get used interchangeably. But, they normally mean primary-partition. MS does also have and 'extended-partition' which somewhat corresponds to the division that FreeBSD calls a partition, but it is implemented much differently and is not compatible with FreeBSD - although there are now some FreeBSD utilities that can read a MS extended-partition. FreeBSD, Linux and MS have primary-partitions, but they call them different things. FreeBSD calls them slices.Too bad MS didn't follow that pattern. Things would be more clear. Anyway a primary-partition/slice is determined by the BIOS, not actually the operating system, A standard BIOS allows for 4 main divisions of a disk hard-drive. They are numbered from 1..4 even though in computers it is common to number things from 0..n. Each of those are primary-partitions in MS language and slices in FreeBSD language. If I remember right, Linux refers to these as partitions and primary-partitions somewhat interchangeably, but I am not so familiar with Linux. Each primary-partition in either MS, FreeBSD or Linux can be subdivided into chunks. In MS, they are called extended-partitions, in FreeBSD they are called partitions and I forgot what Linux calls them. /FreeBSD has a broader outlook on things and if you are going to use /a hard-drive only for FreeBSD you can even skip creating a primary /partition and any subdivisions. You just have newfs build a filesystem /right on the disk. That is called creating a 'dangerously- dedicated' disk. /It is not really dangerous. It is just not compatible with other systems. Each primary-partition (or the dangerously-dedicated disk) can be made bootable. Each has an initial sector(512 byte block) in the initial track on the disk that is called the boot sector. If that contains bootup code the system consideres it to be bootable. In addition, there is a sector-0 on each disk that controls everything. In general, this sector is normally called the MBR. It is just enough code to look for boot sectors and let you select one and then read in that sector and transfer control to it. Actually, some fancy MBRs take advantage of the fact that a whole track is being wasted for the sake of that one sector and put much more sophisticated code there that allows more complex choices. But the original standard was just one sector. So, what happens is that the BIOS has a list of devices to look on for MBRs. It grabs the first one in the list that it recognizes and starts to execute it. That MBR will find boot sectors from those primary- partitions that it recognizes as bootable and give you a choice of which you want to boot from. Most have a default if you do not make a selection before a timeout. FreeBSD MBR defaults to booting the most recently booted one. That boot sector is read in and starts executing. It starts pulling the rest of the boot code and that begins to put your kernel in along with its extra modules and starts that running which starts init to run and so on. You can make any of the primary-partitions/slices be FreeBSD, MS or Linux and all on the same disk.Often when you get a machine loaded with MS, such as XP, only two primaries (slices) are used, but they are sized to take up the whole disk.Usually one of those slices is a hardware vendor diagnostic/maintenance system and the other is whatever MS you have. The diagnostic slice is very small and the MS slice takes up everything else with lots of empty space. When what you have to do is get a stand-alone utility that manages disk partitions and shrink that MS primary-partition and make room for another. Most of them are somewhat MS-centric and complain about making more than one primary-partition, but they will do it.Just make the newly freed-up space an unspecified primary partition and then install FreeBSD in to it. I have used Partition Magic, but the new version (8) is poor. Use version 7 if you can get it. But neither of these work properly with USB drives. I had to
Re: dbus/hal in freebsd 7.2 hangs X11
Dne 25.9.2009 19:55, Warren Block napsal(a): On Fri, 25 Sep 2009, kron24 wrote: Dne 25.9.2009 14:32, William Bulley napsal(a): According to Giuseppe Pagnonigpagn...@gmail.com on Fri, 09/25/09 at 03:32: I am trying to use hal/dbus on a i386 machine with FreeBSD 7.2 (ports updated to the latest tree snapshot as of yesterday), but despite spending a full day looking up the handbook, faq, and google, I cannot make it work properly. More specifically, when I use either xfce4 or xmonad after having enabled dbus/hald in rc.conf: hald_enable=YES dbus_enable=YES both window managers become very unresponsive and hang as if hal was trying to access/mount something. For example, the terminal may take *seconds* to display typed in characters and in xfce if you click on the desktop icons for home directory etc., they don't open up at all in the thunar file manager (they do though, if you right click on them and choose 'open'). [edit] The same problem on my test machine: FreeBSD 8.0-RC1 xfce-4.6.1 xorg-7.4_2 I usually run it without dbus+hal and it works fine. With dbus+hal enabled (just for the sake of test) I experienced the same hangs. It works here. Can we see your xorg.conf? When you built xorg-server, did you enable hal support? -Warren Block * Rapid City, South Dakota USA Yes, built with default options (including HAL). My xorg.conf is below. The machine is too weak to run my desktop, I use it only to test things: CPU: VIA Samuel 2 (532.64-MHz 686-class CPU) graphics: vendor = 'Trident Microsystems' device = 'Via Tech VT8361/VT8601 Graphics Controller (VT8361)' I don't mind the hangs with dbus+hal - I don't use them, I enabled them just to test OP's problem. Purely and simply, it is much less responsive with dbus+hal. It often takes seconds to see what I typed in a terminal emulator. Maybe the box is just underpowered for dbus+hal, I can live with that :-) BR, Oli Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard Option AllowEmptyInput off EndSection Section Files ModulePath /usr/local/lib/xorg/modules FontPath /usr/local/lib/X11/fonts/misc/ FontPath /usr/local/lib/X11/fonts/TTF/ FontPath /usr/local/lib/X11/fonts/OTF FontPath /usr/local/lib/X11/fonts/Type1/ FontPath /usr/local/lib/X11/fonts/100dpi/ FontPath /usr/local/lib/X11/fonts/75dpi/ FontPath /usr/local/lib/X11/fonts/urwfonts-ttf/ FontPath /usr/local/lib/X11/fonts/dejavu/ FontPath /usr/local/lib/X11/fonts/gentium/ FontPath /usr/local/lib/X11/fonts/webfonts/ EndSection Section Module Load extmod Load record Load dbe Load glx Load xtrap Load dri Load freetype EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option XkbLayout us,cz Option XkbModel pc105 Option XkbOptions grp:switch,grp:alt_shift_toggle EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option ZAxisMapping 4 5 6 7 EndSection Section Monitor Identifier Monitor0 VendorName Monitor Vendor ModelNameMonitor Model EndSection Section Device Identifier Card0 Driver trident VendorName Trident Microsystems BoardName CyberBlade/i1 BusID PCI:1:0:0 EndSection Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 EndSection ___ 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: fix remote degraded gmirror
Thanks for the information re reboot; I think I knew it was a sata already. My one remaining question is what preparation does the hd need prior to gmirror insert. I see various people recommending clearing out various chunks of the disk (to make the disk unambiguously not in sync?), but that doesn't seem to be required. I guess the whole idea is to be able to just connect a new disk and start the system up and then insert back into the mirror. -- Robin Becker ___ 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
Swaping Fs (from ntfs to ufs), or ntfs3g?
Hi folks, Scenario: 3 hds, 1 of them with a NTFS partition and loads of media on it, I was thinking to activate ntfs3g under Freebsd 7.2 STABLE, but since Im having this partition since a while... and i will no need to have it on this FS, what you recommed for moving this partition into ufs format... to make it 100% reliable? what steps will you do? BR! ___ 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: Swaping Fs (from ntfs to ufs), or ntfs3g?
On Mon, Sep 28, 2009 at 11:06 AM, Jeronimo Calvo jeronimocal...@googlemail.com wrote: Hi folks, Scenario: 3 hds, 1 of them with a NTFS partition and loads of media on it, I was thinking to activate ntfs3g under Freebsd 7.2 STABLE, but since Im having this partition since a while... and i will no need to have it on this FS, what you recommed for moving this partition into ufs format... to make it 100% reliable? what steps will you do? BR! ___ I would create a new parition on a disk, put ufs w/ gjournal on it and either dump or cp the data assuming you can access both drives locally. -- 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
geom not clearing metadata labels
I've got a geom based file system that is running under 2 geom modules: multipath and journal. I'm looking to increase the journal size on the disk, but when it comes to re-creating the journal geom metadata, it refuses to do so sighting the errno 1: Operation not permitted. I get the same error with trying to redo the multipath metadata as well. (The command I'm executing is gjournal clear -v /dev/multipath/xyz2.journal) Permissions all look correct on the /dev devices, and I'm executing as root/uid 0, and normal disk access is fine - so I'm a little stumped. Executing gjournal list gets the following, which seems correct (mode is r0w0e0 due to being umounted, otherwise r1w1e1 in normal operation) -= Geom name: gjournal 1011364901 ID: 1011364901 Providers: 1. Name: multipath/xyz2.journal Mediasize: 1072668081152 (999G) Sectorsize: 512 Mode: r0w0e0 Consumers: 1. Name: multipath/xyz2 Mediasize: 1073741823488 (1000) Sectorsize: 512 Mode: r1w1e1 Jend: 1073741822976 Jstart: 1072668081152 Role: Data,Journal -= Obviously, I can just reformat/dd the raw disk to get rid of the label, but I'd like to know the better way. :-) 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: fix remote degraded gmirror
On Mon, Sep 28, 2009 at 10:44 AM, Robin Becker ro...@reportlab.com wrote: Thanks for the information re reboot; I think I knew it was a sata already. My one remaining question is what preparation does the hd need prior to gmirror insert. I see various people recommending clearing out various chunks of the disk (to make the disk unambiguously not in sync?), but that doesn't seem to be required. I guess the whole idea is to be able to just connect a new disk and start the system up and then insert back into the mirror. -- Robin Becker well, really only thing I can think of off hand is conflict gmirror labels ie inserting into gm0 from another gm0. a simple dd if=/dev/zero of=/dev/adX bs=1M count=1 would fix that if nothing else if there's was no existing label, there is nothing to do except gmirror man instructions. Gmirror is block level mirroring which why no other steps are needed. -- 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
bridge wlan and tap
I know everyone's busy with the release. This is not a showstopper, but it relates to networking, which is pretty central to a working bsd box... I read in some obscure post that I can't bridge from a wlan to tap because the wlan can only handle one MAC? Kindof thought every card has only one mac. No idea if this related to 6.x or something earlier, or current...of course I can't find the post again, either, but it was just a mention in some other howto. Anyway, I can't get an address on bridge0. rc.conf: cloned_interfaces=bridge0 autobridge_interfaces=bridge0 # autoconfigure these bridges autobridge_bridge0=tap* wlan0 ifconfig_bridge0=DHCP After I boot, no address on bridge0, and dhclient bridge0 just times out...sortof thought I was following the handbook man tap, but again, I have a 7.2 box on a wired network that this basic operation works on, so I'm suspecting wlan does break bridging... Best, Steve ___ 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: Disk Cloning
On Mon, 28 Sep 2009 01:14:44 -0500, Chris rac...@makeworld.com wrote: Greetings, Please suggest a cloning method comparable to Clonezilla. Preferably fast, no need to install a base OS, easy to clone and restore. Of course, the key is fast. Clonezilla does a nice job with OS's other than *BSD (It uses dd (iirc)) and that takes forever (at least when cloning - have not tried a restore). Some specs I'm using to compare: A typical restore/save currently with other OS's using CloneZ takes about 12 minutes with a simple boot from CD. The restored/imaged drive is 400 meg sata. A dump restore of a 400 MB system should be *very* fast. Copying files from a read-only USB flash disk easily reaches speeds of more than 20 MB/sec on my laptop. This means that 400 MB of data should take around 20 seconds to copy from an external USB disk. If you can attach both disks at the same time, e.g. the source disk as ad0 and the target disk as ad1, it should take less than 2-3 minutes to: * Enter single user mode * Partition and mount ad1 under /mnt * Use dump(8) to save data from ad0 and restore(8) to copy them over to ad1. Even if you cannot attach both disks at the same time, but you can access the source disk over the network, it should be possible to: * Install the target disk on the target host (host2). * Boot from a rescue image (CD-ROM, DVD-ROM or USB). * Bring up a network interface to access the source host (host1). * Partition the ad0 disk of the target host (host2). The standard fdisk(8), bsdlabel(8) or gpart(8) utilities can do this. * Tunnel dump over ssh: host2# cd / host2# ssh opera...@host1 'dump -0a -C32 -L -f - /' | restore -rf - Clonezilla is really nice, because it can take care of partition layout and sizes automatically. It isn't really _necessary_ to use Clonezilla to clone an existing system though. The base system of FreeBSD includes enough tools to do that already. ___ 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: Re: Disk Cloning
On 28 Sep 2009 15:02, Giorgos Keramidas keram...@ceid.upatras.gr wrote: On Mon, 28 Sep 2009 01:14:44 -0500, Chris rac...@makeworld.com wrote: Greetings, Please suggest a cloning method comparable to Clonezilla. Preferably fast, no need to install a base OS, easy to clone and restore. Of course, the key is fast. Clonezilla does a nice job with OS's other than *BSD (It uses dd (iirc)) and that takes forever (at least when cloning - have not tried a restore). Some specs I'm using to compare: A typical restore/save currently with other OS's using CloneZ takes about 12 minutes with a simple boot from CD. The restored/imaged drive is 400 meg sata. A dump restore of a 400 MB system should be *very* fast. Copying files from a read-only USB flash disk easily reaches speeds of more than 20 MB/sec on my laptop. This means that 400 MB of data should take around 20 seconds to copy from an external USB disk. If you can attach both disks at the same time, eg the source disk as ad0 and the target disk as ad1, it should take less than 2-3 minutes to: * Enter single user mode * Partition and mount ad1 under /mnt * Use dump(8) to save data from ad0 and restore(8) to copy them over to ad1. Even if you cannot attach both disks at the same time, but you can access the source disk over the network, it should be possible to: * Install the target disk on the target host (host2). * Boot from a rescue image (CD-ROM, DVD-ROM or USB). * Bring up a network interface to access the source host (host1). * Partition the ad0 disk of the target host (host2). The standard fdisk(8), bsdlabel(8) or gpart(8) utilities can do this. * Tunnel dump over ssh: host2# cd / host2# ssh opera...@host1 'dump -0a -C32 -L -f - /' | restore -rf - I might add that if network speed is an issue, it may be worth adding a gzip in there; host2# ssh opera...@host1 'dump -0a -C32 -L -f - / | gzip' | gunzip | restore -rf - Just be careful where you put the quotes! Dump is excellent, especially the -L flag for a live filesystem. I can't believe how few OSes don't have snapshot functionality; it's absolutely essential for me. 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
Re: Disk Cloning
On Mon, 28 Sep 2009 01:14:44 -0500, Chris rac...@makeworld.com wrote: Please suggest a cloning method comparable to Clonezilla. For FreeBSD, I'd tend to use dump + restore, because that's their main purpose. Clonezilla does a nice job with OS's other than *BSD (It uses dd (iirc)) and that takes forever (at least when cloning - have not tried a restore). You haven't tried restoring? You should, it's worth it, because what's the value of a backup that cannot be restored? :-) Some specs I'm using to compare: A typical restore/save currently with other OS's using CloneZ takes about 12 minutes with a simple boot from CD. The restored/imaged drive is 400 meg sata. Well, dump + restore isn't known for ultimate performance, but its results are good; dd, on the other hand, is another possible way to go. The advantage of dd is that it can be used with any filesystem. -- 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: Swaping Fs (from ntfs to ufs), or ntfs3g?
On Mon, Sep 28, 2009 at 05:06:34PM +0100, Jeronimo Calvo wrote: Hi folks, Scenario: 3 hds, 1 of them with a NTFS partition and loads of media on it, I was thinking to activate ntfs3g under Freebsd 7.2 STABLE, but since Im having this partition since a while... and i will no need to have it on this FS, what you recommed for moving this partition into ufs format... to make it 100% reliable? what steps will you do? I would suggest you create the UFS filesystem, then tar up the files in the NTFS partition that you want to move and then untar that on the FreeBSD UFS (or UFS2) filesystem.You might have to install a tar utility on the MS system. You can also just mount the NTFS file system on FreeBSD and then do a massive copy of the files you want in to the UFS[2] filesystem. In both the case of doing a tar or a mass copy (cp) wildcards are good. Hopefully you have the files on the NTFS organized reasonably in directories.If you don't and they are interspersed with lots of files you do not want to copy, then it can get tedious but you can still do it. It will just need much more manual attention. jerry BR! ___ 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: battery reconditioning
On Mon, 28 Sep 2009 14:49:47 +0700 (ICT) Olivier Nicole olivier.nic...@cs.ait.ac.th wrote: Hi, form time to time, there appears some error / warning messages in console, which say this: Sep 28 00:13:40 dell kernel: aac0: **Monitor** Battery needs reconditioning. What is your question? It informs you you should change the battery used on the RAID hardware, so change the battery :) It says reconditioning rather replacing. Some battery types benefit from an occasional deep discharge. http://support.dell.com/support/edocs/software/svradmin/1.9/en/stormgmt/battery.html ___ 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
Requesting Service
Hello and Good day, We are looking for a company that provides on-site services on installing FreeBSD mailserver. We currently have a FreeBSD based mailserver running and we need to upgrade it. We need all emails and addressbooks to be transferred into the new server. We will provide the hardware. Can you please advise if you do such services or if you could refer us. Many Thanks, Don ___ 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: Requesting Service
On Mon, Sep 28, 2009 at 04:32:52PM -0400, don carlos wrote: Hello and Good day, We are looking for a company that provides on-site services on installing FreeBSD mailserver. We currently have a FreeBSD based mailserver running and we need to upgrade it. We need all emails and addressbooks to be transferred into the new server. We will provide the hardware. Can you please advise if you do such services or if you could refer us. In what part of the world would this be? jerry Many Thanks, Don ___ 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: dbus/hal in freebsd 7.2 hangs X11
On Mon, 28 Sep 2009, kron24 wrote: It works here. Can we see your xorg.conf? When you built xorg-server, did you enable hal support? Yes, built with default options (including HAL). My xorg.conf is below. The machine is too weak to run my desktop, I use it only to test things: CPU: VIA Samuel 2 (532.64-MHz 686-class CPU) graphics: vendor = 'Trident Microsystems' device = 'Via Tech VT8361/VT8601 Graphics Controller (VT8361)' I don't mind the hangs with dbus+hal - I don't use them, I enabled them just to test OP's problem. Purely and simply, it is much less responsive with dbus+hal. It often takes seconds to see what I typed in a terminal emulator. Maybe the box is just underpowered for dbus+hal, I can live with that :-) BR, Oli Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard Option AllowEmptyInput off EndSection Just now I added Option AllowEmptyInput off to my xorg.conf, and it becomes draggy and slow on input. Your alternate keyboard layouts complicate the situation with hal. I've seen that discussed here; a search might be useful. A 500 MHz VIA should be plenty fast enough to run one of the lighter X desktops (xfce4). -Warren Block * Rapid City, South Dakota USA ___ 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: Disk Cloning
2009/9/28 Polytropon free...@edvax.de On Mon, 28 Sep 2009 01:14:44 -0500, Chris rac...@makeworld.com wrote: Please suggest a cloning method comparable to Clonezilla. For FreeBSD, I'd tend to use dump + restore, because that's their main purpose. Clonezilla does a nice job with OS's other than *BSD (It uses dd (iirc)) and that takes forever (at least when cloning - have not tried a restore). You haven't tried restoring? You should, it's worth it, because what's the value of a backup that cannot be restored? :-) Some specs I'm using to compare: A typical restore/save currently with other OS's using CloneZ takes about 12 minutes with a simple boot from CD. The restored/imaged drive is 400 meg sata. Well, dump + restore isn't known for ultimate performance, but its results are good; dd, on the other hand, is another possible way to go. The advantage of dd is that it can be used with any filesystem. -- 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 If your going to do all the partitoning manually its not to much more work to newfs them as well. You can then use rsync which is fast. Make sure you use good flags though, the following should do the job rsync -aPH --numeric-ids ___ 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: Disk Cloning
On Tue, 29 Sep 2009 01:07:31 +0100, krad kra...@googlemail.com wrote: If your going to do all the partitoning manually its not to much more work to newfs them as well. Partitioning can be automated, as well as newfs, which does take only seconds on a TB-sized disk. If you want to avoid this, doing 1:1 copies with dd is always possible and will keep content identically; remember to copy the MBR separately with bs=512 and count=1 from the /dev/ad{source} device. If cloning is just a do once action, even partitioning the target disk manually is a matter of seconds. If you're going to to it many times, scripting should give a good solution to automate it. You can then use rsync which is fast. If partitions do already exist, rsync is an excellent tool, too, I agree. Another tool that comes into mind is cpdup which works fine with locally available and NFS mounted drives. -- 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: Disk Cloning
2009/9/29 Polytropon free...@edvax.de On Tue, 29 Sep 2009 01:07:31 +0100, krad kra...@googlemail.com wrote: If your going to do all the partitoning manually its not to much more work to newfs them as well. Partitioning can be automated, as well as newfs, which does take only seconds on a TB-sized disk. If you want to avoid this, doing 1:1 copies with dd is always possible and will keep content identically; remember to copy the MBR separately with bs=512 and count=1 from the /dev/ad{source} device. If cloning is just a do once action, even partitioning the target disk manually is a matter of seconds. If you're going to to it many times, scripting should give a good solution to automate it. You can then use rsync which is fast. If partitions do already exist, rsync is an excellent tool, too, I agree. Another tool that comes into mind is cpdup which works fine with locally available and NFS mounted drives. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... On a side note. Anyone building new systems manually from the shell I would recommend using GPT labels if you can. Apart from not having the 8 fs limit (128 iirc) gpart is a dam sight nicer to use than bsdlabel, and scripting it is a doddle. Especially the gpart from 8.0 as its a bit less clunky than the one in 7.x at the moment ___ 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: Whic mail server?
On Sep 27, 2009, at 8:01 AM, Aflatoon Aflatooni wrote: Hi, I am running a server that is acting as the mail server for only internal users (about 50 users). Currently we are running Sendmail, but reading on other discussions I noticed that qmail and other programs are suggested. If you have no compelling reason to switch from sendmail, stick with that. I am wondering if qmail is thought to be better than sendmail. My personal favorites in order are exim postfix sendmail carrier pigeons messages in bottles qmail smoke signals ... MS Exchange ... whatever system dogs use when they smell each others' excrement. ... Lotus Notes You can't go wrong with the first three: exim, postfix, and sendmail. There are reasons why I have the preferences that I do, but they don't apply to you or your needs. So unless you are having problems with sendmail, just stay with that. Any suggestions on spam filters like spam-assassin? There are many ways to integrate spam-assassin and sendmail, and they will all be in the ports system. Look at mail/spamass-milter Another approach (not using milters) is a spamassassin+procmail solution. I prefer the milter as it allows you to reject mail early in the process. Cheers, -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ 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: Disk Cloning
On Tue, 29 Sep 2009 02:22:31 +0200 Polytropon free...@edvax.de wrote: doing 1:1 copies with dd is always possible and will keep content identically; remember to copy the MBR separately with bs=512 and count=1 from the /dev/ad{source} device. Why? ___ 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: Disk Cloning
On Tue, 29 Sep 2009, RW wrote: On Tue, 29 Sep 2009 02:22:31 +0200 Polytropon free...@edvax.de wrote: doing 1:1 copies with dd is always possible and will keep content identically; remember to copy the MBR separately with bs=512 and count=1 from the /dev/ad{source} device. Why? Because it contains the partition table. -Warren Block * Rapid City, South Dakota USA ___ 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: Whic mail server?
Thanks, I am running Sendmail on FreeBSD and it is working. I have worked with Sendmail for years and have configured and using it successfully, but with sendmail there is so many things that you could configure you are not sure if you have it configured correctly. I generate my sendmail.cf using m4 and it works, but I find that there are always new changes that you need to stay on top of. Is there a recommended mc file for running a Sendmail mail server? I am also using procmail as well. Thanks - Original Message From: Saifi Khan saifi.k...@datasynergy.org To: freebsd-questions@FreeBSD.ORG Sent: Monday, September 28, 2009 7:38:06 AM Subject: Re: Whic mail server? On Sun, 27 Sep 2009, Aflatoon Aflatooni wrote: Hi, I am running a server that is acting as the mail server for only internal users (about 50 users). Currently we are running Sendmail, but reading on other discussions I noticed that qmail and other programs are suggested. I am wondering if qmail is thought to be better than sendmail. Is there a matrix of features and functionalities that would compare the different mail servers? Any suggestions on spam filters like spam-assassin? Thank you Hello Aflatoon Aflatooni: Are you running Sendmail on FreeBSD ? If yes, what issue are you facing ? and what did you read ? thanks Saifi. ___ 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: java/jdk16 vulnerability?
On Mon, Sep 28, 2009 at 12:10:48PM +0200, cpghost wrote: Freenet (http://www.freenetproject.org/) on my FreeBSD/amd64 system complains about an old and vulnerable Java version: Your installed version of Java is vulnerable to a severe remote exploit (remote code execution!). You must upgrade to at least Java 5 update 20 or Java 6 update 15 as soon as possible. Freenet has disabled any plugins handling XML for the time being, but this includes searching and chat so you should upgrade ASAP! We're almost certainly vulnerable. The jdk16 port is at Update 3. See http://www.cert.fi/en/reports/2009/vulnerability2009085.html for details. Also, please do not use Thaw or Freetalk. The UPnP plugin is enabled, it might present a risk if you have bad guys on your LAN, but without it Freenet will not be able to port forward and will have severe problems. I'm running java/jdk16: phenom# java -version java version 1.6.0_03-p4 Java(TM) SE Runtime Environment (build 1.6.0_03-p4-root_08_sep_2009_17_05-b00) Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_03-p4-root_08_sep_2009_17_05-b00, mixed mode) On 7.2-STABLE: phenom# uname -a FreeBSD phenom.cordula.ws 7.2-STABLE FreeBSD 7.2-STABLE #0: Tue Sep 8 10:43:26 CEST 2009 r...@phenom.cordula.ws:/usr/obj/usr/src/sys/GENERIC amd64 Is that version of Java really vulnerable? If yes, why doesn't # portaudit -Fda report it as such, and could you please update the java/jdk16 port? We need an entry in the VUXML database I guess. Updating java/jdk16 is going to be a slow process. There are lots of changes between Update 3 and Update 15. I've partially merged Update 4, but obviously that still leaves many to go... -- Greg Lewis Email : gle...@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : gle...@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: java/jdk16 vulnerability?
Greg Lewis writes: Your installed version of Java is vulnerable to a severe remote exploit (remote code execution!). You must upgrade to at least Java 5 update 20 or Java 6 update 15 as soon as possible. Freenet has disabled any plugins handling XML for the time being, but this includes searching and chat so you should upgrade ASAP! We're almost certainly vulnerable. The jdk16 port is at Update 3. We need an entry in the VUXML database I guess. Updating java/jdk16 is going to be a slow process. There are lots of changes between Update 3 and Update 15. I've partially merged Update 4, but obviously that still leaves many to go... As someone with zero knowledge of Java internals: what is the recommended version at the moment? 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: Question about FreeBSD installation procedure
On Sat, 26 Sep 2009, Manolis Kiagias wrote: Bret Busby wrote: Hello. I have been interested in installing FreeBSD on my laptop (HP/Compaq NX5000, 2MB RAM), in a free 20MB partition. I really hope you meant Gb here ;) I noticed that the Linux Format magazine to which I subscribe, in Issue 124, comes with FreeBSD 7.2 on the DVD. From what I understand, FreeBSD (and possibly all BSD) uses hard disc slices rather than partitions, and therefore cannot easily be installed in a free partition, but needs for hard disc slices to be used. 'Slice' is FreeBSD jargon for what Windows / DOS would call a 'primary partition'. In short, FreeBSD can only be installed in your machine only if you have free space *and* the possibility to create a primary partition in it . Due to BIOS limitations, PC hardware only supports 4 primary partitions on any disk. If you already have 4 primary partitions and you are not willing to delete one, you can't install FreeBSD as it won't install on what Windows calls an Extended partition. But let's say you have a typical laptop with two partitions for OS and data, and some free space at the end. FreeBSD will happily install there. Is it yet possible to install FreeBSD into a hard disc partition, rather than needing to install into hard disc slices? I have attached a copy of the screenshot showing the partition table; I wanted to install FreeBSD into sda8. Can this be done. Thank you in anticipation. The screenshot won't come through in the mailing list, if at all possible upload it somewhere and send us a link. See http://busby.net/bret/Screenshot--dev-sda-GParted.png However, with the response above, and, with all of the responses thus far, to the query, it appears that I cannot install FreeBSD on the computer, without a full system rebuild, involving removal of all of the installed operating systems and software from the computer, then repartitioning, or, slicing up, the hard drive, and then creating new logical, extended partitions, and then reinstalling each of the operating systems, and all of the software for each of the operating systems, trying to ensure that I then have at least all of the software that is currently installed on each operating system on the computer, and, the data that is currently present on the computer. And, with being required to do all of that, I do not know what would happen, regarding issues such as the interrupt conflict that I encountered when trying to initially install Debian 3.1 on the computer, the interrupt conflict being between the WiFi card and the ethernet card, which reuired Ubuntu to resolve the conflict, then (at the time, as I was then a strictly Debian user) uninstalling Ubuntu to reinstall Debian 3.1, with the solution to the interrupt conflict, having used Mandriva Linux to do the partitioning, so as to retain the initial installation of MS Win XP, which I would probably lose, and have to install from scratch, as part of installing BSD on the system. So, getting the system set up, initially, to get Debian 3.1 running (it has been superseded on the system, first by Debian 4, and, now, by Debian 5), took a fair bit of time and effort, and problem solving, using various operating systems, to get the one extra operating system installed. Due to the time and effort involved, and the apparent complexity, it all seems too difficult, to install BSD. If FreeBSD would be able to be installed in a logical partition, within an extended partition, as can be done with Linux, it would probably be able to be done by me - in the meantime, it is simply too difficult. Thanks anyway, for your help, to those who responded. -- Bret Busby Armadale West Australia .. So once you do know what the question actually is, you'll know what the answer means. - Deep Thought, Chapter 28 of Book 1 of The Hitchhiker's Guide to the Galaxy: A Trilogy In Four Parts, written by Douglas Adams, published by Pan Books, 1992 ___ 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