FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 11-16-2011, 06:38 PM
Deron Meranda
 
Default F16 does not enable LUKS-encrypted swap device at boot

After upgrading to Fedora 16 (x86_64) my swap logical volume is no
longer enabled. I had made no changes to this since F15, where swap
worked fine.

My swap device is actually a LUKS-encrypted logical volume. The
encryption key is random (/dev/urandom).

Does anybody know how the swap devices are enabled at boot now, and/or
why it may not be enabled for me? Below is more information about my
setup; not that /proc/swaps show no active swap devices.

Thanks


# cat /proc/swaps
Filename Type Size Used Priority


# grep swap /etc/fstab
/dev/mapper/luks-b1640161-ce10-40e3-a684-bc4b4c23b7d2 swap
swap defaults 0 0


# grep swap /etc/crypttab
luks-b1640161-ce10-40e3-a684-bc4b4c23b7d2
UUID=b1640161-ce10-40e3-a684-bc4b4c23b7d2 /dev/urandom
cipher=aes-cbc-essiv:sha256,size=256,hash=sha256,swap


# dmsetup info luks-b1640161-ce10-40e3-a684-bc4b4c23b7d2
Name: luks-b1640161-ce10-40e3-a684-bc4b4c23b7d2
State: ACTIVE
Read Ahead: 256
Tables present: LIVE
Open count: 0
Event number: 0
Major, minor: 253, 11
Number of targets: 1
UUID: CRYPT-PLAIN-luks-b1640161-ce10-40e3-a684-bc4b4c23b7d2


# cryptsetup status /dev/mapper/luks-b1640161-ce10-40e3-a684-bc4b4c23b7d2
/dev/mapper//dev/mapper/luks-b1640161-ce10-40e3-a684-bc4b4c23b7d2 is active.
type: PLAIN
cipher: aes-cbc-essiv:sha256
keysize: 256 bits
device: /dev/mapper/vg_beryl-lvswap
offset: 0 sectors
size: 67108864 sectors
mode: read/write


# lvdisplay /dev/mapper/vg_beryl-lvswap
--- Logical volume ---
LV Name /dev/vg_beryl/lvswap
VG Name vg_beryl
LV UUID ZxXAlx-Dqx7-mXjT-Xgli-Nu67-5rPr-1uqwjs
LV Write Access read/write
LV Status available
# open 1
LV Size 32.00 GiB
Current LE 512
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:2

--
Deron Meranda
http://deron.meranda.us/
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 08:51 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org