LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pct-fsck

Run a filesystem check on a Proxmox LXC volume

TLDR

Check all volumes of a container
$ pct fsck [100]
copy
Check a specific volume device
$ pct fsck [100] --device [mp0|mp1|rootfs|...]
copy

SYNOPSIS

pct fsck vmid [OPTIONS]

DESCRIPTION

pct fsck runs a filesystem consistency check on one or more volumes of a Proxmox VE LXC container. Without `--device`, every configured volume for the container is checked.Use this after unclean shutdowns, storage issues, or when the container fails to start due to filesystem errors. The underlying checker depends on the filesystem type of each volume (commonly `fsck` for ext-family filesystems).

PARAMETERS

vmid

Numeric ID of the container whose volumes to check
--device volume
Limit the check to one volume (e.g. `rootfs`, `mp0`, `mp1`)

CAVEATS

The container should be stopped before running a filesystem check. Running `fsck` on a mounted, live volume can cause data corruption. Ensure storage is available on the node where the container's disks reside.

HISTORY

Part of Proxmox VE LXC management (`pct`).

SEE ALSO

pct(1), fsck(8)

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid