From owner-freebsd-fs@FreeBSD.ORG Tue Jan 20 19:33:09 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 12D0E106566C for ; Tue, 20 Jan 2009 19:33:09 +0000 (UTC) (envelope-from boris.kotzev@gmail.com) Received: from mail-ew0-f20.google.com (mail-ew0-f20.google.com [209.85.219.20]) by mx1.freebsd.org (Postfix) with ESMTP id 949458FC13 for ; Tue, 20 Jan 2009 19:33:08 +0000 (UTC) (envelope-from boris.kotzev@gmail.com) Received: by ewy13 with SMTP id 13so1411483ewy.19 for ; Tue, 20 Jan 2009 11:33:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:to:subject:cc :content-disposition:from:date:mime-version:content-type :content-transfer-encoding:message-id; bh=EJ8NTayFmuA4b78H5RJd44AHl5rsRHc7ldtXaFpgjj4=; b=oOzR1BXdL5OaK2uo3sJaofG5tZnuAmqxSLwdDRzqgKffwoNqAcgMLS2lcaFd2/hENP KcGy9uKG+U98+/TQz72lk7umejUc9KDBCmEflWIqLM/WDE0P/7AUHSDpxVUzKXcdB4Ed K7e2MNV5hgciNNYAQ/rF3gY3xLiLf719Dk4R8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=to:subject:cc:content-disposition:from:date:mime-version :content-type:content-transfer-encoding:message-id; b=dQOVsd1viZj9fQtqPR1oQXyyqUf+75iOsdFRMs4pQheQVxE296zJxZ8PhG8djVECx4 aLUFHSG+3rd+pSmGCghUiU1yzGYeJupDJKrkhYJTrzqv/LZvD1Brr+bjM8wx+YJKUJ3B /EmjqIwsBZOH7oP3m+FLF6oAf+ss59OMzwPbY= Received: by 10.103.247.14 with SMTP id z14mr3613mur.70.1232478091864; Tue, 20 Jan 2009 11:01: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 i5sm6009303mue.46.2009.01.20.11.01.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 20 Jan 2009 11:01:30 -0800 (PST) To: freebsd-fs@freebsd.org Content-Disposition: inline From: Boris Kotzev Date: Tue, 20 Jan 2009 21:01:27 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200901202101.27544.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:33:09 -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 I am sorry, I wanted to ask what zpool import returns. Regards, Boris Kotzev