Greg,

Sure lofiadm should work, but another underlying issue is that, currently, building pools on top of other pools can cause the
system to deadlock or panic.

This kind of configuration is just not supported or recommended
at this time.

Thanks,

Cindy




On 03/05/10 17:38, Gregory Durham wrote:
Great...will using lofiadm still cause this issue? either by using mkfile or by using dd makeing a sparse file? Thanks for the heads up!

On Fri, Mar 5, 2010 at 3:48 PM, Cindy Swearingen <cindy.swearin...@sun.com <mailto:cindy.swearin...@sun.com>> wrote:

    Hi Greg,

    You are running into this bug:

    http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6929751

    Currently, building a pool from files is not fully supported.

    Thanks,

    Cindy

    On 03/05/10 16:15, Gregory Durham wrote:

        Hello all,
        I am using Opensolaris 2009.06 snv_129
        I have a quick question. I have created a zpool on a sparse
        file, for instance:

        zpool create stage c10d0s0
        mount it to /media/stage
        mkfile -n 500GB /media/stage/disks/disk.img
        zpool create zfsStage /media/stage/disks/disk.img
        I want to be able to take this file and back it up to tape.
        However, that is fine but if I reboot I see:

        pool: zfsStage
         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-3C
         scrub: none requested
        config:

               NAME                               STATE     READ WRITE CKSUM
zfsStage UNAVAIL 0 0 0 insufficient replicas /media/zfsStage/disks/disk1.img UNAVAIL 0 0 0 cannot open

        I then tried:
        $zpool online zfsStage /media/zfsStage/disks
            cannot open 'zfsStage': pool is unavailable
        $ zpool online zfsStage /media/zfsStage/disks/disk1.img
            cannot open 'zfsStage': pool is unavailable

        Am I doing something wrong? When I restore from tape how would I
        mount this if this sort of thing is coming up? Hopefully someone
        can help me out.

        Thanks,
        Greg











        ------------------------------------------------------------------------

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


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

Reply via email to