Page MenuHomeDevCentral

Create ZFS volume for /var/51-wwwroot
ClosedPublic

Authored by dereckson on May 17 2023, 23:59.
Tags
None
Referenced Files
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)
Wed, Oct 30, 14:46
Unknown Object (File)
Oct 26 2024, 23:25
Unknown Object (File)
Oct 26 2024, 21:26
Unknown Object (File)
Oct 26 2024, 11:28
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.