Cannot make Subiquity see zfs zvol block device, like I could with Ubiquity
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
add a comment |
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
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
add a comment |
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
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
system-installation zfs ubiquity
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
answered Jan 9 at 3:31
Aditya BhargavaAditya Bhargava
1
1
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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