CaffeineAddict
Well-Known Member
The following is what I'm doing, I want to check metadata on a mounted filesystem which is
My SSD is encrypted with
Likewise how would I invoke
/dev/sdb3
where /root
and swap partitions are located but I have no clue how to invoke it.My SSD is encrypted with
crypsetup
and is managed by LVM
Bash:
user@msi:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 931,5G 0 disk
└─sda1 8:1 0 931,5G 0 part /media/user/Data
sdb 8:16 0 465,8G 0 disk
├─sdb1 8:17 0 512M 0 part /boot/efi
├─sdb2 8:18 0 488M 0 part /boot
└─sdb3 8:19 0 464,8G 0 part
└─sdb3_crypt 253:0 0 464,8G 0 crypt
├─msi--vg-root 253:1 0 442,4G 0 lvm /
└─msi--vg-swap 253:2 0 22,4G 0 lvm [SWAP]
sr0 11:0 1 1024M 0 rom
user@msi:~$ sudo e2scrub /dev/sdb3
/dev/sdb3: Not an ext[234] filesystem.
Usage: /usr/sbin/e2scrub [OPTIONS] mountpoint | device
mountpoint must be on an LVM-managed block device
-n: Show what commands e2scrub would execute.
-r: Remove e2scrub snapshot and exit, do not check anything.
-t: Run fstrim if successful.
-V: Print version information and exit.
Bash:
man e2scrub
DESCRIPTION
e2scrub attempts to check (but not repair) all metadata in a mounted ext[234] file system if the file system resides on an LVM logical volume. The block device of the LVM logical volume can also be passed in.
Likewise how would I invoke
e2scrub_all
which does the same but all mounted file systems.