From owner-freebsd-fs@FreeBSD.ORG Wed Jan 21 05:04:25 2009 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 AE847106564A for ; Wed, 21 Jan 2009 05:04:25 +0000 (UTC) (envelope-from chris@young-alumni.com) Received: from mail.oldschoolpunx.net (cpe-72-177-10-243.austin.res.rr.com [72.177.10.243]) by mx1.freebsd.org (Postfix) with ESMTP id 8001C8FC14 for ; Wed, 21 Jan 2009 05:04:25 +0000 (UTC) (envelope-from chris@young-alumni.com) Received: by mail.oldschoolpunx.net (Postfix, from userid 58) id 6B2EF7DED4; Tue, 20 Jan 2009 22:49:11 -0600 (CST) Received: from [192.168.8.200] (unknown [192.168.8.200]) by mail.oldschoolpunx.net (Postfix) with ESMTPSA id D25047DEB8 for ; Tue, 20 Jan 2009 22:45:22 -0600 (CST) Resent-To: freebsd-fs@freebsd.org From: Chris Ruiz To: John Hendy In-Reply-To: Resent-From: Chris Ruiz References: <200901202101.27544.boris.kotzev@gmail.com> Message-Id: <818F3AAA-919C-4848-826C-4982592649FF@young-alumni.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Resent-Date: Tue, 20 Jan 2009 22:45:22 -0600 Mime-Version: 1.0 (Apple Message framework v930.3) Date: Tue, 20 Jan 2009 22:44:12 -0600 X-Mailer: Apple Mail (2.930.3) Resent-Message-Id: <20090121044522.D25047DEB8@mail.oldschoolpunx.net> Cc: Subject: Re: OS X/FreeBSD shared zfs partition 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, 21 Jan 2009 05:04:25 -0000 On Jan 20, 2009, at 10:29 PM, John Hendy wrote: > Thanks Boris and Jake. > > Is this 7.0 current we're talking about, or 8.0? I'm still pretty > new to > FreeBSD and trying to sort the nomenclature: release, current, > stable... > along with each of those I believe is also a version (7.0, 7.1, 8.0, > etc.). > Just looking to know what I should run to have a compatible version > of the > filesystem. I do not want bleeding edge, so 8.0 is out... I wouldn't > mind > something like 7.1 stable, though. Would that be possible? 7 = STABLE, 8 = CURRENT. I have successfully used a zfs flash drive on osx 10.5.6 w/ zfs 119 and freebsd 7.1. Try setting up your zpool with osx's implementation. When you switch between operating systems, you will need to zpool import -f. Also, osx uses acls to prevent you from being able to execute anything written to your zfs filesystems from any other operating system (this shouldn't matter if you are just storing data). You shouldn't need to use mount at all, your filesystems will be auto-mounted when you import your zpool. Hope this helps, Chris Ruiz > > Thanks, > John > > On Tue, Jan 20, 2009 at 6:19 PM, Jake Scott wrote: > >> MacOS has a later version of the file system. If you don't have >> any data >> you care about on it yet, then try re-creating the pool in FreeBSD >> and then >> importing it into MacOS. Otherwise, you will need FreeBSD current... >> >> >> J> >> >> >> >> >> On Tue, 20 Jan 2009, John Hendy wrote: >> >> Oh, and 'zpool status' returns: >>> >>> pool: tank >>> state: ONLINE >>> scrub: none requested >>> config: >>> >>> NAME STATE READ WRITE CKSUM >>> tank ONLINE 0 0 0 >>> ad5s3 ONLINE 0 0 0 >>> >>> And when I just tried 'zfs unmount tank/jwhendy' I get 'cannot >>> unmount >>> tank/jwhendy: not currently mounted'. Just wanted to add that... I >>> thought >>> tank/jwhendy hendy was mounted since it's mountpoint directory was >>> not >>> empty, but according to zfs it was not mounted. >>> >>> >>> Thanks, >>> John >>> >>> On Tue, Jan 20, 2009 at 1:01 PM, Boris Kotzev >>> >>> wrote: >>> >>> Hi, >>>>> >>>>> I dual boot OS X and FreeBSD (currently 7.0-i386) and have >>>>> wanted to >>>>> >>>> share a >>>> >>>>> partition for storage between the two. I looked into getting HFS >>>>> + to >>>>> work >>>>> >>>> on >>>> >>>>> FreeBSD (http://forums.freebsd.org/showthread.php?t=1198)< >>>>> >>>> http://forums.freebsd.org/showthread.php?t=1198> >>>> >>>>> but >>>>> did not succeed. Then I ran across these two pages: >>>>> >>>>> - http://blog.igorminar.com/2009/01/using-zfs-with-mac-os-x-105.html >>>>> - http://zfs.macosforge.org/trac/wiki >>>>> >>>>> I used them to successfully change my Users folder in OS X to a >>>>> zfs >>>>> filesystem on a partition separate from my main OS X system/boot >>>>> files. >>>>> >>>> Now >>>> >>>>> I just want to mount that partition from FreeBSD. Is this >>>>> possible? I >>>>> can >>>>> see the slice in /dev as ad5s3, but there's no partitions on >>>>> that slice >>>>> >>>> to >>>> >>>>> mount (ad5s3a, for example), nor am I familiar enough with ZFS >>>>> to know >>>>> >>>> what >>>> >>>>> it should look like from FreeBSD. I have tried 'mount -t zfs / >>>>> dev/ad5s3 >>>>> /media/temp' without success. zfs.ko is loaded (seen in kldstat) >>>>> and >>>>> >>>> gives >>>> >>>>> the usual message of it being experimental and being version >>>>> 6.0. In a >>>>> >>>> post >>>> >>>>> on the forums (http://forums.freebsd.org/showthread.php?t=1613) >>>>> it was >>>>> suggested that I try 'zpool list' but that returned 'no pools >>>>> available'. >>>>> >>>> I >>>> >>>>> tried 'zfs list' as well and got 'no datasets available'. >>>>> >>>>> My GUID partition table (OS X) and MBR (FreeBSD) are synced, so >>>>> they >>>>> both >>>>> show disk0s3 (OS X)/partition 3 as type Solaris (It's 'Solaris >>>>> Usr' on >>>>> >>>> the >>>> >>>>> GPT and type B4 iirc on the MBR). I used an EFI booting program >>>>> called >>>>> >>>> rEFIt >>>> >>>>> to sync the tables - could the MBR type of the slice be the >>>>> reason I >>>>> >>>> can't >>>> >>>>> mount it from FreeBSD? >>>>> >>>>> I've searched long and hard for any posts about using zfs as a >>>>> way to >>>>> >>>> share >>>> >>>>> a partition between any two OSs, but have not found any >>>>> references on >>>>> how >>>>> >>>> to >>>> >>>>> use a zfs slice as a shared data partition. Can it only be >>>>> mounted from >>>>> >>>> the >>>> >>>>> OS in which it was created? Any thoughts on what I might do here? >>>>> >>>>> >>>>> Thanks much, >>>>> John >>>>> >>>> >>>> I am sorry, I wanted to ask what >>>> >>>> zpool import >>>> >>>> returns. >>>> >>>> Regards, >>>> >>>> Boris Kotzev >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>> 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" >>> >>> > _______________________________________________ > 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"