| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [slx-dmsetup] Try to get swap-service to actually run after we detected all HDDs | Simon Rettberg | 2025-04-15 | 1 | -2/+4 |
| | | |||||
| * | [slx-dmsetup] Tweak service ordering, wait for HDDs | Simon Rettberg | 2025-04-09 | 2 | -3/+24 |
| | | |||||
| * | Fix dumb typo | Simon Rettberg | 2025-04-09 | 1 | -1/+1 |
| | | |||||
| * | [slx-dmsetup] Remove unreachable exit statements | Simon Rettberg | 2025-04-09 | 1 | -2/+0![]() |
| | | |||||
| * | [slx-dmsetup] Split dmsetup-slx-device into smaller services | Simon Rettberg | 2025-04-09 | 6 | -198/+188![]() |
| | | |||||
| * | Avoid loading dracut-lib.sh in several scripts | Simon Rettberg | 2025-04-02 | 1 | -9/+11 |
| | | |||||
| * | [slx-dmsetup] More robust error handling, more logging | Simon Rettberg | 2025-03-11 | 1 | -112/+179 |
| | | |||||
| * | [slx-dmsetup] Better not encrypt the rootfs AFTER building the CoW layer | Simon Rettberg | 2024-06-14 | 1 | -16/+14![]() |
| | | |||||
| * | [slx-dmsetup] Try to fix some snapshot brain damage | Simon Rettberg | 2024-06-14 | 1 | -10/+8![]() |
| | | | | | | | | create_snapshot was always using hard-coded $writable_device, but surrounding code at one callsite suggested it was expected to use $scratch_device - this would at least explain why we could end up with overlapping dm targets... -.- | ||||
| * | [slx-dmsetup] busybox mktemp needs AT LEAST 6 X -.- | Simon Rettberg | 2024-06-14 | 1 | -4/+6 |
| | | |||||
| * | [slx-dmsetup] Fix another busybox mktemp call | Simon Rettberg | 2024-06-14 | 1 | -1/+1 |
| | | |||||
| * | [slx-dmsetup] Fix braindead mktemp call by removing it | Simon Rettberg | 2024-06-13 | 1 | -4/+5 |
| | | |||||
| * | [slx-dmsetup] Kill stray line | Simon Rettberg | 2024-06-13 | 1 | -1/+0![]() |
| | | |||||
| * | [slx-dmsetup] Avoid unnecessary dm targets, rename crypted ones | Simon Rettberg | 2024-06-13 | 1 | -34/+72 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Avoid creating linear targets that would be fully covered by an encrypted target later. Also don't create a linear slice for the thinpool if it's going to be the only thing we put in our writable partition. 2) Previously, when we created an encrypted device, it would look like | ` devicename ` devicename-crypt Which was a bit confusing/surprising, because the final name was not what was specified in our custom partition table. Now, the result would look like | ` devicename-k ` devicename So the final device you'd use has the expected name. | ||||
| * | [slx-dmsetup] Make sure id44 slices are 4k-aligned | Simon Rettberg | 2024-03-01 | 1 | -4/+8 |
| | | |||||
| * | [slx-dmsetup] Only resize rootfs if no such service exists in stage 4 | Simon Rettberg | 2024-01-29 | 1 | -1/+1 |
| | | |||||
| * | [slx-dmsetup] Only grow rootfs if we don't do it in stage4 | Simon Rettberg | 2024-01-29 | 2 | -2/+4 |
| | | |||||
| * | [slx-dmsetup] grow: Preserve exit status now that it's a service | Simon Rettberg | 2024-01-29 | 1 | -3/+2![]() |
| | | |||||
| * | Try to use more systemd services | Simon Rettberg | 2024-01-29 | 4 | -6/+32 |
| | | |||||
| * | [slx-dmsetup] Use new is_on function from slx-tools | Simon Rettberg | 2023-07-06 | 1 | -1/+1 |
| | | |||||
| * | [slx-dmsetup] Introduce SLX_ID44_CRYPT for encrypting | Simon Rettberg | 2023-07-06 | 1 | -6/+22 |
| | | | | | | This will encrypt the entire writable device(s) before creating any partitions and pools inside it. | ||||
| * | [slx-dmsetup] Fix dm-crypt usage by making sure we get an encryption key | Simon Rettberg | 2023-05-19 | 1 | -2/+8 |
| | | |||||
| * | [slx-dmsetup] Cannot make a local var with same name as global readonly | Simon Rettberg | 2022-08-11 | 1 | -3/+3 |
| | | |||||
| * | [slx-dmsetup] Handle absolute slice sizes first and remember used space | Simon Rettberg | 2022-08-10 | 1 | -2/+19 |
| | | |||||
| * | [slx-dmsetup] Add linear swap space if slx.swap is in command line | Simon Rettberg | 2022-08-09 | 1 | -4/+48 |
| | | | | | .... and if we don't seem to have an existing swap partition | ||||
| * | [*] Redirect 'set -x' output exclusively to /run/openslx/* | Simon Rettberg | 2022-06-10 | 1 | -1/+1 |
| | | | | | | | | Having normal info/warn/echo/<tool> output in journal should be preferred, so we can correlate certain events and actions with other system services and scripts, instead of having everything intermixed with the xtrace spam in a separate log file without timestamps. | ||||
| * | [slx-dmsetup] Properly disable future ntfsfree stuff if already active | Simon Rettberg | 2022-05-24 | 1 | -1/+4 |
| | | |||||
| * | [slx-dmsetup] linear ID44 target; support SLX_NTFSFREE = "always" | Simon Rettberg | 2022-05-23 | 1 | -130/+193 |
| | | |||||
| * | [slx-dmsetup] reintroduce linear 1:1 mapping of scratch device | Jonathan Bauer | 2021-02-17 | 1 | -1/+13 |
| | | | | | | | | | Using the physical partition of NVMe directly led to errors when creating the pool. As a workaround, we can "wrap" it in a linear target of the same size. While this is superfluous in general, this works around that specific problem. We can remove this workaround when we have a better idea on how to fix pool creation on NVMes. | ||||
| * | [slx-dmsetup] remove deprecated script | Jonathan Bauer | 2020-11-13 | 2 | -34/+0![]() |
| | | |||||
| * | [slx-dmsetup] copy ntfsfree within PATH | Jonathan Bauer | 2020-10-23 | 1 | -1/+2 |
| | | |||||
| * | [slx-dmsetup] include ntfsfree | Jonathan Bauer | 2020-10-22 | 1 | -1/+3 |
| | | | | | and remove old comment that was wrong anyway | ||||
| * | [slx-dmsetup] Don't fall back to /run/openslx for CoW-tmpfs | Simon Rettberg | 2020-10-09 | 1 | -5/+2![]() |
| | | | | | This would mask anything already in /run/openslx. | ||||
| * | [slx-dmsetup] Minor cleanup | Simon Rettberg | 2020-10-09 | 1 | -4/+3![]() |
| | | |||||
| * | [slx-dmsetup] part-table: Allow different units for min and max | Simon Rettberg | 2020-10-02 | 1 | -32/+51 |
| | | | | | | It can useful to specify a minumum size in absolute terms, but have the maximum value be a percentage of the writable device. | ||||
| * | [slx-dmsetup] Add overprovisioning formula for CoW volume | Simon Rettberg | 2020-10-02 | 1 | -12/+16 |
| | | |||||
| * | [slx-dmsetup] Use _sz for sizes expressed in 512b sectors | Simon Rettberg | 2020-10-01 | 1 | -59/+61 |
| | | |||||
| * | [slx-dmsetup] Avoid creating linear targets that are 1:1 mappings | Simon Rettberg | 2020-10-01 | 1 | -87/+120 |
| | | | | | Also a bit more cleanup and comments. | ||||
| * | [slx-dmsetup] Add support for ntfsfree | Simon Rettberg | 2020-09-30 | 1 | -2/+56 |
| | | | | | | | | | | | | | For now, prepare for later on-demand growing of the pool-data davice by using unused space of NTFS partitions. We do this by scanning available NTFS partitions and recording the available free space on them. Additionally, we make the pool-metadata volume a little larger to account for potential future growth of the data part. This feature is controlled by the SLX_NTFSFREE variable which can be empty/"never", "backup" for the scenario described above, or "always" for always using NTFS partition's free space (to be implemented). | ||||
| * | [slx-dmsetup] Block zeroing not required in our use case | Simon Rettberg | 2020-09-30 | 1 | -1/+1 |
| | | | | | | | This is more useful if you pass volumes from the thin pool to potentially untrused VMs or containers. We just run a normal file system on top which takes care of zeroing for us already. | ||||
| * | [slx-dmsetup] Fix another dd call | Simon Rettberg | 2020-09-30 | 1 | -1/+1 |
| | | |||||
| * | [slx-dmsetup] Simplifications, comments | Simon Rettberg | 2020-09-30 | 1 | -21/+33 |
| | | |||||
| * | [slx-dmsetup] Fix minor coding style issues, fix dd call | Simon Rettberg | 2020-09-29 | 1 | -28/+37 |
| | | | | | | Change low watermark from 4 to 100MB. Add a few comments. dd call was somehow working, but was reading from a random stdin? | ||||
| * | [slx-dmsetup] simplier random dm-crypt key generation | Jonathan Bauer | 2020-09-17 | 1 | -1/+1 |
| | | |||||
| * | [slx-dmsetup] explicitely add aes-xts-plain64 related kernel modules | Jonathan Bauer | 2020-09-15 | 1 | -5/+4![]() |
| | | |||||
| * | [slx-dmsetup] remove unneeded fallocate | Jonathan Bauer | 2020-05-25 | 1 | -1/+1 |
| | | |||||
| * | [slx-dmsetup] more work towards persistent thin pool | Jonathan Bauer | 2020-05-25 | 1 | -15/+11![]() |
| | | |||||
| * | Merge branch 'nobash-merge' into downloader-nobash-merge | Jonathan Bauer | 2020-05-25 | 5 | -180/+62![]() |
| | | |||||
| * | [slx-dmsetup] fallback to RAMdisk pool metadata | Jonathan Bauer | 2020-05-14 | 1 | -9/+11 |
| | | |||||
| * | [slx-dmsetup] fix noop in if/then | Jonathan Bauer | 2020-05-14 | 1 | -0/+2 |
| | | |||||

