View Single Post
  #1   (View Single Post)  
Old 25th January 2010
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default Mount OpenSolaris ZFS on FreeBSD

I have two disks, one with OpenSolaris (5.11 snv_111b) installed, the other with FreeBSD 8.0-RELEASE.

I'd like to mount the OpenSolaris ZFS drive (/dev/ad0) on FreeBSD, I've tried various things with zpool import, zpool add, and zpool attach. But none seem to work.

If anyone with more (i.e. any) experience with ZFS and/or ZFS OpenSolaris/FreeBSD has anything useful to say on the subject, then it would be much appreciated

On my OpenSolaris system:

Code:
[~]% zpool list                                              
NAME    SIZE   USED  AVAIL    CAP  HEALTH  ALTROOT
rpool    74G  25.4G  48.6G    34%  ONLINE  -
Code:
[~]% zfs list      
NAME                       USED  AVAIL  REFER  MOUNTPOINT
rpool                     27.3G  45.6G    79K  /rpool
rpool/ROOT                7.63G  45.6G    19K  legacy
rpool/ROOT/opensolaris    7.63G  45.6G  7.48G  /
rpool/dump                1.96G  45.6G  1.96G  -
rpool/export              15.7G  45.6G    21K  /export
rpool/export/home         15.7G  45.6G    21K  /export/home
rpool/export/home/martin  15.7G  45.6G  15.7G  /export/home/martin
rpool/swap                1.96G  47.4G   101M  -
Code:
[~]% mount     
/ on rpool/ROOT/opensolaris read/write/setuid/devices/dev=2d90002 on Thu Jan  1 01:00:00 1970
/devices on /devices read/write/setuid/devices/dev=4b00000 on Tue Jan 26 00:41:06 2010
/dev on /dev read/write/setuid/devices/dev=4b40000 on Tue Jan 26 00:41:06 2010
/system/contract on ctfs read/write/setuid/devices/dev=4bc0001 on Tue Jan 26 00:41:06 2010
/proc on proc read/write/setuid/devices/dev=4c00000 on Tue Jan 26 00:41:06 2010
/etc/mnttab on mnttab read/write/setuid/devices/dev=4c40001 on Tue Jan 26 00:41:06 2010
/etc/svc/volatile on swap read/write/setuid/devices/xattr/dev=4c80001 on Tue Jan 26 00:41:06 2010
/system/object on objfs read/write/setuid/devices/dev=4cc0001 on Tue Jan 26 00:41:06 2010
/etc/dfs/sharetab on sharefs read/write/setuid/devices/dev=4d00001 on Tue Jan 26 00:41:06 2010
/lib/libc.so.1 on /usr/lib/libc/libc_hwcap1.so.1 read/write/setuid/devices/dev=2d90002 on Tue Jan 26 00:41:18 2010
/dev/fd on fd read/write/setuid/devices/dev=4e00001 on Tue Jan 26 00:41:25 2010
/tmp on swap read/write/setuid/devices/xattr/dev=4c80002 on Tue Jan 26 00:41:25 2010
/var/run on swap read/write/setuid/devices/xattr/dev=4c80003 on Tue Jan 26 00:41:25 2010
/export on rpool/export read/write/setuid/devices/nonbmand/exec/xattr/atime/dev=2d90006 on Tue Jan 26 00:41:29 2010
/export/home on rpool/export/home read/write/setuid/devices/nonbmand/exec/xattr/atime/dev=2d90007 on Tue Jan 26 00:41:29 2010
/export/home/martin on rpool/export/home/martin read/write/setuid/devices/nonbmand/exec/xattr/atime/dev=2d90008 on Tue Jan 26 00:41:29 2010
/rpool on rpool read/write/setuid/devices/nonbmand/exec/xattr/atime/dev=2d90009 on Tue Jan 26 00:41:29 2010
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote