Comments (11)
Stage 1 of dell-recovery emulates the conditions that happen in Dell factory process earlier before Ubuntu install kicks off. Coming into stage 2 Ubiquity will use the largest free space to format (https://github.com/dell/dell-recovery/blob/master/casper/seeds/ubuntu.seed#L74)
and will follow this recipe:
(https://github.com/dell/dell-recovery/blob/master/casper/seeds/ubuntu.seed#L81)
So I think the first thing that is really needed is support for a way to tell Ubiquity to use the free space across all the disks. Once that is possible, then the defaults recipe in dell-recovery can be changed to generate an LVM partition in the free space of the first disk and all the space of the second disk.
Can that be discussed with Ubuntu foundations folks?
from dell-recovery.
I think you are right, this should be integrated into ubiquity.
I'll see what I can do to it =)
from dell-recovery.
@khfeng thanks. Keep me and @kevinkellyspacey looped in as that work happens. I'm hoping that dell-recovery can just change ubuntu.seed for supporting this recipe and call out the disks to participate when this recipe is used (such as how we "dynamically" fill in what disk to install to today).
Once ubiquity is ready in an intermediary Ubuntu release with this feature, we'll pick this bug up.
from dell-recovery.
After some digging on partman, I now understand what you really mean in comment 2.
What requires here is Ubiquity needs to ask partman-auto to do partitioning on multiple storages, override partman's default fs (EXT4), then ask partman-{lvm|btrfs|zfs} to do the rest.
More importantly, Ubuntu will use UbuntuImage [1] to build classic image in the future, so we should check out how preseed works, how it cooperates with Ubiquity.
[1] https://wiki.ubuntu.com/UbuntuImage
from dell-recovery.
I wasn't aware that Ubuntu image building would move to that, but I don't think it should change much about how images are used for dell-recovery since dell-recovery does actively use preseeding already. Was there something particular about how it's being with UbuntuImage now that you think will break?
from dell-recovery.
My understanding is the preseeding uses debian-installer heavily, I don't think the new ubuntu-image will use d-i at all. I'll ask around.
from dell-recovery.
Oh so you are meaning that UbuntuImage based images might not take Ubiquity? That would be a very big change and yes would cause lots of problems for dell-recovery as it exists.. How soon are UbuntuImage based images for "classic" Ubuntu going to be starting to get used? I wasn't aware of this.
from dell-recovery.
@khfeng did you ever have any results from digging into this further for partman-auto to take into account multiple storage devices? It would be nice if this could be targeted for next Ubuntu LTS.
from dell-recovery.
Not really. This TODO completely slipped through.
Looks like the plan forward is to use LVM - do we use the SSD as root partition or a cache layer?
from dell-recovery.
There's already a blog [1] explains how to use preseed to do multi-disks partitioning.
If the partition schemes it supported are what we want, it shouldn't be too hard to integrate into dell-recovery.
[1] https://www.claudioborges.org/?p=733
from dell-recovery.
Thanks for sharing that link. Yes, in general LVM should be the path forward. It should allow the most flexibility across multiple disks,.
It would be great to expose the SSD as cache (using LVM's cache features eg: https://rwmj.wordpress.com/2014/05/22/using-lvms-new-cache-feature/) but I don't know that partman will be able to expose this level of detail.
So I see this should be broken up into a few milestones. I've created a wiki that we can track progress here:
https://github.com/dell/dell-recovery/wiki/Multiple-disk-support
from dell-recovery.
Related Issues (20)
- When "full disk encryption" is enabled, no partition is mounted on /cdrom during OOBE. HOT 28
- Can't see storage that once used as RSTe. HOT 5
- Enhanced sorting storage HOT 10
- dell-recovery treat the removed ubiquity as error when there's new version of ubiquity in debs folder HOT 1
- Is wake_network necessary in installation stage 2 ? HOT 15
- automatic mode enhancement HOT 2
- build error with proposed pyflakes3 2.2.0-1~20.04.1 HOT 1
- Travis-ci: Error while enabling ppc64le build HOT 2
- to do shellcheck for all shell scripts HOT 1
- 'late/scripts/chroot.sh' missing space before ']' HOT 1
- to support Intel and AMD SDP (dev board) HOT 9
- Exception encountered βserver:0β HOT 2
- .disk/casper-uuid is missing and conf/uuid.conf in initrd is not updated for jammy HOT 4
- Please help to create the jammy branch. HOT 2
- /var/log/installer/casper-md5check.json has a failed result. HOT 5
- `ubuntu-report show | grep DCD` shows many redundant suffixes. HOT 2
- Have english only in "Create Dell Recovery Media Page" HOT 2
- Unable to detect valid initrd HOT 11
- dell-recovery shows no error when the target disk space is insufficient HOT 2
- dell-recovery 1.63 depends on python 3.7 unavailable in bionic HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dell-recovery.