Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add timestamp to btrfs storage snapshot overview and detail #21550

Open
2nv2u opened this issue Jan 26, 2025 · 1 comment
Open

Add timestamp to btrfs storage snapshot overview and detail #21550

2nv2u opened this issue Jan 26, 2025 · 1 comment

Comments

@2nv2u
Copy link

2nv2u commented Jan 26, 2025

Page: Storage

As requested to make this a feature request, it would be great to have a timestamp added to the new snapshots view for the btrfs partitions in the storage plugin:

#20234

This can be retrieved fomr the metadata from the snapshots themselves: btrfs subvol show {snapshot}

@2nv2u 2nv2u changed the title Add timestamp to snapshot overview and detail in btrfs storage Add timestamp to btrfs storage snapshot overview and detail Jan 26, 2025
@jelly
Copy link
Member

jelly commented Jan 27, 2025

We don't have this data readily available from UDisks or from btrfs subvolume list, so implementing this more properly needs some more structural work:

Usually snapshots are already conveniently named but if they aren't showing the Creation date (which I assume is what you asked for) is useful.

[jelle@t14s][~/projects/cockpit/test-logout-account-dialog]%sudo btrfs subvolume show /.snapshots/26-02-2024
snapshots/26-02-2024
        Name:                   26-02-2024
        Received UUID:          -
        Creation time:          2024-02-26 10:17:04 +0100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants