As the title says, I can use the
How can I scrub that subvolume to make sure everything is fine after running into issues with the filesystem and having to reboot?
Thanks in advance.
zfs command to get information about the subvolume of a LXC that resides in my zfspool pool, e.g.zfs get all zfspool/subvol-109-disk-0How can I scrub that subvolume to make sure everything is fine after running into issues with the filesystem and having to reboot?
zpool show the status is fine, but I would like to make sure the subvolumes are fine, too (and I don't know if they are included in this check):
Code:
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
zfspool 6.30G 3.51T 104K /zfspool
zfspool/subvol-108-disk-0 5.89G 4.11G 5.89G /zfspool/subvol-108-disk-0
zfspool/subvol-109-disk-0 292M 732M 292M /zfspool/subvol-109-disk-0
# zpool status -v zfspool
pool: zfspool
state: ONLINE
scan: scrub repaired 0B in 00:03:41 with 0 errors on Mon Apr 3 06:57:14 2023
config:
NAME STATE READ WRITE CKSUM
zfspool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
ata-ST4000NM0245-1Z2107_ZC13613C ONLINE 0 0 0
ata-ST4000NM0245-1Z2107_ZC139JR7 ONLINE 0 0 0
errors: No known data errors
Thanks in advance.