Page MenuHomeDevCentral

Create ZFS filesystem for /datacube on devserver
ClosedPublic

Authored by dereckson on Apr 27 2023, 17:35.
Tags
None
Referenced Files
F12441821: D3059.diff
Thu, Nov 6, 12:40
F12435505: D3059.id7807.diff
Thu, Nov 6, 01:51
Unknown Object (File)
Wed, Nov 5, 09:53
Unknown Object (File)
Tue, Nov 4, 16:01
Unknown Object (File)
Mon, Nov 3, 01:21
Unknown Object (File)
Sun, Nov 2, 19:20
Unknown Object (File)
Sun, Nov 2, 11:17
Unknown Object (File)
Sat, Nov 1, 18:11
Subscribers
None

Details

Summary

Devserver uses /datacube for arbitrary directories,
for example to serve Git repositories.

On a VM, it's intended to be used to a separate disk than /.
On baremetal, it lives on the same raid of disks than /.

Ref T1537.

Test Plan

Deploy on WindRiver

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
datacube
Build Status
Buildable 4828
Build 5109: arc lint + arc unit

Event Timeline

dereckson created this revision.

mount on WindRiver correctly gives arcology/datacube on /datacube (zfs, local, noatime, nfsv4acls)

Complector
$ salt windriver state.apply roles/devserver/datacube
windriver:
----------
          ID: /datacube
    Function: file.directory
      Result: True
     Comment: Directory /datacube updated
     Started: 17:36:25.064221
    Duration: 8.128 ms
     Changes:
              ----------
              /datacube:
                  ----------
                  mode:
                      0711
              mode:
                  0711
----------
          ID: arcology/datacube
    Function: zfs.filesystem_present
      Result: True
     Comment: filesystem arcology/datacube was created
     Started: 17:36:25.073127
    Duration: 82.425 ms
     Changes:
              ----------
              arcology/datacube:
                  ----------
                  compression:
                      zstd-7
                  mountpoint:
                      /datacube

Summary for windriver
------------
Succeeded: 2 (changed=2)
Failed:    0
------------
Total states run:     2
Total run time:  90.553 ms
This revision is now accepted and ready to land.Apr 27 2023, 17:38