I am interested to know how the file system data structures are handled when suspending to disk.
I am wondering if it is possible to hibernate and then switch a disk (physically) and then resume. My guess is that all of the inodes in memory for hibernation would be invalid. Is there any way to refresh the inode data or any place in the Kernel source I could look that might provide an example?
It is not possible for me to umount the disk, I am curious what options are available to me.
I think one thing you can do is this:
boot on disk 1, hibernate.
Change to disk 2, and press the power button. The computer will boot again (not wake up).
hibernate on disk 2.
Switch to disk 1, and it has a better chance to wake up successfully.