Linux tip, Fedora tip / howto: check (fsck) a logical volume for errors

 
back to notes and tips index

Try my online puzzle page with Calcudoku, Killer Sudoku and online Sudoku.

check (fsck) a logical volume for errors

For reference, a copy of the excellent info at this page: How should I run fsck on a Linux file system.

Because the filesystem problems I was having were with the root partition, I first had to boot a rescue OS, in this case UBCD (Ultimate Boot CD) running off a USB key. The "parted magic" option in the menu gives you a Linux OS from which you can run the file checking tools:

lvm pvscan lvm vgscan The volume group reported in my case was vg_starbug, with logical volumes lv_home and lv_root. So now to check the root volume: fsck /dev/vg_starbug/lv_root


← back to notes and tips index
Please do not copy the text of this tip (© Patrick Min) to your web site.