I'm trying to build a new "system" partition on an existing disk. I've tried a number of times now, and every time I've ended up with a corrupt filesystem.
My existing disk is /dev/hda, which has the following partions: /dev/hda1 is an active xfs filesystem. /dev/hda2 is unused. /dev/hda4 is a Linux swap.
In my VM I added a hard disk, as "Use a physical disk" and then selected "Use individual partions", where I selected /dev/hda2, as IDE 0:0. I also added 2 Virtual disks as well.
The following sequence always results in a corrupted filesystem on /dev/hda2.
Boot the VM from a Slackware DVD image.
Install Slackware on /dev/hda2, which includes formatting /dev/hda2 as xfs.
poweroff the VM.
Run xfs_check /dev/hda2, which doesn't find any errors.
Mount /dev/hda2 on existing system, and copy 2 directory trees from /dev/hda1 to /dev/hda2.
Unmount /dev/hda2.
Run xfs_check /dev/hda2, which again doesn't find any errors.
Boot the VM, again from the Slackware DVD image, but add the kernel parameters "root=/dev/hda2 rdinit= ro".
poweroff the VM.
Run xfs_check, which now complains that there are errors on the filesystem.
Does anyone have any idea why this could be happening. I'm running VMWare Server 1.0.8.
Cheers,
Eddie