mail/claws-mail: INBOX shows still moved or deleted mails, filtering not working properly
After a struggle with OpenLDAP and Thunderbird (core dumps all over the place when using Thunderbird with OpenLDAP backed users), I moved to Evolution, which is unsatisfying, since calendar function immediately makes Evolution crahs on all tested FreeBSD platforms (9.1-STABLE, 10.0-CURRENT). I tried mail/claws-mail for now and I'm surprised how cryptic and fast an email client can be, but I also have serious struggles with this email client. When fetch and filtering Emails from the account of our computer center's IMPA4 mail servers, the moved and even deleted emails remain visible (but greyished) in the INBOX or any other folder and marked deleted. Filtered and filter induced moves of mails also are greyed, still visible in the main INBOX of the email account but marked with the flag for new mail in INBOX. I can not delete them from INBOX. This behaviour is odd. I searched Grand Master Google for that and found relatively old bug reports about such behaviour, but that should be solved. I exclude misconfigurations, since I already configured those immediate actions as recommended. Nor Evolution nor thunderbird show that weird behaviour and they operate as expected on all mail actions. Maybe someone could give me a hint what to check. Personally, I consider this behaviour a bug and renders another email client unusable on FreeBSD, but I might be terribly wrong here and still suffer from a configuration inconvenience. Please CC me, I'm no subscriber of both lists. Thanks in advance, Oliver Hartmann ___ 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
using ports or gems (easy_install)
Hi everybody, I would like to known how you manage your gem (ruby) or easyinstall (python). Do you use ports ? or directly gems or easyinstall ? or both ? For exemple when you want install some software with lots of dependances you can use (if the software use easy_install) just one easy_install and everything is installed, you can use ports for some packages but sometime not every packages are in the ports so you should need to installed it through easy_install. After that same question about updating So what you do ? And why ? Regards. JAS -- Albert SHIH DIO bâtiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex France Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71 xmpp: j...@obspm.fr Heure local/Local time: mar 28 mai 2013 09:36:34 CEST ___ 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: using ports or gems (easy_install)
Hi, I would like to known how you manage your gem (ruby) or easyinstall (python). Do you use ports ? or directly gems or easyinstall ? or both ? As far as I can, I use ports, for consistency. But I am using mostly Perl and CPAN is very well integrated in FreeBSD ports. Voila. 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
Any arp table size limitations?
Hello, We are connecting to an IXP, they have tested our FreeBSD 9.1 server and said we can store only about 600 MACs simultaneously. So I'd like to ask if there is any arp table size limitations and if so, how we can increase the limit? -- AP ___ 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
freebsd8.2 with /etc mount point can't run correctly
hello all, i want to install freebsd8.2 with different partitions. i want to have a separated partition for /etc. therefore this is my partitions: / , /var, /etc. /tmp, /usr, swap. but after installing, freebsd can not run correctly and have problem with fstab. i checked my fstab file (fstab file in /etc partition) and every thing is ok. i think i should do something in order to use fstab file in different mount point. is it true? what should i do to have a freebsd with a separate /etc mount point? any comments are appreciated. SAM ___ 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: freebsd8.2 with /etc mount point can't run correctly
On Tue, 28 May 2013 12:57+0430, s m wrote: hello all, i want to install freebsd8.2 with different partitions. i want to have a separated partition for /etc. therefore this is my partitions: / , /var, /etc. /tmp, /usr, swap. but after installing, freebsd can not run correctly and have problem with fstab. i checked my fstab file (fstab file in /etc partition) and every thing is ok. i think i should do something in order to use fstab file in different mount point. is it true? what should i do to have a freebsd with a separate /etc mount point? any comments are appreciated. SAM If you really want to keep /etc as a separate filesystem, then I would try something like this: 1. Create the file /etc-mount and give it the following contents: #!/bin/sh /sbin/mount /dev/ada0pX /etc exec /etc/rc $* 2. Make sure to substitute the right device file for the mount command. 2. Make /etc-mount executable: chmod a+x /etc-mount 3. On the root filesystem, let /etc/rc be a symlink to /etc-mount. This is just off the top of my head. It may work, or it may not work. HTH. -- +---++ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +---++___ 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: freebsd8.2 with /etc mount point can't run correctly
thanks Trond but i think it can not help me. you know i want to separate my /etc completely from root. for some reasons, i want to unmount /etc while root is mounted. by your procedure, i think /etc is dependent to root yet. isn't it? On Tue, May 28, 2013 at 1:16 PM, Trond Endrestøl trond.endres...@fagskolen.gjovik.no wrote: On Tue, 28 May 2013 12:57+0430, s m wrote: hello all, i want to install freebsd8.2 with different partitions. i want to have a separated partition for /etc. therefore this is my partitions: / , /var, /etc. /tmp, /usr, swap. but after installing, freebsd can not run correctly and have problem with fstab. i checked my fstab file (fstab file in /etc partition) and every thing is ok. i think i should do something in order to use fstab file in different mount point. is it true? what should i do to have a freebsd with a separate /etc mount point? any comments are appreciated. SAM If you really want to keep /etc as a separate filesystem, then I would try something like this: 1. Create the file /etc-mount and give it the following contents: #!/bin/sh /sbin/mount /dev/ada0pX /etc exec /etc/rc $* 2. Make sure to substitute the right device file for the mount command. 2. Make /etc-mount executable: chmod a+x /etc-mount 3. On the root filesystem, let /etc/rc be a symlink to /etc-mount. This is just off the top of my head. It may work, or it may not work. HTH. -- +---++ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +---++ ___ 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 -- *Sa.M* ___ 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: freebsd8.2 with /etc mount point can't run correctly
On Tue, 28 May 2013 13:29+0430, saeedeh motlagh wrote: On Tue, May 28, 2013 at 1:16 PM, Trond Endrestøl trond.endres...@fagskolen.gjovik.no wrote: On Tue, 28 May 2013 12:57+0430, s m wrote: hello all, i want to install freebsd8.2 with different partitions. i want to have a separated partition for /etc. therefore this is my partitions: / , /var, /etc. /tmp, /usr, swap. but after installing, freebsd can not run correctly and have problem with fstab. i checked my fstab file (fstab file in /etc partition) and every thing is ok. i think i should do something in order to use fstab file in different mount point. is it true? what should i do to have a freebsd with a separate /etc mount point? any comments are appreciated. SAM If you really want to keep /etc as a separate filesystem, then I would try something like this: 1. Create the file /etc-mount and give it the following contents: #!/bin/sh /sbin/mount /dev/ada0pX /etc exec /etc/rc $* 2. Make sure to substitute the right device file for the mount command. 2. Make /etc-mount executable: chmod a+x /etc-mount 3. On the root filesystem, let /etc/rc be a symlink to /etc-mount. This is just off the top of my head. It may work, or it may not work. HTH. thanks Trond but i think it can not help me. you know i want to separate my /etc completely from root. for some reasons, i want to unmount /etc while root is mounted. by your procedure, i think /etc is dependent to root yet. isn't it? When the system boots, init(8) fires up a shell to execute the commands contained in (the real) /etc/rc. At boot only the root file system is mounted, thus you need a mechanism to mount /etc ahead of normal startup and pass whatever arguments the fake /etc/rc was invoked with on to the real /etc/rc. As long as no processes holds open any files within /etc and you don't need any of the files, /etc/{,s}pwd.db og /etc/group comes to mind, you should be able to unmount /etc at your own pace. I guess you should be in single user mode while doing this. Why do you need this strange detachment anyway? Backups? Snapshots? -- +---++ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +---++___ 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: mail/claws-mail: INBOX shows still moved or deleted mails, filtering not working properly
On Tue, 28 May 2013 09:17:55 +0200 O. Hartmann wrote: I tried mail/claws-mail for now and I'm surprised how cryptic and fast an email client can be, but I also have serious struggles with this email client. When fetch and filtering Emails from the account of our computer center's IMPA4 mail servers, the moved and even deleted emails remain visible (but greyished) in the INBOX or any other folder and marked deleted. ... Nor Evolution nor thunderbird show that weird behaviour and they operate as expected on all mail actions. This is how a traditional IMAP client works, you mark as deleted and manually expunge - and move is done through copy,delete and expunge. In the advanced section of the per account preferences there is a setting that starts Move deleted mails to trash ..., check that you haven't unset that. BTW please don't cross post without a very good reason. ___ 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: freebsd8.2 with /etc mount point can't run correctly
On 05/28/13 09:27, s m wrote: hello all, i want to install freebsd8.2 with different partitions. i want to have a separated partition for /etc. therefore this is my partitions: / , /var, /etc. /tmp, /usr, swap. but after installing, freebsd can not run correctly and have problem with fstab. i checked my fstab file (fstab file in /etc partition) and every thing is ok. i think i should do something in order to use fstab file in different mount point. is it true? what should i do to have a freebsd with a separate /etc mount point? Generally speaking, a separate /etc partition is A Bad Thing(TM), and a sign you're doing things wrong. However, nanobsd does (partially) separate /etc out, and it does so using /etc/rc.initdiskless and its early (pre-rc) mounting code. Take a look at rc.initdiskless and the nanobsd code in /usr/src/tools/tools/nanobsd/nanobsd.sh if you really want to go down this route. -- In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a new race of servants. Called Uruk-Oh-Hai in the Black Speech, they were cruel and delighted in torturing spelling and grammar. _Lord of the Rings 2.0, the Web Edition_ ___ 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: freebsd8.2 with /etc mount point can't run correctly
On Tue, 28 May 2013 15:13+0430, s m wrote: On 5/28/13, Trond Endrestøl trond.endres...@fagskolen.gjovik.no wrote: On Tue, 28 May 2013 12:25+0200, Trond Endrestøl wrote: On Tue, 28 May 2013 13:29+0430, saeedeh motlagh wrote: On Tue, May 28, 2013 at 1:16 PM, Trond Endrestøl trond.endres...@fagskolen.gjovik.no wrote: On Tue, 28 May 2013 12:57+0430, s m wrote: hello all, i want to install freebsd8.2 with different partitions. i want to have a separated partition for /etc. therefore this is my partitions: / , /var, /etc. /tmp, /usr, swap. but after installing, freebsd can not run correctly and have problem with fstab. i checked my fstab file (fstab file in /etc partition) and every thing is ok. i think i should do something in order to use fstab file in different mount point. is it true? what should i do to have a freebsd with a separate /etc mount point? any comments are appreciated. SAM If you really want to keep /etc as a separate filesystem, then I would try something like this: 1. Create the file /etc-mount and give it the following contents: #!/bin/sh /sbin/mount /dev/ada0pX /etc exec /etc/rc $* 2. Make sure to substitute the right device file for the mount command. 2. Make /etc-mount executable: chmod a+x /etc-mount 3. On the root filesystem, let /etc/rc be a symlink to /etc-mount. This is just off the top of my head. It may work, or it may not work. HTH. thanks Trond but i think it can not help me. you know i want to separate my /etc completely from root. for some reasons, i want to unmount /etc while root is mounted. by your procedure, i think /etc is dependent to root yet. isn't it? When the system boots, init(8) fires up a shell to execute the commands contained in (the real) /etc/rc. At boot only the root file system is mounted, thus you need a mechanism to mount /etc ahead of normal startup and pass whatever arguments the fake /etc/rc was invoked with on to the real /etc/rc. As long as no processes holds open any files within /etc and you don't need any of the files, /etc/{,s}pwd.db and[!] /etc/group comes to mind, you should be able to unmount /etc at your own pace. I guess you should be in single user mode while doing this. [Typo corrected.] Why do you need this strange detachment anyway? Backups? Snapshots? thanks guys, you know i have a server and change my pwd files most of the time. i want to safe my server, so i prefer to mount my root read-only and because of changes in pwd files, i should mount /etc read-write. therefore i want to separate my /etc from root. moreover, if i want to enable journaling on /etc, i should unmount it (journaling cannot been set for root partition). To enable journaling, i.e. soft updates, for the root filesystem, do the exact following: 1. Reboot into single user mode. 2. Run /sbin/tunefs -j enable /dev/ada0pX 3. Issue the reboot command. now, do you have any suggestion for my status? how can i mount /etc partition at boot time? As I said earlier in this thread you need a mechanism for mounting /etc prior to running the startup scripts. OK, here's a more detailed list than the previous one, assuming the root filesystem is currently mounted read-write: 1. Create and edit the file /fake-rc, giving it this contents (the next 3 lines): #!/bin/sh mount /dev/ada0pX /etc exec /etc/rc $* 2. Don't forget to substitute the right device file corresponding to the /etc filesystem. 3. Let /fake-rc be executable: chmod a+x /fake-rc 4. Go to single user mode. I'm still assuming the _root_ filesystem is mounted read-write. Please ensure it is. 5. Unmount /etc. 6. Let /etc/rc be a symbolic link to /fake-rc, by issuing the command: /bin/ln -s /fake-rc /etc/rc 7. Remount /etc manually, i.e. mount /dev/ada0pX /etc 8. Make the necessary changes to /etc/fstab so that the root file system is never mounted read-write during startup. 9. Reboot the system and observe to see if the behaviour is the desired one. Remember this, because this is important: When the system boots, init(8) fires up a shell to execute the commands contained in (the real) /etc/rc. At boot only the _root_ file system is mounted, thus you need a mechanism to mount /etc ahead of normal startup and pass whatever arguments the fake /etc/rc was invoked with on to the real /etc/rc. This is what you would accomplish by erecting /etc/rc on the _root_ filesystem as a symlink to the fake /fake-rc, also on the _root_ filesystem. The fake /fake-rc takes care of mounting /etc at startup and resuming running the startup scripts by executing the real /etc/rc, now that the /etc filesystem is finally mounted (read-write). Use this opportunity to really learn how FreeBSD behaves during startup and what its expectations
Re: freebsd8.2 with /etc mount point can't run correctly
On Tue, 28 May 2013 12:57:41 +0430 s m sam.gh1...@gmail.com wrote: hello all, i want to install freebsd8.2 with different partitions. i want to have a separated partition for /etc. therefore this is my partitions: / , /var, /etc. /tmp, /usr, swap. but after installing, freebsd can not run correctly and have problem with fstab. i checked my fstab file (fstab file in /etc partition) and every thing is ok. i think i should do something in order to use fstab file in different mount point. is it true? what should i do to have a freebsd with a separate /etc mount point? any comments are appreciated. No, starting in single user mode mount / only and will fail to start. I, and others for sure, use single user mode for recovery faulty systems. But as always, they are your feet ;) What's wrong with /usr/local/etc ? It can be wherever you want and have whatever you need. SAM ___ 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 --- --- Eduardo Morras emorr...@yahoo.es ___ 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
Create bond on Infiniband ports
Hi. I use FreeBSD 9.1 with OFED compiled on it. There is a Mellanox adapter: [root@qa-h-vrt-030-006 ~]# pciconf -lv |grep mlx4 -A 3 mlx4_core0@pci0:0:5:0: class=0x028000 card=0x005015b3 chip=0x100315b3 rev=0x00 hdr=0x00 vendor = 'Mellanox Technologies' device = 'MT27500 Family [ConnectX-3]' class = network I want to create Bond on the two ports (ib0 and ib1) of this device: [root@qa-h-vrt-030-006 ~]# ifconfig em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC ether 00:50:56:23:1e:06 inet6 fe80::250:56ff:fe23:1e06%em0 prefixlen 64 scopeid 0x2 inet 10.195.30.6 netmask 0x broadcast 10.195.255.255 nd6 options=23PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL media: Ethernet autoselect (1000baseT full-duplex) status: active lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 options=63RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff00 nd6 options=23PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL ib0: flags=8043UP,BROADCAST,RUNNING,MULTICAST metric 0 mtu 65520 options=80018VLAN_MTU,VLAN_HWTAGGING,LINKSTATE lladdr 80.0.0.48.fe.80.0.0.0.0.0.0.0.2.c9.0.1.0.d0.51 inet 11.195.30.1 netmask 0x broadcast 11.195.255.255 inet6 fe80::250:56ff:fe23:1e06%ib0 prefixlen 64 scopeid 0x4 nd6 options=23PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL ib1: flags=8043UP,BROADCAST,RUNNING,MULTICAST metric 0 mtu 65520 options=80018VLAN_MTU,VLAN_HWTAGGING,LINKSTATE lladdr 80.0.0.49.fe.80.0.0.0.0.0.0.0.2.c9.0.1.0.d0.52 inet 12.195.30.1 netmask 0x broadcast 12.195.255.255 inet6 fe80::250:56ff:fe23:1e06%ib1 prefixlen 64 scopeid 0x5 nd6 options=23PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL 1. Is there bond in FreeBSD or its Lagg? 2. I tried to create this way, but failed: [root@qa-h-vrt-030-006 ~]# ifconfig lagg0 create root@qa-h-vrt-031-005 conf]# ifconfig lagg0 laggproto failover laggport ib0 laggport ib1 ifconfig: SIOCSLAGGPORT: Protocol not supported Any ideas? Is it supported on Infiniband ports? Regards, Alex Liptsin ___ 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: using ports or gems (easy_install)
Le 28/05/2013 ? 14:50:25+0700, Olivier Nicole a écrit Hi, I would like to known how you manage your gem (ruby) or easyinstall (python). Do you use ports ? or directly gems or easyinstall ? or both ? As far as I can, I use ports, for consistency. Me too. But what you do when you cannot ? (Like the ports don't exist) ? I see three possibility : 1/ write the ports (unfortunately not for me) 2/ wait until someone does (many time it's impossible) 3/ use easy_install or gem But I am using mostly Perl and CPAN is very well integrated in FreeBSD ports. Yes much better than ruby or python. Regards. JAS -- Albert SHIH DIO bâtiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex France Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71 xmpp: j...@obspm.fr Heure local/Local time: mar 28 mai 2013 15:03:58 CEST ___ 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
http://localhost/phpmyadmin
___ 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
midori preferences segmentation fault
midori Edit Preferences results, nearly every time, in: *** NSPlugin Viewer *** ERROR: rpc_end_sync called when not in sync! Segmentation fault (core dumped) This occurs since 9.1-RELEASE. All ports (midori, linux-f10-flashplugin11, nspluginwrapper, etc) are up to date. No problem with chromium. Haven't tried firefox this time. Compile time for chromium is about 6 hours. As far as I remember, firefox compile time takes even longer. What is wrong with midori ? Thank you in advance, Harald ___ 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
[OT] What's the http://localhost/phpmyadmin mail about?
Many apologies for the off topic post, but my curiosity has got the better of me. Every once in a while we get a post with a subject of http://localhost/phpmyadmin; and no body. What is the point of this - borked mailer, existentialist spam, hacking attempt by a wannabe script kiddie even more clueless than usual, first contact with aliens evolved from web servers? I'm baffled. -- In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a new race of servants. Called Uruk-Oh-Hai in the Black Speech, they were cruel and delighted in torturing spelling and grammar. _Lord of the Rings 2.0, the Web Edition_ ___ 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: slice and partition in FreeBSD 9.1
On Tue, 28 May 2013, Polytropon wrote: See this comparison: http://www.wonkity.com/~wblock/docs/html/disksetup.html http://www.freebsd.org/doc/en/books/handbook/geom-glabel.html http://www.freebsd.org/doc/handbook/disks-adding.html There is a little information on the common types here, too: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/bsdinstall-partitioning.html#bsdinstall-part-manual Still you have the choice to use MBR partitioning if this is a requirement (maybe due to hardware that has problems booting GPT partitioned media? who knows). Some BIOS systems think GPT partitions mean the system is running UEFI. On those system, MBR is required to boot correctly. I think this is still a problem with the Thinkpad T4xx and T5xx models, possibly others. ___ 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: Create bond on Infiniband ports
On Tue, May 28, 2013 at 4:35 AM, Alex Liptsin al...@mellanox.com wrote: Hi. I use FreeBSD 9.1 with OFED compiled on it. There is a Mellanox adapter: [root@qa-h-vrt-030-006 ~]# pciconf -lv |grep mlx4 -A 3 mlx4_core0@pci0:0:5:0: class=0x028000 card=0x005015b3 chip=0x100315b3 rev=0x00 hdr=0x00 vendor = 'Mellanox Technologies' device = 'MT27500 Family [ConnectX-3]' class = network I want to create Bond on the two ports (ib0 and ib1) of this device: [root@qa-h-vrt-030-006 ~]# ifconfig em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC ether 00:50:56:23:1e:06 inet6 fe80::250:56ff:fe23:1e06%em0 prefixlen 64 scopeid 0x2 inet 10.195.30.6 netmask 0x broadcast 10.195.255.255 nd6 options=23PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL media: Ethernet autoselect (1000baseT full-duplex) status: active lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 options=63RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff00 nd6 options=23PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL ib0: flags=8043UP,BROADCAST,RUNNING,MULTICAST metric 0 mtu 65520 options=80018VLAN_MTU,VLAN_HWTAGGING,LINKSTATE lladdr 80.0.0.48.fe.80.0.0.0.0.0.0.0.2.c9.0.1.0.d0.51 inet 11.195.30.1 netmask 0x broadcast 11.195.255.255 inet6 fe80::250:56ff:fe23:1e06%ib0 prefixlen 64 scopeid 0x4 nd6 options=23PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL ib1: flags=8043UP,BROADCAST,RUNNING,MULTICAST metric 0 mtu 65520 options=80018VLAN_MTU,VLAN_HWTAGGING,LINKSTATE lladdr 80.0.0.49.fe.80.0.0.0.0.0.0.0.2.c9.0.1.0.d0.52 inet 12.195.30.1 netmask 0x broadcast 12.195.255.255 inet6 fe80::250:56ff:fe23:1e06%ib1 prefixlen 64 scopeid 0x5 nd6 options=23PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL 1. Is there bond in FreeBSD or its Lagg? It's lagg. Setting up bonded interfaces is different (Anthony C. or someone else can provide more details about this). failover mode via lagg is completely different from failover mode with IB IIRC. 2. I tried to create this way, but failed: [root@qa-h-vrt-030-006 ~]# ifconfig lagg0 create root@qa-h-vrt-031-005 conf]# ifconfig lagg0 laggproto failover laggport ib0 laggport ib1 ifconfig: SIOCSLAGGPORT: Protocol not supported Any ideas? Is it supported on Infiniband ports? The media setting pieces are look to only be supported with mlx4 in en mode: 1076 static int mlx4_en_ioctl(struct ifnet *dev, u_long command, caddr_t data) 1077 { ... 1115 case SIOCGIFMEDIA: 1116 error = ifmedia_ioctl(dev, ifr, priv-media, command); 1117 break; If I remember correctly, IB ports with mlx4 default to ib mode, not en mode (it also helps to have the right drivers loaded for this). Cheers, -Garrett ___ 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
pfctl and verbosely listing tables not giving full output on 9.x
On some of my older systems, I try and view some tables verbosely as the manual describes: We can now use the table show command to output, for each address and packet direction, the number of packets and bytes that are being passed or blocked by rules referencing the table. The time at which the current accounting started is also shown with the ``Cleared'' line. # pfctl -t test -vTshow 129.128.5.191 Cleared: Thu Feb 13 18:55:18 2003 In/Block:[ Packets: 0Bytes: 0] In/Pass: [ Packets: 10 Bytes: 840 ] Out/Block: [ Packets: 0Bytes: 0] Out/Pass:[ Packets: 10 Bytes: 840 ] and I get what I would expect when I issue the command: # uname -r 8.3-RELEASE-p3 # pfctl -t spam -vTshow No ALTQ support in kernel ALTQ related functions disabled 61.156.238.56 Cleared: Mon May 27 16:06:03 2013 In/Block:[ Packets: 23 Bytes: 1673 ] In/Pass: [ Packets: 0 Bytes: 0 ] Out/Block: [ Packets: 0 Bytes: 0 ] Out/Pass:[ Packets: 0 Bytes: 0 ] 101.44.1.135 Cleared: Tue May 28 11:14:23 2013 In/Block:[ Packets: 21 Bytes: 1520 ] In/Pass: [ Packets: 0 Bytes: 0 ] Out/Block: [ Packets: 0 Bytes: 0 ] Out/Pass:[ Packets: 0 Bytes: 0 ] All of my newer systems seem to not be showing me the data I expect: # uname -rm 9.1-RELEASE-p3 amd64 # pfctl -t spam -vTshow No ALTQ support in kernel ALTQ related functions disabled 46.21.161.37 Cleared: Tue May 14 10:37:11 2013 46.29.248.152 Cleared: Sat May 25 03:47:26 2013 46.165.236.153 Cleared: Tue May 14 06:12:05 2013 [...] # uname -rm 9.1-RELEASE i386 # pfctl -t spam -vTshow No ALTQ support in kernel ALTQ related functions disabled 1.235.138.249 Cleared: Sat Apr 27 19:55:15 2013 27.50.140.140 Cleared: Fri Apr 26 13:43:11 2013 31.3.245.178 Cleared: Tue Apr 30 19:30:29 2013 [...] # uname -rm 9.1-RELEASE amd64 # pfctl -t spam -vTshow No ALTQ support in kernel ALTQ related functions disabled 46.29.248.152 Cleared: Sat May 25 03:49:12 2013 50.73.11.52 Cleared: Wed May 22 01:57:10 2013 61.132.228.240 Cleared: Sun May 19 23:46:07 2013 Can anyone confirm similar behaviour on their systems, or has anyone even tried? I didn't see any active PRs about this. Thanks, Philip ___ 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: swap partition leads to instability?
Follow up comment. It has been pointed out to me that there is Varnish software taking advantage of system VMM and swap space. Well, there are cache-oblivious algorithms that perform as well, and so they make the above (disk access model; cache-aware model) unnecessary (obsolete ?) and are superior in their generality. jb ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: swap partition leads to instability?
On Tue, May 28, 2013 at 8:42 PM, jb jb.1234a...@gmail.com wrote: Follow up comment. It has been pointed out to me that there is Varnish software taking advantage of system VMM and swap space. Well, there are cache-oblivious algorithms that perform as well, and so they make the above (disk access model; cache-aware model) unnecessary (obsolete ?) and are superior in their generality. Note that such cache-oblivious algorithms cannot be trivially applied to any problem. Also, properly written cache-oblivious algorithms tend to recursively decompose the problem until it is small enough to fit in a cache and solve each part iteratively. The improvement effect can be noticed on large inputs. These algorithms will most probably perform quite badly on small inputs. jb ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ 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: swap partition leads to instability?
On 26. mai 2013, at 10:58, M. V. bored_to_deat...@yahoo.com wrote: But recently I heard from a FreeBSD expert that I shouldn't have swap partition for my server, and having swap partition could make my server unstable Any chance this could be a simple misunderstanding? That he objected to the thought of the server swapping on an SSD (or whereever), more than the idea of having the partition itself? If you're heavily swapping on an SSD with no redundancy, sooner or later it will kill your server. Generally though, havin too little memory will also give issues. ;) I usually recommend viewing swap like you view filesystems. If you don't want downtime or dataloss when it dies, plan for failiure, and use gmirror or zfs mirror and zvol. Terje ___ 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
openvpn and tap device
Hi all! I installed openvpn (I use it like client). There isn't any openvpn_enable=YES and openvpn_if=tap in rc.conf but after start openvpn I can connect to openvpn server and clients. ifconfig doesn't show me any tap interface is it a correct situation? 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
BSD sleep
Hi. Is there no built-in way of making sleep sleep in increments of minutes, hours, etc? The GNU sleep can be invoked like sleep 1h for an hour. The FreeBSD one's manpage leads me to believe we can only use seconds, which is kind of annoying. Is there an undocmented or missing feature here? Seems really trivial to implement. ~ $ sleep 1h usage: sleep seconds ___ 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: BSD sleep
On 5/28/2013 6:01 PM, Kenta Suzumoto wrote: Hi. Is there no built-in way of making sleep sleep in increments of minutes, hours, etc? The GNU sleep can be invoked like sleep 1h for an hour. The FreeBSD one's manpage leads me to believe we can only use seconds, which is kind of annoying. Is there an undocmented or missing feature here? Seems really trivial to implement. ~ $ sleep 1h usage: sleep seconds You think it's trivial until you read this: http://infiniteundo.com/post/25326999628/falsehoods-programmers-believe-about-time If you sleep one hour, do you sleep one hour from now or one hour from the system clock which may change in the next hour? If it's the system clock, you may sleep for ten minutes or ten hours. If you need to sleep for 3600 seconds, that's simple and understandable. ___ 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: using ports or gems (easy_install)
Albert, I would like to known how you manage your gem (ruby) or easyinstall (python). Do you use ports ? or directly gems or easyinstall ? or both ? As far as I can, I use ports, for consistency. Me too. But what you do when you cannot ? (Like the ports don't exist) ? I see three possibility : 1/ write the ports (unfortunately not for me) 2/ wait until someone does (many time it's impossible) 3/ use easy_install or gem I use the solution 3 (cpan in the case of Perl). Best regards, olivier But I am using mostly Perl and CPAN is very well integrated in FreeBSD ports. Yes much better than ruby or python. Regards. ___ 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: BSD sleep
You think it's trivial until you read this: http://infiniteundo.com/post/25326999628/falsehoods-programmers-believe-about-time If you sleep one hour, do you sleep one hour from now or one hour from the system clock which may change in the next hour? If it's the system clock, you may sleep for ten minutes or ten hours. If you need to sleep for 3600 seconds, that's simple and understandable. what is stopping from interpreting 1h in similar manner to 3600? i.e. from now ___ 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: BSD sleep
On Tue, May 28, 2013 at 4:45 PM, Joshua Isom jri...@gmail.com wrote: You think it's trivial until you read this: http://infiniteundo.com/post/**25326999628/falsehoods-** programmers-believe-about-timehttp://infiniteundo.com/post/25326999628/falsehoods-programmers-believe-about-time Some days have 86400 seconds, some have 86401. There is a provision for two leap seconds to be applied at once, but that hasn't ever happened. Still, a truly correct clock, set to UTC, might someday read 23:59:59 23:59:60 23:59:61 00:00:00 How many seconds did that hour have? ___ 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