F16 does not enable LUKS-encrypted swap device at boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux