From owner-freebsd-fs@FreeBSD.ORG Sun Apr 13 11:57:55 2008 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 241B8106566B for ; Sun, 13 Apr 2008 11:57:55 +0000 (UTC) (envelope-from fatalis.erratum@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by mx1.freebsd.org (Postfix) with ESMTP id CF0478FC15 for ; Sun, 13 Apr 2008 11:57:54 +0000 (UTC) (envelope-from fatalis.erratum@gmail.com) Received: by yw-out-2324.google.com with SMTP id 2so444045ywt.13 for ; Sun, 13 Apr 2008 04:57:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=1Avrh9rDFP8mjl3fV1+8vcrzoCt6hY8C9aSO5nOrSwU=; b=MCumSEZHT7xjM9F3NnhnRx5goCdpjZVomDjpJtmZ6ohELAC8gVxcEKv8kSLEahRh1gmRCQ8eovixZ5v8yyKtyl6VNjFa02lIIQV5HZokVOsz8tOmfW47wyt3voXHYKK96F1TRL626FQJ5lFSFxym4Vwf2OIruA4y0ki+zTKrL1I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=oGgUoyaIOezNquxCaQtnURh8mHw7gH8NPrXcop1DyGKQokS0ULbw1l2CWq1Ad151o1ZFcM9dPFQ7BlnCFoic8f32d1C32IBLkkO7s/G5fgLwKviyI9jap9LyEzo8iF01nkt4QovyK+WHg6kAeUM0Gpck4DX+9tVz27aEDl/NrC4= Received: by 10.150.121.2 with SMTP id t2mr5081650ybc.130.1208086315692; Sun, 13 Apr 2008 04:31:55 -0700 (PDT) Received: by 10.150.198.5 with HTTP; Sun, 13 Apr 2008 04:31:55 -0700 (PDT) Message-ID: <5b826e210804130431w7ca5fbcbsbf86b22c956a7b2b@mail.gmail.com> Date: Sun, 13 Apr 2008 14:31:55 +0300 From: "Reinis Ivanovs" Sender: fatalis.erratum@gmail.com To: freebsd-fs@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 94f55f7f1ce1c67b Subject: growing ufs in a virtualization 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: Sun, 13 Apr 2008 11:57:55 -0000 hello, I have the following problem. I have a fbsd 7.0 vps running on vmware, and the available disk space has been increased since the os was installed. it means that the disk has "magically" gotten bigger, and in dmesg I see that /dev/da0 has 6291456 sectors, but bsdlabel says that the c partition has 4192902 sectors. if I do bsdlabel -e da0s1 and try to inclease the sectors to the correct number, it says > partition c: partition extends past end of unit > disklabel: partition c doesn't cover the whole unit! > disklabel: An incorrect partition c may cause problems for standard system utilities I'm a bit at a loss here. the manpage for growfs says that "the disk must be labeled to a bigger size using bsdlabel" before I can use it, but I don't know how. any help would be appreciated best, reinis -- http://untu.ms/ From owner-freebsd-fs@FreeBSD.ORG Mon Apr 14 10:24:23 2008 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 077FC1065672 for ; Mon, 14 Apr 2008 10:24:23 +0000 (UTC) (envelope-from db@nipsi.de) Received: from fop.bsdsystems.de (mx.bsdsystems.de [88.198.57.43]) by mx1.freebsd.org (Postfix) with ESMTP id C3C218FC0A for ; Mon, 14 Apr 2008 10:24:22 +0000 (UTC) (envelope-from db@nipsi.de) Received: from [172.16.1.13] (e176121128.adsl.alicedsl.de [85.176.121.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by fop.bsdsystems.de (Postfix) with ESMTP id 623762C35D for ; Mon, 14 Apr 2008 11:51:37 +0200 (CEST) Message-ID: <48032924.2010009@nipsi.de> Date: Mon, 14 Apr 2008 11:51:32 +0200 From: Dennis Berger User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: gmirror: replacing a drive with a bigger one. 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, 14 Apr 2008 10:24:23 -0000 Hi, currently I have two 180gb drives in a RAID1 with gmirror. Now we need to extend the size so I would like to replace both drives with 500gb drives. Is there a recommend way to do this? I suggested replacing one drive at first and let gmirror set it up to as a 180gb. Then use growfs to extend the last partition this is my /data partition. Or should I use dump/restore and dd to replace? What do I have to keep in mind then? copying metadata and such? What do you suggest? Thanks, Dennis From owner-freebsd-fs@FreeBSD.ORG Mon Apr 14 11:06:48 2008 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 BDDCE106564A for ; Mon, 14 Apr 2008 11:06:48 +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 AD9708FC16 for ; Mon, 14 Apr 2008 11:06:48 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3EB6mqB072210 for ; Mon, 14 Apr 2008 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3EB6mlm072206 for freebsd-fs@FreeBSD.org; Mon, 14 Apr 2008 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 14 Apr 2008 11:06:48 GMT Message-Id: <200804141106.m3EB6mlm072206@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 freebsd-fs@FreeBSD.org 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, 14 Apr 2008 11:06:48 -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/116170 fs [panic] Kernel panic when mounting /tmp o bin/121072 fs [smbfs] mount_smbfs(8) cannot normally convert the cha o bin/122172 fs [amd] [fs]: amd(8) automount daemon dies on 6.3-STABLE 5 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/113049 fs [patch] [request] make quot(8) use getopt(3) and show o bin/113838 fs [patch] [request] mount(8): add support for relative p o bin/114468 fs [patch] [request] add -d option to umount(8) to detach o kern/114847 fs [ntfs] [patch] [request] dirmask support for NTFS ala o kern/114955 fs [cd9660] [patch] [request] support for mask,dirmask,ui o bin/118249 fs mv(1): moving a directory changes its mtime 6 problems total. From owner-freebsd-fs@FreeBSD.ORG Mon Apr 14 11:13:23 2008 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 857141065670 for ; Mon, 14 Apr 2008 11:13:23 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [91.103.162.4]) by mx1.freebsd.org (Postfix) with ESMTP id 476F48FC0C for ; Mon, 14 Apr 2008 11:13:23 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 6EA8319E023; Mon, 14 Apr 2008 12:56:11 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id E347A19E019; Mon, 14 Apr 2008 12:56:05 +0200 (CEST) Message-ID: <48033858.50607@quip.cz> Date: Mon, 14 Apr 2008 12:56:24 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Dennis Berger References: <48032924.2010009@nipsi.de> In-Reply-To: <48032924.2010009@nipsi.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: gmirror: replacing a drive with a bigger one. 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, 14 Apr 2008 11:13:23 -0000 Dennis Berger wrote: > Hi, > currently I have two 180gb drives in a RAID1 with gmirror. Now we need > to extend the size so I would like to replace both drives with 500gb > drives. > Is there a recommend way to do this? > I suggested replacing one drive at first and let gmirror set it up to as > a 180gb. Then use growfs to extend the last partition this is my /data > partition. > Or should I use dump/restore and dd to replace? What do I have to keep > in mind then? copying metadata and such? > What do you suggest? I think there is no way to grow gmirror by growfs. So I will use dump and restore to create brand new gmirror from bigger drives. Miroslav Lachman From owner-freebsd-fs@FreeBSD.ORG Tue Apr 15 06:42:31 2008 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 6DAF11065674; Tue, 15 Apr 2008 06:42:31 +0000 (UTC) (envelope-from daichi@freebsd.org) Received: from natial.ongs.co.jp (natial.ongs.co.jp [202.216.246.90]) by mx1.freebsd.org (Postfix) with ESMTP id 3B3198FC3A; Tue, 15 Apr 2008 06:42:31 +0000 (UTC) (envelope-from daichi@freebsd.org) Received: from parancell.ongs.co.jp (dullmdaler.ongs.co.jp [202.216.246.94]) by natial.ongs.co.jp (Postfix) with ESMTP id 1DC47125423; Tue, 15 Apr 2008 15:42:30 +0900 (JST) Message-ID: <48044E55.9060903@freebsd.org> Date: Tue, 15 Apr 2008 15:42:29 +0900 From: Daichi GOTO User-Agent: Thunderbird 2.0.0.12 (X11/20080325) MIME-Version: 1.0 To: "Alexander V. Chernikov" References: <47E9448F.1010304@ipfw.ru> <47EA6E27.3060006@freebsd.org> In-Reply-To: <47EA6E27.3060006@freebsd.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: dindin@yandex-team.ru, freebsd-fs@freebsd.org, freebsd-current@FreeBSD.org, Robert Watson , Kurt Jaeger Subject: Re: unionfs status 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, 15 Apr 2008 06:42:31 -0000 If anyone has no problems with p20-1 to p20-4, I am going to commit it to HEAD. About p20-5, rwatson have pointed out that it maybe has the same socket problem, so we are going to research for more while ;) Daichi GOTO wrote: > I should say that so sorry of my slow response. so sorry. > > We are developing unionfs step by step and still have 5 next patches. > > http://people.freebsd.org/~daichi/unionfs/experiments/ > http://people.freebsd.org/~daichi/unionfs/experiments/unionfs-p20-1.diff > http://people.freebsd.org/~daichi/unionfs/experiments/unionfs-p20-2.diff > http://people.freebsd.org/~daichi/unionfs/experiments/unionfs-p20-3.diff > http://people.freebsd.org/~daichi/unionfs/experiments/unionfs-p20-4.diff > http://people.freebsd.org/~daichi/unionfs/experiments/unionfs-p20-5.diff > > p20-1: > leads panic when "no error happens, eofflag is 0, response data is empty > and DIAGNOSTIC is defined" while involving VOP_READDIR(9) from unionfs. > This change fixes system hang-up using with NFS. > > p20-2: > fixed fs access issue mounting on devfs. > > p20-3: > fixed kern/109377. > > p20-4: > fixed rename panic issue > > p20-5: > fixed unix socket connection issue > > On our long unionfs running test, It looks like works very well. Would you > try above patches? So sorry of my slow response. Please accept my deepest > apology. > > We are planing to commit above patches to 8-current. 7-release has been > done. It is good time to commit it to current ;) > > Alexander V. Chernikov wrote: >> Hello people! >> >> At this moment unionfs has got at least following problems: >> 1) File systems cannot mount onto upper/lower unionfs layer (partially >> described in kern/117829) >> 2) There are problems with multithreaded programs accessing(writing) >> files on unionfs (kern/109950) >> 3) As well there are problems with accessing unix sockets created on >> upper/lower unionfs layers (kern/118346) >> 4) Doing mv filename same-filename causes kernel to panic on 6.X (and >> printing warning about VOP_RENAME in 7+) >> 5) Making 'loops' when mounting unionfs causes kernel panic (kern/121385) >> >> I have made patches solving first 4 problems >> These patches are available at http://ipfw.ru/patches/ >> unionfs2.diff fixes fs mounting onto upper layer, unionfs_lmount.diff >> fixes lower >> unionfs_threads.diff and unionfs_unix.diff fixes cases 2) and 3) >> unionfs_rename.diff fixes case with renaming >> >> Can anybody comment/review ? > -- Daichi GOTO, http://people.freebsd.org/~daichi From owner-freebsd-fs@FreeBSD.ORG Tue Apr 15 14:00:08 2008 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 D9CAC106568B for ; Tue, 15 Apr 2008 14:00:08 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 949AF8FC3E for ; Tue, 15 Apr 2008 14:00:08 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Jllhb-0007gd-0u for freebsd-fs@freebsd.org; Tue, 15 Apr 2008 14:00:03 +0000 Received: from borg.bfh.ch ([147.87.102.145]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Apr 2008 14:00:03 +0000 Received: from ktk by borg.bfh.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Apr 2008 14:00:03 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Adrian Gschwend Date: Tue, 15 Apr 2008 15:47:07 +0200 Organization: netlabs.org Lines: 46 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: borg.bfh.ch User-Agent: Thunderbird 2.0.0.12 (X11/20080227) X-Enigmail-Version: 0.95.6 Sender: news Subject: mount_nfs, Kerberos & NFS4 on FreeBSD7 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, 15 Apr 2008 14:00:09 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi group, Sorry for posting that to the -dev list but freebsd-questions didn't help me at all (no reply), Google is clueless & comp.protocols.nfs couldn't help either. I try to figure out which options I should pass to mount_nfs when I want to use Kerberos authentication instead of the classic sys permission. In some man pages of V4 I find an option -K, I can't find anything like this on my 6 or 7 series versions however. I found out how to do it on MacOS: http://docs.info.apple.com/article.html?artnum=306694 Interestingly mount_nfs on MacOS does show the 'sec=...' option in the manpage and it does state it's a BSD manpage so I'm really confused because I can't find the 'sec=...' option on any of my FreeBSD systems here (4.x, 6.x & 7.0) So I tried adding -4 as option hoping that it will use krb security if provided, if I try adding that option I get: # mount_nfs -4 freezer:/vol/something /mnt/freezer/ mount_nfs: /mnt/freezer, : Operation not supported - -3 works, the manpage does show -4 as an option but in the synopsis it is missing. So am I wrong or is BSD wrong this time? :-D Adrian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIBLHbqpMUYrZbQBERArnAAJ0SrbPU2ETuvykc1WR5cMv41IjEpgCfW/1E UCTKKy0K57+VVpmLdo8D4qE= =DN49 -----END PGP SIGNATURE----- From owner-freebsd-fs@FreeBSD.ORG Tue Apr 15 14:18:28 2008 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 D3FE11065672 for ; Tue, 15 Apr 2008 14:18:28 +0000 (UTC) (envelope-from rees@citi.umich.edu) Received: from citi.umich.edu (unknown [IPv6:2001:468:e9c:3060::4]) by mx1.freebsd.org (Postfix) with ESMTP id 9BBAF8FC2C for ; Tue, 15 Apr 2008 14:18:28 +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 A550F42DC; Tue, 15 Apr 2008 10:18:27 -0400 (EDT) Date: Tue, 15 Apr 2008 10:18:27 -0400 From: Jim Rees To: Adrian Gschwend Message-ID: <20080415141826.GA8508@citi.umich.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: freebsd-fs@freebsd.org Subject: Re: mount_nfs, Kerberos & NFS4 on FreeBSD7 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, 15 Apr 2008 14:18:28 -0000 The v3 and v4 kerberos options are two very different things. In v3 kerberos is an alternate security flavor, like auth_sys. In v4, the security flavor is gss, with kerberos as one of the possible mechanisms. I don't know the status of kerberized v3 on FreeBSD, but the status of v4 is not good. We did a client only implementation many years ago but our funding went away and it has not been maintained. At this point I doubt it works. It never did support kerberos. From owner-freebsd-fs@FreeBSD.ORG Tue Apr 15 15:34:09 2008 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 53091106564A for ; Tue, 15 Apr 2008 15:34:09 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 0C45D8FC17 for ; Tue, 15 Apr 2008 15:34:08 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JlnAa-0003z0-73 for freebsd-fs@freebsd.org; Tue, 15 Apr 2008 15:34:04 +0000 Received: from borg.bfh.ch ([147.87.102.145]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Apr 2008 15:34:04 +0000 Received: from ktk by borg.bfh.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Apr 2008 15:34:04 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Adrian Gschwend Date: Tue, 15 Apr 2008 17:33:53 +0200 Organization: netlabs.org Lines: 25 Message-ID: References: <20080415141826.GA8508@citi.umich.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: borg.bfh.ch User-Agent: Thunderbird 2.0.0.12 (X11/20080227) In-Reply-To: <20080415141826.GA8508@citi.umich.edu> X-Enigmail-Version: 0.95.6 Sender: news Subject: Re: mount_nfs, Kerberos & NFS4 on FreeBSD7 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, 15 Apr 2008 15:34:09 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jim Rees wrote: | I don't know the status of kerberized v3 on FreeBSD, but the status of v4 is | not good. We did a client only implementation many years ago but our | funding went away and it has not been maintained. At this point I doubt it | works. It never did support kerberos. ok thanks for the clarification cu Adrian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIBMrhqpMUYrZbQBERAomwAJ9b2uGNw4ZW5HlhovWNvdqiXRzxKwCghgii Fbe9Fus4+zueBTje0FgTIxo= =Dgvv -----END PGP SIGNATURE----- From owner-freebsd-fs@FreeBSD.ORG Tue Apr 15 22:29:23 2008 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 0DDD01065673 for ; Tue, 15 Apr 2008 22:29:23 +0000 (UTC) (envelope-from engywook@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.168]) by mx1.freebsd.org (Postfix) with ESMTP id D27FD8FC22 for ; Tue, 15 Apr 2008 22:29:22 +0000 (UTC) (envelope-from engywook@gmail.com) Received: by wf-out-1314.google.com with SMTP id 25so2184652wfa.7 for ; Tue, 15 Apr 2008 15:29:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=+kERxgsxGt/pkF8hAmfIYoh8I/wHkdg9GhgZC8IUG3E=; b=N524O03Y7De5aJ/o4/c2LIprFtTSWHlmLn1ED2p3xoZijFe61+xXYFwboQxR07KTzXGcz0pki0ZjV1jlNgKaTtYwZ6LcfSXqpFHaW4s9Lv4avsyUHaULrZadE5eE7KDEmVCJ72vqN9VTLm6Csprv4Z9sPPlDOSYue/MpzDK7ghg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=R/D9Z8J26HqdJ6S3KtFEPYYrbjaxYKZubyXtZ7VtqnGX+MyqOJiylscFfduD786qMi6j99H7LP0W7PeVNg59cREcXULrytIrKGhWiKmaPKpbJvCx2RY++VpELzFEs/CEafxijN4Ra76Ph2R7DIhWEVMgNPyAyqlE0PugzYmqNEM= Received: by 10.142.81.7 with SMTP id e7mr1540601wfb.320.1208298562501; Tue, 15 Apr 2008 15:29:22 -0700 (PDT) Received: by 10.143.3.10 with HTTP; Tue, 15 Apr 2008 15:29:22 -0700 (PDT) Message-ID: <24adbbc00804151529m2a74085ds468eaac55ba94a32@mail.gmail.com> Date: Wed, 16 Apr 2008 00:29:22 +0200 From: "Daniel Andersson" To: freebsd-fs@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Choppy performance. 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, 15 Apr 2008 22:29:23 -0000 Hey! ZFS seems to be working for me. It hasn't crashed/hung for me yet and I've been running it for about two weeks now. The only issue I have so far is that it seems very choppy. FTP transfers vary from 6 - 70MB/s. If I run rtorrent under high load and use top to monitor it: last pid: 74309; load averages: 0.53, 0.39, 0.35 up 5+05:52:41 00:03:25 41 processes: 2 running, 39 sleeping CPU states: 10.1% user, 0.0% nice, 30.0% system, 1.1% interrupt, 58.8% idle Mem: 1369M Active, 127M Inact, 374M Wired, 97M Cache, 213M Buf, 4692K Free Swap: 1024M Total, 27M Used, 997M Free, 2% Inuse PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 1215 engy 1 99 0 2085M 139M zfs:(& 49:32 19.53% rtorrent ... rtorrent seems to hang temporarily only when the STATE is zfs:(&. Any ideas why or how I can fix it? Does rtorrent steal the RAM ZFS needs? I've tuned it according to the tuning guide: #sysctl.conf kern.maxvnodes=400000 #loader.conf vm.kmem_size_max="1073741824" vm.kmem_size="1073741824" I just noticed that I didn't set vfs.zfs.prefetch_disable=1. I don't get the deadlocks but could the prefetch_disable fix my problem? I'm currently running a raidz pool with only two disks. Is there some way to turn off the mirroring? I don't really care if the stuff on the disks get corrupted/broken. I would however like to get 1TB instead of 500MB. =P Thanks for porting ZFS! Cheers, Daniel From owner-freebsd-fs@FreeBSD.ORG Wed Apr 16 03:48:55 2008 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 DE8AC106564A for ; Wed, 16 Apr 2008 03:48:55 +0000 (UTC) (envelope-from rtfm.xx@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179]) by mx1.freebsd.org (Postfix) with ESMTP id B408E8FC19 for ; Wed, 16 Apr 2008 03:48:55 +0000 (UTC) (envelope-from rtfm.xx@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so3243056waf.3 for ; Tue, 15 Apr 2008 20:48:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; bh=7pwMmBuY2k9OoilAWiC3CzeSf7w/eTAkw/IWD6UjY5w=; b=pQdoVX4cYN4RXXbXiGmHtPj93+/er4e0Y4y1JwUDnMlxuMCMRkw5YWD0O0uFDzpdqJKfWN3S/NnhIUIAcAJ8jmccvjnfsOwxu88qF5Qkm9XdfqYYfWitlczhuaTY6AnHJJ35yTcuUTBZ+NoiZhneq6NmqQXqRLL+92NBcgp04fI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=J4tqvZyMcBsMahL6eu/ybXAmydDED1qRUdXm1asxH6pp0SPCkAXCsLwg+FL10d8CDAuK98sjXxLNbyyhTnNJD2LdjxzjJuDu2OJswng4Oe3azCZH82VAtHDVwXVYKXymT4haT0Pq/Jy9eT0NcKee7v6mBHD8KDQhJ+8iHj9eAAE= Received: by 10.114.171.1 with SMTP id t1mr9062841wae.83.1208316052161; Tue, 15 Apr 2008 20:20:52 -0700 (PDT) Received: by 10.114.74.15 with HTTP; Tue, 15 Apr 2008 20:20:52 -0700 (PDT) Message-ID: <15d3bc360804152020y4d14adaay398a52cf52b0be12@mail.gmail.com> Date: Tue, 15 Apr 2008 20:20:52 -0700 From: "Joshua Piccari" Sender: rtfm.xx@gmail.com To: freebsd-fs@freebsd.org MIME-Version: 1.0 X-Google-Sender-Auth: f225fc136e218516 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: A little help understanding UFS 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, 16 Apr 2008 03:48:55 -0000 Hi all, I have been using FreeBSD since about 8th grade, and have worked my way from the outer edge of shell scripting to now a growing interest in the kernel and kernel modules. I am looking into modifying the sources for the UFS module. I would really like to prevent users from being able to view files that they do not have permission to read. I have been googling as much as I can, but I can't find the info I'm looking for. >From starring at the source for a good two hours, I was able to figure out how to mod ufs_lookup.c to make the OS act like a file doesn't exist... but this isn't the intended result... I have been looking at ufs_readdir() and was wondering if A) this function can help me successfully hide files that a user doesn't have read permissions to, and B) if this is the function to go after, can someone help me understand this function? thanks in advance. -- ~ joshua From owner-freebsd-fs@FreeBSD.ORG Wed Apr 16 22:16:06 2008 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 18DC3106567B for ; Wed, 16 Apr 2008 22:16:06 +0000 (UTC) (envelope-from yalur@mail.ru) Received: from mx28.mail.ru (mx28.mail.ru [194.67.23.67]) by mx1.freebsd.org (Postfix) with ESMTP id C69178FC38 for ; Wed, 16 Apr 2008 22:16:05 +0000 (UTC) (envelope-from yalur@mail.ru) Received: from mx33.mail.ru (mx33.mail.ru [194.67.23.194]) by mx28.mail.ru (mPOP.Fallback_MX) with ESMTP id CF45E44E767 for ; Wed, 16 Apr 2008 23:12:35 +0400 (MSD) Received: from [77.123.105.27] (port=51169 helo=reluctant-operater.volia.net) by mx33.mail.ru with asmtp id 1JmD3Z-000FH6-00; Wed, 16 Apr 2008 23:12:33 +0400 From: Ruslan Kovtun Organization: Home To: freebsd-fs@freebsd.org Date: Wed, 16 Apr 2008 22:12:31 +0300 User-Agent: KMail/1.9.7 References: <24adbbc00804151529m2a74085ds468eaac55ba94a32@mail.gmail.com> In-Reply-To: <24adbbc00804151529m2a74085ds468eaac55ba94a32@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200804162212.32560.yalur@mail.ru> X-Spam: Not detected Cc: Daniel Andersson Subject: Re: Choppy performance. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yalur@mail.ru List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2008 22:16:06 -0000 Hey! I have the same problem - rtorrent to hang temporarily during high load.=20 Today I installed additional 2 GB RAM and now I have 4Gb. With this=20 configuration hanging is more less but still exist (during ZFS upload data = to=20 pool and swap use>0).=20 Seems, If swap not used (=3D0) then no any hanging. So, More RAM - more beter. =20 =F7 =D3=CF=CF=C2=DD=C5=CE=C9=C9 =CF=D4 =F3=D2=C5=C4=C1 16 =C1=D0=D2=C5=CC= =D1 2008 Daniel Andersson =CE=C1=D0=C9=D3=C1=CC(a): > Hey! > > ZFS seems to be working for me. It hasn't crashed/hung > for me yet and I've been running it for about two weeks now. > The only issue I have so far is that it seems very choppy. FTP > transfers vary from 6 - 70MB/s. If I run rtorrent under high load > and use top to monitor it: > > last pid: 74309; load averages: 0.53, 0.39, 0.35 up 5+05:52:41 > 00:03:25 > 41 processes: 2 running, 39 sleeping > CPU states: 10.1% user, 0.0% nice, 30.0% system, 1.1% interrupt, 58.8% > idle > Mem: 1369M Active, 127M Inact, 374M Wired, 97M Cache, 213M Buf, 4692K Free > Swap: 1024M Total, 27M Used, 997M Free, 2% Inuse > > PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND > 1215 engy 1 99 0 2085M 139M zfs:(& 49:32 > 19.53% rtorrent > .... > > rtorrent seems to hang temporarily only when the STATE is zfs:(&. > Any ideas why or how I can fix it? Does rtorrent steal the RAM ZFS needs? > I've tuned it according to the tuning guide: > > #sysctl.conf > kern.maxvnodes=3D400000 > #loader.conf > vm.kmem_size_max=3D"1073741824" > vm.kmem_size=3D"1073741824" > > I just noticed that I didn't set vfs.zfs.prefetch_disable=3D1. I don't get > the deadlocks but could > the prefetch_disable fix my problem? > > > I'm currently running a raidz pool with only two disks. Is there some way > to turn > off the mirroring? I don't really care if the stuff on the disks get > corrupted/broken. > I would however like to get 1TB instead of 500MB. =3DP > > Thanks for porting ZFS! > > Cheers, > Daniel > _______________________________________________ > 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" =2D-=20 ________________ =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD =EB=CF=D7=D4=D5=CE =F2=D5=D3=CC=C1=CE mailto From owner-freebsd-fs@FreeBSD.ORG Thu Apr 17 08:44:06 2008 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 E21FC106566C for ; Thu, 17 Apr 2008 08:44:06 +0000 (UTC) (envelope-from bra@fsn.hu) Received: from people.fsn.hu (people.fsn.hu [195.228.252.137]) by mx1.freebsd.org (Postfix) with ESMTP id A06668FC15 for ; Thu, 17 Apr 2008 08:44:06 +0000 (UTC) (envelope-from bra@fsn.hu) Received: from [172.16.151.53] (fw.axelero.hu [195.228.243.120]) by people.fsn.hu (Postfix) with ESMTP id 9EC958BED9 for ; Thu, 17 Apr 2008 10:44:01 +0200 (CEST) Message-ID: <48070DCF.9090902@fsn.hu> Date: Thu, 17 Apr 2008 10:43:59 +0200 From: Attila Nagy User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Consistent inodes between distinct machines 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, 17 Apr 2008 08:44:07 -0000 Hello, I have several NFS servers, where the service must be available 0-24. The servers are mounted read only on the clients and I've solved the problem of maintaining consistent inodes between them by rsyncing an UFS image and mounting it via md on the NFS servers. The machines have a common IP address with CARP, so if one of them falls out, the other(s) can take over. This works nice, but rsyncing multi gigabyte files are becoming more and more annoying, so I've wondered whether it would be possible to get constant inodes between machines via alternative ways. The best would be to have a common subversion server and each machine could do updates from that to its own local UFS filesystem. The problem is that the inode allocation isn't predictable, even when starting with the same filesystem image on all machines. I see several arc4random calls in the following files: src/sys/ufs/ffs/ffs_alloc.c src/sys/ufs/ffs/ffs_vfsops.c but it seems that if I change them to a constant value, the issue is becoming better, but there are still differences between the two machines, when I do svn checkout on both of them. Doing a ktrace with the two svn co's it seems that it does exactly the same operations on the two machines. So my question is: is it possible to maintain consistent inodes across several machines somehow if I execute the same operations (at least that's what I think an svn co does) on all of them? Any other ways, which I could do to be able to switch between the NFS servers, without clients getting stale NFS filehandles? Thanks, From owner-freebsd-fs@FreeBSD.ORG Thu Apr 17 14:50:59 2008 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 E2A48106564A for ; Thu, 17 Apr 2008 14:50:59 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.191]) by mx1.freebsd.org (Postfix) with ESMTP id A4F438FC13 for ; Thu, 17 Apr 2008 14:50:59 +0000 (UTC) (envelope-from joao.barros@gmail.com) Received: by rn-out-0910.google.com with SMTP id j40so52664rnf.12 for ; Thu, 17 Apr 2008 07:50:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=boN1+YNBhr01F+ypm+Gvahw/mey/LfJHa4P4seFcXOY=; b=cxcCIySP3oilMm+TRb+f1WJX/YRezJ6tTvq1e86yT51VOeUOxhHa0AvzH9+2Au31ec2gmgVnlrWXV8LyhlvnAk4yO4bnhLIHn9YLdQbM0CN6WxCAc49JqVJZkRe2x3kx8YYAKwxWPagjdzRVEjbr+MhOIcrSjG1+aNo4oa2DhY8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XEEu/3MB4PlBUoKBOkoS6CKLEIeyrEAUBSz+6TVkk/4/nvzJA1jJuXSdTfNhpTC2I9DHEATaerkfvf2YSi635f0Ec1Qgtyxp5hVQaVuqyHNgqapRQYvVD4bZsgHq8pQO6SM2f5e9oB5oQd9WvOM3BIwdlqrOSqUCsiS3jkKYRck= Received: by 10.142.106.18 with SMTP id e18mr466451wfc.111.1208442181152; Thu, 17 Apr 2008 07:23:01 -0700 (PDT) Received: by 10.143.195.1 with HTTP; Thu, 17 Apr 2008 07:23:01 -0700 (PDT) Message-ID: <70e8236f0804170723i13136c11scca7a818a7ffc89b@mail.gmail.com> Date: Thu, 17 Apr 2008 15:23:01 +0100 From: "Joao Barros" To: "Daniel Andersson" In-Reply-To: <24adbbc00804151529m2a74085ds468eaac55ba94a32@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <24adbbc00804151529m2a74085ds468eaac55ba94a32@mail.gmail.com> Cc: freebsd-fs@freebsd.org Subject: Re: Choppy performance. 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, 17 Apr 2008 14:51:00 -0000 On Tue, Apr 15, 2008 at 11:29 PM, Daniel Andersson wrote: > > I just noticed that I didn't set vfs.zfs.prefetch_disable=1. I don't get the > deadlocks but could > the prefetch_disable fix my problem? > Turning off prefetch improved my workload (I play video from it for ex, no more skiped frames) > > I'm currently running a raidz pool with only two disks. Is there some way to > turn > off the mirroring? I don't really care if the stuff on the disks get > corrupted/broken. > I would however like to get 1TB instead of 500MB. =P raidz isn't mirroring, that would be the mirror option. You loose one disk's storage for parity when you use raidz, and since you only added 2 disks to that raidz you lose 50% of your storage space. It has the appearance of mirroring but in fact it's not. Your choice of a raidz was wrong for what you really needed and you have to destroy the raidz pool to be able to change it. Instead of using: zpool create yourpoolname raidz disk1 disk2 use: zpool create yourpoolname disk1 disk2 -- Joao Barros From owner-freebsd-fs@FreeBSD.ORG Thu Apr 17 15:42:30 2008 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 70480106564A for ; Thu, 17 Apr 2008 15:42:30 +0000 (UTC) (envelope-from engywook@gmail.com) Received: from gv-out-0910.google.com (gv-out-0910.google.com [216.239.58.190]) by mx1.freebsd.org (Postfix) with ESMTP id B64238FC17 for ; Thu, 17 Apr 2008 15:42:29 +0000 (UTC) (envelope-from engywook@gmail.com) Received: by gv-out-0910.google.com with SMTP id n40so15121gve.39 for ; Thu, 17 Apr 2008 08:42:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=21AKv9h6PExLwwews8FW9JBz4yowblEBmzDaim33C00=; b=L5S3IYyVIyQdNFEa6DIU0v06ktKLA7pdBuxMJaoPjKBP9ZE2QntE/PInQiyjCe1cZjWC43SZg3VIipM+ONrM/5SoK9Pr3Wvctc8zrZYFM9qGYgm4OP+ElwZxHMhjIOYDOV2rOiyGglboQNlVsRmVLgwwJvdPF2MEb1ib0R3ZSTI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=hVf+u/gBPaDwQ9ETnIEYLSQFUF8tUl6p/zYKSgZ0TlgIzp4Fd6Eb/GiHm5JXaVH+ph+IGUooLWAVLTycV0EZkiyqvtx2+ZSeebwGGAi8SnTjwTFjElQixhSl5gWs/ESZdcmZ7cMD1jWiUoyGL+xCk9k8uhNqQxz8F5VbgEGgH+s= Received: by 10.150.91.20 with SMTP id o20mr1873135ybb.24.1208446945795; Thu, 17 Apr 2008 08:42:25 -0700 (PDT) Received: by 10.151.85.17 with HTTP; Thu, 17 Apr 2008 08:42:25 -0700 (PDT) Message-ID: <24adbbc00804170842l28ca072fta081ea02ab70f3bd@mail.gmail.com> Date: Thu, 17 Apr 2008 17:42:25 +0200 From: "Daniel Andersson" To: "Joao Barros" In-Reply-To: <70e8236f0804170723i13136c11scca7a818a7ffc89b@mail.gmail.com> MIME-Version: 1.0 References: <24adbbc00804151529m2a74085ds468eaac55ba94a32@mail.gmail.com> <70e8236f0804170723i13136c11scca7a818a7ffc89b@mail.gmail.com> 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: freebsd-fs@freebsd.org Subject: Re: Choppy performance. 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, 17 Apr 2008 15:42:30 -0000 >Turning off prefetch improved my workload (I play video from it for > >ex, no more skiped frames) > Okay, I'll try it. Guess I'll have to reboot..=D > >raidz isn't mirroring, that would be the mirror option. > >You loose one disk's storage for parity when you use raidz, and since > >you only added 2 disks to that raidz you lose 50% of your storage > >space. It has the appearance of mirroring but in fact it's not. > >Your choice of a raidz was wrong for what you really needed and you > >have to destroy the raidz pool to be able to change it. I suspected it was something like that, for the lack of a better word I used mirroring. Thanks for clearing it up for me! >Instead of using: > >zpool create yourpoolname raidz disk1 disk2 > >use: > >zpool create yourpoolname disk1 disk2 Okay, I'll try that. I guess I was a little too eager to try out ZFS and didn't read up properly. =P >Ruslan Wrote: > I have the same problem - rtorrent to hang temporarily during high load. >Today I installed additional 2 GB RAM and now I have 4Gb. With this >configuration hanging is more less but still exist (during ZFS upload data to >pool and swap use>0). >Seems, If swap not used (=0) then no any hanging. >So, More RAM - more beter. Okay. My server box's mobo only has two slots for RAM.=( A curious thing happened today with rtorrent. I had set rtorrent so that it couldn't use more than 3072MB of ram. (2048MB RAM + swap). rtorrent said it was using 2800MB but when I checked with top the swap wasn't in use at all? From owner-freebsd-fs@FreeBSD.ORG Thu Apr 17 16:16:56 2008 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 F17411065671 for ; Thu, 17 Apr 2008 16:16:56 +0000 (UTC) (envelope-from yalur@mail.ru) Received: from mx27.mail.ru (mx27.mail.ru [194.67.23.23]) by mx1.freebsd.org (Postfix) with ESMTP id 4E3DC8FC20 for ; Thu, 17 Apr 2008 16:16:56 +0000 (UTC) (envelope-from yalur@mail.ru) Received: from [77.123.105.27] (port=36006 helo=reluctant-operater.volia.net) by mx27.mail.ru with asmtp id 1JmWn8-000Mob-00 for freebsd-fs@freebsd.org; Thu, 17 Apr 2008 20:16:54 +0400 From: Ruslan Kovtun Organization: Home To: freebsd-fs@freebsd.org Date: Thu, 17 Apr 2008 19:16:53 +0300 User-Agent: KMail/1.9.7 References: <24adbbc00804151529m2a74085ds468eaac55ba94a32@mail.gmail.com> <70e8236f0804170723i13136c11scca7a818a7ffc89b@mail.gmail.com> <24adbbc00804170842l28ca072fta081ea02ab70f3bd@mail.gmail.com> In-Reply-To: <24adbbc00804170842l28ca072fta081ea02ab70f3bd@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200804171916.53330.yalur@mail.ru> X-Spam: Not detected Subject: Re: Choppy performance. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yalur@mail.ru List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2008 16:16:57 -0000 17 2008 Daniel Andersson Wrote: > >Turning off prefetch improved my workload (I play video from it for > > > > >ex, no more skiped frames) > > > > Okay, I'll try it. Guess I'll have to reboot..=3DD > > > > >raidz isn't mirroring, that would be the mirror option. > > >You loose one disk's storage for parity when you use raidz, and since > > >you only added 2 disks to that raidz you lose 50% of your storage > > >space. It has the appearance of mirroring but in fact it's not. > > >Your choice of a raidz was wrong for what you really needed and you > > >have to destroy the raidz pool to be able to change it. > > I suspected it was something like that, for the lack of a better > word I used mirroring. Thanks for clearing it up for me! > > >Instead of using: > > >zpool create yourpoolname raidz disk1 disk2 > > >use: > > >zpool create yourpoolname disk1 disk2 > > Okay, I'll try that. I guess I was a little too eager to try out ZFS > and didn't read up properly. =3DP > > >Ruslan Wrote: > > I have the same problem - rtorrent to hang temporarily during high load. > >Today I installed additional 2 GB RAM and now I have 4Gb. With this > >configuration hanging is more less but still exist (during ZFS upload da= ta > > to > > >pool and swap use>0). > >Seems, If swap not used (=3D0) then no any hanging. > >So, More RAM - more beter. > > Okay. My server box's mobo only has two slots for RAM.=3D( > A curious thing happened today with rtorrent. I had set > rtorrent so that it couldn't use more than 3072MB of ram. > (2048MB RAM + swap). rtorrent said it was using 2800MB > but when I checked with top the swap wasn't in use at all? How do you calculate totall memory use in top? Real memory use is present=20 in "RES" column but not in "SIZE" column.=20 ################################ PID USERNAME =9ATHR PRI NICE =9A SIZE =9A =9ARES STATE =9A =9ATIME =9A WCPU= COMMAND 1215 =9A =9A =9A =9A =9A engy =9A =9A =9A =9A1 =9A99 =9A =9A0 =9A2085M =9A= 139M zfs:(& =9A49:32 19.53% =9A =9A =9Artorrent ################################ > _______________________________________________ > 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" =2D-=20 ________________ =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD =EB=CF=D7=D4=D5=CE =F2=D5=D3=CC=C1=CE mailto