You are not logged in.
I've never used RAID so I did some web research, including these on the Debian installer:
https://www.debian.org/releases/stable/ … 6s03#mdcfg
https://sleeplessbeastie.eu/2013/10/04/ … n-process/
You can create raid in Debian installer advanced, and mdadm has to be installed to handle the raid.
Just to be clear - you say "mdadm has to be installed". My impression is that if a RAID setup is chosen during installation then debian-installer will install mdadm by itself - there's no need for the user to do it manually. Is that correct? (With LVM or LUKS setups the necessary packages are installed automatically by d-i.)
Or as you propose, you can install to an allready created raid and mdadm will be installed.
I don't remember making any such proposition.
Are you saying that the live system will not boot on a raid system if mdadm is not already installed?
No, but you can not mount the raidpartitions.
...why is it not simple to install mdadm with apt?
Install small nessesary tools to manage the system from live iso....?
Right: Menu > System > Install Favourite Packages > Utilities > Install mdadm Disks Manager
mdadm does no harm if installed just, like btrfs-progs doesn't harm to be installed if chosen file-system is ext4
The main reason I feel reluctant about mdadm is that it's described as a daemon and installs quite a number of systemd services, along with triggering a rebuild of initramfs when installed, so I wonder if it might affect boot time? Simply installing some libraries to a corner of the hard disk is harmless, agreed, but extra boot-time routines might be considered as bloat by people who aren't using those services.
Now, it's true that we already ship lvm2 and cryptsetup by default. Maybe they're not really needed either?
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
rbh wrote:You can create raid in Debian installer advanced, and mdadm has to be installed to handle the raid.
Just to be clear - you say "mdadm has to be installed". My impression is that if a RAID setup is chosen during installation then debian-installer will install mdadm by itself - there's no need for the user to do it manually. Is that correct?
Yes.
Or as you propose, you can install to an allready created raid and mdadm will be installed.
I don't remember making any such proposition.
That was in your text a scenario...
The main reason I feel reluctant about mdadm is that it's described as a daemon and installs quite a number of systemd services, along with triggering a rebuild of initramfs when installed, so I wonder if it might affect boot time?
I havent clockecd the differnces wit bor without mdadm. Or searched it on the net. My subjective feeling is no big difference. Rebuilding initramfs is not dome more times than on non-raided systems.
Simply installing some libraries to a corner of the hard disk is harmless, agreed, but extra boot-time routines might be considered as bloat by people who aren't using those services.
I have thought we should post a "Post installation tweaks" and list services programs like ModemManager, btrfs-progs and so on, that users who ndo not use them can disable or uninstal...
Now, it's true that we already ship lvm2 and cryptsetup by default. Maybe they're not really needed either?
No, only if you choose them or later attach such media...
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
Correction:
If you have mdadm installed but no raided disks, the additional boot delay is like the delay when btrfs-progs is installed but no btrfs-file system is present, maybee some tenth of second.
The delay when raid is present, will wary dependent of setup.
I prefer raid1 for /boot and raid5 for /. Theoretically that should boot faster than booting from single disk...
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
My point about updating the initramfs was that some packages do this when they are installed (not on every boot of course). Rebuilding the initramfs says to me that a change is being made to the boot process. Packages that do this on installation are making a bigger change to the system than those which simply install some libraries.
---
But anyway, I did a quick test on a VM - removed mdadm, shut down, and checked the RAM usage after a fresh boot.
There was a slight fall, slightly lower again after a second shutdown/boot.
Then I removed btrfs-progs lvm2 and cryptsetup, and did the same again. After 3 shutdowns, the RAM seemed to stabilize at a further slightly lower figure. Then I reinstalled all four packages and checked the RAM again to see a slight increase.
But all these changes were very small. Like, from 415MB cold boot with all four packages installed to 402MB with all four removed. And differences of several MB between different boots, so the saving in RAM from removing those utilities looks rather unimportant.
From a user's subjective point of view I could not see any obvious difference in boot time with or without those four packages.
So if we are going to continue to ship lvm2 cryptsetup and btrfs-progs, there seems little logical reason not to also ship mdadm (even though installing any of them after booting the live session is quite easy).
I have thought we should post a "Post installation tweaks" and list services programs like ModemManager, btrfs-progs and so on, that users who do not use them can disable or uninstall...
A good idea. Though, please consider: by installing possibly unnecessary packages we are passing a small inconvenience from those users who would like them preinstalled to those users who don't want them.
Which is the larger user group? Which is the bigger inconvenience? Perhaps these are things to consider a little down the road.
Anyway, for now let's add mdadm and move on to releasing the iso...
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
If you want to add xfce4-appfinder, I recommend that our menu command uses the '--disable-server' switch so the finder closes without leaving a daemon behind.
Drat! Completely forgot about this.
More than a year late, now adding '--disable-server'.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
Doesn't anyone here use BL on Debian?
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
^I do! I like Debian very much. (BL too)
Last edited by johnraff (2023-08-21 06:55:04)
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
Doesn't anyone here use BL on Debian?
There is thousands of reasons to use Debian. Not so many reasons to use something else. Easy choice.
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
^I do! I like Debian very much. (BL too)
There is thousands of reasons to use Debian. Not so many reasons to use something else. Easy choice.
Sector11 likes both of these answers.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Online
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Task Manager, eh? You really like Gnome I guess!
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
Eh herm, lxtask, thank you very much! Nothing but the best on my crap system. Also, looks brilliant, eh?
I confess I use gnome-screensaver instead of light-locker, it plays better with my HDMI linked dual monitor, and I like how the sound doesn't cut out for a few seconds when I lock.
-edit- So when I stream from my laptop to my TV and close the laptop lid, nothing changes with the monitor video or sound, but the laptop screen still locks and the backloght turns off. Also on login after logout instead of boot the dual display resolution cursor size was usually huge on the TV with light-locker, gnome-screensaver seems to fix that issue. All good stuff.
Last edited by hhh (2023-08-23 05:10:44)
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Online
BTW, I'm still using lightdm, I've just replaced light-locker. The command to launch (replace-bind it to Mod4 + l) is "gnome-screensaver-command --lock"
Set the wallpaper for it via dconf... /org/gnome/desktop/background/picture-uri
The path can be to your home directory, it doesn't have to be a root path.
-edit- I think the result is way slicker than light-locker, though I'm not advocating for a replacement at this late date.
Last edited by hhh (2023-08-23 05:23:21)
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Online
I think the result (gnome-screensaver) is way slicker than light-locker, though I'm not advocating for a replacement at this late date.
Let's not forget it for Carbon.
The xscreensaver dev was extremely critical of g-s security in the past - we'll need to check if that still applies or not...
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
Huh, hadn't heard that before. Good catch to raise the question.
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Online
In the xscreensaver docs somewhere.
He was also kindof stingy with the editing rights on the GUI or something...
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline