migrating /var "the directory" to /var "a filesystem"
I need to migrate the contents of my /var directory to a filesystem because of a security requirement. I have created a filesystem, and mounted it to /mnt. In single user mode I used the following command to migrate the contents of /var to the new filesystem:
huron : /var # find . -print | cpio -Bpdumv /mnt
I then modified the fstab to mount the new filesystem to /var at boot time. When I reboot the system the boot process hangs at "Starting system logging". I even ran an fsck on the new filesystem and it still didn't work. Does anyone have a better way to accomplish my task than what I have already tried? I have not deleted the contents of /var the directory, so all i have to do is replace fstab with the original fstab, boot up, and I'm fine.
Thanks,
Andy