Re: (SOLVED) Re: installing FreeBSD 8 on SSDs and UFS2 - partition alignment, block sizes, what does one need to know?
On Fri, 15 Jan 2010 17:57:03 +0100, Dan Naumov dan.nau...@gmail.com wrote: On Fri, Jan 15, 2010 at 6:38 PM, Rick Macklem rmack...@uoguelph.ca wrote: On Tue, 12 Jan 2010, Dan Naumov wrote: For my upcoming storage system, the OS install is going to be on a 80gb Intel SSD disk and for various reasons, I am now pretty convinced to stick with UFS2 for the root partition (the actual data pool will be ZFS using traditional SATA disks). I am probably going to use GPT partitioning and have the SSD host the swap, boot, root and a few other partitions. What do I need to know in regards to partition alignment and filesystem block sizes to get the best performance out of the Intel SSDs? I can't help with your question, but I thought I'd mention that there was a recent post (on freebsd-current, I think?) w.r.t. using an SSD for the ZFS log file. It suggested that that helped with ZFS perf., so you might want to look for the message. rick I have managed to figure out the essential things to know by know, I just wish there was a single, easy to grasp webpage or HOWTO describing and whys and hows so I wouldn't have had had to spend the entire day googling things to get a proper grasp on the issue :) Maybe you can copy-paste your e-mail in a wiki somewhere. And your wish has come true for other peoples. Ronald. To (perhaps a bit too much) simplify things, if you are using an SSD with FreeeBSD, you: 1) Should use GPT 2) Should create the freebsd-boot partition as normal (to ensure compatibility with some funky BIOSes) 3) All additional partitions should be aligned, meaning that their boundaries should be dividable by 1024kb (that's 2048 logical blocks in gpart). Ie, having created your freeebsd-boot, your next partition should start at block 2048 and the partition size should be dividable by 2048 blocks. This applies to ALL further partitions added to the disk, so you WILL end up having some empty space between them, but a few MBs worth of space will be lost at most. P.S: My oversimplification was in that MOST SSDs will be just fine with a 512 kb / 1024 block alignment. However, _ALL_ SSDs will be fine with 1024 kb / 2048 block alignment. - Sincerely, Dan Naumov ___ freebsd...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-fs To unsubscribe, send any mail to freebsd-fs-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: LAN failover redundandcy?
On Wed, 01 Aug 2007 17:14:17 +0200, Ewald Jenisch [EMAIL PROTECTED] wrote: Hi, I'm looking for a way to configure failover redundancy for one of my servers. To be specific: The server in question has one IP-address but two LAN interfaces each of them connecting to a different switch. Traffic normally runs only through one of the two interfaces; the other is for redundandy only. In case the active LAN-interface goes down (e.g. because of a link and/or switch failure) the second LAN-interface should take over in the sense that traffic should run through the second interface (again the server has only one IP-address, so binding a different IP-address to the interface is not an option here) Is there any way how this can be configured under FreeBSD 6.2? Thanks much in advance for your help, -ewald man lagg 'link aggregation and link failover interface' It is in 6-STABLE. I don't know since when. Ronald. -- Ronald Klop Amsterdam, The Netherlands ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Root access loggin
On Mon, 30 Jul 2007 15:11:06 +0200, Eric Crist [EMAIL PROTECTED] wrote: On Jul 30, 2007, at 7:34 AMJul 30, 2007, Adam J Richardson wrote: Tom Evans wrote: This seems great in principle, but of course, you just gave them a root shell, and so they can delete their log file easily enough... You could have cron email it to you every 5 minutes. Unlikely he'd check the crontab immediately, unless he was really bent on the system's destruction. Likely you'd have at least some evidence of his behaviour. Of course your email box would fill up quickly. Adam J Richardson Tom, If you're really all that worried about this, don't give them root access. You could simply sit at the console with them while they work. IIRC, they're a contractor, not an employee. Your presence during such operations wouldn't be abnormal for a contractor. I don't have the original post of this, so I don't know the details, but this sounds like a good project for remote audit logging. Or is that only in FreeBSD 7? Or use accounting: accton(8). Is it possible to setup an accounting file as an named pipe, to log to a remote host? Ronald. -- Ronald Klop Amsterdam, The Netherlands ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
usb driver for use with kmobiletools and nokia
Hello, I have a Nokia phone which I want to manage by using kmobiletools. If I connect the phone with usb I can access MicroSD card of the phone with umass, so the connection is ok. But if I choose the 'PC Suite' mode on the phone the ugen driver is attached. The phone also show up in usbdevs. I tried loading the umodem driver, but it doesn't attach. Kmobiletools needs a tty to access the phone as a modem. Does anybody how to attach a phone by USB? Ronald. -- Ronald Klop Amsterdam, The Netherlands ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mount_msdosfs gives read-only error
Hello, I'm running 6.0-BETA3 and this is happening on all my floppies. # fdformat /dev/fd0 fdformat: open(/dev/fd0): Read-only file system # ls -l /dev/fd0 crw-rw-rw- 1 root operator 14, 103 Aug 31 13:14 /dev/fd0 (It was chmod 660 first and I changed it to 666 without benefit.) I'm running as root. The floppies are not made read-only. With 5.4 (same machine, a couple of weeks ago) it still worked. I can't use dd to write something to any place on the floppy. And I tried it with 5 floppies already. Any ideas? Ronald. -- Ronald Klop Amsterdam, The Netherlands ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
CPUTYPE=p2 on a p3
Hello, I've a mix of p2 and p3 cpu's, but I only want to compile world ones. In the past I had problems with running a world optimized with CPUTYPE=p2 on a p3. Is this a known issue? Are the i386, i486, p1, p2, p3 and p4 backwards compatible in respect to this? I understand that optimizing for p2 isn't optimal for the p3, but the code should just run isn't it? If that is known to not work, what is the max cputype which works for all? Is it wise to use CPUTYPE=i486 or pentiumpro? Greetings, Ronald. PS: Please cc me. -- Ronald Klop Amsterdam, The Netherlands ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
read/write stats from disks
Hello, For a statistics tool I need a script, which shows the number of bytes read and bytes written to a disk. Iostat combines reads and writes, but I need them separate. Any thoughts? I'm running FreeBSD 5.4 with IDE disks. Please CC me. Greetings, Ronald. -- Ronald Klop, Amsterdam, The Netherlands ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
making freebsd known to the world
Hello, Maybe this is the wrong list for this, but why is FreeBSD never listed on websites of third party applications like firefox? In this directory I can't find a FreeBSD package for example. http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.0.1/contrib/ I know the ports/packages system works great, so the freebsd user doesn't need it, but wouldn't it be good for publicity? Greetings, Ronald. -- Ronald Klop, Amsterdam, The Netherlands ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: making freebsd known to the world
On Thu, 31 Mar 2005 12:42:52 +0200 (CEST), Svein Halvor Halvorsen [EMAIL PROTECTED] wrote: * Ted Mittelstaedt [2005-03-31 01:45 -0800] but why is FreeBSD never listed on websites of third party applications like firefox? In this directory I can't find a FreeBSD package for example. http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.0.1/contrib/ Have you ever built firefox? It requires about 28 ports or so that are not in the base FreeBSD install, at least for version 4.11, and that is for the native version of it. And many of these are GPL so you are just adding trouble for BSD users who need a system they can use as a base for a commercial product - the last thing they want to discover is their app linked into some GPL library. If the Linux distributors want to bloat their base systems for every 3rd party application that comes along that is fine. I think you misunderstood. Noone is asking to add firefox (or any other third-party application) to the base system. I think the OP is asking the FreeBSD community to put some pressure on third-party vendors to make freebsd-packages available on their websites. This way the word FreeBSD would be mentioned and hopefully noticed. To the OP, I can only say that I might agree, but this is really up to the vensors if they see it profitable or otherwise advantegous to do so. Opera for instance, are marketing their support for FreeBSD. However, I stand by Ted's advice to ask this in the advocacy mailing list. I just mailed mozilla about it, but I don't expect an answer soon. I will ask this on freebsd-advocacy also. Ronald. -- Ronald Klop, Amsterdam, The Netherlands ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Solved: Re: order in fstab and md/mfs (extra info)
Sorry, I found out, that md wasn't loaded as a module and not compiled into the kernel. MD_LOAD=YES in /boot/loader.conf fixed the problem. Ronald. On Mon, 24 Nov 2003 01:10:18 +0100, Ronald Klop [EMAIL PROTECTED] wrote: On Mon, 24 Nov 2003 01:02:09 +0100, Ronald Klop ronald_at_echteman_dot_nl wrote: Hello, Today I noticed my mfs on /tmp not mounting properly, because of the order of the entries in fstab. Mfs can't be mounted too early. Is this meant to be or should there be a second stage for this mount, just like nfs mounts which are deferred until after the network is up. I saw it is documented in one line in 'man fstab', that order is important, but not many examples about this. Running 5.2-BETA cvsupped today on P-II 400Mhz (UP), 256 MB, IDE. It still fails with: mfs: mdconfig (attach) exited with error code 1 Mounting /etc/fstab filesystems failed, startup aborted Any hints? Same experiences? Ronald. -- Ronald Klop Amsterdam, The Netherlands ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
order in fstab and md/mfs
Hello, Today I noticed my mfs on /tmp not mounting properly, because of the order of the entries in fstab. Mfs can't be mounted too early. Is this meant to be or should there be a second stage for this mount, just like nfs mounts which are deferred until after the network is up. I saw it is documented in one line in 'man fstab', that order is important, but not many examples about this. Running 5.2-BETA cvsupped today on P-II 400Mhz (UP), 256 MB, IDE. Ronald. -- Ronald Klop Amsterdam, The Netherlands ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: order in fstab and md/mfs (extra info)
On Mon, 24 Nov 2003 01:02:09 +0100, Ronald Klop ronald_at_echteman_dot_nl wrote: Hello, Today I noticed my mfs on /tmp not mounting properly, because of the order of the entries in fstab. Mfs can't be mounted too early. Is this meant to be or should there be a second stage for this mount, just like nfs mounts which are deferred until after the network is up. I saw it is documented in one line in 'man fstab', that order is important, but not many examples about this. Running 5.2-BETA cvsupped today on P-II 400Mhz (UP), 256 MB, IDE. It still fails with: mfs: mdconfig (attach) exited with error code 1 Mounting /etc/fstab filesystems failed, startup aborted Any hints? Same experiences? Ronald. -- Ronald Klop Amsterdam, The Netherlands ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
irq conflict laptop with 5.1-current
pmtimer0 on isa0 sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 Timecounter TSC frequency 266677156 Hz quality 800 Timecounters tick every 4.000 msec system power profile changed to 'economy' ep0: 3Com Megahertz 589E at port 0x100-0x10f irq 11 function 0 config 1 on pccard0 ep0: Ethernet address 00:50:da:d1:01:25 ad0: FAILURE - SETFEATURES status=51READY,DSC,ERROR error=4ABORTED GEOM: create disk ad0 dp=0xc193c170 ad0: 9590MB FUJITSU MHN2100AT [19485/16/63] at ata0-master BIOSPIO Mounting root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted system power profile changed to 'performance' -0255: *** Error: UtCallocate: Could not allocate size 30 ACPI-1287: *** Error: Method execution failed [\\_SB_.C0D7] (Node 0xc18a6ae0), AE_NO_MEMORY ACPI-1287: *** Error: Method execution failed [\\_GPE._L00] (Node 0xc18ab640), AE_NO_MEMORY ACPI-0388: *** Error: AE_NO_MEMORY while evaluating method [_L00] for GPE[ 0] arp: unknown hardware address format (0x2063) arp: unknown hardware address format (0x) -- Ronald Klop Amsterdam, The Netherlands ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]