Cannot make Subiquity see zfs zvol block device, like I could with Ubiquity












0















I am playing around with the newer server installer TUI (Subiquity). With the desktop installer (Ubiquity), I am able to pre-install zfs and create a zvol, then launch ubiquity and have the zvol seen as a usable block device.

See my manual walkthrough (https://github.com/zfsonlinux/pkg-zfs/wiki/HOWTO-install-Ubuntu-18.04-to-a-Whole-Disk-Native-ZFS-Root-Filesystem-using-Ubiquity-GUI-installer) and my ubiquity wrapper script (https://github.com/ghfields/rpooler).



I would like to accomplish something similar with Subiquity. I tried:
1) CTRL+ALT+F2
2) sudo su
3) snap stop subiquity
4) apt install zfsutils
5) zpool create rpool /dev/sda
6) zfs create -V 20g rpool/ubuntutemp
7) snap start subiquity
8) CTRL+ALT+F1



But when I get to the disk selection, still only shows the /dev/sda device, not /dev/zd0 zvol device. Is there another step I can do to make the the Subiquity disk chooser act like the Ubiquity disk chooser?










share|improve this question


















  • 1





    I would have also added the subiquity tag, but it doesn't exist and I don't have enough street cred here yet.

    – fields_g
    Jul 27 '18 at 14:38
















0















I am playing around with the newer server installer TUI (Subiquity). With the desktop installer (Ubiquity), I am able to pre-install zfs and create a zvol, then launch ubiquity and have the zvol seen as a usable block device.

See my manual walkthrough (https://github.com/zfsonlinux/pkg-zfs/wiki/HOWTO-install-Ubuntu-18.04-to-a-Whole-Disk-Native-ZFS-Root-Filesystem-using-Ubiquity-GUI-installer) and my ubiquity wrapper script (https://github.com/ghfields/rpooler).



I would like to accomplish something similar with Subiquity. I tried:
1) CTRL+ALT+F2
2) sudo su
3) snap stop subiquity
4) apt install zfsutils
5) zpool create rpool /dev/sda
6) zfs create -V 20g rpool/ubuntutemp
7) snap start subiquity
8) CTRL+ALT+F1



But when I get to the disk selection, still only shows the /dev/sda device, not /dev/zd0 zvol device. Is there another step I can do to make the the Subiquity disk chooser act like the Ubiquity disk chooser?










share|improve this question


















  • 1





    I would have also added the subiquity tag, but it doesn't exist and I don't have enough street cred here yet.

    – fields_g
    Jul 27 '18 at 14:38














0












0








0








I am playing around with the newer server installer TUI (Subiquity). With the desktop installer (Ubiquity), I am able to pre-install zfs and create a zvol, then launch ubiquity and have the zvol seen as a usable block device.

See my manual walkthrough (https://github.com/zfsonlinux/pkg-zfs/wiki/HOWTO-install-Ubuntu-18.04-to-a-Whole-Disk-Native-ZFS-Root-Filesystem-using-Ubiquity-GUI-installer) and my ubiquity wrapper script (https://github.com/ghfields/rpooler).



I would like to accomplish something similar with Subiquity. I tried:
1) CTRL+ALT+F2
2) sudo su
3) snap stop subiquity
4) apt install zfsutils
5) zpool create rpool /dev/sda
6) zfs create -V 20g rpool/ubuntutemp
7) snap start subiquity
8) CTRL+ALT+F1



But when I get to the disk selection, still only shows the /dev/sda device, not /dev/zd0 zvol device. Is there another step I can do to make the the Subiquity disk chooser act like the Ubiquity disk chooser?










share|improve this question














I am playing around with the newer server installer TUI (Subiquity). With the desktop installer (Ubiquity), I am able to pre-install zfs and create a zvol, then launch ubiquity and have the zvol seen as a usable block device.

See my manual walkthrough (https://github.com/zfsonlinux/pkg-zfs/wiki/HOWTO-install-Ubuntu-18.04-to-a-Whole-Disk-Native-ZFS-Root-Filesystem-using-Ubiquity-GUI-installer) and my ubiquity wrapper script (https://github.com/ghfields/rpooler).



I would like to accomplish something similar with Subiquity. I tried:
1) CTRL+ALT+F2
2) sudo su
3) snap stop subiquity
4) apt install zfsutils
5) zpool create rpool /dev/sda
6) zfs create -V 20g rpool/ubuntutemp
7) snap start subiquity
8) CTRL+ALT+F1



But when I get to the disk selection, still only shows the /dev/sda device, not /dev/zd0 zvol device. Is there another step I can do to make the the Subiquity disk chooser act like the Ubiquity disk chooser?







system-installation zfs ubiquity






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jul 27 '18 at 14:37









fields_gfields_g

113




113








  • 1





    I would have also added the subiquity tag, but it doesn't exist and I don't have enough street cred here yet.

    – fields_g
    Jul 27 '18 at 14:38














  • 1





    I would have also added the subiquity tag, but it doesn't exist and I don't have enough street cred here yet.

    – fields_g
    Jul 27 '18 at 14:38








1




1





I would have also added the subiquity tag, but it doesn't exist and I don't have enough street cred here yet.

– fields_g
Jul 27 '18 at 14:38





I would have also added the subiquity tag, but it doesn't exist and I don't have enough street cred here yet.

– fields_g
Jul 27 '18 at 14:38










1 Answer
1






active

oldest

votes


















0














Subiquity doesn't allow installation to virtual devices, including zvols. The only way I could think of to get around this was to install to another disk, as you would with a zvol, and rsync the contents over from the disk instead, making sure to do the EFI/MBR setup as needed. You could also make a separate partition on your target disk, rsync over after installing, remove the temporary partition and resize the ZFS partition. It's unfortunately cumbersome.



I've opened a bug for this issue here in case you want to add yourself as being affected by it.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1060041%2fcannot-make-subiquity-see-zfs-zvol-block-device-like-i-could-with-ubiquity%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Subiquity doesn't allow installation to virtual devices, including zvols. The only way I could think of to get around this was to install to another disk, as you would with a zvol, and rsync the contents over from the disk instead, making sure to do the EFI/MBR setup as needed. You could also make a separate partition on your target disk, rsync over after installing, remove the temporary partition and resize the ZFS partition. It's unfortunately cumbersome.



    I've opened a bug for this issue here in case you want to add yourself as being affected by it.






    share|improve this answer




























      0














      Subiquity doesn't allow installation to virtual devices, including zvols. The only way I could think of to get around this was to install to another disk, as you would with a zvol, and rsync the contents over from the disk instead, making sure to do the EFI/MBR setup as needed. You could also make a separate partition on your target disk, rsync over after installing, remove the temporary partition and resize the ZFS partition. It's unfortunately cumbersome.



      I've opened a bug for this issue here in case you want to add yourself as being affected by it.






      share|improve this answer


























        0












        0








        0







        Subiquity doesn't allow installation to virtual devices, including zvols. The only way I could think of to get around this was to install to another disk, as you would with a zvol, and rsync the contents over from the disk instead, making sure to do the EFI/MBR setup as needed. You could also make a separate partition on your target disk, rsync over after installing, remove the temporary partition and resize the ZFS partition. It's unfortunately cumbersome.



        I've opened a bug for this issue here in case you want to add yourself as being affected by it.






        share|improve this answer













        Subiquity doesn't allow installation to virtual devices, including zvols. The only way I could think of to get around this was to install to another disk, as you would with a zvol, and rsync the contents over from the disk instead, making sure to do the EFI/MBR setup as needed. You could also make a separate partition on your target disk, rsync over after installing, remove the temporary partition and resize the ZFS partition. It's unfortunately cumbersome.



        I've opened a bug for this issue here in case you want to add yourself as being affected by it.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 9 at 3:31









        Aditya BhargavaAditya Bhargava

        1




        1






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1060041%2fcannot-make-subiquity-see-zfs-zvol-block-device-like-i-could-with-ubiquity%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Human spaceflight

            Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

            張江高科駅