Robert Thralls wrote:
I typed "mkswap /dev/hda4" instead of "mkswap /dev/sda4" and applied it to an xfs storage
partition! I have no experience repairing xfs. I have not mounted or done anything else with this partition
yet. Is there a way to recover everything or at least a list of everything that was lost? Could I just do a
"mkfs.xfs /dev/hda4" and pretend it never happened?
kernel 2.6.15, gentoo, xfsprogs-2.6.25
don't mkfs it! I -think- that mkswap just stamps a signature onto the
front of the disk; I'm guessing that xfs_repair can recover from this.
You could dd hda4 into an image file if you have room, to test it there
first.
-Eric
---------------------------------
Yahoo! Photos – Showcase holiday pictures in hardcover
Photo Books. You design it and we’ll bind it!
[[HTML alternate version deleted]]
|