From owner-freebsd-fs@FreeBSD.ORG Tue Jan 20 16:29:45 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 EEBDF106566C for ; Tue, 20 Jan 2009 16:29:45 +0000 (UTC) (envelope-from jw.hendy@gmail.com) Received: from mail-qy0-f17.google.com (mail-qy0-f17.google.com [209.85.221.17]) by mx1.freebsd.org (Postfix) with ESMTP id 81AC18FC1C for ; Tue, 20 Jan 2009 16:29:45 +0000 (UTC) (envelope-from jw.hendy@gmail.com) Received: by qyk10 with SMTP id 10so4842492qyk.19 for ; Tue, 20 Jan 2009 08:29:44 -0800 (PST) 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=qASRYyAMNdGuXLjfriSZ3Dcg3+tfLvo0/4Es5HWOOPE=; b=SRIBUMp+cs4oQbuENWhgW9f3siz7i3QYEAg5HYY+esfMf0TGbEyfzV0xizAsE0JbWK LjJ8bg6JAQ10qya9Wy5Op1xktZUbm4F9wlNLKesqRuQT7f9++MNDNQ8heBsAuWm+BVXu 9kwYElm8A6DosnairH52ND8AWBKDk3/H2HWVg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=t/6fy62YqsuaCmlYMpkQo0RaAfoHrsqxK+6DI96TsB9bsmJ11GDlcqViVlkxbtjN/P 6dXytIJRj9fztf6JQMOBexrVJbtVFBnrv2gIq/qBOKYNV1GX/+UQYCPdHoL1FXl6t+XQ QIJTWoqrtnMqpakWDK7C2HwMBoJhgkoRJny48= Received: by 10.215.39.6 with SMTP id r6mr281725qaj.15.1232467058383; Tue, 20 Jan 2009 07:57:38 -0800 (PST) Received: by 10.214.115.1 with HTTP; Tue, 20 Jan 2009 07:57:38 -0800 (PST) Message-ID: Date: Tue, 20 Jan 2009 09:57:38 -0600 From: "John Hendy" 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: 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 16:29:46 -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