From owner-freebsd-fs@FreeBSD.ORG Mon Jul 30 11:08:17 2007 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D672916A477 for ; Mon, 30 Jul 2007 11:08:17 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C5B4413C46B for ; Mon, 30 Jul 2007 11:08:17 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l6UB8Hlq040592 for ; Mon, 30 Jul 2007 11:08:17 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l6UB8Gua040588 for freebsd-fs@FreeBSD.org; Mon, 30 Jul 2007 11:08:16 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 30 Jul 2007 11:08:16 GMT Message-Id: <200707301108.l6UB8Gua040588@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-fs@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jul 2007 11:08:17 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/112658 fs [smbfs] [patch] smbfs and caching problems (resolves b o kern/114676 fs [ufs] snapshot creation panics: snapacct_ufs2: bad blo o kern/114856 fs [ntfs] [patch] Bug in NTFS allows bogus file modes. 3 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/114847 fs [ntfs] [patch] dirmask support for NTFS ala MSDOSFS 1 problem total. From owner-freebsd-fs@FreeBSD.ORG Tue Jul 31 03:57:41 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F9E016A468 for ; Tue, 31 Jul 2007 03:57:41 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from ns.trinitel.com (186.161.36.72.static.reverse.layeredtech.com [72.36.161.186]) by mx1.freebsd.org (Postfix) with ESMTP id E848613C45A for ; Tue, 31 Jul 2007 03:57:40 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from proton.local (r74-193-81-203.pfvlcmta01.grtntx.tl.dh.suddenlink.net [74.193.81.203]) (authenticated bits=0) by ns.trinitel.com (8.14.1/8.14.1) with ESMTP id l6V3veGv062031 for ; Mon, 30 Jul 2007 22:57:40 -0500 (CDT) (envelope-from anderson@freebsd.org) Message-ID: <46AEB32E.6050902@freebsd.org> Date: Mon, 30 Jul 2007 22:57:34 -0500 From: Eric Anderson User-Agent: Thunderbird 2.0.0.5 (Macintosh/20070716) MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: multipart/mixed; boundary="------------090105070400010401040607" X-Spam-Status: No, score=1.2 required=5.0 tests=SUBJ_ALL_CAPS autolearn=no version=3.1.8 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on ns.trinitel.com Subject: HPFS? [PATCH] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jul 2007 03:57:41 -0000 This is a multi-part message in MIME format. --------------090105070400010401040607 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, Should we make hpfs actually compile, and add it back to the build? Or, optionally, remove it from the tree? I've attached a patch that makes it compile, adds it to the build, updates the man page, etc. The modules compiles and loads, and seems ok, but I have no hpfs file system to test it against. Can someone test HPFS against a real file system, or at least validate this patch actually works for them too? It probably needs other work too. Eric --------------090105070400010401040607 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="hpfs.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="hpfs.patch" Index: sbin/Makefile =================================================================== RCS file: /alt/ncvs/src/sbin/Makefile,v retrieving revision 1.167 diff -u -r1.167 Makefile --- sbin/Makefile 25 Jun 2007 05:06:53 -0000 1.167 +++ sbin/Makefile 13 Jul 2007 02:30:40 -0000 @@ -54,6 +54,7 @@ mksnap_ffs \ mount \ mount_cd9660 \ + mount_hpfs \ mount_msdosfs \ mount_nfs \ mount_ntfs \ Index: sbin/mount_hpfs/Makefile =================================================================== RCS file: /alt/ncvs/src/sbin/mount_hpfs/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- sbin/mount_hpfs/Makefile 23 Feb 2004 20:13:53 -0000 1.6 +++ sbin/mount_hpfs/Makefile 13 Jul 2007 02:54:32 -0000 @@ -5,10 +5,12 @@ PROG= mount_hpfs SRCS= mount_hpfs.c getmntopts.c MAN= mount_hpfs.8 +DPADD= ${LIBKICONV} +LDADD= -lkiconv MOUNT= ${.CURDIR}/../mount -CFLAGS+=-I${MOUNT} -DHPFS -WARNS?= 0 +CFLAGS+=-I${MOUNT} -I${.CURDIR}/../../ -DHPFS +WARNS?= 6 .PATH: ${MOUNT} Index: sbin/mount_hpfs/mount_hpfs.8 =================================================================== RCS file: /alt/ncvs/src/sbin/mount_hpfs/mount_hpfs.8,v retrieving revision 1.11 diff -u -r1.11 mount_hpfs.8 --- sbin/mount_hpfs/mount_hpfs.8 27 Dec 2002 12:15:32 -0000 1.11 +++ sbin/mount_hpfs/mount_hpfs.8 13 Jul 2007 02:30:01 -0000 @@ -76,9 +76,9 @@ in the file system. .El .Sh EXAMPLES -To mount an hpfs volume located in /dev/wd1s1: +To mount an hpfs volume located in /dev/ad1s1: .Bd -literal -offset indent -# mount_hpfs /dev/wd1s1 /mnt +# mount_hpfs /dev/ad1s1 /mnt .Ed .Sh WRITING There is limited writing ability and it is not well-tested. Index: sbin/mount_hpfs/mount_hpfs.c =================================================================== RCS file: /alt/ncvs/src/sbin/mount_hpfs/mount_hpfs.c,v retrieving revision 1.6 diff -u -r1.6 mount_hpfs.c --- sbin/mount_hpfs/mount_hpfs.c 10 Jun 2005 09:51:41 -0000 1.6 +++ sbin/mount_hpfs/mount_hpfs.c 13 Jul 2007 02:54:50 -0000 @@ -35,7 +35,7 @@ #include #include #include -#include +#include #include #include #include Index: sys/modules/Makefile =================================================================== RCS file: /alt/ncvs/src/sys/modules/Makefile,v retrieving revision 1.535 diff -u -r1.535 Makefile --- sys/modules/Makefile 30 Jun 2007 04:35:34 -0000 1.535 +++ sys/modules/Makefile 13 Jul 2007 02:31:24 -0000 @@ -93,6 +93,7 @@ ${_hfa} \ hifn \ hme \ + hpfs \ ${_hptiop} \ ${_hptmv} \ hwpmc \ --------------090105070400010401040607-- From owner-freebsd-fs@FreeBSD.ORG Tue Jul 31 07:42:08 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF97216A417 for ; Tue, 31 Jul 2007 07:42:08 +0000 (UTC) (envelope-from perlcat@alltel.net) Received: from ispmxmta06-srv.windstream.net (ispmxmta06-srv.windstream.net [166.102.165.167]) by mx1.freebsd.org (Postfix) with ESMTP id 8E4EE13C442 for ; Tue, 31 Jul 2007 07:42:08 +0000 (UTC) (envelope-from perlcat@alltel.net) Received: from webmail-relay.alltel.net ([10.135.32.13]) by ispmxmta05-srv.windstream.net with SMTP id <20070731072344.PHJV19750.ispmxmta05-srv.windstream.net@webmail-relay.alltel.net> for ; Tue, 31 Jul 2007 02:23:44 -0500 X-Mailer: Openwave WebEngine, version 2.8.19 (webedge20-101-1110-20050615) X-Originating-IP: [67.141.103.208] From: To: Date: Tue, 31 Jul 2007 2:23:44 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20070731072344.PHJV19750.ispmxmta05-srv.windstream.net@webmail-relay.alltel.net> Subject: re: mount -o large option X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jul 2007 07:42:09 -0000 I see that the options MSDOSFS_LARGE has been removed from the kernel in favor of using the '-o large' option in "kern/105964: [msdosfs] Make MSDOSFS_LARGE a mount option" I csup'ed the latest source as of 11:00 PM 07/30/07 CDT, using src-all, did a make buildworld and recompiled my kernel, and I still cannot get my ~300GB partition to mount. When I do: snideley# mount -t msdos /dev/ad1s1 /mnt/dos mount_msdosfs: /dev/ad1s1: Invalid argument which gets me the line in dmesg: Disk too big, try '-o large' mount option and when I try snideley# mount -t msdos -o large /dev/ad1s1 /mnt/dos I get mount_msdosfs: -o large: option not supported Here's the drives that were in dmesg: ad0: 76319MB at ata0-master UDMA100 ad1: 305245MB at ata0-slave UDMA100 acd0: DVDR at ata1-master UDMA66 Trying to mount root from ufs:/dev/ad0s1a What should I do? Did something not get updated, and I need to manually patch it? I see all of the changes in the files in http://docs.FreeBSD.org/cgi/mid.cgi?200707081530.l68FUT6U014931 made it into my system. Thanks! Tyson Tyson From owner-freebsd-fs@FreeBSD.ORG Tue Jul 31 13:26:43 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B77716A417; Tue, 31 Jul 2007 13:26:42 +0000 (UTC) (envelope-from sergey.listopad@digma.ua) Received: from shop.digma.com.ua (shop.digma.com.ua [217.12.194.3]) by mx1.freebsd.org (Postfix) with ESMTP id 6543913C4CB; Tue, 31 Jul 2007 13:26:42 +0000 (UTC) (envelope-from sergey.listopad@digma.ua) Message-ID: <46AF310D.4020805@digma.ua> Date: Tue, 31 Jul 2007 15:54:37 +0300 From: Sergey Listopad User-Agent: Thunderbird 2.0.0.0 (X11/20070430) MIME-Version: 1.0 To: Eric Anderson References: <2c84c1de0707060800t21f3f993mfb53f7975a881ed4@mail.gmail.com> <1184090521301-git-send-email-jaharkes@cs.cmu.edu> <20070711223527.S97304@fledge.watson.org> <20070711223517.GH5824@delft.aura.cs.cmu.edu> <4695989B.7020200@freebsd.org> In-Reply-To: <4695989B.7020200@freebsd.org> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms040108040909050303060809" X-Scan-Host: hole.digma.ua X-Scan-Sign: c5be6637caaba9a9353cfea6af943574 Cc: freebsd-fs@freebsd.org Subject: Re: [PATCH Coda 0/5] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jul 2007 13:26:43 -0000 This is a cryptographically signed message in MIME format. --------------ms040108040909050303060809 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Eric Anderson wrote: > On 07/11/07 17:35, Jan Harkes wrote: >> On Wed, Jul 11, 2007 at 10:36:10PM +0100, Robert Watson wrote: >>> On Tue, 10 Jul 2007, Jan Harkes wrote: >>>> Here is my current patch series. >>> I've now committed these five patches to the CVS HEAD. Let me know >>> if there are any further patches that need committing, and if it's >>> appropriate to merge these to the RELENG_6 branch after a suitable >>> delay (a couple of weeks?). >> >> Thank you. I'm pretty sure not all of these changes are appropriate for >> RELENG_6. Once I make sure current is in shape I'll start looking at a >> possible backmerge. >> >>>> (only one minor conflict). I am still in the middle of make >>>> buildworld and >> >> Buildworld is actually still running. There was a problem that caused >> the build to fail during "stage 4.3 make dependencies". It took me a >> couple of tries before I figured out that it was because the clock in >> the qemu VM was somehow set to the middle of May 2007. >> >> As a result the dependencies in usr/gnu/usr.bin/cc/cc_tools triggered a >> rebuild of a header file which caused a rebuild of the C compiler (which >> went fine during the earlier bootstrap). The build failure was then >> caused by the fact that the generated binaries were linked against the >> new libc and as such were expecting FBSD_1.0 symbol and failed to run >> with the installed libc, which doesn't have symbol versions. >> >> The real bug was the incorrect system time, which triggered a rebuild >> of some critical binaries when it was supposed to just recalculate >> dependencies. > > > I've done the patches and buildworld/kernel, and have loaded the kernel > module. All seems well. Now I need to get the latest client running, > and begin some tests. Do you have any notes on the client, since the > port is essentially defunct? What's my fastest path to a working client? > What branch are you using? > Eric --------------ms040108040909050303060809 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJgjCC BL0wggOloAMCAQICARgwDQYJKoZIhvcNAQEEBQAwgZAxCzAJBgNVBAYTAlVBMRAwDgYDVQQI EwdLaGFya292MRAwDgYDVQQHEwdLaGFya292MRQwEgYDVQQKEwtEaWdtYSBjb3JwLjEQMA4G A1UECxMHSVQgZGVwLjEXMBUGA1UEAxMORGlnbWEgY29ycC4gQ0ExHDAaBgkqhkiG9w0BCQEW DWNlcnRAZGlnbWEudWEwHhcNMDYwOTIwMTExNjE1WhcNMDcwOTIwMTExNjE1WjCBijELMAkG A1UEBhMCVUExEDAOBgNVBAgTB0toYXJrb3YxFDASBgNVBAoTC0RpZ21hIGNvcnAuMRAwDgYD VQQLEwdJVCBkZXAuMRgwFgYDVQQDEw9TZXJnZXkgTGlzdG9wYWQxJzAlBgkqhkiG9w0BCQEW GHNlcmdleS5saXN0b3BhZEBkaWdtYS51YTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC ggEBAK0hzRPOKNDEScfUlYb0gOput7Sg3BxDESl2oJKmhYf/wmG7flP2pxOT1ua5BLD5Vziq o9Et5ofi+jt4EgIRZrRKkr3uhw45LrQkUNdNyXiZugtYbp7Fqw6mbvG62X7l6FTR60MrudT7 a5MUGuBlDirP8GWVR+zTAjfFciRaf+Knv9NUFGfjgn76aBRsjvIGsqzslXxLFyfkJCflLwnN jm0c6CEShiVVwtMfCkIY4mC0l2wGyid02325tCnIzfai8yqipbDc3HO1zptjnbnvPubI2jnc FrpJ1ifBhL0FPALpexm9eF+h25OAAF/gf70ZE1bvYsz8/jyBGfCzyngyM2kCAwEAAaOCASQw ggEgMAkGA1UdEwQCMAAwLAYJYIZIAYb4QgENBB8WHU9wZW5TU0wgR2VuZXJhdGVkIENlcnRp ZmljYXRlMB0GA1UdDgQWBBTCny95X9jp0eQv5RJn7ZlrKa/2ezCBxQYDVR0jBIG9MIG6gBQ1 aUAonEI4d1pZqDUUfSORcsFq7qGBlqSBkzCBkDELMAkGA1UEBhMCVUExEDAOBgNVBAgTB0to YXJrb3YxEDAOBgNVBAcTB0toYXJrb3YxFDASBgNVBAoTC0RpZ21hIGNvcnAuMRAwDgYDVQQL EwdJVCBkZXAuMRcwFQYDVQQDEw5EaWdtYSBjb3JwLiBDQTEcMBoGCSqGSIb3DQEJARYNY2Vy dEBkaWdtYS51YYIJAOyMILEB61i/MA0GCSqGSIb3DQEBBAUAA4IBAQC0egJ5YXXaRlPN5Rmk M9fTXypTZzH3mqWr31h+IECgqLKihq2wa6JxG3jY/5mj8uGB0jTAJqW+sTqFGwe7ITjKGw+m WuPJKsxOf+6BYuC7hM06uryAZXhnB1YYefi6gYKIdzwTAyvp3vuxNt2BjiXS2sYaiWuxQqZF 9aeCyCzpPsgzPuI7agKm0gSOvs1y9uH6r6hQ8cVkCP7XRQ9/3SQTRofFms6r887blfF7wiN/ AkhAT4NwPfyRoEIZNDG6epw+VpM5Du3bIX/cC0AvOGmzucls9C0uufbP6E0RZUYN1v3LJT3m 8eGwWFyiKiqYlQs4F/YNniT7HMIMj/j1JOKvMIIEvTCCA6WgAwIBAgIBGDANBgkqhkiG9w0B AQQFADCBkDELMAkGA1UEBhMCVUExEDAOBgNVBAgTB0toYXJrb3YxEDAOBgNVBAcTB0toYXJr b3YxFDASBgNVBAoTC0RpZ21hIGNvcnAuMRAwDgYDVQQLEwdJVCBkZXAuMRcwFQYDVQQDEw5E aWdtYSBjb3JwLiBDQTEcMBoGCSqGSIb3DQEJARYNY2VydEBkaWdtYS51YTAeFw0wNjA5MjAx MTE2MTVaFw0wNzA5MjAxMTE2MTVaMIGKMQswCQYDVQQGEwJVQTEQMA4GA1UECBMHS2hhcmtv djEUMBIGA1UEChMLRGlnbWEgY29ycC4xEDAOBgNVBAsTB0lUIGRlcC4xGDAWBgNVBAMTD1Nl cmdleSBMaXN0b3BhZDEnMCUGCSqGSIb3DQEJARYYc2VyZ2V5Lmxpc3RvcGFkQGRpZ21hLnVh MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArSHNE84o0MRJx9SVhvSA6m63tKDc HEMRKXagkqaFh//CYbt+U/anE5PW5rkEsPlXOKqj0S3mh+L6O3gSAhFmtEqSve6HDjkutCRQ 103JeJm6C1hunsWrDqZu8brZfuXoVNHrQyu51PtrkxQa4GUOKs/wZZVH7NMCN8VyJFp/4qe/ 01QUZ+OCfvpoFGyO8gayrOyVfEsXJ+QkJ+UvCc2ObRzoIRKGJVXC0x8KQhjiYLSXbAbKJ3Tb fbm0KcjN9qLzKqKlsNzcc7XOm2Odue8+5sjaOdwWuknWJ8GEvQU8Aul7Gb14X6Hbk4AAX+B/ vRkTVu9izPz+PIEZ8LPKeDIzaQIDAQABo4IBJDCCASAwCQYDVR0TBAIwADAsBglghkgBhvhC AQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFMKfL3lf2OnR 5C/lEmftmWspr/Z7MIHFBgNVHSMEgb0wgbqAFDVpQCicQjh3WlmoNRR9I5FywWruoYGWpIGT MIGQMQswCQYDVQQGEwJVQTEQMA4GA1UECBMHS2hhcmtvdjEQMA4GA1UEBxMHS2hhcmtvdjEU MBIGA1UEChMLRGlnbWEgY29ycC4xEDAOBgNVBAsTB0lUIGRlcC4xFzAVBgNVBAMTDkRpZ21h IGNvcnAuIENBMRwwGgYJKoZIhvcNAQkBFg1jZXJ0QGRpZ21hLnVhggkA7IwgsQHrWL8wDQYJ KoZIhvcNAQEEBQADggEBALR6AnlhddpGU83lGaQz19NfKlNnMfeapavfWH4gQKCosqKGrbBr onEbeNj/maPy4YHSNMAmpb6xOoUbB7shOMobD6Za48kqzE5/7oFi4LuEzTq6vIBleGcHVhh5 +LqBgoh3PBMDK+ne+7E23YGOJdLaxhqJa7FCpkX1p4LILOk+yDM+4jtqAqbSBI6+zXL24fqv qFDxxWQI/tdFD3/dJBNGh8WazqvzztuV8XvCI38CSEBPg3A9/JGgQhk0Mbp6nD5WkzkO7dsh f9wLQC84abO5yWz0LS659s/oTRFlRg3W/cslPebx4bBYXKIqKpiVCzgX9g2eJPscwgyP+PUk 4q8xggPJMIIDxQIBATCBljCBkDELMAkGA1UEBhMCVUExEDAOBgNVBAgTB0toYXJrb3YxEDAO BgNVBAcTB0toYXJrb3YxFDASBgNVBAoTC0RpZ21hIGNvcnAuMRAwDgYDVQQLEwdJVCBkZXAu MRcwFQYDVQQDEw5EaWdtYSBjb3JwLiBDQTEcMBoGCSqGSIb3DQEJARYNY2VydEBkaWdtYS51 YQIBGDAJBgUrDgMCGgUAoIICBzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3 DQEJBTEPFw0wNzA3MzExMjU0MzdaMCMGCSqGSIb3DQEJBDEWBBSWraMtych+PCKg5hl5dlJR HiW36DBSBgkqhkiG9w0BCQ8xRTBDMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggq hkiG9w0DAgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBpwYJKwYBBAGCNxAEMYGZMIGW MIGQMQswCQYDVQQGEwJVQTEQMA4GA1UECBMHS2hhcmtvdjEQMA4GA1UEBxMHS2hhcmtvdjEU MBIGA1UEChMLRGlnbWEgY29ycC4xEDAOBgNVBAsTB0lUIGRlcC4xFzAVBgNVBAMTDkRpZ21h IGNvcnAuIENBMRwwGgYJKoZIhvcNAQkBFg1jZXJ0QGRpZ21hLnVhAgEYMIGpBgsqhkiG9w0B CRACCzGBmaCBljCBkDELMAkGA1UEBhMCVUExEDAOBgNVBAgTB0toYXJrb3YxEDAOBgNVBAcT B0toYXJrb3YxFDASBgNVBAoTC0RpZ21hIGNvcnAuMRAwDgYDVQQLEwdJVCBkZXAuMRcwFQYD VQQDEw5EaWdtYSBjb3JwLiBDQTEcMBoGCSqGSIb3DQEJARYNY2VydEBkaWdtYS51YQIBGDAN BgkqhkiG9w0BAQEFAASCAQBvJXSRVxwxBsRtzfAnBnbDQjKVSfR5ci0GPn+gyt/5oYl/sN4/ 6RDbLygdYfmxdGAAQgwO0auNLdCVY/LcEGKCEZfNsCULwbcz+0t9loLHkrF5wRYnlgyuVyLr FziIuKHcaSCRSOjGPSmhquZBvJlWmutDvohhYlqA6+znArExUL9f6UMVLzmRfWLYcARmzS5p Ot4kcz5ngX8M4YxceqkOe1Icl+3Sf6S2F4ND4T+CaHq1JsHjgIkGLuy+4DMyfK0y0M0BPd2k AXESRv7mk1Md+cNaPkkdXIDMU8KN8iFB086j35Ec8hoM1HcaFR8DzeuZQiIcaD3iI/m17IA8 bFlkAAAAAAAA --------------ms040108040909050303060809-- From owner-freebsd-fs@FreeBSD.ORG Wed Aug 1 05:16:36 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFA2216AD8D for ; Wed, 1 Aug 2007 05:16:36 +0000 (UTC) (envelope-from rodrigc@c-71-192-57-29.hsd1.ma.comcast.net) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.200.82]) by mx1.freebsd.org (Postfix) with ESMTP id 77EDB13C468 for ; Wed, 1 Aug 2007 05:16:36 +0000 (UTC) (envelope-from rodrigc@c-71-192-57-29.hsd1.ma.comcast.net) Received: from c-71-192-57-29.hsd1.ma.comcast.net ([71.192.57.29]) by comcast.net (sccrmhc12) with ESMTP id <2007080105033301200mooive>; Wed, 1 Aug 2007 05:03:34 +0000 Received: from c-71-192-57-29.hsd1.ma.comcast.net (localhost.crodrigues.org [127.0.0.1]) by c-71-192-57-29.hsd1.ma.comcast.net (8.14.1/8.14.1) with ESMTP id l7153fVw048935; Wed, 1 Aug 2007 01:03:41 -0400 (EDT) (envelope-from rodrigc@c-71-192-57-29.hsd1.ma.comcast.net) Received: (from rodrigc@localhost) by c-71-192-57-29.hsd1.ma.comcast.net (8.14.1/8.14.1/Submit) id l7153fol048934; Wed, 1 Aug 2007 01:03:41 -0400 (EDT) (envelope-from rodrigc) Date: Wed, 1 Aug 2007 01:03:41 -0400 From: Craig Rodrigues To: Eric Anderson Message-ID: <20070801050341.GA48833@crodrigues.org> References: <46AEB32E.6050902@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46AEB32E.6050902@freebsd.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-fs@freebsd.org Subject: Re: HPFS? [PATCH] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2007 05:16:36 -0000 On Mon, Jul 30, 2007 at 10:57:34PM -0500, Eric Anderson wrote: > Can someone test HPFS against a real file system, or at least validate > this patch actually works for them too? It probably needs other work too. Why don't you try to find an HPFS disk image from an OS/2 user somewhere, or maybe the people who wrote the HPFS driver for Linux? That would allow you to test your patches further. -- Craig Rodrigues rodrigc@crodrigues.org From owner-freebsd-fs@FreeBSD.ORG Wed Aug 1 05:16:57 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D91516A473 for ; Wed, 1 Aug 2007 05:16:57 +0000 (UTC) (envelope-from rodrigc@c-71-192-57-29.hsd1.ma.comcast.net) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.192.81]) by mx1.freebsd.org (Postfix) with ESMTP id 25C9213C46A for ; Wed, 1 Aug 2007 05:16:57 +0000 (UTC) (envelope-from rodrigc@c-71-192-57-29.hsd1.ma.comcast.net) Received: from c-71-192-57-29.hsd1.ma.comcast.net ([71.192.57.29]) by comcast.net (rwcrmhc11) with ESMTP id <20070801050245m1100lo2ane>; Wed, 1 Aug 2007 05:02:46 +0000 Received: from c-71-192-57-29.hsd1.ma.comcast.net (localhost.crodrigues.org [127.0.0.1]) by c-71-192-57-29.hsd1.ma.comcast.net (8.14.1/8.14.1) with ESMTP id l7152qDg048930; Wed, 1 Aug 2007 01:02:52 -0400 (EDT) (envelope-from rodrigc@c-71-192-57-29.hsd1.ma.comcast.net) Received: (from rodrigc@localhost) by c-71-192-57-29.hsd1.ma.comcast.net (8.14.1/8.14.1/Submit) id l7152qjr048929; Wed, 1 Aug 2007 01:02:52 -0400 (EDT) (envelope-from rodrigc) Date: Wed, 1 Aug 2007 01:02:51 -0400 From: Craig Rodrigues To: perlcat@alltel.net Message-ID: <20070801050251.GA48760@crodrigues.org> References: <20070731072344.PHJV19750.ispmxmta05-srv.windstream.net@webmail-relay.alltel.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070731072344.PHJV19750.ispmxmta05-srv.windstream.net@webmail-relay.alltel.net> User-Agent: Mutt/1.4.2.2i Cc: freebsd-fs@freebsd.org Subject: Re: mount -o large option X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2007 05:16:57 -0000 On Tue, Jul 31, 2007 at 02:23:44AM -0500, perlcat@alltel.net wrote: > > I csup'ed the latest source as of 11:00 PM 07/30/07 CDT, using src-all, did a make buildworld and recompiled my kernel, and I still cannot get my ~300GB partition to mount. When I do: What branch did you csup from? RELENG_6 or CURRENT? > I get > mount_msdosfs: -o large: option not supported What happens if you follow these steps which are outlined in a testcase in PR 105964: truncate -s 200G test.img mdconfig -a -t vnode -f test.img -u 9 newfs_msdos -s 419430400 -n 1 /dev/md9 zip250 mount -t msdosfs /dev/md9 /mnt # should fail mount -t msdosfs -o large /dev/md9 /mnt # should succeed -- Craig Rodrigues rodrigc@crodrigues.org From owner-freebsd-fs@FreeBSD.ORG Wed Aug 1 12:46:17 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2ADB316A41F for ; Wed, 1 Aug 2007 12:46:17 +0000 (UTC) (envelope-from gergely.czuczy@harmless.hu) Received: from marvin.harmless.hu (marvin.harmless.hu [195.56.55.204]) by mx1.freebsd.org (Postfix) with ESMTP id D065613C49D for ; Wed, 1 Aug 2007 12:46:16 +0000 (UTC) (envelope-from gergely.czuczy@harmless.hu) Received: from localhost (marvin-mail [192.168.0.2]) by marvin.harmless.hu (Postfix) with ESMTP id E0D097BFF3A for ; Wed, 1 Aug 2007 14:21:38 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.4.2 (20060627) (Debian) at harmless.hu Received: from marvin.harmless.hu ([192.168.0.2]) by localhost (marvin.harmless.hu [192.168.0.2]) (amavisd-new, port 10024) with ESMTP id 2XA3nFc7cJaF for ; Wed, 1 Aug 2007 14:21:38 +0200 (CEST) Received: from marvin.harmless.hu (localhost [127.0.0.1]) by marvin.harmless.hu (Postfix) with ESMTP id 809C77BFF39 for ; Wed, 1 Aug 2007 14:21:23 +0200 (CEST) Date: Wed, 1 Aug 2007 14:21:22 +0200 From: Gergely CZUCZY To: freebsd-fs@freebsd.org Message-ID: <20070801122122.GA59065@harmless.hu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=x-unknown; protocol="application/pgp-signature"; boundary="MGYHOYXEY6WxJCY8" Content-Disposition: inline User-Agent: mutt-ng/devel-r804 (FreeBSD) Subject: ZFS on a shared disk X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2007 12:46:17 -0000 --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello I've seen many checked ZFS in -CURRENT, and I've got a question about ZFS in freebsd. I've never checked -CURRENT, just thought of whether ZFS can do this or not. Let's assume there's a shared disk on a scsi bus, that's attached to two boxes. Can that disk be used simultaneously with ZFS on the two boxes at the same time? AFAIK UFS2 is unable to do this, since it doesn't have any on-disk synchronization and similar features, that would enable an operation like this. Sincerely, Gergely Czuczy mailto: gergely.czuczy@harmless.hu --=20 Weenies test. Geniuses solve problems that arise. --MGYHOYXEY6WxJCY8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) owFFU7FuE0EQNYmQ0EoUaZDoRjQp4jvsKDbBKAqRiUOUiCJOQAIJtHc39i252zU7 s3bsjo6CAlEgJIqID0BKEagQRZp0UOQH+ACoqOjYs2PS7c6+ee/N2903V2dLM3Pf j46fLLx+++HSp5m/0ULumHU3yKXtKx1UK5VqULtdqdeCpeBWZ6lSrS0ltXq9jnEU tY5GJ02jGTUHu8MeNoDxgG/2Mqn0HYhTaQl5xXEnWBZT3D1FPUOKldENUDpTGv+f 7VqpqYM2WNexSZTuNuCFM4xJ0LNKs4wyFOI+ZpkRYnO+j0CIGnKph14M431M4HGr 7VkhaO7t7Kw/2C2D1AmMsV3DQno+pEIbZGQcT+EdixhREk6QGvtop4ziguq5IwZO jeumDKYDgxQ59ciCJJYaEuNPFYGxoA2HQmwjzxNIIpcjFFAstkA+GG81UbQPhROg mBREjsoeJH2LkMzS6yfAnnJgIDIHSCE0vUiBmLRGCI48hlTuMpYajaNsKAaK07El U4Dxoh8kjwskCzcqx1VYa61tbsFeq70ovG+ni4QLzfNJyp5bxwjKKxokPc+QSh9Q EbjRQeFC0FDHqTVajeQkVz12pDJpoYOSncXzuWBgXJYAjlWEH8X00E6aMrWPY0Uf WruQtJgNy0JsoO36FTRHLh4NRS5VxqYB3Uk5jMfluz7OPEOiMHVCBMHKYkU88g9D +ZHZ33YIG37joyIgk3n7PWu8g5wmrqRVhKF4tTp7uVQ86OlvmJt5xqXD/Ovpz5fv 5J+HPz5/OWu1r/erv66UDp+e1s62r73/9jEOh/3jkxvLza3f/wA= =Apir -----END PGP SIGNATURE----- --MGYHOYXEY6WxJCY8-- From owner-freebsd-fs@FreeBSD.ORG Wed Aug 1 14:37:56 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C2E616A41F for ; Wed, 1 Aug 2007 14:37:56 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from itchy.rabson.org (unknown [IPv6:2001:618:400::50b1:e8f2]) by mx1.freebsd.org (Postfix) with ESMTP id F174313C481 for ; Wed, 1 Aug 2007 14:37:55 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from [80.177.232.250] (herring.rabson.org [80.177.232.250]) by itchy.rabson.org (8.13.3/8.13.3) with ESMTP id l71EbsEo083611; Wed, 1 Aug 2007 15:37:54 +0100 (BST) (envelope-from dfr@rabson.org) From: Doug Rabson To: Gergely CZUCZY In-Reply-To: <20070801122122.GA59065@harmless.hu> References: <20070801122122.GA59065@harmless.hu> Content-Type: text/plain Date: Wed, 01 Aug 2007 15:37:54 +0100 Message-Id: <1185979074.1264.14.camel@herring.rabson.org> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/3846/Wed Aug 1 08:27:07 2007 on itchy.rabson.org X-Virus-Status: Clean Cc: freebsd-fs@freebsd.org Subject: Re: ZFS on a shared disk X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2007 14:37:56 -0000 On Wed, 2007-08-01 at 14:21 +0200, Gergely CZUCZY wrote: > Hello > > I've seen many checked ZFS in -CURRENT, and I've got > a question about ZFS in freebsd. I've never checked > -CURRENT, just thought of whether ZFS can do this or not. > > Let's assume there's a shared disk on a scsi bus, that's > attached to two boxes. Can that disk be used simultaneously > with ZFS on the two boxes at the same time? AFAIK UFS2 > is unable to do this, since it doesn't have any on-disk > synchronization and similar features, that would enable > an operation like this. ZFS does not support this at all. It has safeguards that should prevent you from using a pool on more than one machine. You can transfer ownership of the pool back and forth between two machines using 'zpool export' and 'zpool import'. From owner-freebsd-fs@FreeBSD.ORG Wed Aug 1 15:59:34 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EE4816A418 for ; Wed, 1 Aug 2007 15:59:34 +0000 (UTC) (envelope-from peter@pean.org) Received: from ker.oderland.com (ker.oderland.com [213.115.231.25]) by mx1.freebsd.org (Postfix) with ESMTP id 1BB3E13C48D for ; Wed, 1 Aug 2007 15:59:33 +0000 (UTC) (envelope-from peter@pean.org) Received: from [127.0.0.1] (helo=svenerik.jajja.com) by ker.oderland.com with esmtpa (Exim 4.66) (envelope-from ) id 1IGFep-0003eF-FA for freebsd-fs@freebsd.org; Wed, 01 Aug 2007 16:58:39 +0200 Received: from svenerik.jajja.com ([217.118.217.10] helo=svenerik.jajja.com) by ASSP.nospam; 1 Aug 2007 16:58:39 +0200 Message-ID: <46B09FA9.9080503@pean.org> Date: Wed, 01 Aug 2007 16:58:49 +0200 From: Peter User-Agent: Thunderbird 2.0.0.0 (X11/20070629) MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ker.oderland.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - pean.org X-Source: X-Source-Args: X-Source-Dir: Subject: rsync and smb. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2007 15:59:34 -0000 Hello, I'm trying to back up some things from my windows to the FreeBSD fileserver by mounting a share with mount_smbfs and then running rsync but I get some strange errors: rsync: readdir("/mnt/2007/20070415-2"): Bad file descriptor (9) rsync: readdir("/mnt/2007/20070713-1"): Bad file descriptor (9) I searched google for some answers and found that this is a more or less common problem. I found a PR on this but that was back in 4.10-RELEASE and I'm running 6.2-RELEASE. http://www.freebsd.org/cgi/query-pr.cgi?pr=78953 This also describes my problem pretty well: http://lists.freebsd.org/pipermail/freebsd-questions/2005-June/089471.html my script: #!/bin/sh echo "Mounting IMG share" mount_smbfs -o ro -I 172.25.0.12 //peter@wintendo/IMG/ /mnt echo "syncing with share" rsync -uavz --ignore-existing --delete-before /mnt/ /home/peter/photo-backup/IMG / echo "unmounting share" umount /mnt echo "Good bye" From owner-freebsd-fs@FreeBSD.ORG Wed Aug 1 16:28:09 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7879816A41B for ; Wed, 1 Aug 2007 16:28:09 +0000 (UTC) (envelope-from rodrigc@c-71-192-57-29.hsd1.ma.comcast.net) Received: from rwcrmhc14.comcast.net (rwcrmhc14.comcast.net [204.127.192.84]) by mx1.freebsd.org (Postfix) with ESMTP id 61CE313C480 for ; Wed, 1 Aug 2007 16:28:09 +0000 (UTC) (envelope-from rodrigc@c-71-192-57-29.hsd1.ma.comcast.net) Received: from c-71-192-57-29.hsd1.ma.comcast.net ([71.192.57.29]) by comcast.net (rwcrmhc14) with ESMTP id <20070801162807m140023qdoe>; Wed, 1 Aug 2007 16:28:08 +0000 Received: from c-71-192-57-29.hsd1.ma.comcast.net (localhost.crodrigues.org [127.0.0.1]) by c-71-192-57-29.hsd1.ma.comcast.net (8.14.1/8.14.1) with ESMTP id l71GSEIb052316; Wed, 1 Aug 2007 12:28:14 -0400 (EDT) (envelope-from rodrigc@c-71-192-57-29.hsd1.ma.comcast.net) Received: (from rodrigc@localhost) by c-71-192-57-29.hsd1.ma.comcast.net (8.14.1/8.14.1/Submit) id l71GSE71052315; Wed, 1 Aug 2007 12:28:14 -0400 (EDT) (envelope-from rodrigc) Date: Wed, 1 Aug 2007 12:28:14 -0400 From: Craig Rodrigues To: Peter Message-ID: <20070801162814.GA52304@crodrigues.org> References: <46B09FA9.9080503@pean.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="x+6KMIRAuhnl3hBn" Content-Disposition: inline In-Reply-To: <46B09FA9.9080503@pean.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-fs@freebsd.org Subject: Re: rsync and smb. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2007 16:28:09 -0000 --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Aug 01, 2007 at 04:58:49PM +0200, Peter wrote: > I searched google for some answers and found that this is a more or less > common problem. I found a PR on this but that was back in 4.10-RELEASE and > I'm running 6.2-RELEASE. http://www.freebsd.org/cgi/query-pr.cgi?pr=78953 > > This also describes my problem pretty well: > http://lists.freebsd.org/pipermail/freebsd-questions/2005-June/089471.html Does this patch help? -- Craig Rodrigues rodrigc@crodrigues.org --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="a.txt" Index: smbfs_smb.c =================================================================== RCS file: /home/ncvs/src/sys/fs/smbfs/smbfs_smb.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -u -r1.15 -r1.16 --- smbfs_smb.c 4 May 2005 15:05:46 -0000 1.15 +++ smbfs_smb.c 22 Nov 2005 07:13:00 -0000 1.16 @@ -1224,8 +1224,10 @@ return error; if ((error = md_get_uint16le(mdp, &tw)) != 0) return error; - if (ctx->f_ecnt == 0) + if (ctx->f_ecnt == 0) { + ctx->f_flags |= SMBFS_RDD_EOF | SMBFS_RDD_NOCLOSE; return ENOENT; + } ctx->f_rnameofs = tw; mdp = &t2p->t2_rdata; if (mdp->md_top == NULL) { --x+6KMIRAuhnl3hBn-- From owner-freebsd-fs@FreeBSD.ORG Wed Aug 1 16:37:07 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C811216A41B for ; Wed, 1 Aug 2007 16:37:07 +0000 (UTC) (envelope-from rodrigc@c-71-192-57-29.hsd1.ma.comcast.net) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.200.83]) by mx1.freebsd.org (Postfix) with ESMTP id 94F8B13C461 for ; Wed, 1 Aug 2007 16:37:07 +0000 (UTC) (envelope-from rodrigc@c-71-192-57-29.hsd1.ma.comcast.net) Received: from c-71-192-57-29.hsd1.ma.comcast.net ([71.192.57.29]) by comcast.net (sccrmhc13) with ESMTP id <200708011637060130078kuee>; Wed, 1 Aug 2007 16:37:06 +0000 Received: from c-71-192-57-29.hsd1.ma.comcast.net (localhost.crodrigues.org [127.0.0.1]) by c-71-192-57-29.hsd1.ma.comcast.net (8.14.1/8.14.1) with ESMTP id l71GbEIO052416; Wed, 1 Aug 2007 12:37:14 -0400 (EDT) (envelope-from rodrigc@c-71-192-57-29.hsd1.ma.comcast.net) Received: (from rodrigc@localhost) by c-71-192-57-29.hsd1.ma.comcast.net (8.14.1/8.14.1/Submit) id l71GbEmI052415; Wed, 1 Aug 2007 12:37:14 -0400 (EDT) (envelope-from rodrigc) Date: Wed, 1 Aug 2007 12:37:14 -0400 From: Craig Rodrigues To: Remko Lodder Message-ID: <20070801163714.GA52404@crodrigues.org> References: <46B09FA9.9080503@pean.org> <20070801162814.GA52304@crodrigues.org> <20070801163012.GA7038@elvandar.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070801163012.GA7038@elvandar.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-fs@freebsd.org Subject: Re: rsync and smb. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2007 16:37:07 -0000 On Wed, Aug 01, 2007 at 06:30:12PM +0200, Remko Lodder wrote: > I cannot seem to recreate the problem on 6-STABLE at all; I already copied more then two gb in > just a few minutes and I dont see any problems passing by.. According to http://www.freebsd.org/cgi/query-pr.cgi?pr=78953 , this bug is triggered if you have a directory with exactly 50 files in it. -- Craig Rodrigues rodrigc@crodrigues.org From owner-freebsd-fs@FreeBSD.ORG Wed Aug 1 16:43:31 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 387B016A474 for ; Wed, 1 Aug 2007 16:43:31 +0000 (UTC) (envelope-from remko@elvandar.org) Received: from guardian.elvandar.org (evilcoder.xs4all.nl [195.64.94.120]) by mx1.freebsd.org (Postfix) with ESMTP id EF31713C4E3 for ; Wed, 1 Aug 2007 16:43:30 +0000 (UTC) (envelope-from remko@elvandar.org) Received: by guardian.elvandar.org (Postfix, from userid 1001) id D26A07EDDD1; Wed, 1 Aug 2007 18:43:29 +0200 (CEST) Date: Wed, 1 Aug 2007 18:43:29 +0200 From: Remko Lodder To: Craig Rodrigues Message-ID: <20070801164329.GC7038@elvandar.org> References: <46B09FA9.9080503@pean.org> <20070801162814.GA52304@crodrigues.org> <20070801163012.GA7038@elvandar.org> <20070801163714.GA52404@crodrigues.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070801163714.GA52404@crodrigues.org> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-fs@freebsd.org Subject: Re: rsync and smb. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2007 16:43:31 -0000 On Wed, Aug 01, 2007 at 12:37:14PM -0400, Craig Rodrigues wrote: > On Wed, Aug 01, 2007 at 06:30:12PM +0200, Remko Lodder wrote: > > I cannot seem to recreate the problem on 6-STABLE at all; I already copied more then two gb in > > just a few minutes and I dont see any problems passing by.. > > According to http://www.freebsd.org/cgi/query-pr.cgi?pr=78953 , > this bug is triggered if you have a directory with exactly 50 > files in it. > -- > Craig Rodrigues > rodrigc@crodrigues.org I am not seeing that as well, I created 50 simple text files: [remko@guardian /mnt]$ rsync --ignore-errors -r /mnt/test/ /opt/share3 [remko@guardian /mnt]$ ls -l /opt/share3 | wc -l 50 [remko@guardian /mnt]$ ls -l /mnt/test | wc -l 50 -- Kind regards, Remko Lodder ** remko@elvandar.org FreeBSD ** remko@FreeBSD.org /* Quis custodiet ipsos custodes */ From owner-freebsd-fs@FreeBSD.ORG Wed Aug 1 16:48:17 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7185F16A41B for ; Wed, 1 Aug 2007 16:48:17 +0000 (UTC) (envelope-from remko@elvandar.org) Received: from guardian.elvandar.org (evilcoder.xs4all.nl [195.64.94.120]) by mx1.freebsd.org (Postfix) with ESMTP id 29C8213C461 for ; Wed, 1 Aug 2007 16:48:16 +0000 (UTC) (envelope-from remko@elvandar.org) Received: by guardian.elvandar.org (Postfix, from userid 1001) id 52D2F7EDDAE; Wed, 1 Aug 2007 18:39:05 +0200 (CEST) Date: Wed, 1 Aug 2007 18:39:05 +0200 From: Remko Lodder To: Craig Rodrigues Message-ID: <20070801163905.GB7038@elvandar.org> References: <46B09FA9.9080503@pean.org> <20070801162814.GA52304@crodrigues.org> <20070801163012.GA7038@elvandar.org> <20070801163714.GA52404@crodrigues.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070801163714.GA52404@crodrigues.org> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-fs@freebsd.org Subject: Re: rsync and smb. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2007 16:48:17 -0000 On Wed, Aug 01, 2007 at 12:37:14PM -0400, Craig Rodrigues wrote: > On Wed, Aug 01, 2007 at 06:30:12PM +0200, Remko Lodder wrote: > > I cannot seem to recreate the problem on 6-STABLE at all; I already copied more then two gb in > > just a few minutes and I dont see any problems passing by.. > > According to http://www.freebsd.org/cgi/query-pr.cgi?pr=78953 , > this bug is triggered if you have a directory with exactly 50 > files in it. > -- > Craig Rodrigues > rodrigc@crodrigues.org Well, at least I cannot reproduce it with a multitude of files; I will create 50 files as well to test with. -- Kind regards, Remko Lodder ** remko@elvandar.org FreeBSD ** remko@FreeBSD.org /* Quis custodiet ipsos custodes */ From owner-freebsd-fs@FreeBSD.ORG Wed Aug 1 16:48:17 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75FC316A41F for ; Wed, 1 Aug 2007 16:48:17 +0000 (UTC) (envelope-from remko@elvandar.org) Received: from guardian.elvandar.org (evilcoder.xs4all.nl [195.64.94.120]) by mx1.freebsd.org (Postfix) with ESMTP id 29EE713C465 for ; Wed, 1 Aug 2007 16:48:16 +0000 (UTC) (envelope-from remko@elvandar.org) Received: by guardian.elvandar.org (Postfix, from userid 1001) id 2BE627EDDAB; Wed, 1 Aug 2007 18:30:12 +0200 (CEST) Date: Wed, 1 Aug 2007 18:30:12 +0200 From: Remko Lodder To: Craig Rodrigues Message-ID: <20070801163012.GA7038@elvandar.org> References: <46B09FA9.9080503@pean.org> <20070801162814.GA52304@crodrigues.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070801162814.GA52304@crodrigues.org> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-fs@freebsd.org Subject: Re: rsync and smb. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2007 16:48:17 -0000 On Wed, Aug 01, 2007 at 12:28:14PM -0400, Craig Rodrigues wrote: > On Wed, Aug 01, 2007 at 04:58:49PM +0200, Peter wrote: > > I searched google for some answers and found that this is a more or less > > common problem. I found a PR on this but that was back in 4.10-RELEASE and > > I'm running 6.2-RELEASE. http://www.freebsd.org/cgi/query-pr.cgi?pr=78953 > > > > This also describes my problem pretty well: > > http://lists.freebsd.org/pipermail/freebsd-questions/2005-June/089471.html > > Does this patch help? > > -- > Craig Rodrigues > rodrigc@crodrigues.org > Index: smbfs_smb.c > =================================================================== > RCS file: /home/ncvs/src/sys/fs/smbfs/smbfs_smb.c,v > retrieving revision 1.15 > retrieving revision 1.16 > diff -u -u -r1.15 -r1.16 > --- smbfs_smb.c 4 May 2005 15:05:46 -0000 1.15 > +++ smbfs_smb.c 22 Nov 2005 07:13:00 -0000 1.16 > @@ -1224,8 +1224,10 @@ > return error; > if ((error = md_get_uint16le(mdp, &tw)) != 0) > return error; > - if (ctx->f_ecnt == 0) > + if (ctx->f_ecnt == 0) { > + ctx->f_flags |= SMBFS_RDD_EOF | SMBFS_RDD_NOCLOSE; > return ENOENT; > + } > ctx->f_rnameofs = tw; > mdp = &t2p->t2_rdata; > if (mdp->md_top == NULL) { > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" Hey both, I cannot seem to recreate the problem on 6-STABLE at all; I already copied more then two gb in just a few minutes and I dont see any problems passing by.. -- Kind regards, Remko Lodder ** remko@elvandar.org FreeBSD ** remko@FreeBSD.org /* Quis custodiet ipsos custodes */ From owner-freebsd-fs@FreeBSD.ORG Wed Aug 1 18:52:07 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A234516A477 for ; Wed, 1 Aug 2007 18:52:07 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outO.internet-mail-service.net (outO.internet-mail-service.net [216.240.47.238]) by mx1.freebsd.org (Postfix) with ESMTP id 84A3B13C500 for ; Wed, 1 Aug 2007 18:52:07 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.32) with ESMTP; Wed, 01 Aug 2007 11:41:25 -0700 Received: from julian-mac.elischer.org (nat.ironport.com [63.251.108.100]) by idiom.com (Postfix) with ESMTP id C2399125B1D; Wed, 1 Aug 2007 11:41:24 -0700 (PDT) Message-ID: <46B0D3FD.3040201@elischer.org> Date: Wed, 01 Aug 2007 11:42:05 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.5 (Macintosh/20070716) MIME-Version: 1.0 To: Remko Lodder References: <46B09FA9.9080503@pean.org> <20070801162814.GA52304@crodrigues.org> <20070801163012.GA7038@elvandar.org> <20070801163714.GA52404@crodrigues.org> <20070801164329.GC7038@elvandar.org> In-Reply-To: <20070801164329.GC7038@elvandar.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: rsync and smb. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2007 18:52:07 -0000 Remko Lodder wrote: > On Wed, Aug 01, 2007 at 12:37:14PM -0400, Craig Rodrigues wrote: >> On Wed, Aug 01, 2007 at 06:30:12PM +0200, Remko Lodder wrote: >>> I cannot seem to recreate the problem on 6-STABLE at all; I already copied more then two gb in >>> just a few minutes and I dont see any problems passing by.. >> According to http://www.freebsd.org/cgi/query-pr.cgi?pr=78953 , >> this bug is triggered if you have a directory with exactly 50 >> files in it. >> -- >> Craig Rodrigues >> rodrigc@crodrigues.org > > I am not seeing that as well, I created 50 simple text files: > > [remko@guardian /mnt]$ rsync --ignore-errors -r /mnt/test/ /opt/share3 > [remko@guardian /mnt]$ ls -l /opt/share3 | wc -l > 50 > [remko@guardian /mnt]$ ls -l /mnt/test | wc -l > 50 > probably 50 files in a new directory From owner-freebsd-fs@FreeBSD.ORG Wed Aug 1 18:57:56 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D1B616A418 for ; Wed, 1 Aug 2007 18:57:56 +0000 (UTC) (envelope-from remko@elvandar.org) Received: from galain.elvandar.org (redqueen.elvandar.org [217.148.169.55]) by mx1.freebsd.org (Postfix) with ESMTP id 30EFC13C467 for ; Wed, 1 Aug 2007 18:57:56 +0000 (UTC) (envelope-from remko@elvandar.org) Received: from evilcoder.xs4all.nl ([195.64.94.120] helo=elvandar.local) by galain.elvandar.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1IGJ9u-000AQG-RT; Wed, 01 Aug 2007 20:42:58 +0200 Message-ID: <46B0D437.8000708@elvandar.org> Date: Wed, 01 Aug 2007 20:43:03 +0200 From: Remko Lodder User-Agent: Thunderbird 2.0.0.5 (Macintosh/20070716) MIME-Version: 1.0 To: Julian Elischer References: <46B09FA9.9080503@pean.org> <20070801162814.GA52304@crodrigues.org> <20070801163012.GA7038@elvandar.org> <20070801163714.GA52404@crodrigues.org> <20070801164329.GC7038@elvandar.org> <46B0D3FD.3040201@elischer.org> In-Reply-To: <46B0D3FD.3040201@elischer.org> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: rsync and smb. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2007 18:57:56 -0000 Julian Elischer wrote: > Remko Lodder wrote: >> On Wed, Aug 01, 2007 at 12:37:14PM -0400, Craig Rodrigues wrote: >>> On Wed, Aug 01, 2007 at 06:30:12PM +0200, Remko Lodder wrote: >>>> I cannot seem to recreate the problem on 6-STABLE at all; I already >>>> copied more then two gb in >>>> just a few minutes and I dont see any problems passing by.. >>> According to http://www.freebsd.org/cgi/query-pr.cgi?pr=78953 , >>> this bug is triggered if you have a directory with exactly 50 >>> files in it. >>> -- >>> Craig Rodrigues rodrigc@crodrigues.org >> >> I am not seeing that as well, I created 50 simple text files: >> >> [remko@guardian /mnt]$ rsync --ignore-errors -r /mnt/test/ /opt/share3 >> [remko@guardian /mnt]$ ls -l /opt/share3 | wc -l >> 50 >> [remko@guardian /mnt]$ ls -l /mnt/test | wc -l >> 50 >> > > > probably 50 files in a new directory That is correct indeed, I just created the directory and the files for the test :-) Cheers remko -- Kind regards, Remko Lodder ** remko@elvandar.org FreeBSD ** remko@FreeBSD.org /* Quis custodiet ipsos custodes */ From owner-freebsd-fs@FreeBSD.ORG Wed Aug 1 20:02:49 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA0E516A420 for ; Wed, 1 Aug 2007 20:02:49 +0000 (UTC) (envelope-from peter@pean.org) Received: from proxy3.bredband.net (proxy3.bredband.net [195.54.101.73]) by mx1.freebsd.org (Postfix) with ESMTP id 7BEFD13C442 for ; Wed, 1 Aug 2007 20:02:49 +0000 (UTC) (envelope-from peter@pean.org) Received: from cone.pean.org (213.114.218.31) by proxy3.bredband.net (7.3.127) id 46AF6456000485D4; Wed, 1 Aug 2007 21:42:25 +0200 Message-ID: <46B0E220.6010700@pean.org> Date: Wed, 01 Aug 2007 21:42:24 +0200 From: Peter User-Agent: Thunderbird 2.0.0.0 (X11/20070520) MIME-Version: 1.0 To: Craig Rodrigues References: <46B09FA9.9080503@pean.org> <20070801162814.GA52304@crodrigues.org> <20070801163012.GA7038@elvandar.org> <20070801163714.GA52404@crodrigues.org> In-Reply-To: <20070801163714.GA52404@crodrigues.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org, Remko Lodder Subject: Re: rsync and smb. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2007 20:02:49 -0000 Craig Rodrigues wrote: > On Wed, Aug 01, 2007 at 06:30:12PM +0200, Remko Lodder wrote: >> I cannot seem to recreate the problem on 6-STABLE at all; I already copied more then two gb in >> just a few minutes and I dont see any problems passing by.. > > According to http://www.freebsd.org/cgi/query-pr.cgi?pr=78953 , > this bug is triggered if you have a directory with exactly 50 > files in it. None of the paths reported with errors have 50 files in it, and the rest of the 35G of images copies without any problem. maybe I'll just try to upgrade to -STABLE From owner-freebsd-fs@FreeBSD.ORG Wed Aug 1 21:29:43 2007 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDB8D16A421 for ; Wed, 1 Aug 2007 21:29:43 +0000 (UTC) (envelope-from eksffa@freebsdbrasil.com.br) Received: from capeta.freebsdbrasil.com.br (vrrp.freebsdbrasil.com.br [200.210.70.30]) by mx1.freebsd.org (Postfix) with SMTP id F0D9913C4A5 for ; Wed, 1 Aug 2007 21:29:42 +0000 (UTC) (envelope-from eksffa@freebsdbrasil.com.br) Received: (qmail 63722 invoked from network); 1 Aug 2007 18:06:34 -0300 Received: by simscan 1.1.0 ppid: 63715, pid: 63716, t: 0.7083s scanners: clamav: 0.91.1/m: spam: 3.1.1 X-Spam-Checker-Version: SpamAssassin: -last, FreeBSD Brasil LTDA rulesets: Yes X-Spam-Status: No, hits=-2.2 required=3.7 Received: from unknown (HELO claire.bh.freebsdbrasil.com.br) (201.78.44.31) by capeta.freebsdbrasil.com.br with SMTP; 1 Aug 2007 18:06:33 -0300 Message-ID: <46B0F505.8090102@freebsdbrasil.com.br> Date: Wed, 01 Aug 2007 18:03:01 -0300 From: Patrick Tracanelli Organization: FreeBSD Brasil LTDA User-Agent: Thunderbird 2.0.0.0 (X11/20070612) MIME-Version: 1.0 To: fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Xsan (Apple) on FreeBSD X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2007 21:29:44 -0000 Hello, Anyone knows if I can have FreeBSD (in fact, many FreeBSD boxes) acessing the same data on an XSan enviroment? Or, if StorNext FX works on FreeBSD to access an XServe RAID storage system? What I need is having multiple FreeBSD boxes acessing the same data on a storage system (XServer preferrably). I would like to hear your suggestions and personal experiences. -- Patrick Tracanelli From owner-freebsd-fs@FreeBSD.ORG Wed Aug 1 22:22:17 2007 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD9D016A469 for ; Wed, 1 Aug 2007 22:22:17 +0000 (UTC) (envelope-from eksffa@freebsdbrasil.com.br) Received: from capeta.freebsdbrasil.com.br (vrrp.freebsdbrasil.com.br [200.210.70.30]) by mx1.freebsd.org (Postfix) with SMTP id 052CE13C480 for ; Wed, 1 Aug 2007 22:22:16 +0000 (UTC) (envelope-from eksffa@freebsdbrasil.com.br) Received: (qmail 77190 invoked from network); 1 Aug 2007 19:25:48 -0300 Received: by simscan 1.1.0 ppid: 77181, pid: 77182, t: 0.5843s scanners: clamav: 0.91.1/m: spam: 3.1.1 X-Spam-Checker-Version: SpamAssassin: -last, FreeBSD Brasil LTDA rulesets: Yes X-Spam-Status: No, hits=-2.2 required=3.7 Received: from unknown (HELO claire.bh.freebsdbrasil.com.br) (201.78.44.31) by capeta.freebsdbrasil.com.br with SMTP; 1 Aug 2007 19:25:48 -0300 Message-ID: <46B10798.5050504@freebsdbrasil.com.br> Date: Wed, 01 Aug 2007 19:22:16 -0300 From: Patrick Tracanelli Organization: FreeBSD Brasil LTDA User-Agent: Thunderbird 2.0.0.0 (X11/20070612) MIME-Version: 1.0 To: Jeff Mohler References: <46B0F505.8090102@freebsdbrasil.com.br> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: fs@freebsd.org Subject: Re: Xsan (Apple) on FreeBSD X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2007 22:22:17 -0000 Hello Jeff, Jeff Mohler wrote: > Im yet to hear of a large Xsan install that stayed Xsan once it grew. > > Most, if not all, have gone to netapp or umm..Isilon (spelling) that ive > been close to. Latest large dump of Xsan that I know of was Current TV > in San Francisco, for Isilon. Hmm, good to know. I have tested XServe RAID only, which has shown to be a good solution as storage system for the usage profile I need, but Xsan, never saw it working. Believed it to be the usual path to follow, but have hear of people running Stornext instead of xsan. So, now my question goes on a different path. Will Isilon OneFS run FreeBSD? I head from people at Zoic Studios it is based on FreeBSD, but I am not sure how true this information is. Anyway, "based on" wont always mean fully compatible. Are you aware of OneFS running on FreeBSD? Thanks Jeff. > Beware the hype of Xsan, its a money pit. > > Then ask em how long it all comes to a halt when a disk fails. > > > > On 8/1/07, *Patrick Tracanelli * > wrote: > > Hello, > > Anyone knows if I can have FreeBSD (in fact, many FreeBSD boxes) > acessing the same data on an XSan enviroment? Or, if StorNext FX works > on FreeBSD to access an XServe RAID storage system? > > What I need is having multiple FreeBSD boxes acessing the same data > on a > storage system (XServer preferrably). > > I would like to hear your suggestions and personal experiences. -- Patrick Tracanelli FreeBSD Brasil LTDA. (31) 3281-9633 / 3281-3547 316601@sip.freebsdbrasil.com.br http://www.freebsdbrasil.com.br "Long live Hanin Elias, Kim Deal!" From owner-freebsd-fs@FreeBSD.ORG Wed Aug 1 22:28:38 2007 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9391D16A417 for ; Wed, 1 Aug 2007 22:28:38 +0000 (UTC) (envelope-from speedtoys.racing@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.191]) by mx1.freebsd.org (Postfix) with ESMTP id 1463113C494 for ; Wed, 1 Aug 2007 22:28:37 +0000 (UTC) (envelope-from speedtoys.racing@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so307052fka for ; Wed, 01 Aug 2007 15:28:36 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=DYLZ9oiBXYC/10lEKQLN1apxj96EW2nXRO4FkXQ2mD3uFiLCkocWn5nWKWPbMk/hZifP4AXp9zlc0dEufUefGp4khR0x/hSvKoIMRlwaYE3jmJhKLu66BeII9OuT7C725LsYT4VQz3MrpnlbMaMRoEz97bMznnf63zkiXubgo88= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=WujyYNUNGUkeEjYHkS9rPpt9DmFCB8mBRkbOrdxVtMS1LuDzVnTcs5gEMccG441ReDsglb/+T10z1En/FjuuvZ6c4EOGv/BBiSmL1L9t1ZBgeRr3u3fcdPjLsjVXTqNL0sj0+Sn9RLqPmVdwdf76DjWk6sn6CPHV5Vp1p9oaai4= Received: by 10.82.127.14 with SMTP id z14mr1564722buc.1186005722427; Wed, 01 Aug 2007 15:02:02 -0700 (PDT) Received: by 10.82.170.5 with HTTP; Wed, 1 Aug 2007 15:02:02 -0700 (PDT) Message-ID: Date: Wed, 1 Aug 2007 15:02:02 -0700 From: "Jeff Mohler" To: "Patrick Tracanelli" In-Reply-To: <46B0F505.8090102@freebsdbrasil.com.br> MIME-Version: 1.0 References: <46B0F505.8090102@freebsdbrasil.com.br> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: fs@freebsd.org Subject: Re: Xsan (Apple) on FreeBSD X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2007 22:28:38 -0000 Im yet to hear of a large Xsan install that stayed Xsan once it grew. Most, if not all, have gone to netapp or umm..Isilon (spelling) that ive been close to. Latest large dump of Xsan that I know of was Current TV in San Francisco, for Isilon. Beware the hype of Xsan, its a money pit. Then ask em how long it all comes to a halt when a disk fails. On 8/1/07, Patrick Tracanelli wrote: > > Hello, > > Anyone knows if I can have FreeBSD (in fact, many FreeBSD boxes) > acessing the same data on an XSan enviroment? Or, if StorNext FX works > on FreeBSD to access an XServe RAID storage system? > > What I need is having multiple FreeBSD boxes acessing the same data on a > storage system (XServer preferrably). > > I would like to hear your suggestions and personal experiences. > > -- > Patrick Tracanelli > > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to " freebsd-fs-unsubscribe@freebsd.org" > From owner-freebsd-fs@FreeBSD.ORG Wed Aug 1 22:58:11 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 692D916A421; Wed, 1 Aug 2007 22:58:11 +0000 (UTC) (envelope-from matt@ixsystems.com) Received: from mail.iXsystems.com (newknight.ixsystems.net [206.40.55.70]) by mx1.freebsd.org (Postfix) with ESMTP id 45FD713C468; Wed, 1 Aug 2007 22:58:10 +0000 (UTC) (envelope-from matt@ixsystems.com) Received: from localhost (localhost [127.0.0.1]) by mail.iXsystems.com (Postfix) with ESMTP id C6A04BE63; Wed, 1 Aug 2007 16:37:46 -0700 (PDT) Received: from mail.iXsystems.com ([127.0.0.1]) by localhost (mail.ixsystems.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 50426-06; Wed, 1 Aug 2007 16:37:28 -0700 (PDT) Received: from client-173.nat.ixsystems.net (unknown [192.168.1.173]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.iXsystems.com (Postfix) with ESMTP id CC25EBE22; Wed, 1 Aug 2007 16:37:28 -0700 (PDT) From: Matt Olander Organization: iXsystems To: freebsd-fs@freebsd.org Date: Wed, 1 Aug 2007 15:36:37 -0700 User-Agent: KMail/1.9.5 References: <46B0F505.8090102@freebsdbrasil.com.br> <46B10798.5050504@freebsdbrasil.com.br> In-Reply-To: <46B10798.5050504@freebsdbrasil.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200708011536.37926.matt@ixsystems.com> X-Virus-Scanned: Maia Mailguard Cc: Patrick Tracanelli , fs@freebsd.org Subject: Re: Xsan (Apple) on FreeBSD X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2007 22:58:11 -0000 On Wednesday 01 August 2007 3:22 pm, Patrick Tracanelli wrote: > Hello Jeff, > > Jeff Mohler wrote: > > Im yet to hear of a large Xsan install that stayed Xsan once it grew. > > > > Most, if not all, have gone to netapp or umm..Isilon (spelling) that ive > > been close to. Latest large dump of Xsan that I know of was Current TV > > in San Francisco, for Isilon. > > Hmm, good to know. I have tested XServe RAID only, which has shown to be > a good solution as storage system for the usage profile I need, but > Xsan, never saw it working. Believed it to be the usual path to follow, > but have hear of people running Stornext instead of xsan. > > So, now my question goes on a different path. Will Isilon OneFS run > FreeBSD? I head from people at Zoic Studios it is based on FreeBSD, but > I am not sure how true this information is. Anyway, "based on" wont > always mean fully compatible. > > Are you aware of OneFS running on FreeBSD? It is indeed true. OneFS is FreeBSD. The Isilon product is really neat and = you=20 can buy it modularly, starting with just one unit. =2Dmatt > > Thanks Jeff. > > > Beware the hype of Xsan, its a money pit. > > > > Then ask em how long it all comes to a halt when a disk fails. > > > > > > > > On 8/1/07, *Patrick Tracanelli * > > wrote: > > > > Hello, > > > > Anyone knows if I can have FreeBSD (in fact, many FreeBSD boxes) > > acessing the same data on an XSan enviroment? Or, if StorNext FX > > works on FreeBSD to access an XServe RAID storage system? > > > > What I need is having multiple FreeBSD boxes acessing the same data > > on a > > storage system (XServer preferrably). > > > > I would like to hear your suggestions and personal experiences. =2D-=20 Matt Olander CTO, iXsystems - "Servers for Open Source" =A0http://www.iXsystems.com Public Relations, The FreeBSD Project =A0 =A0 =A0 =A0 http://www.FreeBSD.org BSD on the Desktop! =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= http://www.pcbsd.org Phone: (408)943-4100 ext. 113 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Fax: = (408)943-4101 From owner-freebsd-fs@FreeBSD.ORG Wed Aug 1 22:58:11 2007 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 692D916A421; Wed, 1 Aug 2007 22:58:11 +0000 (UTC) (envelope-from matt@ixsystems.com) Received: from mail.iXsystems.com (newknight.ixsystems.net [206.40.55.70]) by mx1.freebsd.org (Postfix) with ESMTP id 45FD713C468; Wed, 1 Aug 2007 22:58:10 +0000 (UTC) (envelope-from matt@ixsystems.com) Received: from localhost (localhost [127.0.0.1]) by mail.iXsystems.com (Postfix) with ESMTP id C6A04BE63; Wed, 1 Aug 2007 16:37:46 -0700 (PDT) Received: from mail.iXsystems.com ([127.0.0.1]) by localhost (mail.ixsystems.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 50426-06; Wed, 1 Aug 2007 16:37:28 -0700 (PDT) Received: from client-173.nat.ixsystems.net (unknown [192.168.1.173]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.iXsystems.com (Postfix) with ESMTP id CC25EBE22; Wed, 1 Aug 2007 16:37:28 -0700 (PDT) From: Matt Olander Organization: iXsystems To: freebsd-fs@freebsd.org Date: Wed, 1 Aug 2007 15:36:37 -0700 User-Agent: KMail/1.9.5 References: <46B0F505.8090102@freebsdbrasil.com.br> <46B10798.5050504@freebsdbrasil.com.br> In-Reply-To: <46B10798.5050504@freebsdbrasil.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200708011536.37926.matt@ixsystems.com> X-Virus-Scanned: Maia Mailguard Cc: Patrick Tracanelli , fs@freebsd.org Subject: Re: Xsan (Apple) on FreeBSD X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2007 22:58:11 -0000 On Wednesday 01 August 2007 3:22 pm, Patrick Tracanelli wrote: > Hello Jeff, > > Jeff Mohler wrote: > > Im yet to hear of a large Xsan install that stayed Xsan once it grew. > > > > Most, if not all, have gone to netapp or umm..Isilon (spelling) that ive > > been close to. Latest large dump of Xsan that I know of was Current TV > > in San Francisco, for Isilon. > > Hmm, good to know. I have tested XServe RAID only, which has shown to be > a good solution as storage system for the usage profile I need, but > Xsan, never saw it working. Believed it to be the usual path to follow, > but have hear of people running Stornext instead of xsan. > > So, now my question goes on a different path. Will Isilon OneFS run > FreeBSD? I head from people at Zoic Studios it is based on FreeBSD, but > I am not sure how true this information is. Anyway, "based on" wont > always mean fully compatible. > > Are you aware of OneFS running on FreeBSD? It is indeed true. OneFS is FreeBSD. The Isilon product is really neat and = you=20 can buy it modularly, starting with just one unit. =2Dmatt > > Thanks Jeff. > > > Beware the hype of Xsan, its a money pit. > > > > Then ask em how long it all comes to a halt when a disk fails. > > > > > > > > On 8/1/07, *Patrick Tracanelli * > > wrote: > > > > Hello, > > > > Anyone knows if I can have FreeBSD (in fact, many FreeBSD boxes) > > acessing the same data on an XSan enviroment? Or, if StorNext FX > > works on FreeBSD to access an XServe RAID storage system? > > > > What I need is having multiple FreeBSD boxes acessing the same data > > on a > > storage system (XServer preferrably). > > > > I would like to hear your suggestions and personal experiences. =2D-=20 Matt Olander CTO, iXsystems - "Servers for Open Source" =A0http://www.iXsystems.com Public Relations, The FreeBSD Project =A0 =A0 =A0 =A0 http://www.FreeBSD.org BSD on the Desktop! =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= http://www.pcbsd.org Phone: (408)943-4100 ext. 113 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Fax: = (408)943-4101 From owner-freebsd-fs@FreeBSD.ORG Wed Aug 1 23:47:26 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D5DD16A4C0 for ; Wed, 1 Aug 2007 23:47:26 +0000 (UTC) (envelope-from fbsd-fs@mawer.org) Received: from webmail.icp-qv1-irony3.iinet.net.au (webmail.icp-qv1-irony3.iinet.net.au [203.59.1.108]) by mx1.freebsd.org (Postfix) with ESMTP id E0F6013C58B for ; Wed, 1 Aug 2007 23:47:25 +0000 (UTC) (envelope-from fbsd-fs@mawer.org) Received: from unknown (HELO [10.24.1.1]) ([203.206.173.235]) by outbound.icp-qv1-irony-out1.iinet.net.au with ESMTP; 02 Aug 2007 07:17:19 +0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAMCxsEbLzq3r/2dsb2JhbAAN X-IronPort-AV: i="4.19,210,1183305600"; d="scan'208"; a="172571870:sNHT10226496" Message-ID: <46B1144C.8090103@mawer.org> Date: Thu, 02 Aug 2007 09:16:28 +1000 From: Antony Mawer User-Agent: Thunderbird 2.0.0.5 (Windows/20070716) MIME-Version: 1.0 To: Julian Elischer References: <46B09FA9.9080503@pean.org> <20070801162814.GA52304@crodrigues.org> <20070801163012.GA7038@elvandar.org> <20070801163714.GA52404@crodrigues.org> <20070801164329.GC7038@elvandar.org> <46B0D3FD.3040201@elischer.org> In-Reply-To: <46B0D3FD.3040201@elischer.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org, Remko Lodder Subject: Re: rsync and smb. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2007 23:47:26 -0000 On 2/08/2007 4:42 AM, Julian Elischer wrote: > Remko Lodder wrote: >> On Wed, Aug 01, 2007 at 12:37:14PM -0400, Craig Rodrigues wrote: >>> On Wed, Aug 01, 2007 at 06:30:12PM +0200, Remko Lodder wrote: >>>> I cannot seem to recreate the problem on 6-STABLE at all; I already >>>> copied more then two gb in >>>> just a few minutes and I dont see any problems passing by.. >>> According to http://www.freebsd.org/cgi/query-pr.cgi?pr=78953 , >>> this bug is triggered if you have a directory with exactly 50 >>> files in it. >>> -- >>> Craig Rodrigues rodrigc@crodrigues.org >> >> I am not seeing that as well, I created 50 simple text files: >> >> [remko@guardian /mnt]$ rsync --ignore-errors -r /mnt/test/ /opt/share3 >> [remko@guardian /mnt]$ ls -l /opt/share3 | wc -l >> 50 >> [remko@guardian /mnt]$ ls -l /mnt/test | wc -l >> 50 > > probably 50 files in a new directory Peter, the patch you Craig Rodrigues provided is the one from the bug report, and is NOT included in -STABLE ... you will need to apply it manually and then see if this solves the problem. Please let us know if it solves the problem, as another report of it solving the issue without causing any regressions will assist in getting this committed to -STABLE. It is included in -CURRENT, so will be there when 7.0-RELEASE comes out. I have found the patch works quite well. The error it reports is in itself, harmless, but is problematic with rsync because rsync changes its behaviour when errors are encountered. The problem does not appears using ls, which is probably why you are not seeing it when using ls on a directory. The issue is that smbfs requests directory listings in groups of 52 items, and if the number of files/directories in a listing falls on a multiple of 52 (including . and ..), then SMBFS is attempting to request the "next 52 items" on the listing when it is actually at the end of the listing. The remote SMB server then sends back an error because there are no more items. As such, no files are missing from the listing -- it is simply because the smbfs client is attempting to read past the end of the directory listing, so the server sends an error. Jim Carroll did all the hard work tracking down and fixing this issue 18 months ago -- he deserves full credit for his persistence in tracking this down! It was committed to -CURRENT by bp@ (original smbfs author), but never got MFC'd. I bugged re@ to see if this could get MFC'd when I realised it wasn't included in 6.2-PRERELEASE, and bmah@ had a quick look and updated the bug status... but I haven't seen any action beyond that in terms of an MFC. Unfortunately smbfs suffers from lack of an active maintainer -- there are lots of rough edges that have had fixes in Darwin that would be nice for someone with the time to pick up and port across where they make sense. Maybe this should be added to the Ideas page? There are also these patches I am led to believe may potentially help with communicating with OSX versions of Samba (which likes to talk unicode). They may have bit-rotted since and so may need updating for -CURRENT: http://people.freebsd.org/~imura/kiconv/ ... in short, the patch by Jim Carroll appears to fix this problem in my experience, and I am running with it in production without causing any regressions (at least that I have observed -- more eyes are always welcome). Thanks! --Antony From owner-freebsd-fs@FreeBSD.ORG Thu Aug 2 01:57:19 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BD0E16A417 for ; Thu, 2 Aug 2007 01:57:19 +0000 (UTC) (envelope-from rodrigc@c-71-192-57-29.hsd1.ma.comcast.net) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [63.240.77.82]) by mx1.freebsd.org (Postfix) with ESMTP id 541BF13C469 for ; Thu, 2 Aug 2007 01:57:19 +0000 (UTC) (envelope-from rodrigc@c-71-192-57-29.hsd1.ma.comcast.net) Received: from c-71-192-57-29.hsd1.ma.comcast.net ([71.192.57.29]) by comcast.net (sccrmhc12) with ESMTP id <2007080201571301200mk6u8e>; Thu, 2 Aug 2007 01:57:18 +0000 Received: from c-71-192-57-29.hsd1.ma.comcast.net (localhost.crodrigues.org [127.0.0.1]) by c-71-192-57-29.hsd1.ma.comcast.net (8.14.1/8.14.1) with ESMTP id l721vHPl052650 for ; Wed, 1 Aug 2007 21:57:22 -0400 (EDT) (envelope-from rodrigc@c-71-192-57-29.hsd1.ma.comcast.net) Received: (from rodrigc@localhost) by c-71-192-57-29.hsd1.ma.comcast.net (8.14.1/8.14.1/Submit) id l721vH9G052417 for freebsd-fs@freebsd.org; Wed, 1 Aug 2007 21:57:17 -0400 (EDT) (envelope-from rodrigc) Date: Wed, 1 Aug 2007 21:57:11 -0400 From: Craig Rodrigues To: freebsd-fs@freebsd.org Message-ID: <20070802015711.GA46865@crodrigues.org> References: <20070731072344.PHJV19750.ispmxmta05-srv.windstream.net@webmail-relay.alltel.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070731072344.PHJV19750.ispmxmta05-srv.windstream.net@webmail-relay.alltel.net> User-Agent: Mutt/1.4.2.2i Subject: Re: mount -o large option X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2007 01:57:19 -0000 On Tue, Jul 31, 2007 at 02:23:44AM -0500, perlcat@alltel.net wrote: > and when I try > snideley# mount -t msdos -o large /dev/ad1s1 /mnt/dos > > I get > mount_msdosfs: -o large: option not supported ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The mount_msdosfs binary in CURRENT and RELENG_6 cannot print out that error message. Tyson solved this problem by doing a proper upgrade of his system using the steps outlined in /usr/src/UPDATING. When he had the correct versions of kernel + userland mount_msdosfs binary, then everything worked. -- Craig Rodrigues rodrigc@crodrigues.org From owner-freebsd-fs@FreeBSD.ORG Thu Aug 2 06:14:44 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A483616A41B for ; Thu, 2 Aug 2007 06:14:44 +0000 (UTC) (envelope-from rodrigc@c-71-192-57-29.hsd1.ma.comcast.net) Received: from alnrmhc16.comcast.net (alnrmhc16.comcast.net [206.18.177.56]) by mx1.freebsd.org (Postfix) with ESMTP id 5BB3113C48D for ; Thu, 2 Aug 2007 06:14:44 +0000 (UTC) (envelope-from rodrigc@c-71-192-57-29.hsd1.ma.comcast.net) Received: from c-71-192-57-29.hsd1.ma.comcast.net ([71.192.57.29]) by comcast.net (alnrmhc16) with ESMTP id <20070802061422b1600qjj5ie>; Thu, 2 Aug 2007 06:14:43 +0000 Received: from c-71-192-57-29.hsd1.ma.comcast.net (localhost.crodrigues.org [127.0.0.1]) by c-71-192-57-29.hsd1.ma.comcast.net (8.14.1/8.14.1) with ESMTP id l726ELIV001272; Thu, 2 Aug 2007 02:14:21 -0400 (EDT) (envelope-from rodrigc@c-71-192-57-29.hsd1.ma.comcast.net) Received: (from rodrigc@localhost) by c-71-192-57-29.hsd1.ma.comcast.net (8.14.1/8.14.1/Submit) id l726EKLT001271; Thu, 2 Aug 2007 02:14:20 -0400 (EDT) (envelope-from rodrigc) Date: Thu, 2 Aug 2007 02:14:20 -0400 From: Craig Rodrigues To: Antony Mawer Message-ID: <20070802061420.GA1229@crodrigues.org> References: <46B09FA9.9080503@pean.org> <20070801162814.GA52304@crodrigues.org> <20070801163012.GA7038@elvandar.org> <20070801163714.GA52404@crodrigues.org> <20070801164329.GC7038@elvandar.org> <46B0D3FD.3040201@elischer.org> <46B1144C.8090103@mawer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46B1144C.8090103@mawer.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-fs@freebsd.org Subject: Re: rsync and smb. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2007 06:14:44 -0000 On Thu, Aug 02, 2007 at 09:16:28AM +1000, Antony Mawer wrote: > ... in short, the patch by Jim Carroll appears to fix this problem in my > experience, and I am running with it in production without causing any > regressions (at least that I have observed -- more eyes are always > welcome). Thanks! Well, since you have done a lot of testing with this patch, and it exists on mainline, I MFC'd it to RELENG_6: http://lists.freebsd.org/pipermail/cvs-src/2007-August/081051.html > There are also these patches I am led to believe may potentially help > with communicating with OSX versions of Samba (which likes to talk > unicode). They may have bit-rotted since and so may need updating for > -CURRENT: > > http://people.freebsd.org/~imura/kiconv/ It's too bad these patches were not committed a long time ago....they appear useful. I don't have an environment to test Samba interoperability between FreeBSD and OS X, otherwise I would offer to help more. -- Craig Rodrigues rodrigc@crodrigues.org From owner-freebsd-fs@FreeBSD.ORG Thu Aug 2 07:53:16 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FE8D16A41F for ; Thu, 2 Aug 2007 07:53:16 +0000 (UTC) (envelope-from peter@pean.org) Received: from ker.oderland.com (ker.oderland.com [213.115.231.25]) by mx1.freebsd.org (Postfix) with ESMTP id 476AE13C4A6 for ; Thu, 2 Aug 2007 07:53:16 +0000 (UTC) (envelope-from peter@pean.org) Received: from [127.0.0.1] (helo=svenerik.jajja.com) by ker.oderland.com with esmtpa (Exim 4.66) (envelope-from ) id 1IGVUa-0004bM-Em; Thu, 02 Aug 2007 09:53:08 +0200 Received: from svenerik.jajja.com ([217.118.217.10] helo=svenerik.jajja.com) by ASSP.nospam; 2 Aug 2007 09:53:08 +0200 Message-ID: <46B18D6A.7060305@pean.org> Date: Thu, 02 Aug 2007 09:53:14 +0200 From: Peter User-Agent: Thunderbird 2.0.0.0 (X11/20070629) MIME-Version: 1.0 To: Craig Rodrigues References: <46B09FA9.9080503@pean.org> <20070801162814.GA52304@crodrigues.org> In-Reply-To: <20070801162814.GA52304@crodrigues.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ker.oderland.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - pean.org X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-fs@freebsd.org Subject: Re: rsync and smb. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2007 07:53:16 -0000 Craig Rodrigues wrote: > On Wed, Aug 01, 2007 at 04:58:49PM +0200, Peter wrote: >> I searched google for some answers and found that this is a more or less >> common problem. I found a PR on this but that was back in 4.10-RELEASE and >> I'm running 6.2-RELEASE. http://www.freebsd.org/cgi/query-pr.cgi?pr=78953 >> >> This also describes my problem pretty well: >> http://lists.freebsd.org/pipermail/freebsd-questions/2005-June/089471.html > > Does this patch help? > > Yes, the new version of smbfs_smb.c fixed the problem. Thanks! From owner-freebsd-fs@FreeBSD.ORG Thu Aug 2 13:10:17 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6EFA16A418 for ; Thu, 2 Aug 2007 13:10:17 +0000 (UTC) (envelope-from eksffa@freebsdbrasil.com.br) Received: from capeta.freebsdbrasil.com.br (vrrp.freebsdbrasil.com.br [200.210.70.30]) by mx1.freebsd.org (Postfix) with SMTP id 199DA13C468 for ; Thu, 2 Aug 2007 13:10:10 +0000 (UTC) (envelope-from eksffa@freebsdbrasil.com.br) Received: (qmail 37377 invoked from network); 2 Aug 2007 09:46:53 -0300 Received: by simscan 1.1.0 ppid: 37366, pid: 37369, t: 1.0142s scanners: clamav: 0.91.1/m: spam: 3.1.1 X-Spam-Checker-Version: SpamAssassin: -last, FreeBSD Brasil LTDA rulesets: Yes X-Spam-Status: No, hits=0.0 required=3.7 Received: from unknown (HELO claire.bh.freebsdbrasil.com.br) (201.78.44.31) by capeta.freebsdbrasil.com.br with SMTP; 2 Aug 2007 09:46:52 -0300 Message-ID: <46B1D167.4030206@freebsdbrasil.com.br> Date: Thu, 02 Aug 2007 09:43:19 -0300 From: Patrick Tracanelli Organization: FreeBSD Brasil LTDA User-Agent: Thunderbird 2.0.0.0 (X11/20070612) MIME-Version: 1.0 To: Eric Anderson References: <46B0F505.8090102@freebsdbrasil.com.br> <46B10798.5050504@freebsdbrasil.com.br> <200708011536.37926.matt@ixsystems.com> <46B12D0C.20808@freebsd.org> In-Reply-To: <46B12D0C.20808@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: Xsan (Apple) on FreeBSD X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2007 13:10:17 -0000 Eric Anderson wrote: > Matt Olander wrote: >> On Wednesday 01 August 2007 3:22 pm, Patrick Tracanelli wrote: >>> Hello Jeff, >>> >>> Jeff Mohler wrote: >>>> Im yet to hear of a large Xsan install that stayed Xsan once it grew. >>>> >>>> Most, if not all, have gone to netapp or umm..Isilon (spelling) that >>>> ive >>>> been close to. Latest large dump of Xsan that I know of was >>>> Current TV >>>> in San Francisco, for Isilon. >>> Hmm, good to know. I have tested XServe RAID only, which has shown to be >>> a good solution as storage system for the usage profile I need, but >>> Xsan, never saw it working. Believed it to be the usual path to follow, >>> but have hear of people running Stornext instead of xsan. >>> >>> So, now my question goes on a different path. Will Isilon OneFS run >>> FreeBSD? I head from people at Zoic Studios it is based on FreeBSD, but >>> I am not sure how true this information is. Anyway, "based on" wont >>> always mean fully compatible. >>> >>> Are you aware of OneFS running on FreeBSD? >> >> It is indeed true. OneFS is FreeBSD. The Isilon product is really neat >> and you can buy it modularly, starting with just one unit. > > To be clear, OneFS isn't a solution to add to FreeBSD - it is an > all-in-one solution, that happens to be built with FreeBSD (or parts of > it anyway). It's like a NetApp. You don't run NetApp on FreeBSD, you > use whatever clients you want, and they connect *to* Isilon or NetApp. > As far as I understand, they are all just NFS/CIFS/iSCSI > servers/targets. There's really no solution for sharing a SAN block > device safely using FreeBSD (using the same blocks with the same fs). > That would require a clustered filesystem, and there is no such beast > for FreeBSD at this point. Simultaneous read-write activity from > different hosts to the same file system leads to Bad Stuff. Hello Eric, Thank you for clearing up some things. I believed OneFS to be an extension the the file system which would allow shared access. So, OneFS seem to be exclusively used by the appliance itself, as you mention. FreeBSD unfortunately don't have a shared file system (it would be a solution to this matter, combining a shared FS with ggate and gmirror, or using a central gvirstor/zfs storage solution, 100% FreeBSD-only). It really is a missing piece of feature which would boost usage/combination of many other ones. I dont know about iSCSI support on FreeBSD. A quick research on the archieves seem to show that there is no iSCSI support at this time. So NFS/CIFS and something like that would the option? In this case, a FreeBSD solution seem a lot more flexible than a storage appliance. In fact I run NFS today, but performance is becoming a problem as the usage increases. I have never used CIFS on Unix-to-Unix enviroment, and I dont believe it to be better than NFS anyway. But maybe I should give it a try. Is there any other CIFS implementation other than Samba? Samba just happen to have so many features Ill never need in this enviroment. Is there any chance it will perform better than NFS? BTW, what about NFS4? Is performance improvement a goal, or just security/kerberos/auth stuff? I have been running NFS4 with gssd, which shall decrease performance. Ill do some benching without gssd comparing to NFS3. > I'd love to learn more about OneFS and the FreeBSD integration from > someone at Isilon. It's a great success story that would be great to > boast about on the FreeBSD website. I have contacted Isilon regarding FreeBSD usage and possibilities. If I hear good news from someone there, maybe it is a conversation to start on advocacy@. > > Eric Thank you Eric. > > > -- Patrick Tracanelli From owner-freebsd-fs@FreeBSD.ORG Thu Aug 2 13:55:13 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 373BC16A41F for ; Thu, 2 Aug 2007 13:55:13 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from ns.trinitel.com (186.161.36.72.static.reverse.ltdomains.com [72.36.161.186]) by mx1.freebsd.org (Postfix) with ESMTP id 1517B13C442 for ; Thu, 2 Aug 2007 13:55:12 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from proton.local (209-163-168-124.static.twtelecom.net [209.163.168.124]) (authenticated bits=0) by ns.trinitel.com (8.14.1/8.14.1) with ESMTP id l72Dt0Xa008111; Thu, 2 Aug 2007 08:55:01 -0500 (CDT) (envelope-from anderson@freebsd.org) Message-ID: <46B1E234.7010005@freebsd.org> Date: Thu, 02 Aug 2007 08:55:00 -0500 From: Eric Anderson User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Patrick Tracanelli References: <46B0F505.8090102@freebsdbrasil.com.br> <46B10798.5050504@freebsdbrasil.com.br> <200708011536.37926.matt@ixsystems.com> <46B12D0C.20808@freebsd.org> <46B1D167.4030206@freebsdbrasil.com.br> In-Reply-To: <46B1D167.4030206@freebsdbrasil.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on ns.trinitel.com Cc: freebsd-fs@freebsd.org Subject: Re: Xsan (Apple) on FreeBSD X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2007 13:55:13 -0000 Patrick Tracanelli wrote: > Eric Anderson wrote: >> Matt Olander wrote: >>> On Wednesday 01 August 2007 3:22 pm, Patrick Tracanelli wrote: >>>> Hello Jeff, >>>> >>>> Jeff Mohler wrote: >>>>> Im yet to hear of a large Xsan install that stayed Xsan once it grew. >>>>> >>>>> Most, if not all, have gone to netapp or umm..Isilon (spelling) >>>>> that ive >>>>> been close to. Latest large dump of Xsan that I know of was >>>>> Current TV >>>>> in San Francisco, for Isilon. >>>> Hmm, good to know. I have tested XServe RAID only, which has shown >>>> to be >>>> a good solution as storage system for the usage profile I need, but >>>> Xsan, never saw it working. Believed it to be the usual path to follow, >>>> but have hear of people running Stornext instead of xsan. >>>> >>>> So, now my question goes on a different path. Will Isilon OneFS run >>>> FreeBSD? I head from people at Zoic Studios it is based on FreeBSD, but >>>> I am not sure how true this information is. Anyway, "based on" wont >>>> always mean fully compatible. >>>> >>>> Are you aware of OneFS running on FreeBSD? >>> >>> It is indeed true. OneFS is FreeBSD. The Isilon product is really >>> neat and you can buy it modularly, starting with just one unit. >> >> To be clear, OneFS isn't a solution to add to FreeBSD - it is an >> all-in-one solution, that happens to be built with FreeBSD (or parts >> of it anyway). It's like a NetApp. You don't run NetApp on FreeBSD, >> you use whatever clients you want, and they connect *to* Isilon or >> NetApp. As far as I understand, they are all just NFS/CIFS/iSCSI >> servers/targets. There's really no solution for sharing a SAN block >> device safely using FreeBSD (using the same blocks with the same fs). >> That would require a clustered filesystem, and there is no such beast >> for FreeBSD at this point. Simultaneous read-write activity from >> different hosts to the same file system leads to Bad Stuff. > > Hello Eric, > > Thank you for clearing up some things. I believed OneFS to be an > extension the the file system which would allow shared access. So, OneFS > seem to be exclusively used by the appliance itself, as you mention. > > FreeBSD unfortunately don't have a shared file system (it would be a > solution to this matter, combining a shared FS with ggate and gmirror, > or using a central gvirstor/zfs storage solution, 100% FreeBSD-only). It > really is a missing piece of feature which would boost usage/combination > of many other ones. Agreed - I've been beating that drum for some time. It's a *lot* of work, and not enough developers/money to do it right now. > I dont know about iSCSI support on FreeBSD. A quick research on the > archieves seem to show that there is no iSCSI support at this time. So There is iSCSI support, and -CURRENT recently got an iSCSI initiator in the base system. The iSCSI target is in the ports collection. This doesn't fix the issue, as it's still a block device transport. > NFS/CIFS and something like that would the option? In this case, a > FreeBSD solution seem a lot more flexible than a storage appliance. In > fact I run NFS today, but performance is becoming a problem as the usage > increases. I have never used CIFS on Unix-to-Unix enviroment, and I dont > believe it to be better than NFS anyway. But maybe I should give it a > try. Is there any other CIFS implementation other than Samba? Samba just > happen to have so many features Ill never need in this enviroment. Is > there any chance it will perform better than NFS? NFS will beat CIFS in performance almost always. NFS is a commonly used protocol for shared file access, and should perform fairly well. If you are hitting NFS performance issues, you might want to dig there first, since there are things that you can do to improve your performance, depending on your usage. It may in fact be that NFS itself is not the bottleneck for you. > BTW, what about NFS4? Is performance improvement a goal, or just > security/kerberos/auth stuff? I have been running NFS4 with gssd, which > shall decrease performance. Ill do some benching without gssd comparing > to NFS3. I'm not certain. NFS does ok in general for performance as a protocol - often it is other factors that make it 'slow'. >> I'd love to learn more about OneFS and the FreeBSD integration from >> someone at Isilon. It's a great success story that would be great to >> boast about on the FreeBSD website. > > I have contacted Isilon regarding FreeBSD usage and possibilities. If I > hear good news from someone there, maybe it is a conversation to start > on advocacy@. Great! Keep us all posted on what you learn. Eric From owner-freebsd-fs@FreeBSD.ORG Thu Aug 2 14:13:43 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4389816A420; Thu, 2 Aug 2007 14:13:43 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from moe.cs.uoguelph.ca (moe.cs.uoguelph.ca [131.104.94.198]) by mx1.freebsd.org (Postfix) with ESMTP id D2C2213C45E; Thu, 2 Aug 2007 14:13:42 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.96.170]) by moe.cs.uoguelph.ca (8.13.1/8.13.1) with ESMTP id l72EDdYO018895; Thu, 2 Aug 2007 10:13:39 -0400 Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p3+Sun/8.11.6) with ESMTP id l72EIOs11791; Thu, 2 Aug 2007 10:18:24 -0400 (EDT) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Thu, 2 Aug 2007 10:18:24 -0400 (EDT) From: Rick Macklem X-X-Sender: rmacklem@muncher To: Patrick Tracanelli In-Reply-To: <46B1D167.4030206@freebsdbrasil.com.br> Message-ID: References: <46B0F505.8090102@freebsdbrasil.com.br> <46B10798.5050504@freebsdbrasil.com.br> <200708011536.37926.matt@ixsystems.com> <46B12D0C.20808@freebsd.org> <46B1D167.4030206@freebsdbrasil.com.br> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Scanned-By: MIMEDefang 2.57 on 131.104.94.198 Cc: freebsd-fs@freebsd.org Subject: Re: Xsan (Apple) on FreeBSD X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2007 14:13:43 -0000 On Thu, 2 Aug 2007, Patrick Tracanelli wrote: > BTW, what about NFS4? Is performance improvement a goal, or just > security/kerberos/auth stuff? I have been running NFS4 with gssd, which shall > decrease performance. Ill do some benching without gssd comparing to NFS3. > There is a feature (Delegations) in NFSv4 that I think will help a lot w.r.t. performance (it essentially gives a client exclusive rights to a file). However, to the best of my knowledge, none of the extant clients are using it effectively. (Solaris10 shipped with minimal delegation support.) I am just testing Delegation stuff, so I should know soon how much it helps performance. But a production quality implementation of NFSv4 with delegations (client side) isn't out there at this point, from what I know. rick From owner-freebsd-fs@FreeBSD.ORG Thu Aug 2 14:40:36 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F2F716A418 for ; Thu, 2 Aug 2007 14:40:36 +0000 (UTC) (envelope-from eksffa@freebsdbrasil.com.br) Received: from capeta.freebsdbrasil.com.br (vrrp.freebsdbrasil.com.br [200.210.70.30]) by mx1.freebsd.org (Postfix) with SMTP id 9A05813C457 for ; Thu, 2 Aug 2007 14:40:34 +0000 (UTC) (envelope-from eksffa@freebsdbrasil.com.br) Received: (qmail 60431 invoked from network); 2 Aug 2007 11:44:05 -0300 Received: by simscan 1.1.0 ppid: 60419, pid: 60420, t: 1.2353s scanners: clamav: 0.91.1/m: spam: 3.1.1 X-Spam-Checker-Version: SpamAssassin: -last, FreeBSD Brasil LTDA rulesets: Yes X-Spam-Status: No, hits=-2.2 required=3.7 Received: from unknown (HELO claire.bh.freebsdbrasil.com.br) (201.78.44.31) by capeta.freebsdbrasil.com.br with SMTP; 2 Aug 2007 11:44:04 -0300 Message-ID: <46B1ECDF.10407@freebsdbrasil.com.br> Date: Thu, 02 Aug 2007 11:40:31 -0300 From: Patrick Tracanelli Organization: FreeBSD Brasil LTDA User-Agent: Thunderbird 2.0.0.0 (X11/20070612) MIME-Version: 1.0 To: Eric Anderson References: <46B0F505.8090102@freebsdbrasil.com.br> <46B10798.5050504@freebsdbrasil.com.br> <200708011536.37926.matt@ixsystems.com> <46B12D0C.20808@freebsd.org> <46B1D167.4030206@freebsdbrasil.com.br> <46B1E234.7010005@freebsd.org> In-Reply-To: <46B1E234.7010005@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: Xsan (Apple) on FreeBSD X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2007 14:40:36 -0000 Eric Anderson wrote: > Patrick Tracanelli wrote: >> Eric Anderson wrote: >>> Matt Olander wrote: >>>> On Wednesday 01 August 2007 3:22 pm, Patrick Tracanelli wrote: >>>>> Hello Jeff, >>>>> >>>>> Jeff Mohler wrote: >>>>>> Im yet to hear of a large Xsan install that stayed Xsan once it grew. >>>>>> >>>>>> Most, if not all, have gone to netapp or umm..Isilon (spelling) >>>>>> that ive >>>>>> been close to. Latest large dump of Xsan that I know of was >>>>>> Current TV >>>>>> in San Francisco, for Isilon. >>>>> Hmm, good to know. I have tested XServe RAID only, which has shown >>>>> to be >>>>> a good solution as storage system for the usage profile I need, but >>>>> Xsan, never saw it working. Believed it to be the usual path to >>>>> follow, >>>>> but have hear of people running Stornext instead of xsan. >>>>> >>>>> So, now my question goes on a different path. Will Isilon OneFS run >>>>> FreeBSD? I head from people at Zoic Studios it is based on FreeBSD, >>>>> but >>>>> I am not sure how true this information is. Anyway, "based on" wont >>>>> always mean fully compatible. >>>>> >>>>> Are you aware of OneFS running on FreeBSD? >>>> >>>> It is indeed true. OneFS is FreeBSD. The Isilon product is really >>>> neat and you can buy it modularly, starting with just one unit. >>> >>> To be clear, OneFS isn't a solution to add to FreeBSD - it is an >>> all-in-one solution, that happens to be built with FreeBSD (or parts >>> of it anyway). It's like a NetApp. You don't run NetApp on FreeBSD, >>> you use whatever clients you want, and they connect *to* Isilon or >>> NetApp. As far as I understand, they are all just NFS/CIFS/iSCSI >>> servers/targets. There's really no solution for sharing a SAN block >>> device safely using FreeBSD (using the same blocks with the same fs). >>> That would require a clustered filesystem, and there is no such beast >>> for FreeBSD at this point. Simultaneous read-write activity from >>> different hosts to the same file system leads to Bad Stuff. >> >> Hello Eric, >> >> Thank you for clearing up some things. I believed OneFS to be an >> extension the the file system which would allow shared access. So, >> OneFS seem to be exclusively used by the appliance itself, as you >> mention. >> >> FreeBSD unfortunately don't have a shared file system (it would be a >> solution to this matter, combining a shared FS with ggate and gmirror, >> or using a central gvirstor/zfs storage solution, 100% FreeBSD-only). >> It really is a missing piece of feature which would boost >> usage/combination of many other ones. > > > Agreed - I've been beating that drum for some time. It's a *lot* of > work, and not enough developers/money to do it right now. I can imagine how much work would be needed for a whole new FS. Just curious, no chance for a geom module to do the trick? Or "tricky" would also be writing a geom to do this? =) > > >> I dont know about iSCSI support on FreeBSD. A quick research on the >> archieves seem to show that there is no iSCSI support at this time. So > > There is iSCSI support, and -CURRENT recently got an iSCSI initiator in > the base system. The iSCSI target is in the ports collection. This > doesn't fix the issue, as it's still a block device transport. Well, so, on 7.0 I can have a FreeBSD as target sharing some data and two 7.0 boxes as initiator acessing the same data? If so, that would be an approach to test. > > >> NFS/CIFS and something like that would the option? In this case, a >> FreeBSD solution seem a lot more flexible than a storage appliance. In >> fact I run NFS today, but performance is becoming a problem as the >> usage increases. I have never used CIFS on Unix-to-Unix enviroment, >> and I dont believe it to be better than NFS anyway. But maybe I should >> give it a try. Is there any other CIFS implementation other than >> Samba? Samba just happen to have so many features Ill never need in >> this enviroment. Is there any chance it will perform better than NFS? > > NFS will beat CIFS in performance almost always. NFS is a commonly used > protocol for shared file access, and should perform fairly well. If you > are hitting NFS performance issues, you might want to dig there first, > since there are things that you can do to improve your performance, > depending on your usage. It may in fact be that NFS itself is not the > bottleneck for you. Right. The situation I have is among many 5.5-STABLE systems. Sometimes, under high load, the client systems get high load averages, but userland apps are sort of sitting idle. I can see however, that "system" starts using ~ 80% of CPU (from top). Clients are quad-processed servers. On server, gstat shows me that the disk is on 100% usage, but not 100% throughput (since they are many, but small disk operations). nfsstat also shows we are on limit of what I could find to be the limit via dd parallely and massively writing and read tests. And thus, nfs server "stops responding" for a while, and later becomes responsive again. I didnt find out something I could tune up to make it better. Side question: is 5.5-STABLE to 6.2-STABLE NFS code too different? Would the behavior on 6.2 be different? -- Patrick Tracanelli FreeBSD Brasil LTDA. (31) 3281-9633 / 3281-3547 316601@sip.freebsdbrasil.com.br http://www.freebsdbrasil.com.br "Long live Hanin Elias, Kim Deal!" From owner-freebsd-fs@FreeBSD.ORG Thu Aug 2 14:44:31 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DBEB16A41F for ; Thu, 2 Aug 2007 14:44:31 +0000 (UTC) (envelope-from eksffa@freebsdbrasil.com.br) Received: from capeta.freebsdbrasil.com.br (vrrp.freebsdbrasil.com.br [200.210.70.30]) by mx1.freebsd.org (Postfix) with SMTP id AE24B13C457 for ; Thu, 2 Aug 2007 14:44:30 +0000 (UTC) (envelope-from eksffa@freebsdbrasil.com.br) Received: (qmail 61077 invoked from network); 2 Aug 2007 11:48:02 -0300 Received: by simscan 1.1.0 ppid: 61066, pid: 61071, t: 0.5828s scanners: clamav: 0.91.1/m: spam: 3.1.1 X-Spam-Checker-Version: SpamAssassin: -last, FreeBSD Brasil LTDA rulesets: Yes X-Spam-Status: No, hits=-2.2 required=3.7 Received: from unknown (HELO claire.bh.freebsdbrasil.com.br) (201.78.44.31) by capeta.freebsdbrasil.com.br with SMTP; 2 Aug 2007 11:48:02 -0300 Message-ID: <46B1EDCC.2080803@freebsdbrasil.com.br> Date: Thu, 02 Aug 2007 11:44:28 -0300 From: Patrick Tracanelli Organization: FreeBSD Brasil LTDA User-Agent: Thunderbird 2.0.0.0 (X11/20070612) MIME-Version: 1.0 To: Rick Macklem References: <46B0F505.8090102@freebsdbrasil.com.br> <46B10798.5050504@freebsdbrasil.com.br> <200708011536.37926.matt@ixsystems.com> <46B12D0C.20808@freebsd.org> <46B1D167.4030206@freebsdbrasil.com.br> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: Xsan (Apple) on FreeBSD X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2007 14:44:31 -0000 Rick Macklem wrote: > > > On Thu, 2 Aug 2007, Patrick Tracanelli wrote: > >> BTW, what about NFS4? Is performance improvement a goal, or just >> security/kerberos/auth stuff? I have been running NFS4 with gssd, >> which shall decrease performance. Ill do some benching without gssd >> comparing to NFS3. >> > There is a feature (Delegations) in NFSv4 that I think will help a lot > w.r.t. performance (it essentially gives a client exclusive rights to a > file). However, to the best of my knowledge, none of the extant clients > are using it effectively. (Solaris10 shipped with minimal delegation > support.) > > I am just testing Delegation stuff, so I should know soon how much it > helps performance. But a production quality implementation of NFSv4 > with delegations (client side) isn't out there at this point, from > what I know. But delegation feature would not fit in an enviroment where we have two systems accessing the server (same shares, or even the whole nfs4 root), so parallel nfs4 usage cant count on this feature :/ -- Patrick Tracanelli From owner-freebsd-fs@FreeBSD.ORG Thu Aug 2 15:45:26 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6102D16A468 for ; Thu, 2 Aug 2007 15:45:26 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from ns.trinitel.com (186.161.36.72.static.reverse.ltdomains.com [72.36.161.186]) by mx1.freebsd.org (Postfix) with ESMTP id 39A7F13C47E for ; Thu, 2 Aug 2007 15:45:26 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from proton.local (209-163-168-124.static.twtelecom.net [209.163.168.124]) (authenticated bits=0) by ns.trinitel.com (8.14.1/8.14.1) with ESMTP id l72FjIXF080394; Thu, 2 Aug 2007 10:45:23 -0500 (CDT) (envelope-from anderson@freebsd.org) Message-ID: <46B1FC0E.7040702@freebsd.org> Date: Thu, 02 Aug 2007 10:45:18 -0500 From: Eric Anderson User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Patrick Tracanelli References: <46B0F505.8090102@freebsdbrasil.com.br> <46B10798.5050504@freebsdbrasil.com.br> <200708011536.37926.matt@ixsystems.com> <46B12D0C.20808@freebsd.org> <46B1D167.4030206@freebsdbrasil.com.br> <46B1E234.7010005@freebsd.org> <46B1ECDF.10407@freebsdbrasil.com.br> In-Reply-To: <46B1ECDF.10407@freebsdbrasil.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on ns.trinitel.com Cc: freebsd-fs@freebsd.org Subject: Re: Xsan (Apple) on FreeBSD X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2007 15:45:26 -0000 Patrick Tracanelli wrote: > Eric Anderson wrote: >> Patrick Tracanelli wrote: >>> Eric Anderson wrote: >>>> Matt Olander wrote: >>>>> On Wednesday 01 August 2007 3:22 pm, Patrick Tracanelli wrote: >>>>>> Hello Jeff, >>>>>> >>>>>> Jeff Mohler wrote: >>>>>>> Im yet to hear of a large Xsan install that stayed Xsan once it >>>>>>> grew. >>>>>>> >>>>>>> Most, if not all, have gone to netapp or umm..Isilon (spelling) >>>>>>> that ive >>>>>>> been close to. Latest large dump of Xsan that I know of was >>>>>>> Current TV >>>>>>> in San Francisco, for Isilon. >>>>>> Hmm, good to know. I have tested XServe RAID only, which has shown >>>>>> to be >>>>>> a good solution as storage system for the usage profile I need, but >>>>>> Xsan, never saw it working. Believed it to be the usual path to >>>>>> follow, >>>>>> but have hear of people running Stornext instead of xsan. >>>>>> >>>>>> So, now my question goes on a different path. Will Isilon OneFS run >>>>>> FreeBSD? I head from people at Zoic Studios it is based on >>>>>> FreeBSD, but >>>>>> I am not sure how true this information is. Anyway, "based on" wont >>>>>> always mean fully compatible. >>>>>> >>>>>> Are you aware of OneFS running on FreeBSD? >>>>> >>>>> It is indeed true. OneFS is FreeBSD. The Isilon product is really >>>>> neat and you can buy it modularly, starting with just one unit. >>>> >>>> To be clear, OneFS isn't a solution to add to FreeBSD - it is an >>>> all-in-one solution, that happens to be built with FreeBSD (or parts >>>> of it anyway). It's like a NetApp. You don't run NetApp on >>>> FreeBSD, you use whatever clients you want, and they connect *to* >>>> Isilon or NetApp. As far as I understand, they are all just >>>> NFS/CIFS/iSCSI servers/targets. There's really no solution for >>>> sharing a SAN block device safely using FreeBSD (using the same >>>> blocks with the same fs). That would require a clustered filesystem, >>>> and there is no such beast for FreeBSD at this point. Simultaneous >>>> read-write activity from different hosts to the same file system >>>> leads to Bad Stuff. >>> >>> Hello Eric, >>> >>> Thank you for clearing up some things. I believed OneFS to be an >>> extension the the file system which would allow shared access. So, >>> OneFS seem to be exclusively used by the appliance itself, as you >>> mention. >>> >>> FreeBSD unfortunately don't have a shared file system (it would be a >>> solution to this matter, combining a shared FS with ggate and >>> gmirror, or using a central gvirstor/zfs storage solution, 100% >>> FreeBSD-only). It really is a missing piece of feature which would >>> boost usage/combination of many other ones. >> >> >> Agreed - I've been beating that drum for some time. It's a *lot* of >> work, and not enough developers/money to do it right now. > > I can imagine how much work would be needed for a whole new FS. Just > curious, no chance for a geom module to do the trick? Or "tricky" would > also be writing a geom to do this? =) Well, GEOM is block level, so that doesn't really fix the file system locking issues. However, maybe it's possible to abuse geom_journal and make it a distributed journal to achieve it. It's still really hard. :) >> >> >>> I dont know about iSCSI support on FreeBSD. A quick research on the >>> archieves seem to show that there is no iSCSI support at this time. So >> >> There is iSCSI support, and -CURRENT recently got an iSCSI initiator >> in the base system. The iSCSI target is in the ports collection. >> This doesn't fix the issue, as it's still a block device transport. > > Well, so, on 7.0 I can have a FreeBSD as target sharing some data and > two 7.0 boxes as initiator acessing the same data? If so, that would be > an approach to test. Yes, you can share the blocks, but that doesn't solve the file system clustering issues. >>> NFS/CIFS and something like that would the option? In this case, a >>> FreeBSD solution seem a lot more flexible than a storage appliance. >>> In fact I run NFS today, but performance is becoming a problem as the >>> usage increases. I have never used CIFS on Unix-to-Unix enviroment, >>> and I dont believe it to be better than NFS anyway. But maybe I >>> should give it a try. Is there any other CIFS implementation other >>> than Samba? Samba just happen to have so many features Ill never need >>> in this enviroment. Is there any chance it will perform better than NFS? >> >> NFS will beat CIFS in performance almost always. NFS is a commonly >> used protocol for shared file access, and should perform fairly well. >> If you are hitting NFS performance issues, you might want to dig there >> first, since there are things that you can do to improve your >> performance, depending on your usage. It may in fact be that NFS >> itself is not the bottleneck for you. > > Right. The situation I have is among many 5.5-STABLE systems. Sometimes, > under high load, the client systems get high load averages, but userland > apps are sort of sitting idle. I can see however, that "system" starts > using ~ 80% of CPU (from top). Clients are quad-processed servers. > > On server, gstat shows me that the disk is on 100% usage, but not 100% > throughput (since they are many, but small disk operations). nfsstat > also shows we are on limit of what I could find to be the limit via dd > parallely and massively writing and read tests. And thus, nfs server > "stops responding" for a while, and later becomes responsive again. > > I didnt find out something I could tune up to make it better. Well, it sounds like you are IO bound on your server. If the system is waiting on disks to get you data, then you probably need to adjust your storage to allow more IO. This usually means more disks, or a different RAID set up, more cache, etc. You might also bump up the number of nfsd processes on your server (try doubling it first). > Side question: is 5.5-STABLE to 6.2-STABLE NFS code too different? Would > the behavior on 6.2 be different? There are many file system tweaks, and few NFS tweaks. I don't think any of them will give you massive performance increase. I think you are throttling on disk IO. Eric From owner-freebsd-fs@FreeBSD.ORG Thu Aug 2 15:52:07 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB89016A417 for ; Thu, 2 Aug 2007 15:52:07 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from mailhub.cs.uoguelph.ca (mailhub.cs.uoguelph.ca [131.104.94.205]) by mx1.freebsd.org (Postfix) with ESMTP id 8429C13C458 for ; Thu, 2 Aug 2007 15:52:07 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.96.170]) by mailhub.cs.uoguelph.ca (8.13.1/8.13.1) with ESMTP id l72Fq1g9018919; Thu, 2 Aug 2007 11:52:01 -0400 Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p3+Sun/8.11.6) with ESMTP id l72Fulm26128; Thu, 2 Aug 2007 11:56:47 -0400 (EDT) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Thu, 2 Aug 2007 11:56:47 -0400 (EDT) From: Rick Macklem X-X-Sender: rmacklem@muncher To: Patrick Tracanelli In-Reply-To: <46B1EDCC.2080803@freebsdbrasil.com.br> Message-ID: References: <46B0F505.8090102@freebsdbrasil.com.br> <46B10798.5050504@freebsdbrasil.com.br> <200708011536.37926.matt@ixsystems.com> <46B12D0C.20808@freebsd.org> <46B1D167.4030206@freebsdbrasil.com.br> <46B1EDCC.2080803@freebsdbrasil.com.br> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Scanned-By: MIMEDefang 2.57 on 131.104.94.205 Cc: freebsd-fs@freebsd.org Subject: Re: Xsan (Apple) on FreeBSD X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2007 15:52:07 -0000 On Thu, 2 Aug 2007, Patrick Tracanelli wrote: > > But delegation feature would not fit in an enviroment where we have two > systems accessing the server (same shares, or even the whole nfs4 root), so > parallel nfs4 usage cant count on this feature :/ > I'm not sure what you are saying. Delegations are "per file". If you are read/write sharing the same file across multiple clients then, yes, delegations won't help your case. Btw, if your disks are 100% busy, there isn't much you can do except spread the load across more drives on the NFS server, to get better NFS perf, imo. rick. From owner-freebsd-fs@FreeBSD.ORG Fri Aug 3 12:25:10 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7921716A41B for ; Fri, 3 Aug 2007 12:25:10 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from ns.trinitel.com (186.161.36.72.static.reverse.ltdomains.com [72.36.161.186]) by mx1.freebsd.org (Postfix) with ESMTP id 45B9F13C48E for ; Fri, 3 Aug 2007 12:25:10 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from proton.local (209-163-168-124.static.twtelecom.net [209.163.168.124]) (authenticated bits=0) by ns.trinitel.com (8.14.1/8.14.1) with ESMTP id l73CP7o4033859 for ; Fri, 3 Aug 2007 07:25:07 -0500 (CDT) (envelope-from anderson@freebsd.org) Message-ID: <46B31EA0.4010603@freebsd.org> Date: Fri, 03 Aug 2007 07:25:04 -0500 From: Eric Anderson User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on ns.trinitel.com Subject: NFSv4 questions X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Aug 2007 12:25:10 -0000 Hi NFSv4 gurus, While looking through the src, I noticed this: in src/sys/nfs/nfsproto.h: 497 struct nfsv4_fattr { 498 u_int fa4_valid; 499 nfstype fa4_type; 500 off_t fa4_size; 501 uint64_t fa4_fsid_major; 502 uint64_t fa4_fsid_minor; 503 uint64_t fa4_fileid; 504 mode_t fa4_mode; 505 nlink_t fa4_nlink; 506 uid_t fa4_uid; 507 gid_t fa4_gid; 508 uint32_t fa4_rdev_major; 509 uint32_t fa4_rdev_minor; 510 struct timespec fa4_atime; 511 struct timespec fa4_btime; 512 struct timespec fa4_ctime; 513 struct timespec fa4_mtime; 514 uint64_t fa4_maxread; 515 uint64_t fa4_maxwrite; 516 uint64_t fa4_ffree; 517 uint64_t fa4_ftotal; 518 uint32_t fa4_maxname; 519 uint64_t fa4_savail; 520 uint64_t fa4_sfree; 521 uint64_t fa4_stotal; 522 uint64_t fa4_changeid; 523 uint32_t fa4_lease_time; 524 uint64_t fa4_maxfilesize; 525 }; 526 It seems to me the fa4_mode, and fa4_nlink should actually be declared as uint32_t, because the nlink_t and mode_t are actually 16bits. See src/sys/sys/_types.h: 49 typedef __uint16_t __mode_t; /* permissions */ 50 typedef int __nl_item; 51 typedef __uint16_t __nlink_t; /* link count */ See the NFSv4 rfc here: http://www.ietf.org/rfc/rfc3530.txt Can someone smack some sense into me please? Eric From owner-freebsd-fs@FreeBSD.ORG Fri Aug 3 13:18:58 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8267416A418; Fri, 3 Aug 2007 13:18:58 +0000 (UTC) (envelope-from rees@citi.umich.edu) Received: from citi.umich.edu (citi.umich.edu [141.211.133.111]) by mx1.freebsd.org (Postfix) with ESMTP id 5732B13C442; Fri, 3 Aug 2007 13:18:58 +0000 (UTC) (envelope-from rees@citi.umich.edu) Received: from citi.umich.edu (dsl093-001-248.det1.dsl.speakeasy.net [66.93.1.248]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Jim Rees", Issuer "CITI Production KCA" (verified OK)) by citi.umich.edu (Postfix) with ESMTP id 6A9E446B1; Fri, 3 Aug 2007 09:18:57 -0400 (EDT) Date: Fri, 3 Aug 2007 09:18:56 -0400 From: Jim Rees To: Eric Anderson Message-ID: <20070803131855.GB32553@citi.umich.edu> References: <46B31EA0.4010603@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46B31EA0.4010603@freebsd.org> Cc: freebsd-fs@freebsd.org Subject: Re: NFSv4 questions X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Aug 2007 13:18:58 -0000 The members of nfsv4_fattr don't have to exactly match the types in the protocol. The on-wire value is copied to the struct nfsv4_fattr by nfsm_v4dissect_attrs_xx(), then to struct vattr by nfs4_vnop_loadattrcache(). If the link count ever went above 2^16 there would be a problem, but making fa4_nlink won't solve that. From owner-freebsd-fs@FreeBSD.ORG Fri Aug 3 15:02:29 2007 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D590F16A418; Fri, 3 Aug 2007 15:02:29 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A957A13C46C; Fri, 3 Aug 2007 15:02:29 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (remko@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l73F2TkB022121; Fri, 3 Aug 2007 15:02:29 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l73F2T3A022117; Fri, 3 Aug 2007 15:02:29 GMT (envelope-from remko) Date: Fri, 3 Aug 2007 15:02:29 GMT Message-Id: <200708031502.l73F2T3A022117@freefall.freebsd.org> To: remko@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-fs@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: bin/115165: [PATCH] add functionality of mount_nfs' -L -a -d options to amd X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Aug 2007 15:02:29 -0000 Synopsis: [PATCH] add functionality of mount_nfs' -L -a -d options to amd Responsible-Changed-From-To: freebsd-bugs->freebsd-fs Responsible-Changed-By: remko Responsible-Changed-When: Fri Aug 3 15:02:07 UTC 2007 Responsible-Changed-Why: this sounds more like something for the fs@ team. http://www.freebsd.org/cgi/query-pr.cgi?pr=115165 From owner-freebsd-fs@FreeBSD.ORG Sat Aug 4 07:57:41 2007 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CC7616A420; Sat, 4 Aug 2007 07:57:41 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay02.kiev.sovam.com (relay02.kiev.sovam.com [62.64.120.197]) by mx1.freebsd.org (Postfix) with ESMTP id DF97313C494; Sat, 4 Aug 2007 07:57:40 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from [89.162.146.170] (helo=skuns.kiev.zoral.com.ua) by relay02.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1IHEW0-000NC7-KT; Sat, 04 Aug 2007 10:57:39 +0300 Received: from deviant.kiev.zoral.com.ua (root@[10.1.1.148]) by skuns.kiev.zoral.com.ua (8.14.1/8.14.1) with ESMTP id l747vWBX082313 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 4 Aug 2007 10:57:32 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1) with ESMTP id l747vVjS043269; Sat, 4 Aug 2007 10:57:31 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1/Submit) id l747vUlv043268; Sat, 4 Aug 2007 10:57:30 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 4 Aug 2007 10:57:30 +0300 From: Kostik Belousov To: Bruce Evans Message-ID: <20070804075730.GP2738@deviant.kiev.zoral.com.ua> References: <20070710233455.O2101@besplex.bde.org> <20070712084115.GA2200@deviant.kiev.zoral.com.ua> <20070712225324.F9515@besplex.bde.org> <20070712142127.GD2200@deviant.kiev.zoral.com.ua> <20070716195556.P12807@besplex.bde.org> <20070721063434.GI2200@deviant.kiev.zoral.com.ua> <20070721233613.Q3366@besplex.bde.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h9WqFG8zn/Mwlkpe" Content-Disposition: inline In-Reply-To: <20070721233613.Q3366@besplex.bde.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.91.1, clamav-milter version 0.91.1 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.2.1 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on skuns.kiev.zoral.com.ua X-Scanner-Signature: 7318d724e6e33de4232bc9d11f85b76e X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 1336 [August 3 2007] X-SpamTest-Info: helo_type=3 X-SpamTest-Method: none X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release Cc: bugs@freebsd.org, fs@freebsd.org Subject: Re: msdosfs not MPSAFE X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Aug 2007 07:57:41 -0000 --h9WqFG8zn/Mwlkpe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 21, 2007 at 11:52:04PM +1000, Bruce Evans wrote: > On Sat, 21 Jul 2007, Kostik Belousov wrote: >=20 > >On Mon, Jul 16, 2007 at 08:18:14PM +1000, Bruce Evans wrote: > >>sx xlocking works, but is not quite right: > >>% /* > >>% + * XXX msdosfs_lookup() is split up because unlocking before all the > >>returns > >>% + * in the original function would be too churning. > >>% + */ > >>% +int > >>% +msdosfs_lookup(ap) > >>% + struct vop_cachedlookup_args *ap; > >>% +{ > >>% + int error; > >>% + > >>% + sx_xlock(&mbnambuf_lock); > >>% + error =3D msdosfs_lookup_locked(ap); > >>% + sx_xunlock(&mbnambuf_lock); > >>% + return (error); > >>% +} > >>% + > >>% +/* > > > >Assume that a directory A is participating in lookup() from two threads: > >thread 1 lookup the A itself; > >thread 2 lookup some entry in the A. > >Then, thread 1 would have mbnambuf_lock locked, and may wait for A' > >vnode lock; > >thread 2 shall own vnode lock for A, then locking mbnambuf_lock. > > > >I do not see what may prevent this LOR scenario from realizing, or what > >make it harmless. >=20 > Nothing I can see either. The wrapper is too global. >=20 > Next try: move locking into the inner loop in msdosfs_lookup(). Unlocking > is not as ugly as I feared. The following has only been tested at compile > time: >=20 > % Index: msdosfs_lookup.c > % =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > % RCS file: /home/ncvs/src/sys/fs/msdosfs/msdosfs_lookup.c,v > % retrieving revision 1.40 > % diff -u -2 -r1.40 msdosfs_lookup.c > % --- msdosfs_lookup.c 26 Dec 2003 17:24:37 -0000 1.40 > % +++ msdosfs_lookup.c 21 Jul 2007 13:27:37 -0000 > % @@ -54,4 +54,5 @@ > % #include > % #include > % +#include > % #include > % #include > % @@ -63,4 +64,6 @@ > % #include > %=20 > % +extern struct sx mbnambuf_lock; > % + > % /* > % * When we search a directory the blocks containing directory entries = are > % @@ -192,4 +195,5 @@ > % */ > % tdp =3D NULL; > % + sx_xlock(&mbnambuf_lock); > % mbnambuf_init(); > % /* > % @@ -206,4 +210,5 @@ > % if (error =3D=3D E2BIG) > % break; > % + sx_xunlock(&mbnambuf_lock); > % return (error); > % } > % @@ -211,4 +216,5 @@ > % if (error) { > % brelse(bp); > % + sx_xunlock(&mbnambuf_lock); > % return (error); > % } > % @@ -240,4 +246,5 @@ > % if (dep->deName[0] =3D=3D SLOT_EMPTY) { > % brelse(bp); > % + sx_xunlock(&mbnambuf_lock); > % goto notfound; > % } > % @@ -301,4 +308,5 @@ > % dp->de_fndcnt =3D wincnt - 1; > %=20 > % + sx_xunlock(&mbnambuf_lock); > % goto found; > % } > % @@ -310,4 +318,5 @@ > % brelse(bp); > % } /* for (frcn =3D 0; ; frcn++) */ > % + sx_xunlock(&mbnambuf_lock); > %=20 > % notfound: >=20 > After moving the locking into msdosfs_conv.c and adding assertions there, > this should be a good enough fix until the mbnambuf interface is changed. > This bug is in all versions since 5.2-RELEASE. Once again, sorry for late answer. The change seems to be good. --h9WqFG8zn/Mwlkpe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGtDFpC3+MBN1Mb4gRAr1XAJ9hWtnFtf0kiW6EvRrLwiCrJhvKZACfVdGC 9Dp51cDM0HfDVEaDRq2rbk4= =V3NH -----END PGP SIGNATURE----- --h9WqFG8zn/Mwlkpe--