> I am doing some initial investigation for ldom deployment, I was wondering > how would > you go about growing a file system within a guest domain using zfs , I was > thinking >it may be possible by these methods > > 1) By exporting a disk as a physical disk from the control domain and using > zfs over > it from within the guest ldom and add additional vdisks to guest ldom when > required
Yes, that would work. Moreover, LDoms 1.1 will provide VIO DR so you will be able to new vdisks without rebooting the guest domain. > 2) By exporting the entire zfs pool from control domain to guest domain and > re importing it to add additional capacity when required That's essentially the same solution: to export a zpool from the control domain and to import in the guest domain, you need to export all disks from that pool to the guest domain; so that's solution 1). > I am not really sure if any of the above methods would work,would really > appreciate > any corrections or a different way of doing this . That should work. alex.
