On 1/14/11 5:10 AM, Darren Kenny wrote:
Hi Drew,

Interesting way of looking at things - but - while this does work, there is a
gap in there, where you can have multiple<vdevs>  under the<zpool>:

        <zpool>
        <vdev redundency="mirror">
        <device_ref  .. />
        <device_ref  .. />
        </vdev>
        <vdev redundency="mirror">
        <device_ref  .. />
        <device_ref  .. />
        </vdev>
        <vdev redundency="spare">
        <device_ref  .. />
        <device_ref  .. />
        </vdev>
        </zpool>

Unfortunately I think this would be too difficult to achieve using your 
approach.

Let me think on this a bit. When we meet later today, we can kick this around. That is a problem with my current idea though. Maybe additional redundancy attributes could be used. I don't know.

Ultimately what you are proposing here is not that dissimilar to the idea of
adding an 'id' attribute - just yours is called 'rpool' ;)

I totally agree.

I still think that the way of defining the physical and logical devices
separately, is more 'natural' and like how an admin might do it using
command-lines, e.g.:

        fdisk ....
        format ...
        zpool create ...

I do understand that the notion of references isn't ideal, but I think it's
easily understood once explained&  documented.

This is really where I was going with my suggestion. I look at it as the logical devices require the physical to be set up beforehand, so why not set attributes during physical creation for later logical creation.


-Drew
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to