Page MenuHomeDevCentral

Create ZFS volume for /var/51-wwwroot
ClosedPublic

Authored by dereckson on May 17 2023, 23:59.
Tags
None
Referenced Files
F3805826: D3099.id7909.diff
Sat, Nov 30, 04:15
Unknown Object (File)
Wed, Nov 27, 03:46
Unknown Object (File)
Tue, Nov 26, 17:57
Unknown Object (File)
Fri, Nov 8, 09:55
Unknown Object (File)
Fri, Nov 8, 03:39
Unknown Object (File)
Thu, Nov 7, 23:41
Unknown Object (File)
Sat, Nov 2, 05:20
Unknown Object (File)
Oct 30 2024, 14:46
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 Passed
Unit
No Test Coverage
Branch
51-wwwroot-zfs
Build Status
Buildable 4892
Build 5173: arc lint + arc unit

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.