You are not logged in.
Pages: 1
Hi there,
I have an encrypted swap residing on a ssd. The setup is that from the wiki for encrypted swap with special regard to device naming. Thus, a small ext2 system with a label and then the swap. however, everthing is in lvm system.
The problem is that when the system needs the swap it totally freezes such that I have to do a hard reset. Thus, it must be somehow that the systems "thinks" the swap is there, but in fact it isn't.
part of lvdisplay gives:
--- Logical volume ---
LV Path /dev/systems/swap
LV Name swap
VG Name systems
LV UUID XtDffE-zYPA-3SGk-13Li-HpkU-U5Kc-P4XKt6
LV Write Access read/write
LV Creation host, time archiso, 2016-06-21 11:32:54 +1000
LV Status available
# open 1
LV Size 32.00 GiB
Current LE 8192
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:0
blkid gives:
/dev/mapper/systems-swap: LABEL="cryptswap" UUID="2806657e-9a32-4998-af3d-d0625a979128" TYPE="ext2"
and
/dev/mapper/swap: UUID="d4ba3866-01c2-4673-adbf-557ccc372e09" TYPE="swap"
crypttab is:
swap LABEL=cryptswap /dev/urandom swap,offset=2048,cipher=aes-cbc-essiv:sha256,size=256
fstab is:
/dev/mapper/swap none swap defaults 0 0
top gives:
GiB Swap: 0.0/31.999
Since I couldn't find any help via google I guess I made a very specific set up mistake.
Any help is much appreciated.
Cheers
Last edited by kalle (2017-07-21 06:18:38)
Offline
Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code
Offline
changed.
Offline
Pages: 1