From owner-freebsd-fs@FreeBSD.ORG Tue Jan 20 19:29:27 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 590D01065670 for ; Tue, 20 Jan 2009 19:29:27 +0000 (UTC) (envelope-from boris.kotzev@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.188]) by mx1.freebsd.org (Postfix) with ESMTP id D47D28FC18 for ; Tue, 20 Jan 2009 19:29:26 +0000 (UTC) (envelope-from boris.kotzev@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so1779877mue.3 for ; Tue, 20 Jan 2009 11:29:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:mime-version:content-type:content-transfer-encoding :content-disposition:message-id; bh=sUhC9Jj1OcXdky89hYVjxh1q/6I2Yb7ON7z76u72tzk=; b=T8iTO2DPq3D73uBzsIrOvSWVzZdYBkjHOW+aX2ZMKYLfMRfUlmM12nx7yGtaPO6IqL 9Mb3D838Dn7ve4gtmUffdAbjK7GdD4LiQGssuPBdkPPVxqQJzE2Msy2/7P8k2RRtQNLb p2tcTWy3q9rjOLd12/5oCSTq6AqFuzqmEwoiM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; b=i2b+B4mNQPV6RrUMOoCns53wc4YA5MI68qPUDHCHEepwzMOECytE/t+Kc2klfHh2fa kyuBOjg7CxVHWoTV15OwS8C1ySRiDvrrYoNlTBoX5JCQn/BFDvoo8cr1Eq/IWbwiMr40 MytKCuFjrVlgLfpuaX9za7Tz3UBSJf0fRLwJ0= Received: by 10.103.182.3 with SMTP id j3mr1502757mup.113.1232477911168; Tue, 20 Jan 2009 10:58:31 -0800 (PST) Received: from host7.net62.hdsl-213-169.fastbg.net (host7.net62.HDSL-213-169.FastBG.NET [213.169.62.7]) by mx.google.com with ESMTPS id y6sm11159653mug.32.2009.01.20.10.58.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 20 Jan 2009 10:58:29 -0800 (PST) From: Boris Kotzev To: freebsd-fs@freebsd.org Date: Tue, 20 Jan 2009 20:58:25 +0200 User-Agent: KMail/1.10.4 (FreeBSD/8.0-CURRENT; KDE/4.1.4; amd64; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901202058.25355.boris.kotzev@gmail.com> Cc: Subject: 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: Tue, 20 Jan 2009 19:29:27 -0000 > 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) > 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 What does zfs import return? Regards, Boris Kotzev