Problem erasing swap parition before encrypting
BCSFD204 at twcny.rr.com
Mon Aug 14 00:55:43 UTC 2006
I'm trying to turn on swap encryption on a 6.1-S machine.
I ran into problems trying to write the random data over the swap space.
I get the following messages:
Script started on Sun Aug 13 20:48:28 2006
P3R-233# dd if=/dev/random of=/dev/ad4s1b bs=1m
dd: /dev/ad4s1b: Operation not permitted
1+0 records in
0+0 records out
0 bytes transferred in 0.029574 secs (0 bytes/sec)
Script done on Sun Aug 13 20:48:55 2006
I have tried this on several swap partitions and have gotten the same
result. I have also tried this to a new partition that I would like to
encrypt as a test and I the the same messages.
I'm running as root.
I have swap turned off to that swap file.
I have tried coming up in single user mode.
I have even unmounted the other filesystems on that disk.
I checked and /dev/ad3a1b is owned by root:wheel.
Any ideas would be more than welcome.
More information about the freebsd-questions