Results 1 to 6 of 6

Thread: Autoyast: Use existing partition table forgets snapshot flag

  1. #1

    Default Autoyast: Use existing partition table forgets snapshot flag

    I'm using autoyast to install openSUSE LEAP 42.3.

    Via a rule dialog I can switch between a new installation (creating new partition table) and using the old fstab (see blow).
    The root partition is btrfs with snapshots enabled, when created on a new installation.
    When I choose to use the old partitons, the filesystem is recognized correctly (btrfs) but the snapshot flag is not set.
    Of course I can edit my root partition and set the flag "Enable Snapshots" manually when the final installation settings show up. But that should be done by Autoyast.

    Is there any way?

    I can only find documentation about the "enable_snapshots" flag for newly created partitons. None is given when using the existing fstab.

    Code:
      <partitioning_advanced>
        <fstab>
          <!--<root_partition>/dev/sdb1</root_partition>-->
          <use_existing_fstab config:type="boolean">true</use_existing_fstab>
          <partitions config:type="list">
            <partition>
              <format config:type="boolean">true</format>
              <mount>/</mount>
            </partition>
        </fstab>
      </partitioning_advanced>

  2. #2
    Join Date
    Sep 2012
    Posts
    7,105

    Default Re: Autoyast: Use existing partition table forgets snapshot flag

    Did you actually test it? Documentation suggests that snapshots are enabed by default.

  3. #3

    Default Re: Autoyast: Use existing partition table forgets snapshot flag

    Yes, I tested it and it does not work.
    The documentation only refers to a newly written partition table. Not when you are using existing partitions.

  4. #4

    Default Re: Autoyast: Use existing partition table forgets snapshot flag

    any idea someone?

  5. #5
    Join Date
    Oct 2008
    Location
    Glasgow, Scotland
    Posts
    1,277

    Default Re: Autoyast: Use existing partition table forgets snapshot flag

    I have not used autoyast for a while, but can you choose to reformat the root partition while keeping the partition table?
    --
    slàinte mhath,
    rayH

    ~ knowing the right answer is easier than knowing the right question.

  6. #6

    Default Re: Autoyast: Use existing partition table forgets snapshot flag

    yes, it's possible by using the format option:
    Code:
    <partitions config:type="list">
      <partition>
        <format config:type="boolean">true</format>
        <mount>/</mount>
      </partition>
    </partitions>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •