hey tim, On 15/04/2009 Tim Small wrote: > Using the documented method for a "throw-away" encrypted swap partition, > results in a software RAID resync on every reboot. > > I assume that the swap partition is not being correctly stopped during > shutdown i.e. this isn't happening: > > 1. swapoff > > 2. stop or read-only the underlying crypt device > > 3. stop or read-only the underlying md device
did you configure software raid for the swap partition? can you describe your setup? please paste /etc/fstab and /etc/crypttab. if you do have software raid on top of encrypted partitions, then it's an intended feature that the partition is synced every reboot. after all the random key changes with every reboot, and a new swapfs is created on top of the unlocked every time. thus the sync cannot be avoided. greetings, jonas
signature.asc
Description: Digital signature

