[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zfs-discuss
Subject:    Re: [zfs-discuss] mounting a copy of a zfs pool /file system while
From:       Dave Lowenstein <dlowenst () mail ! sdsu ! edu>
Date:       2008-01-31 20:05:52
Message-ID: 47A22A20.2020800 () mail ! sdsu ! edu
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Nope, doesn't work.

Try presenting one of those lun snapshots to your host, run cfgadm -al, 
then run zpool import.


#zpool import
no pools available to import


It would make my life so much simpler if you could do something like 
this: zpool import --import-as yourpool.backup yourpool







Tim wrote:
> On 1/31/08, *Hector De Jesus* <hec1979@gmail.com 
> <mailto:hec1979@gmail.com>> wrote:
>
>     Hello SUN gurus I do not know if this is supported, I have a
>     created a zpool consisting of the SAN resources and created a zfs
>     file system.  Using third part software I have taken snapshots of
>     all luns in the zfs pool.  My question is in a recovery situation
>     is there a way for me to mount the snapshots and import the pool
>     while the original is still active.  Right now all I am able to do
>     is export the original than I can  import the snapshots and access
>     the zpool and filesystem.  Im looking at a no downtime solution
>     can this be done ?
>
>
>     This message posted from opensolaris.org <http://opensolaris.org>
>     _______________________________________________
>     zfs-discuss mailing list
>     zfs-discuss@opensolaris.org <mailto:zfs-discuss@opensolaris.org>
>     http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>
>
>
>
> Interesting thought.  I guess what you'd have to have is an import 
> flag that allows you to "import as".  So you could:
>
> zpool import --import-as yourpool.backup yourpool
>
> I definitely see why you'd want to do it.  I haven't a clue if you can :)
>
> --Tim
> ------------------------------------------------------------------------
>
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>   


[Attachment #5 (text/html)]

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Nope, doesn't work.<br>
<br>
Try presenting one of those lun snapshots to your host, run cfgadm -al,
then run zpool import.<br>
<br>
<br>
#zpool import<br>
no pools available to import<br>
<br>
<br>
It would make my life so much simpler if you could do something like
this: zpool import --import-as yourpool.backup yourpool<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Tim wrote:
<blockquote
 cite="mid:7c8b2d0d0801311103y46778c36sfd34d74d3edd61d7@mail.gmail.com"
 type="cite">On 1/31/08, <b class="gmail_sendername">Hector De Jesus</b>
&lt;<a moz-do-not-send="true" \
href="mailto:hec1979@gmail.com">hec1979@gmail.com</a>&gt; wrote:
  <div><span class="gmail_quote"></span>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; \
padding-left: 1ex;">Hello SUN gurus I do not know if this is supported, I have a \
created a zpool consisting of the SAN resources and created a zfs file \
system.&nbsp;&nbsp;Using third part software I have taken snapshots of all luns in \
the zfs pool.&nbsp;&nbsp;My question is in a recovery situation is there a way for me \
to mount the snapshots and import the pool while the original is still
active.&nbsp;&nbsp;Right now all I am able to do is export the original than I
can&nbsp;&nbsp;import the snapshots and access the zpool and \
filesystem.&nbsp;&nbsp;Im looking at a no downtime solution can this be done ?<br>
    <br>
    <br>
This message posted from <a moz-do-not-send="true"
 href="http://opensolaris.org">opensolaris.org</a><br>
_______________________________________________<br>
zfs-discuss mailing list<br>
    <a moz-do-not-send="true" \
href="mailto:zfs-discuss@opensolaris.org">zfs-discuss@opensolaris.org</a><br>  <a \
moz-do-not-send="true"  \
href="http://mail.opensolaris.org/mailman/listinfo/zfs-discuss">http://mail.opensolaris.org/mailman/listinfo/zfs-discuss</a><br>
  </blockquote>
  </div>
  <br>
  <br>
  <br>
Interesting thought.&nbsp; I guess what you'd have to have is an import flag
that allows you to "import as".&nbsp; So you could:<br>
  <br>
zpool import --import-as yourpool.backup yourpool<br>
  <br>
I definitely see why you'd want to do it.&nbsp; I haven't a clue if you can
> )<br>
  <br>
--Tim<br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
zfs-discuss mailing list
<a class="moz-txt-link-abbreviated" \
href="mailto:zfs-discuss@opensolaris.org">zfs-discuss@opensolaris.org</a> <a \
class="moz-txt-link-freetext" \
href="http://mail.opensolaris.org/mailman/listinfo/zfs-discuss">http://mail.opensolaris.org/mailman/listinfo/zfs-discuss</a>
  </pre>
</blockquote>
<br>
</body>
</html>



_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic