Hi! I have noticed, that preseed file in installation media of omv 6.0.24 tells Debian installer to create EXT4 as root fs. Is there any particular reason for that? I have installed it with changed option d-i partman/default_filesystem string to btrfs as root and it works so far. I wonder if this was good idea or not. Any thouths?
OMV with btrfs as root file system (preseed.cfg)
-
-
I use btrfs as root fs. However, I installed Debian first and then OMV on top.
-
Hi! I have noticed, that preseed file in installation media of omv 6.0.24 tells Debian installer to create EXT4 as root fs. Is there any particular reason for that? I have installed it with changed option d-i partman/default_filesystem string to btrfs as root and it works so far. I wonder if this was good idea or not. Any thouths?
Well if you're wondering if it was a good idea, probably would have been a good idea to ask before doing so.
-
-
Cezi_86
Changed the title of the thread from “OMV with btrfs as root file system (preseed.conf)” to “OMV with btrfs as root file system (preseed.cfg)”. -
-
I use snapper to make snapshots. And yes, I have been able to restore a snapshot after an upgrade went wrong. But it will not safe you in case of a drive failure as in my case the snapshots are on the system drive,
-
Hi! I have noticed, that preseed file in installation media of omv 6.0.24 tells Debian installer to create EXT4 as root fs. Is there any particular reason for that? I have installed it with changed option d-i partman/default_filesystem string to btrfs as root and it works so far. I wonder if this was good idea or not. Any thouths?
cool,How was work? Nothing went wrong, right? I would like to do the same, just modify the preseed.conf file in the ISO?
-
-
I am using BTRFS as single partition without swap on six installations and no problems found. Thanks to macom I installed snapper and snapshots work fine too.
My preseed configuration (partitioning part)
REMEMBER to disconnect all other drives when installing
### Partitioning 4 legacy
d-i partman-auto/method string regular
d-i partman-auto/disk string /dev/sda
d-i openmediavault-installer/partman/multiple_target_devices select continue
d-i partman-auto/expert_recipe string \
no-swp :: \
500 5000 100% btrfs \
$primary{ } \
$bootable{ } \
method{ format } \
format{ } \
use_filesystem{ } \
filesystem{ btrfs } \
mountpoint{ / } \
.
d-i partman/confirm boolean true
d-i partman-basicfilesystems/no_swap select no
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
After unattended installation I run script that includes installing and configuring snapper with command
After some time I see snapshots in /.snapshots/1 or something like that with all files of root file system.
I need to do separate file for EFI installation, but I do not have time.
I have read somewhere that even booting to a snapshot is possible, but did not test it. I wonder, if it is possible to do automatic fallback to earlier snapshot if starting system fails like three times.
-
I have read somewhere that even booting to a snapshot is possible,
Possible on openSUSE out of the box, but have not seen a solution for Debian. Did not search for it either.
Remember that BTRFS needs some maintenance like balance and scrub. I use btrfsmaintenance for this
GitHub - kdave/btrfsmaintenance: Scripts for btrfs maintenance tasks like periodic scrub, balance, trim or defrag on selected mountpoints or directories.Scripts for btrfs maintenance tasks like periodic scrub, balance, trim or defrag on selected mountpoints or directories. - GitHub - kdave/btrfsmaintenance:…github.comAvailable in the Debian repo.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!