Re: ZFS from FreeBSD -> Indiana -> FreeBSD - some problem

2007-11-15 Thread Andrew Kolchoogin
> It's good to know that ZFS is compatible between the two operating
> systems :)
With some issues.

Some time ago I made an experiment to install on the same ZFS both
FreeBSD and Solaris, and, if you set up FreeBSD with ZFS root, you will
be unable to boot it after using ZFS volume in Solaris and vice versa,
if you set up Solaris with ZFS root, you will be unable to boot it after
using volume in FreeBSD.

Unexported ZFS pool contains direct references to block devices it
consist of. As such, when FreeBSD tries to auto-import ZFS pool
with /dev/rdsk/c1t0d0s7 as a storage device, it becomes crazy. :)
Solaris do the same thing, it knows nothing about ad6s3 :) 'zpool
status' will show you that entire pool has destroyed because of no
storage devices available.

Sure, "zpool export" immediately before reboot will do the thing right
way, but how you will automatically export ZFS pool with root file
system on it?-)
-- 
Yours
Andrew Kolchoogin.


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ZFS from FreeBSD -> Indiana -> FreeBSD - some problem

2007-11-14 Thread Ivan Voras
Henri Hennebert wrote:
> Henri Hennebert wrote:

>> Isn't it a interesting challenge ?
> I got it:
> 
> zpool export pool2 && zpool import -f pool2
> 
> do the trick
> 
> sorry for the noise :-|

It's good to know that ZFS is compatible between the two operating
systems :)

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ZFS from FreeBSD -> Indiana -> FreeBSD - some problem

2007-11-14 Thread Henri Hennebert

Henri Hennebert wrote:

Hello,

As seen in another thread, I was curious about a zpool created under 
FreeBSD being available under opensolaris.


So I boot indiana and do:

zpool import -f -o ro pool2

zpool scrub pool2

all ended properly...

shutdown.

When I reboot with FreeBSD (7.0-BETA2) I get:

zpool status pool2
  pool: pool2
 state: UNAVAIL
status: One or more devices could not be opened.  There are insufficient
replicas for the pool to continue functioning.
action: Attach the missing device and online it using 'zpool online'.
   see: http://www.sun.com/msg/ZFS-8000-D3
 scrub: none requested
config:

NAME STATE READ WRITE CKSUM
pool2UNAVAIL  0 0 0  insufficient replicas
  raidz1 UNAVAIL  0 0 0  insufficient replicas
dsk/c10d0p3  UNAVAIL  0 0 0  cannot open
dsk/c11d0p3  UNAVAIL  0 0 0  cannot open

Is it possible to replace dsk/c10d0p3 by ad4s3 and dsk/c11d0p3 by ad6s3 
as it must be under FreeBSD or does I need to make some entry in 
/etc/devfs.rules to create dsk/c10d0p3 and dsk/c11d0p3 (if at all 
possible?)


Isn't it a interesting challenge ?

I got it:

zpool export pool2 && zpool import -f pool2

do the trick

sorry for the noise :-|

Henri



Henri
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ZFS from FreeBSD -> Indiana -> FreeBSD - some problem

2007-11-14 Thread Henri Hennebert

Hello,

As seen in another thread, I was curious about a zpool created under 
FreeBSD being available under opensolaris.


So I boot indiana and do:

zpool import -f -o ro pool2

zpool scrub pool2

all ended properly...

shutdown.

When I reboot with FreeBSD (7.0-BETA2) I get:

zpool status pool2
  pool: pool2
 state: UNAVAIL
status: One or more devices could not be opened.  There are insufficient
replicas for the pool to continue functioning.
action: Attach the missing device and online it using 'zpool online'.
   see: http://www.sun.com/msg/ZFS-8000-D3
 scrub: none requested
config:

NAME STATE READ WRITE CKSUM
pool2UNAVAIL  0 0 0  insufficient replicas
  raidz1 UNAVAIL  0 0 0  insufficient replicas
dsk/c10d0p3  UNAVAIL  0 0 0  cannot open
dsk/c11d0p3  UNAVAIL  0 0 0  cannot open

Is it possible to replace dsk/c10d0p3 by ad4s3 and dsk/c11d0p3 by ad6s3 
as it must be under FreeBSD or does I need to make some entry in 
/etc/devfs.rules to create dsk/c10d0p3 and dsk/c11d0p3 (if at all possible?)


Isn't it a interesting challenge ?

Henri
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"