PDA

View Full Version : Systemd /usr on sles12 is working question



heinkonijn
29-Oct-2014, 21:38
Hi,

I have a question regarding the migration from initd to systemd and a /usr volume.
When RHEL and Ubuntu moved from initd to systemd they required that /usr be part of the / or the system wouldn't boot.
This seems the way systemd was meant to function, see e.g.:
http://freedesktop.org/wiki/Software/systemd/separate-usr-is-broken/

I know that a RHEL server with a separate /usr volume is not supported even if you get it to work.

I installed a SLES12 server yesterday and made a separate /usr (in an LVM volume group) and the server boots fine.

So, my question is, why :-)
What is the diff between RHEL/Ubuntu and SLES? Is it possible this could cause issues in the future?

Cheers,
Hein

malcolmlewis
29-Oct-2014, 22:55
Hi
If your using btrfs, then for snapshots to work it needs to be;
https://www.suse.com/releasenotes/x86_64/SUSE-SLES/12/ see 2.1.6 Rollback with Snapper on Btrfs.

heinkonijn
30-Oct-2014, 00:15
Hi,

OK, thanks for that. I am using ext4.
But the default filesystem for RHEL7 is XFS, I don't even think RHEL7 officially support btrfs, only as technology preview.

Cheers,
Hein


Hi
If your using btrfs, then for snapshots to work it needs to be;
https://www.suse.com/releasenotes/x86_64/SUSE-SLES/12/ see 2.1.6 Rollback with Snapper on Btrfs.