Re: MPS driver: force bus rescan after remove SAS cable

2011-04-28 Thread Denny Schierz
hi, Am Mittwoch, den 27.04.2011, 20:23 -0700 schrieb Jeremy Chadwick: I don't mean to sound critical, but why do you guys do this? two answers: 1.) Think of: It could happen, instead of it shouldn't happen :-) 2.) Adding a new JBOD on the fly, without reboot the whole machine, what I've done

Re: correct way to setup gmirror on 7.4?

2011-04-28 Thread Daniel Kalchev
On 28.04.11 01:30, Freddie Cash wrote: gmirror doesn't touch the start of the disk, but saves it's metadata in the last sector of the disk, and creates a new GEOM provider that's one sector shorter. GPT stores it's partition table in the first sector of the disk, and saves a backup copy of it

Re: correct way to setup gmirror on 7.4?

2011-04-28 Thread Edho P Arief
On Thu, Apr 28, 2011 at 4:15 PM, Daniel Kalchev dan...@digsys.bg wrote: On 28.04.11 01:30, Freddie Cash wrote: gmirror doesn't touch the start of the disk, but saves it's metadata in the last sector of the disk, and creates a new GEOM provider that's one sector shorter. GPT stores it's

Re: way for failover zpool (no HAST needed): hastmon

2011-04-28 Thread Denny Schierz
hi, ok, here we go: I've installed hastmon and both FreeBSD nodes and one on Linux Debian as watchdog: Simple setup: # cat /etc.local/hastmon.conf resource sanip { exec /usr/local/_rbg/bin/san-ip friends iscsihead-m iscsihead-s nos on iscsihead-m {

ZFS vs OSX Time Machine

2011-04-28 Thread Daniel O'Connor
Does anyone else use ZFS to store TM backups? I find that whenever my laptop (over wifi!) starts a TM the ZFS machine it's backing up to grinds to a halt.. Other systems streaming stuff over NFS from it also tend to stall.. I presume that TM is doing something which causes ZFS some issues but

Re: correct way to setup gmirror on 7.4?

2011-04-28 Thread Freddie Cash
On Thu, Apr 28, 2011 at 2:20 AM, Edho P Arief edhopr...@gmail.com wrote: On Thu, Apr 28, 2011 at 4:15 PM, Daniel Kalchev dan...@digsys.bg wrote: On 28.04.11 01:30, Freddie Cash wrote: gmirror doesn't touch the start of the disk, but saves it's metadata in the last sector of the disk, and

Re: correct way to setup gmirror on 7.4?

2011-04-28 Thread Edho P Arief
On Thu, Apr 28, 2011 at 9:40 PM, Freddie Cash fjwc...@gmail.com wrote: Granted, there may be reasons why it wasn't done like this in the beginning, but my non-GEOM programmer's eyes can't see any. I believe one of the reason is it would prevent conversion from non-gmirror disk to gmirror one as

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Thomas Ronner
Hi, On 4/28/11 4:03 PM, Daniel O'Connor wrote: Does anyone else use ZFS to store TM backups? I find that whenever my laptop (over wifi!) starts a TM the ZFS machine it's backing up to grinds to a halt.. Other systems streaming stuff over NFS from it also tend to stall.. Are you using zfs

Re: correct way to setup gmirror on 7.4?

2011-04-28 Thread Pete French
Correct. The layering is not, in itself, the issue. The issue is that the loader or kernel or whatever reads the first sector of the disk, finds a GPT so it then looks for the backup GPT in the last physical sector of the disk and doesn't find it. At this point, gmirror is not loaded (or

Re: correct way to setup gmirror on 7.4?

2011-04-28 Thread Michael Proto
On Thu, Apr 28, 2011 at 11:43 AM, Pete French petefre...@ingresso.co.uk wrote: Correct.  The layering is not, in itself, the issue.  The issue is that the loader or kernel or whatever reads the first sector of the disk, finds a GPT so it then looks for the backup GPT in the last physical

Re: correct way to setup gmirror on 7.4?

2011-04-28 Thread Ivan Voras
On 28/04/2011 17:02, Edho P Arief wrote: On Thu, Apr 28, 2011 at 9:40 PM, Freddie Cashfjwc...@gmail.com wrote: Granted, there may be reasons why it wasn't done like this in the beginning, but my non-GEOM programmer's eyes can't see any. I believe one of the reason is it would prevent

Re: correct way to setup gmirror on 7.4?

2011-04-28 Thread Tom Evans
On Thu, Apr 28, 2011 at 4:43 PM, Pete French petefre...@ingresso.co.uk wrote: Is not the problem here that you are trying to GPT label a gmirrored disc ? If you instead gmirror two GPT partitions then the problem goes away doesnt it ? Thats how I set things up - use parititoning on the ohysical

Re: correct way to setup gmirror on 7.4?

2011-04-28 Thread Pete French
Is this simple to do? When I setup my home ZFS server, I couldn't get it to boot from ZFS, so I configured 2 disks as 'boot' discs: Its fairly simple - I generally dont boot from ZFs either, my standard config has a 4 gig UFS boot partition, and then a large zpool on the rest of the drive.

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Malcolm Waltz
I doubt the issues you are encountering have much to do with ZFS. It sounds like you are using TimeMachine over NFS. Obviously, Apple does not support that configuration: http://www.google.com/search?q=time+machine+nfs+site:apple.com In my opinion, TimeMachine should only be used with block

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Adam Vande More
On Thu, Apr 28, 2011 at 10:32 AM, Thomas Ronner tho...@ronner.org wrote: On 4/28/11 4:03 PM, Daniel O'Connor wrote: Does anyone else use ZFS to store TM backups? I find that whenever my laptop (over wifi!) starts a TM the ZFS machine it's backing up to grinds to a halt.. Other systems

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Chuck Swiger
On Apr 28, 2011, at 7:03 AM, Daniel O'Connor wrote: Does anyone else use ZFS to store TM backups? I find that whenever my laptop (over wifi!) starts a TM the ZFS machine it's backing up to grinds to a halt.. Other systems streaming stuff over NFS from it also tend to stall.. I presume

Re: ZFS vs OSX Time Machine

2011-04-28 Thread George Kontostanos
I am using TM over smb on a ZFS Raidz1 pool of my fileserver with no problems whatsoever. NAME USED AVAIL REFER MOUNTPOINT tank/apple 37.2G 82.8G 37.2G /tank/apple Oldest backup 14 December 2009 On Thu, Apr 28, 2011 at 9:25 PM, Chuck Swiger

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Chuck Swiger
On Apr 28, 2011, at 12:17 PM, George Kontostanos wrote: I am using TM over smb on a ZFS Raidz1 pool of my fileserver with no problems whatsoever. NAME USED AVAIL REFER MOUNTPOINT tank/apple 37.2G 82.8G 37.2G /tank/apple Oldest backup 14

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Jeremy Chadwick
On Thu, Apr 28, 2011 at 11:33:22PM +0930, Daniel O'Connor wrote: Does anyone else use ZFS to store TM backups? I find that whenever my laptop (over wifi!) starts a TM the ZFS machine it's backing up to grinds to a halt.. Other systems streaming stuff over NFS from it also tend to stall..

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Malcolm Waltz
AFP is not the same as HFS+. Time Machine will work better with AFP than NFS or SMB/CIFS, but it's still not using native HFS+ unless you are using block storage (even if you use AFP with an HFS+ filesystem). Time Machine cannot function at all without accessing HFS+ directly. If you are

No data received with Intel Corporation Gigabit CT Desktop Adapter (82574L)

2011-04-28 Thread Wiktor Niesiobedzki
Hi, I've installed Intel Gigabit CT Desktop Adapter in my FreeBSD 8.2 box and I can't see any incoming traffic on this card. Even ARP resolution doesn't work. Though I see the outgoing traffic on the other end. Relevant info: kadlubek# uname -a FreeBSD kadlubek 8.2-PRERELEASE FreeBSD

Re: No data received with Intel Corporation Gigabit CT Desktop Adapter (82574L)

2011-04-28 Thread Jack Vogel
Notice this: em0: Using MSIX interrupts with 0 vectors ZERO vectors are not a good sign :) You need to look at your system, you have MSIX disabled or something? Maybe some message in /var/log/messages?? Jack On Thu, Apr 28, 2011 at 1:20 PM, Wiktor Niesiobedzki b...@vink.pl wrote: Hi, I've

[releng_8 tinderbox] failure on arm/arm

2011-04-28 Thread FreeBSD Tinderbox
TB --- 2011-04-28 20:03:30 - tinderbox 2.6 running on freebsd-stable.sentex.ca TB --- 2011-04-28 20:03:30 - starting RELENG_8 tinderbox run for arm/arm TB --- 2011-04-28 20:03:30 - cleaning the object tree TB --- 2011-04-28 20:03:37 - cvsupping the source tree TB --- 2011-04-28 20:03:37 -

Re: No data received with Intel Corporation Gigabit CT Desktop Adapter (82574L)

2011-04-28 Thread Wiktor Niesiobedzki
Hi, I really don't know (I haven't done that intentionally). There is nothing special in /var/log/messages: kadlubek# grep -i msix /var/log/messages Apr 28 21:37:03 kadlubek kernel: em0: Using MSIX interrupts with 0 vectors Though sysctl suggests, that I haven't disabled MSIX: kadlubek# sysctl

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Scott Sipe
On Apr 28, 2011, at 3:56 PM, Jeremy Chadwick wrote: On Thu, Apr 28, 2011 at 11:33:22PM +0930, Daniel O'Connor wrote: Does anyone else use ZFS to store TM backups? I find that whenever my laptop (over wifi!) starts a TM the ZFS machine it's backing up to grinds to a halt.. Other systems

Re: No data received with Intel Corporation Gigabit CT Desktop Adapter (82574L)

2011-04-28 Thread Jack Vogel
Well, rebuild your kernel so the driver is not static, then you can load and unload the driver to see what happens. You only have one interface, no em1? Jack On Thu, Apr 28, 2011 at 2:17 PM, Wiktor Niesiobedzki b...@vink.pl wrote: Hi, I really don't know (I haven't done that

Re: ZFS vs OSX Time Machine

2011-04-28 Thread John Baldwin
On Thursday, April 28, 2011 3:56:01 pm Jeremy Chadwick wrote: On Thu, Apr 28, 2011 at 11:33:22PM +0930, Daniel O'Connor wrote: Does anyone else use ZFS to store TM backups? I find that whenever my laptop (over wifi!) starts a TM the ZFS machine it's backing up to grinds to a halt.. Other

Re: No data received with Intel Corporation Gigabit CT Desktop Adapter (82574L)

2011-04-28 Thread John Baldwin
On Thursday, April 28, 2011 5:17:11 pm Wiktor Niesiobedzki wrote: Hi, I really don't know (I haven't done that intentionally). There is nothing special in /var/log/messages: kadlubek# grep -i msix /var/log/messages Apr 28 21:37:03 kadlubek kernel: em0: Using MSIX interrupts with 0 vectors

Re: No data received with Intel Corporation Gigabit CT Desktop Adapter (82574L)

2011-04-28 Thread Jack Vogel
On Thu, Apr 28, 2011 at 2:28 PM, John Baldwin j...@freebsd.org wrote: On Thursday, April 28, 2011 5:17:11 pm Wiktor Niesiobedzki wrote: Hi, I really don't know (I haven't done that intentionally). There is nothing special in /var/log/messages: kadlubek# grep -i msix /var/log/messages

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Jeremy Chadwick
On Thu, Apr 28, 2011 at 05:27:04PM -0400, John Baldwin wrote: On Thursday, April 28, 2011 3:56:01 pm Jeremy Chadwick wrote: On Thu, Apr 28, 2011 at 11:33:22PM +0930, Daniel O'Connor wrote: Does anyone else use ZFS to store TM backups? I find that whenever my laptop (over wifi!) starts

Re: No data received with Intel Corporation Gigabit CT Desktop Adapter (82574L)

2011-04-28 Thread Wiktor Niesiobedzki
2011/4/28 Jack Vogel jfvo...@gmail.com: On Thu, Apr 28, 2011 at 2:28 PM, John Baldwin j...@freebsd.org wrote: On Thursday, April 28, 2011 5:17:11 pm Wiktor Niesiobedzki wrote: Though they mention that HT MSI windows is disabled. I'm not sure, whether this matters. Yes, that is probably

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Mikael Fridh
On Thu, Apr 28, 2011 at 11:59 PM, Jeremy Chadwick free...@jdc.parodius.com wrote: I've seen cases where entries in /boot/loader.conf throw parser errors during loader(8) when quotes aren't used.  The man page denotes that quotes are required, which doesn't appear to be true?  Possibly the

[releng_8 tinderbox] failure on ia64/ia64

2011-04-28 Thread FreeBSD Tinderbox
TB --- 2011-04-28 21:26:53 - tinderbox 2.6 running on freebsd-stable.sentex.ca TB --- 2011-04-28 21:26:53 - starting RELENG_8 tinderbox run for ia64/ia64 TB --- 2011-04-28 21:26:53 - cleaning the object tree TB --- 2011-04-28 21:27:10 - cvsupping the source tree TB --- 2011-04-28 21:27:10 -

[releng_8 tinderbox] failure on mips/mips

2011-04-28 Thread FreeBSD Tinderbox
TB --- 2011-04-28 22:26:40 - tinderbox 2.6 running on freebsd-stable.sentex.ca TB --- 2011-04-28 22:26:40 - starting RELENG_8 tinderbox run for mips/mips TB --- 2011-04-28 22:26:40 - cleaning the object tree TB --- 2011-04-28 22:26:51 - cvsupping the source tree TB --- 2011-04-28 22:26:51 -

Re: [releng_8 tinderbox] failure on arm/arm

2011-04-28 Thread Jeremy Chadwick
On Thu, Apr 28, 2011 at 09:06:32PM +, FreeBSD Tinderbox wrote: === usr.sbin/usbdump (all) cc -O -pipe -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Daniel O'Connor
On 29/04/2011, at 2:16, Malcolm Waltz wrote: I doubt the issues you are encountering have much to do with ZFS. It sounds like you are using TimeMachine over NFS. Obviously, Apple does not support that configuration: http://www.google.com/search?q=time+machine+nfs+site:apple.com In my

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Daniel O'Connor
On 29/04/2011, at 5:26, Jeremy Chadwick wrote: I have the following ZFS related tunables vfs.zfs.arc_max=3072M vfs.zfs.prefetch_disable=1 vfs.zfs.txg.timeout=5 vfs.zfs.cache_flush_disable=1 Are the last two actually *working* in /boot/loader.conf? Can you verify by looking at them

Re: [releng_8 tinderbox] failure on arm/arm

2011-04-28 Thread Andrew Thompson
On 29 April 2011 11:30, Jeremy Chadwick free...@jdc.parodius.com wrote: On Thu, Apr 28, 2011 at 09:06:32PM +, FreeBSD Tinderbox wrote: === usr.sbin/usbdump (all) cc -O -pipe -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Jeremy Chadwick
On Fri, Apr 29, 2011 at 09:43:47AM +0930, Daniel O'Connor wrote: On 29/04/2011, at 5:26, Jeremy Chadwick wrote: I have the following ZFS related tunables vfs.zfs.arc_max=3072M vfs.zfs.prefetch_disable=1 vfs.zfs.txg.timeout=5 vfs.zfs.cache_flush_disable=1 Are the last two

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Malcolm Waltz
ZFS volumes (zvol s) can definitely be resized using the volsize property: # zfs get volsize mypool/myvol NAMEPROPERTY VALUESOURCE mypool/myvol volsize 2G - # zfs set volsize=4g mypool/myvol Mac OS 10.5 and later allows you to resize Journaled HFS+ volumes (using diskutil

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Malcolm Waltz
On Apr 28, 2011, at 6:08 PM, Jeremy Chadwick wrote: Be aware there are all sorts of caveats/complexities with iSCSI on FreeBSD. There are past threads on -stable and -fs talking about them in great detail. I personally wouldn't go this route. Why can't OS X use CIFS? It has the ability to

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Artem Belevich
On Thu, Apr 28, 2011 at 6:08 PM, Jeremy Chadwick free...@jdc.parodius.com wrote: I will note something, however: your ARC max is set to 3072MB, yet Wired is around 4143MB.  Do you have something running on this box that takes up a lot of RAM?  mysqld, etc..?  I'm trying to account for the extra

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Daniel O'Connor
On 29/04/2011, at 11:43, Artem Belevich wrote: On Thu, Apr 28, 2011 at 6:08 PM, Jeremy Chadwick free...@jdc.parodius.com wrote: I will note something, however: your ARC max is set to 3072MB, yet Wired is around 4143MB. Do you have something running on this box that takes up a lot of RAM?

Re: MPS driver: force bus rescan after remove SAS cable

2011-04-28 Thread Rumen Telbizov
Jeremy: I don't mean to sound critical, but why do you guys do this? The reason I ask: on actual production filers (read: NetApps), you don't go yanking out the FC cable between the HBA and the NA and expect everything to be happy afterwards. Most SAN administrators tend to reboot an

Re: ZFS vs OSX Time Machine

2011-04-28 Thread Daniel O'Connor
On 29/04/2011, at 10:38, Jeremy Chadwick wrote: Could you please provide output from zfs get all poolname? Myself and others would like to review what settings you're using on the filesystem. If it's a separate filesystem (e.g. pool/foobar), please also provide output from zfs get all pool.

Re: panic, but /var/crash ist empty

2011-04-28 Thread Brandon Gooch
On Wed, Apr 27, 2011 at 1:44 PM, Helmut Schneider jumpe...@gmx.de wrote: Hi, running 8.2-RELEASE-p1 within VMWare ESXi 4.1-u1 I want to use raw devices as hard disks. I create the devices using this link: http://www.mattiasholm.com/node/33 I tried 3 different hard drives (Seagate 2x80GB

Re: MPS driver: force bus rescan after remove SAS cable

2011-04-28 Thread Alexander Motin
Rumen Telbizov wrote: Also identify function doesn't work from the OS (no problem via the card BIOS). Don't remember having any luck with sg3_util package either but worth trying again. I don't use SAS myself, but wouldn't the command be inquiry and not identify?