Re: IMPORTANT! Network is unreachable

2008-08-09 Thread Andrew Snow
Usually if there is more than IP in a given subnet on an interface, you give it a /32 netmask. Only the first IP in a subnet should have the full netmask. So your example should look like this: inet 10.11.16.14 netmask 0xff00 broadcast 10.11.16.255 inet 10.11.16.9 netmask 0xfff

Re: IPMI Console: No luck once OS is booted

2008-08-10 Thread Andrew Snow
Larry Rosenman wrote: There is a key release timeout checkbox on the keyboard/mouse settings tab for the KVM that wasn't checked. Checking it fixed it. Sorry for the noise. :( Actually, it worked *ONCE*, and now is not behaving itself. Any ideas from other SuperMicro users? In the IPMI car

Re: Upcoming Releases Schedule...

2008-09-15 Thread Andrew Snow
Jo Rhett wrote: Because frankly we're going to be forced to run our own internal release management process instead. I guess this is not surprising, as this appears to be what every other business using significant amounts of freebsd in production are doing today. I'm afraid you've hit the na

Re: Upcoming Releases Schedule...

2008-09-16 Thread Andrew Snow
Mark Linimon wrote: So, in your opinion, what's the way to reconcile all these demands (features + stability + long-term support of release branches) with a group that is 95%-plus volunteer effort? Its important to me that people keep using FreeBSD. Numbers are important. To that end I'm hap

Re: Upcoming Releases Schedule...

2008-09-17 Thread Andrew Snow
Another thing that I believe would help: Voting on PRs. Currently a maintainer has no idea if a PR is due to one guy's flakey hardware or if 50 people have had the same problem and are waiting for a fix. For each major problem report, there are probably many people who tried FreeBSD on part

Re: UNEXPECTED SOFT UPDATE INCONSISTENCY; RUN fsck MANUALLY

2008-09-29 Thread Andrew Snow
However, as a core general purpose filesystem, it seems to have flaws, not the least of which is a re-separation of file cache and memory cache. For me, this doesn't matter because ZFS is so much faster than UFS overall. Even if you don't use any of its features, the latest version does sequent

Re: UNEXPECTED SOFT UPDATE INCONSISTENCY; RUN fsck MANUALLY

2008-09-29 Thread Andrew Snow
Matthew Dillon wrote: It can take 6 hours to fsck a full 1TB HD. It can take over a day to fsck larger setups. Putting in a few sleeps here and there just makes the run time even longer and perpetuates the pain. We have a box with millions of files spread over 2TB, on a 16 disk RAID.

Re: UNEXPECTED SOFT UPDATE INCONSISTENCY; RUN fsck MANUALLY

2008-09-29 Thread Andrew Snow
Zaphod Beeblebrox wrote: Also, there exists data within the ARC (I'm always tempted to say the ARC Cache, but that is redundant) that is also then in paging memory. OK, but one advantage of ZFS memory consumption is under heavy write loads, where much of the memory is used to store and reorde

Re: UNEXPECTED SOFT UPDATE INCONSISTENCY; RUN fsck MANUALLY

2008-09-29 Thread Andrew Snow
Dan Nelson wrote: That'd be handy, but at least on my system the data prefetcher isn't really called often enough to make a difference either way (assuming the counts are accurate). Metadata prefetch is a big win, however. arcstats.prefetch_data_hits: 4538242 (13%) arcstats.prefetch_data_misse

Re: UNEXPECTED SOFT UPDATE INCONSISTENCY; RUN fsck MANUALLY

2008-09-29 Thread Andrew Snow
Jeremy Chadwick wrote: You're the first person I've encountered who has had to disable the ZIL to get stability in ZFS; ouch, that must hurt. Its not so bad: this machine is doing backups with rsync, sometimes running 50 simultaneously. This workload doesn't contain any need for synchronous

Re: recommended setup for amd64 7-STABLE with ZFS, Samba 3.2 and possibly ACLs?

2008-09-30 Thread Andrew Snow
Holger Kipp wrote: - FreeBSD 7-Stable (amd64 with 8GB RAM) + special tuning necessary (apart from increasing kernel memory to 1 or more GB for ZFS) I haven't had much luck running ZFS under heavy load on 7-stable, I was forced to install 8-current and use the latest patch set posted by p

trying to track down UFS "dup alloc" message on iSCSI

2008-10-02 Thread Andrew Snow
I am playing with an iSCSI device on FreeBSD client running UFS2 on the device over a LAN. Everything works well until I reboot the iSCSI server - the client pauses for a minute or so then continues working after iSCSI server comes back. No I/O errors are reported. Everything seems to work f

Re: zfs quota question

2008-10-07 Thread Andrew Snow
I love ZFS, but I suddenly found out last night that I have lost the ability tto do a 'du' on a directory to work out if it will fit onto a CD or not :-) I have created a shell script, /usr/local/bin/dirsize : #!/bin/sh find $1 -type f -ls | awk '{j += $7} END {print j}' Usage: dirsize __

Re: non-root user can not create zfs filesystem?

2008-10-22 Thread Andrew Snow
lhmwzy wrote: where is the patch? I can't find it in freebsd-fs@ and [EMAIL PROTECTED] http://people.freebsd.org/~pjd/patches/zfs_20080727.patch.bz2 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable T

Re: Short SMART check causes disk op timeouts

2008-10-27 Thread Andrew Snow
IMO, A much better option to run on a weekly basis is to use a RAID controller with "verify" feature (eg. 3ware) or use ZFS "scrub" mode. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubsc

Re: Anyone used rsync scriptology for incremental backup?

2008-10-29 Thread Andrew Snow
I've written a backup system using rsync's ability to generate "diff" files using batch file mode. It works like this: 1. We take a backup of the live system and store that 2. We generate a diff batch file against an older copy 3. We update the older copy to be identical to the current copy

Re: Anyone used rsync scriptology for incremental backup?

2008-10-30 Thread Andrew Snow
Nikolay Denev wrote: Do you experience problems with the snapshots? Last time I tried something similiar for backups the bachine began to spit errors after a few days of snapshots. http://lists.freebsd.org/pipermail/freebsd-fs/2008-February/004413.html Haven't seen that one specifically, but I

Re: (actually ZFS) Re: Will XFS be adopted

2008-11-20 Thread Andrew Snow
Rudy wrote: Speaking of losing data on a ZFS system, I haven't yet (knock on wood) had a disk failure. Anyone have a disk failure occur and have an easy/hard time replacing the bad disk? On a system with AHCI, I can literally yank the SATA disks, zfs keeps working after a pause, and when I r

Re: MFC ZFS: when?

2008-11-24 Thread Andrew Snow
The problem appears to be that the latest ZFS commit in 8-CURRENT relies on too many other new features that aren't in 7.1. After 7.1 is released, then perhaps ZFS and the other new code it requires can be moved into 7-STABLE? - Andrew ___ freebs

Re: lagg(4) and failover

2008-12-09 Thread Andrew Snow
lagg is ultimately a problem as a high-availability solution since most switches do not support multi-switch 802.3ad yet, and most probably never well. So you are limited to a single switch. So 802.3ad is good only for aggregation, and not for high availability. What about using STP or RS

Re: slow zvol performance compared to files on the same pool

2009-01-03 Thread Andrew Snow
Pete French wrote: I was experimenting with iscsi earlier, using both a flat file as the backing store and also a zvol. I noticed that the zvol was giving me dreadful performance - reading at about 20 meg/second and writing at about 12. the fklat file gives about 45 meg/second both ways. i thouh

Re: ZFSv13 in RELENG7

2009-01-12 Thread Andrew Snow
Oliver Fromme wrote: On the other hand, 8-current seems to run quite stable at the moment; I have it running on a workstation for several weeks without problems. What date of CURRENT are you running? I tracked down crashes related to changes in SMBFS, but I am still experiencing almost weekly

Re: ZFSv13 in RELENG7

2009-01-12 Thread Andrew Snow
Ivan Voras wrote: Andrew Snow wrote: Oliver Fromme wrote: On the other hand, 8-current seems to run quite stable at the moment; I have it running on a workstation for several weeks without problems. What date of CURRENT are you running? I tracked down crashes related to changes in SMBFS, but

Re: fsck_y_enable: suboptimal/odd?

2009-01-12 Thread Andrew Snow
Andriy Gapon wrote: To me it seems like fsck_y passes suboptimal flags to fsck, it doesn't have to examine each and every filesystem in fstab. I think think this is because it does a quick check first to see if it can run the fsck in background after boot into multi-user mode. If it cannot,

Re: problems with sata disks (taskqueue timeout)

2009-01-19 Thread Andrew Snow
I think that if you use eSATA you probably need dedicated eSATA controller ports. eSATA standard specifies a higher voltage for the longer cable distances. Judging from the sporadic problem reports, Promise TX4 is probably not the best at signal purity to begin with so using it for eSATA pu

Re: problem with "cold" hardware? [Was: panic in callout_reset: bad link in callwheel]

2009-01-28 Thread Andrew Snow
Andriy Gapon wrote: Previously I heard about problems with hardware running hot, but not with it being "cold". I put the word in quotes, because the system is in a room with normal room temperature. Any guesses what hardware part might be acting up like this? Power supply. Give all the capaci

Re: jail: external and localhost distinction

2009-01-28 Thread Andrew Snow
Dmitry Morozovsky wrote: am I right concluding that under FreeBSD jail there is no way to attach two processes to the same port of external interface address and localhost? I tried to move rather standard two-tier nginx(ip:80)+apache(127.1:80) scheme into a jail and on apache start got In Fr

Re: ZFS performance degradation over time

2010-01-08 Thread Andrew Snow
Ivan Voras wrote: It is true that ZFS in theory doesn't do very well with random writes of any kind - the kind that torrent clients do should actually be the worst case for ZFS, *but*, this very much depends on the actual workload. ZFS has aggressive read-ahead for sequential read-aheads, so

Re: An old gripe: Reading via mmap stinks

2010-01-14 Thread Andrew Snow
Hi Mikhail, I assume these tests were done on UFS. Have you tried ZFS? I'm curious to see the results. - Andrew ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "f

Re: ionice in FreeBSD?

2010-02-02 Thread Andrew Snow
Jordi Espasa Clofent wrote: ¿Is there some ionice(1) equivalent in FreeBSD? No. - Andrew ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr.

Re: hardware for home use large storage

2010-02-08 Thread Andrew Snow
http://www.supermicro.com/products/motherboard/ATOM/ICH9/X7SPA.cfm?typ=H Supermicro just released a new Mini-ITX fanless Atom server board with 6xSATA ports (based on Intel ICH9) and a PCIe 16x slot. It takes up to 4GB of RAM, and there's even a version with KVM-over-LAN for headless operat

Re: Only 70% of theoretical peak performance on FreeBSD 8/amd64, Corei7 920

2010-04-12 Thread Andrew Snow
The statements about the scheduler flipping between cores is also somewhat false, ULE does the right thing now for long-running computational threads. Furthermore, I can't see how a Gflops benchmark which fits in the CPU cache has anything to do with the memory architecture of the operating

Re: Freeze on my laptop.

2010-04-13 Thread Andrew Snow
Demelier David wrote: I'm so sad because FreeBSD is the one which can runs almost perfectly on my laptop. But it freezes. Sometime I just do anything and I want to click on a link in firefox, or open a terminal and then freeze. Sounds like a problem with the X graphics d

Panic in kqueue_close from kern_close

2008-04-19 Thread Andrew Snow
Hello, Can anyone help me try and work out what went wrong here? I am running on 7.0-PRERELEASE on amd64. However, the file kern_event.c hasn't changed anytime since then in 7-STABLE. Fatal trap 12: page fault while in kernel mode cpuid = 2; apic id = 02 fault virtual address = 0x9a050

Re: Dreadful gmirror performance, though each half works fine

2008-04-21 Thread Andrew Snow
Pete French wrote: I did some benchmarking, and "load" gives me a bit better performance than "round-robin" so I've elected to use that. Haven't tried "prefer" as syncing all the drives backwards and forwards to get the preferences set seems a bit too much like hard work! I use this patch for s

Re: Dreadful gmirror performance, though each half works fine

2008-04-22 Thread Andrew Snow
Zaphod Beeblebrox wrote: I use this patch for sbin/geom/class/mirror/geom_mirror.c Change: md.md_priority = i - 1; To: md.md_priority = i - 1 + 100; I hate to ask for the "right" solution, but shouldn't we be patching the gmirror userland to accept a priority argument t

Re: Best-performing disk I/O options for a DBMS server on 7-STABLE

2008-05-07 Thread Andrew Snow
Karl Denninger wrote: I assume SCSI is the best path forward (either SA/SCSI or traditional) but have been out of the loop on the card(s) that work properly for a good long while. I've used several of the new 3ware SATA PCI-express cards: 2, 4 and 16 ports. They always work really well under F

Re: Dreadful gmirror performance - suggested changes to 'prefer'

2008-05-08 Thread Andrew Snow
I havent looked at the code in detail, but I can't see that it would be too difficult. What do people think ? If the first drive is always priority=0, then it is going to be stuck at the highest priority, or under your plan, the lower priority. My original idea OTOH (starting the counting at

Re: thread scheduling at mutex unlock

2008-05-15 Thread Andrew Snow
But I think that it is not "fair" that at re-lock former owner gets the lock immediately and the thread that waited on it for longer time doesn't get a chance. I believe this is what yield() is for. Before attempting a re-lock you should call yield() to allow other threads a chance to run. (

Re: Bad TCP performance with large MTU on 7-stable.

2008-05-29 Thread Andrew Snow
Arnaud Houdelette wrote: I also tried with tso disabled. Same results. Is it related to the re(4) driver ? Or to the TCP stack ? Having used em driver with 7-RELEASE and 7-STABLE, I can assure you that large MTU size (9100) works well and gives 100mb/s transfer rates easily. So I can only co

Re: powerd is doing nothing?

2008-06-04 Thread Andrew Snow
The problem is not powerd but cpufreq. While cpufreq appears to work well on my Athlon X2, it has never worked on any of my Core2Duo or Core-based Xeon servers. This is a great shame as these newer Intel chips have the capability to clock up and down very quickly and seamlessly. Who can f

cpufreq broken on core2duo (was: powerd is doing nothing?)

2008-06-04 Thread Andrew Snow
Evren Yurtesen wrote: When you say that it doesnt work, does it give an error or? In my case it doesnt give any errors just says it set it but I see that nothing is set. Here's one box: CPU: Intel(R) Core(TM)2 Duo CPU E8500 @ 3.16GHz cpu0: on acpi0 est0: on cpu0 est: CPU supports Enhance

Re: console access

2008-06-08 Thread Andrew Snow
Andy Kosela wrote: Then you can even remotely mount iso images from your laptop at home directly on the server (very handy sometimes). Incidentally, when I tried to use a Supermicro IPMI card for networked remote media, FreeBSD boot loader crashed the machine (video went haywire and it didnt

Re: console access

2008-06-08 Thread Andrew Snow
Jeremy Chadwick wrote: Supermicro IPMI cards are notoriously buggy. A few of the system engineers at Yahoo! who I know continually bitch and moan about how horrible they are. My advice: do not install the IPMI card which is causing your problems. The remote KVM control feature was an importan

Re: console access

2008-06-08 Thread Andrew Snow
Jeremy Chadwick wrote: Okay, so then your original comment ("The same thing happened when trying to use a USB CDROM drive, so I suspect USB boot support is at fault somehow") might actually not be caused by FreeBSD at all? The reason I say that: OK, good point. I didn't try any other OS, I ju

Re: 6.3-RELEASE versus 5.2-RELEASE

2008-06-09 Thread Andrew Snow
Joe Kelsey wrote: The entire problem comes down to the definition of -RELEASE. Jo apparantly feels that they can ONLY run -RELEASE branded code at their workplace. That means that they cannot run any form of -STABLE. Interesting, and unfortunate. Empirically, I always felt that the -STAB

Re: BIND update?

2008-07-10 Thread Andrew Snow
Xin LI wrote: Speaking as my own: Base system needs more conservative QA process, e.g. ... rushing into a "presumably patched" state would not be a very good solution. I second this opinion. When there is hype all over the net about a new vulnerability, it is too easy to allow ill-considere

Re: taskqueue timeout

2008-07-15 Thread Andrew Snow
Matthew Dillon wrote: Try that first. If it helps then it is a known issue. Basically a combination of the on-disk write cache and possible ECC corrections, remappings, or excessive remapped sectors can cause the drive to take much longer then normal to complete a request. The

Re: Multi-machine mirroring choices

2008-07-16 Thread Andrew Snow
We have deployed an IMAP server running on Cyrus on FreeBSD 6.2, with a 500GB UFS2 partition mirrored with geom_mirror and geom_gate across a dedicated 1gbps link. It has proven to be very stable and reliable after appropriate tweaking. The uptime of the mirror is usually 1-3 months, someti

Re: Stable SATA pci card for FreeBSD 6.x/7.0

2008-08-05 Thread Andrew Snow
I heartily recommend 3ware controllers for FreeBSD 6/7, even if you only need 2 ports. - Andrew ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: gmirror does not initialize properally

2009-03-01 Thread Andrew Snow
Perhaps you used "gmirror configure" instead of "gmirror label" when you created the gmirror? You need to use "label" mode to actually save the configuration to disks for use on next bootup. - Andrew ___ freebsd-stable@freebsd.org mailing list h

Re: gmirror does not initialize properally

2009-03-01 Thread Andrew Snow
Sorry, I meant "label -h" instead of just plain "label"... was getting confused with gstripe. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubsc

Re: Performance with hundreds of nullfs mounts?

2009-03-10 Thread Andrew Snow
Ivan Voras wrote: I seem to remember hearing an anecdote somewhere that using hundreds (or thousands?) nullfs mounts for jails results in unreasonably bad file system access performance. Does somebody have this kind of setup / is it true? I'm using about several readonly nullfs mounts per jail:

Re: Installing FreeBSD from USB flash drive - some experiments

2009-03-10 Thread Andrew Snow
Here's the steps I use to create a 1GB USB image: # dd if=/dev/zero of=bootable.image bs=1m count=1 oseek=1000 conv=sparse # mdconfig -a -t vnode -f bootable.image -u 0 # newfs -m 0 -o space -n /dev/md0 # mount /dev/md0 /mnt # cd /usr/src # make installworld DESTDIR=/mnt # make distribution DES

Re: dump | restore fails: unknown tape header type 1853384566

2009-03-24 Thread Andrew Snow
Mikhail T. wrote: dump 0aCf 64 /ibm/ibmo.0.2009-03-24.dump /old DUMP: WARNING: should use -L when dumping live read-write filesystems! I thought you said it was a read-only filesystem? In my experience, restore can sometimes throw warnings if you dump a live filesystem. It might be

Re: dump | restore fails: unknown tape header type 1853384566

2009-03-24 Thread Andrew Snow
Mikhail T. wrote: > Now can one get /real/ support for the most basic functionality of the > most advanced modern Unix in the world? Thanks, I think before this goes any further, you will need to try rebooting/unmouting it, running fsck on it, and then dump the unmounted partition and see how that

Re: backup strategy (Re: dump | restore fails)

2009-03-26 Thread Andrew Snow
Mikhail T. wrote: > To qualify for your (and your kind's) recognition then, a person > needs to have at least as much extra storage capacity as the > largest filesystem they are backing up. They also need > non-trivial scripting abilities, because the OS doesn't > include anything like what you ar

Re: experiences with Supermicro Twin servers? (6016TT / 6026TT / 6015TW)

2009-04-30 Thread Andrew Snow
Miroslav Lachman wrote: are there somebody with some experiences (bad or good) with Supermicro Twin servers? Mainly with 2U model 6026TT-TF or 1U model 6016TT-TF build on top of Intel 5520 Tylersburg (or any other?) They lack PS2 ports so you need USB keyboard to work properly. When I tried

Re: File system corruption

2009-05-13 Thread Andrew Snow
Pat Wendorf wrote: I spoke too soon I guess: A buddy of mine at the hosting provider took down the box and did a fsck -y on the var partition, this seems to have cleaned it up. It looks like the regular fsck -p could not repair it. You may like to put fsck_y_enable="YES" in your /etc/rc.conf,

Re: ZFS: drive replacement performance

2009-07-07 Thread Andrew Snow
Mahlon E. Smith wrote: Strangely, the ETA is jumping all over the place, from 50 hours to 2000+ hours. Never seen the percent complete over 0.01% done, but then it goes back to 0.00%. Are you taking snapshots from crontab? Older versions of the ZFS code re-started scrubbing whenever a snaps

Re: ZFS - thanks

2009-07-09 Thread Andrew Snow
Patrick M. Hausen wrote: You cannot escape the poor write performance of RAID 5 and comparable setups with or without hardware. No matter how much you cache, one time a block must be written to disk. ZFS RAIDZ works differently: It is based on variable-sized blocks written to the disks based

Re: Cannot rm files when ZFS is full

2009-07-29 Thread Andrew Snow
The performance of ZFS is quite bad when the volume is nearly full anyway. I would recommend creating a parent filesystem with a space limit of 90% of the pool size, and then creating your other filesystems under that. ___ freebsd-stable@freebsd

Re: gconcat file system damage

2009-09-10 Thread Andrew Snow
How did you expand the filesystem onto the new volume? UFS2 expansion is not supported. I originally created the concatted disk in two steps. First I created the concat on my new mirrored disks and copied the files from my existing mirror in there. Second I appended the existing mirror to

Re: How to enable CPU turbo mode on FreeBSD?

2009-09-10 Thread Andrew Snow
Pierre-Luc Drouin wrote: I have an overclocked i7 920 CPU for which I have enabled Turbo Mode in the BIOS (21x multiplier). The base clock is set at 190 MHz, so the CPU frequency with Turbo mode activated should be 3990 MHz. However the maximum value FreeBSD amd64 shows for the CPU frequency i

Re: gconcat file system damage

2009-09-10 Thread Andrew Snow
Peter C. Lai wrote: What is the status of growfs(8) then? As far as I can tell, it doesn't work reliably with UFS2 partitions, and it doesn't work at all with large partitions. People who do try to use it, can end up with corrupted filesystems... and the code is currently unmaintained. -