Page MenuHomeDevCentral

Create ZFS volume for /var/51-wwwroot
ClosedPublic

Authored by dereckson on May 17 2023, 23:59.
Tags
None
Referenced Files
F3695131: D3099.id7909.diff
Sat, Oct 26, 21:26
F3693645: D3099.id7910.diff
Sat, Oct 26, 11:28
Unknown Object (File)
Tue, Oct 22, 12:23
Unknown Object (File)
Mon, Oct 21, 23:47
Unknown Object (File)
Thu, Oct 17, 14:32
Unknown Object (File)
Wed, Oct 16, 12:02
Unknown Object (File)
Wed, Oct 16, 01:18
Unknown Object (File)
Wed, Oct 16, 01:18
Subscribers
None

Details

Summary

As it's a development environment with test modifications,
the same snapshot policy than for home directories is applied.

Test Plan

Deploy on WindRiver

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
WindRiver
$ salt-call --local state.sls_id arcology/wwwroot51 roles/devserver/webserver-wwwroot51
local:
----------
          ID: arcology/wwwroot51
    Function: zfs.filesystem_present
      Result: True
     Comment: filesystem arcology/wwwroot51 was created
     Started: 23:59:59.370841
    Duration: 85.636 ms
     Changes:
              ----------
              arcology/wwwroot51:
                  ----------
                  mountpoint:
                      /var/51-wwwroot
                  compression:
                      zstd
                  com.sun:auto-snapshot:
                      true

Summary for local
------------
Succeeded: 1 (changed=1)
Failed:    0
------------
Total states run:     1
Total run time:  85.636 ms

Snapshots work too:

WindRiver
$ zfs list -t snapshot | grep auto | grep wwwroot51
arcology/wwwroot51@zfs-auto-snap_hourly-2023-05-18-00h00                    0B      -       96K  -
arcology/wwwroot51@zfs-auto-snap_frequent-2023-05-18-00h00                  0B      -       96K  -
This revision is now accepted and ready to land.May 18 2023, 00:02
This revision was automatically updated to reflect the committed changes.