MDLog:/sysadmin

The Journal Of A Linux Sysadmin

Linux Tips: Run Fsck on a Loopback Filesystem

| Comments

If you want to run fsck on a loopback filesystem (n_ormally a virtual machine disk image like xen for ex._) you just have to tell its proper filesystem type when you run fsck:

1
fsck.ext3 /path/to/loopbackfile.ext3

for ext3 or:

1
fsck.reiserfs /path/to/loopbackfile.reiserfs

for reiserfs, etc.

Comments