Fabian Wörner
2007-Jan-11 11:21 UTC
[zfs-discuss] use the same zfs filesystem with differnet mountpoint
I think of have solaris and mac os 10.5 on the same machine and mount same filesystem on to differnet point on each os. Is/will it possible or do I have to use sym. links? This message posted from opensolaris.org
Darren J Moffat
2007-Jan-11 11:52 UTC
[zfs-discuss] use the same zfs filesystem with differnet mountpoint
Fabian W?rner wrote:> I think of have solaris and mac os 10.5 on the same machine and mount same filesystem on to differnet point on each os. > Is/will it possible or do I have to use sym. links?You can NOT mount the same ZFS (or UFS of that matter) from more than one system at the same time, even if they are physically hosted on the same hardware they are still two different operating system instances. -- Darren J Moffat
Brian Hechinger
2007-Jan-11 13:50 UTC
[zfs-discuss] use the same zfs filesystem with differnet mountpoint
On Thu, Jan 11, 2007 at 11:52:19AM +0000, Darren J Moffat wrote:> Fabian W??rner wrote: > >I think of have solaris and mac os 10.5 on the same machine and mount same > >filesystem on to differnet point on each os. > >Is/will it possible or do I have to use sym. links? > > You can NOT mount the same ZFS (or UFS of that matter) from more than > one system at the same time, even if they are physically hosted on the > same hardware they are still two different operating system instances.Re-read: "on the same machine" I think he''s dual booting and wants to share the ZFS vol between OSes. I don''t know if he can change the "mountpoint" however without jumping through hoops. -brian
Casper.Dik at Sun.COM
2007-Jan-11 13:54 UTC
[zfs-discuss] use the same zfs filesystem with differnet mountpoint
>On Thu, Jan 11, 2007 at 11:52:19AM +0000, Darren J Moffat wrote: >> Fabian W??rner wrote: >> >I think of have solaris and mac os 10.5 on the same machine and mount same >> >filesystem on to differnet point on each os. >> >Is/will it possible or do I have to use sym. links? >> >> You can NOT mount the same ZFS (or UFS of that matter) from more than >> one system at the same time, even if they are physically hosted on the >> same hardware they are still two different operating system instances. > >Re-read: "on the same machine" > >I think he''s dual booting and wants to share the ZFS vol between OSes. > >I don''t know if he can change the "mountpoint" however without jumping >through hoops.Are legacy mount points recorded in ZFS? I though they just lived in /etc/vfstab. If so, then that could work. Casper
Brian Hechinger
2007-Jan-11 15:02 UTC
[zfs-discuss] use the same zfs filesystem with differnet mountpoint
On Thu, Jan 11, 2007 at 02:54:29PM +0100, Casper.Dik at sun.com wrote:> > >I don''t know if he can change the "mountpoint" however without jumping > >through hoops. > > Are legacy mount points recorded in ZFS? I though they just lived in > /etc/vfstab. If so, then that could work.Oooh, I hadn''t thought about legacy. I tend to try not to use those if at all possible, but that might just do the trick. -brian
Bart Smaalders
2007-Jan-11 17:52 UTC
[zfs-discuss] use the same zfs filesystem with differnet mountpoint
Fabian W?rner wrote:> I think of have solaris and mac os 10.5 on the same machine and mount same filesystem on to differnet point on each os. > Is/will it possible or do I have to use sym. links? >Since the mount point is stored in the ZFS pool, you''ll need to use legacy mounts to do this. This works fine between different Solaris versions; if the MAC folks didn''t change their on disk format it might just work between OS-X and Solaris as well. - Bart -- Bart Smaalders Solaris Kernel Performance barts at cyber.eng.sun.com http://blogs.sun.com/barts