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 07-21-2011, 10:39 AM
yudi v
 
Default Does encrypted SWAP support suspend-to-disk?

I am planning on installing Fedora with LUKS over LVM as follows:

sda1** ntfs

sda2 * /boot* ext

sda3 - PV and VG

- lv_swap* swap* (encrypted LV)

-lv_root*** / ext4 (encrypted LV)

-lv_home /home ext4 ( (encrypted LV))

-rest unassigned - I will assign and encrypt as the need arises.


sda4 extended

sda5* vfat
*Is it suspend-to-disk supported? I cannot find any documentation except for this 2007 article in redhat magazine, is it still valid.
*http://magazine.redhat.com/2007/01/18/disk-encryption-in-fedora-past-present-and-future/

--
Kind regards,
Yudi


--
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
 
Old 07-21-2011, 01:12 PM
admin lewis
 
Default Does encrypted SWAP support suspend-to-disk?

2011/7/21 yudi v <yudi.tux@gmail.com>:
> I am planning on installing Fedora with LUKS over LVM as follows:
>
> sda1** ntfs
> sda2 * /boot* ext
> sda3 - PV and VG
> - lv_swap* swap* (encrypted LV)
> -lv_root*** / ext4 (encrypted LV)
> -lv_home /home ext4 ( (encrypted LV))
> -rest unassigned - I will assign and encrypt as the need arises.
> sda4 extended
> sda5* vfat
> *Is it suspend-to-disk supported? I cannot find any documentation except for
> this 2007 article in redhat magazine, is it still valid.
> *http://magazine.redhat.com/2007/01/18/disk-encryption-in-fedora-past-present-and-future/
>

This is my mount:
# mount|egrep -i 'sda|mapper'
/dev/mapper/vg_whitebox-lv_root on / type ext4
(rw,relatime,seclabel,barrier=1,data=ordered)
/dev/sda1 on /boot type ext4 (rw,relatime,seclabel,barrier=1,data=ordered)
/dev/mapper/vg_whitebox-lv_root on /tmp type ext4
(rw,relatime,seclabel,barrier=1,data=ordered)
/dev/mapper/vg_whitebox-lv_root on /var/tmp type ext4
(rw,relatime,seclabel,barrier=1,data=ordered)
/dev/mapper/vg_whitebox-lv_root on /home type ext4
(rw,relatime,seclabel,barrier=1,data=ordered)

# swapon -s
Filename Type Size Used Priority
/dev/mapper/vg_whitebox-lv_swap partition 4063228 186940 0


I've selinux enabled, lvm and encrypted root and it works. It's a bit
slow on my macbook, but it works.


> --
> Kind regards,
> Yudi
>
>

;-) lewis



--
my blog - http://predellino.blogspot.com/
--
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
 
Old 07-21-2011, 01:43 PM
yudi v
 
Default Does encrypted SWAP support suspend-to-disk?

On Thu, Jul 21, 2011 at 11:12 PM, admin lewis <adminlewis@gmail.com> wrote:

2011/7/21 yudi v <yudi.tux@gmail.com>:

> I am planning on installing Fedora with LUKS over LVM as follows:

>

> sda1** ntfs

> sda2 * /boot* ext

> sda3 - PV and VG

> - lv_swap* swap* (encrypted LV)

> -lv_root*** / ext4 (encrypted LV)

> -lv_home /home ext4 ( (encrypted LV))

> -rest unassigned - I will assign and encrypt as the need arises.

> sda4 extended

> sda5* vfat

> *Is it suspend-to-disk supported? I cannot find any documentation except for

> this 2007 article in redhat magazine, is it still valid.

> *http://magazine.redhat.com/2007/01/18/disk-encryption-in-fedora-past-present-and-future/

>



This is my mount:

# mount|egrep -i 'sda|mapper'

/dev/mapper/vg_whitebox-lv_root on / type ext4

(rw,relatime,seclabel,barrier=1,data="">
/dev/sda1 on /boot type ext4 (rw,relatime,seclabel,barrier=1,data="">
/dev/mapper/vg_whitebox-lv_root on /tmp type ext4

(rw,relatime,seclabel,barrier=1,data="">
/dev/mapper/vg_whitebox-lv_root on /var/tmp type ext4

(rw,relatime,seclabel,barrier=1,data="">
/dev/mapper/vg_whitebox-lv_root on /home type ext4

(rw,relatime,seclabel,barrier=1,data="">


# swapon -s

Filename * * * * * * * * * * * * * * * *Type * * * * * *Size * *Used * *Priority

/dev/mapper/vg_whitebox-lv_swap * * * * partition * * * 4063228 186940 *0





I've selinux enabled, lvm and encrypted root and it works. It's a bit

slow on my macbook, but it works.



Is the PV encrypted or the individual LVs. I have LUKS on top of LVM. Is your setup similar?

--
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
 
Old 07-21-2011, 01:43 PM
yudi v
 
Default Does encrypted SWAP support suspend-to-disk?

On Thu, Jul 21, 2011 at 11:12 PM, admin lewis <adminlewis@gmail.com> wrote:

2011/7/21 yudi v <yudi.tux@gmail.com>:

> I am planning on installing Fedora with LUKS over LVM as follows:

>

> sda1** ntfs

> sda2 * /boot* ext

> sda3 - PV and VG

> - lv_swap* swap* (encrypted LV)

> -lv_root*** / ext4 (encrypted LV)

> -lv_home /home ext4 ( (encrypted LV))

> -rest unassigned - I will assign and encrypt as the need arises.

> sda4 extended

> sda5* vfat

> *Is it suspend-to-disk supported? I cannot find any documentation except for

> this 2007 article in redhat magazine, is it still valid.

> *http://magazine.redhat.com/2007/01/18/disk-encryption-in-fedora-past-present-and-future/

>



This is my mount:

# mount|egrep -i 'sda|mapper'

/dev/mapper/vg_whitebox-lv_root on / type ext4

(rw,relatime,seclabel,barrier=1,data="">
/dev/sda1 on /boot type ext4 (rw,relatime,seclabel,barrier=1,data="">
/dev/mapper/vg_whitebox-lv_root on /tmp type ext4

(rw,relatime,seclabel,barrier=1,data="">
/dev/mapper/vg_whitebox-lv_root on /var/tmp type ext4

(rw,relatime,seclabel,barrier=1,data="">
/dev/mapper/vg_whitebox-lv_root on /home type ext4

(rw,relatime,seclabel,barrier=1,data="">


# swapon -s

Filename * * * * * * * * * * * * * * * *Type * * * * * *Size * *Used * *Priority

/dev/mapper/vg_whitebox-lv_swap * * * * partition * * * 4063228 186940 *0





I've selinux enabled, lvm and encrypted root and it works. It's a bit

slow on my macbook, but it works.



Is the PV encrypted or the individual LVs. I have LUKS on top of LVM. Is your setup similar?

--
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
 
Old 07-21-2011, 08:09 PM
admin lewis
 
Default Does encrypted SWAP support suspend-to-disk?

2011/7/21 yudi v <yudi.tux@gmail.com>:
>
>
> On Thu, Jul 21, 2011 at 11:12 PM, admin lewis <adminlewis@gmail.com> wrote:
>>
>> 2011/7/21 yudi v <yudi.tux@gmail.com>:
>> > I am planning on installing Fedora with LUKS over LVM as follows:
>> >
>> > sda1** ntfs
>> > sda2 * /boot* ext
>> > sda3 - PV and VG
>> > - lv_swap* swap* (encrypted LV)
>> > -lv_root*** / ext4 (encrypted LV)
>> > -lv_home /home ext4 ( (encrypted LV))
>> > -rest unassigned - I will assign and encrypt as the need arises.
>> > sda4 extended
>> > sda5* vfat
>> > *Is it suspend-to-disk supported? I cannot find any documentation except
>> > for
>> > this 2007 article in redhat magazine, is it still valid.
>> >
>> > *http://magazine.redhat.com/2007/01/18/disk-encryption-in-fedora-past-present-and-future/
>> >
>>
>> This is my mount:
>> # mount|egrep -i 'sda|mapper'
>> /dev/mapper/vg_whitebox-lv_root on / type ext4
>> (rw,relatime,seclabel,barrier=1,data=ordered)
>> /dev/sda1 on /boot type ext4 (rw,relatime,seclabel,barrier=1,data=ordered)
>> /dev/mapper/vg_whitebox-lv_root on /tmp type ext4
>> (rw,relatime,seclabel,barrier=1,data=ordered)
>> /dev/mapper/vg_whitebox-lv_root on /var/tmp type ext4
>> (rw,relatime,seclabel,barrier=1,data=ordered)
>> /dev/mapper/vg_whitebox-lv_root on /home type ext4
>> (rw,relatime,seclabel,barrier=1,data=ordered)
>>
>> # swapon -s
>> Filename * * * * * * * * * * * * * * * *Type * * * * * *Size * *Used
>> *Priority
>> /dev/mapper/vg_whitebox-lv_swap * * * * partition * * * 4063228 186940 *0
>>
>>
>> I've selinux enabled, lvm and encrypted root and it works. It's a bit
>> slow on my macbook, but it works.
>>
>
> Is the PV encrypted or the individual LVs. I have LUKS on top of LVM. Is
> your setup similar?
>

I'm sorry, but looking into more deeply the swap seems not encrypted:
# blkid
/dev/root: LABEL="Fedora-12-i686-L"
UUID="26d2c620-1f88-4fb5-afb4-57d314d1fbb8" TYPE="ext4"
/dev/sda1: UUID="1d863159-ee60-4130-a09f-8581b2cf3289" TYPE="ext4"
/dev/sda2: UUID="58d856bf-ac6d-4d51-af42-cef0c52f5081" TYPE="crypto_LUKS"
/dev/mapper/luks-58d856bf-ac6d-4d51-af42-cef0c52f5081:
UUID="LH01XA-HNHd-9Qq9-IROy-SJF9-vjuZ-jPGjCW" TYPE="LVM2_member"
/dev/mapper/vg_whitebox-lv_swap:
UUID="4b19768d-3fe1-428a-96ff-a9a961a68cc3" TYPE="swap"

by lewis



--
my blog - http://predellino.blogspot.com/
--
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 09:30 PM.

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