Skip to content

crypt/debug dataset not mounted #7874

@jmpesp

Description

@jmpesp

On dogfood, we found that many pool's crypt/debug datasets were not mounted:

# zfs list -r -o name,mountpoint,mounted oxp_4358f47f-f21e-4cc8-829e-0c7fc2400a59/crypt
NAME                                                                                                          MOUNTPOINT                                                                                                          MOUNTED
oxp_4358f47f-f21e-4cc8-829e-0c7fc2400a59/crypt                                                                /pool/ext/4358f47f-f21e-4cc8-829e-0c7fc2400a59/crypt                                                                    yes
oxp_4358f47f-f21e-4cc8-829e-0c7fc2400a59/crypt/debug                                                          /pool/ext/4358f47f-f21e-4cc8-829e-0c7fc2400a59/crypt/debug                                                               no
oxp_4358f47f-f21e-4cc8-829e-0c7fc2400a59/crypt/zone                                                           /pool/ext/4358f47f-f21e-4cc8-829e-0c7fc2400a59/crypt/zone                                                               yes
oxp_4358f47f-f21e-4cc8-829e-0c7fc2400a59/crypt/zone/oxz_crucible_ce8563f3-4a93-45ff-b727-cbfbee6aa413         /pool/ext/4358f47f-f21e-4cc8-829e-0c7fc2400a59/crypt/zone/oxz_crucible_ce8563f3-4a93-45ff-b727-cbfbee6aa413             yes
oxp_4358f47f-f21e-4cc8-829e-0c7fc2400a59/crypt/zone/oxz_propolis-server_7bbb541b-6732-4d42-b03c-c7a5fd7c0c19  /pool/ext/4358f47f-f21e-4cc8-829e-0c7fc2400a59/crypt/zone/oxz_propolis-server_7bbb541b-6732-4d42-b03c-c7a5fd7c0c19      yes

At the minimum this resulted in rotated logs not being compressed, and the storage for those logs ending up in the parent crypt dataset:

BRM44220005 # zfs list -r -o name,avail,used oxp_4358f47f-f21e-4cc8-829e-0c7fc2400a59/crypt
NAME                                                                                                          AVAIL   USED
oxp_4358f47f-f21e-4cc8-829e-0c7fc2400a59/crypt                                                                1.84T   441G
oxp_4358f47f-f21e-4cc8-829e-0c7fc2400a59/crypt/debug                                                           100G    99K
oxp_4358f47f-f21e-4cc8-829e-0c7fc2400a59/crypt/zone                                                           1.84T   610M
oxp_4358f47f-f21e-4cc8-829e-0c7fc2400a59/crypt/zone/oxz_crucible_ce8563f3-4a93-45ff-b727-cbfbee6aa413         1.84T   299M
oxp_4358f47f-f21e-4cc8-829e-0c7fc2400a59/crypt/zone/oxz_propolis-server_7bbb541b-6732-4d42-b03c-c7a5fd7c0c19  1.84T   312M

Metadata

Metadata

Assignees

No one assigned

    Labels

    customerFor any bug reports or feature requests tied to customer requests

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions