fsck a file system on a dm-crypt'ed partition
Short: How do I run fsck on a file system residing in a block device created using dm-crypt?
Long: The partition setup of my Asus eee netbook is as follows:
I made the block device obtained by dm-crypt'ing /dev/sda2 into a LVM physical volume. This volume has three partitions (their function should be obvious from their name).
The netbook works; I am writing this message using my netbook. I have tried rebooting, and nothing weird happened. Presumably, an impact detector made my hard drive park its head.
But I am paranoid. I would like to know whether I damaged my drive, so I can buy a new one before the possible damage starts having consequences.
So, I want to fsck file systems on partitions managed by LVM, on a block device within a dm-crypt'ed partition. Do you folks have any idea on how to do this?
Thanks in advance,
Just don't use fsck to test the drive, use the manufacturers diagnostic tool, this way you don't have to fiddle with the partitions at all.
|All times are GMT -5. The time now is 03:26 AM.|