Project

General

Profile

Actions

action #70981

closed

[opensuse][qem] Improve zfs test

Added by ph03nix almost 4 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Enhancement to existing tests
Target version:
-
Start date:
2020-12-22
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Difficulty:

Description

This progress issue is to collect ideas and issues to improve the existing zfs test (https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/10873)

From https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/10873#discussion_r483432814

  • snapshot mounted by mount.zfs: /mnt/tank/initial is snapshot mounted ro by mount.zfs, which is not but recommended, but supported. It's mounted ro by default, so users cannot mess up with the content. So I would take out the ro option from the command on line 144 and add test, it it's really mounted this way.
  • clone created from the snapshot and mounted by zfs mount: /mnt/tank/second/ is mounted this way
  • add also recommended way of access to the snapshot - snaps are stored in the .zfs/snapshot directory within the root of the snapped file system, in this case it should be in /tank/.zfs/snapshot/initial
  • add NFS automount

Checklist

  • Add handling for .zfs/snapshot directories
  • NFS automount
  • Schedule in Tumbleweed Development group

Subtasks 1 (0 open1 closed)

action #81266: Improve output of zfs test failureResolvedph03nix2020-12-22

Actions
Actions

Also available in: Atom PDF