Hi Mario,

On Thu, 2007-06-14 at 15:23 -0100, Mario Goebbels wrote:
> [EMAIL PROTECTED]:~/LargeFiles > zpool import -o readonly testpool
> internal error: Read-only file system
> Abort (core dumped)
> [EMAIL PROTECTED]:~/LargeFiles > 

Interesting, I've just filed 6569720 for this behaviour - thanks for
spotting this! Regardless of whether ZFS supports this, we definitely
shouldn't core dump.

> Does ZFS still write to the zpool when mounted with readonly? 

Yep it does - it needs to mark the pool as being in use and no longer
exported. I think this is done by changing the pool state nvpair in
the vdev_label (if I'm not mistaken - section 1.3.3 in the on-disk
format document covers this.)

        cheers,
                        tim

[1]
http://www.opensolaris.org/os/community/zfs/docs/ondiskformat0822.pdf

-- 
Tim Foster, Sun Microsystems Inc, Solaris Engineering Ops
http://blogs.sun.com/timf

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

Reply via email to