[SOLVED] [LVM over LUKS] TRIM forwarding doesn't work

Recently I encrypted my SSD using LUKS and created three LVM volumes on top of it. Then I added "allow-discards" to the list of kernel parameters, here is the respective entry from grub.cfg:
linux /vmlinuz-linux root=/dev/mapper/vgarch-root ro cryptdevice=/dev/sda2:vgarch:allow-discards cryptkey=/dev/disk/by-uuid/02F2-CDB8:vfat:/lukskey quiet logo.nologo loglevel=3 console=tty1 splash=silent,theme:arch-elegant elevator=noop transparent_hugepage=never radeon.modeset=1
And an excerpt from fstab:
/dev/mapper/vgarch-root / ext4 defaults,auto,noatime,discard 0 1
UUID=e8ba294e-9621-422d-8f40-d9ffbc715484 /boot ext2 defaults 0 2
/dev/mapper/vgarch-var /var ext4 defaults,auto,noatime,discard 0 2
/dev/mapper/vgarch-home /home ext4 defaults,auto,noatime,discard 0 2
When the system is booting up, "encrypt" hook prints the appropriate message ("Enabling TRIM/discard support."), so everything seems to work fine. But when I check for TRIM support using the following method, the last command doesn't print zeroes as expected.
[root@archhost /]# dd if=/dev/urandom of=tempfile count=100 bs=512k oflag=direct
100+0 records in
100+0 records out
52428800 bytes (52 MB) copied, 5.66872 s, 9.2 MB/s
[root@archhost /]# hdparm --fibmap tempfile
tempfile:
filesystem blocksize 4096, begins at LBA 0; assuming 512 byte sectors.
byte_offset begin_LBA end_LBA sectors
0 13969408 13970431 1024
524288 13986816 13987839 1024
1048576 14026752 14127103 100352
[root@archhost /]# hdparm --read-sector 13969408 /dev/sda
/dev/sda:
reading sector 13969408: succeeded
bc43 41aa 82eb 4200 438a 6151 cbbd 0842
4014 cfa4 17e7 b2ca 7c92 ec35 9fe3 0089
206c beba c33d 5876 89e7 0d9c 1fc7 b122
801e bdb9 82af 8885 add9 7b17 7aa4 4c69
d4c1 da55 2029 bd05 d0f0 cd22 a944 b27b
ffa7 9c29 ad4a 9292 7f3a 9e4d 9040 f135
f507 3d8b c142 6ac2 da83 167a c40e 1be4
2c58 f7b6 fb50 2ce7 c7d2 6f70 ce45 be87
bfe4 2755 4795 10ee e1e1 1362 d078 a8ac
0754 8663 6881 12e4 fe8c c1c1 795f 7617
0423 1abf eade 31d1 4bfc e7a0 5fbc 36cd
af25 febe 374a bef1 eb3b 2b73 df5c a5fe
9dc3 d5e9 e31c 97ec 35ca 4002 4beb 0917
2d72 d0e3 f0ab 8d75 0fcf ce97 500f e869
875b 7866 1528 7148 99d0 6369 3369 a639
cb39 f552 a277 62c3 1ba8 bdb3 4127 a6ca
5cdd d934 5f5b a434 a20e 980c 7bfd 6f40
7029 d9aa 294f 321e 4eab 8130 adf3 140a
5352 328b 6713 25ac c37a d33a 2be9 3699
459c fc7a 1b10 7e99 8b74 cc60 e5b9 3a85
edbb 7baf 2205 34a4 c10e 6d79 1e44 239f
dad3 ee10 b76f 76fa 569c 3b73 81e0 0848
db89 4efd c520 163e af72 b83b ff3b a924
d2f1 120d 75df f7ae 3922 1b2a ee39 5efd
3ade 6a0e f24e f14d 7444 d7b6 3c3a 5ab6
2345 420d e9a4 1811 807e 9c29 5da3 f9a0
f7cb ba53 b3f1 69c4 b76d fa9d 6a0a 0184
a69c fe16 42d9 71a9 85b9 1b01 8870 40b1
585a c191 a101 39b4 2203 b662 2a17 50fc
93ac 3a2d 2b27 22f4 ff60 f7d1 fd59 feda
1477 c56f 816a 0199 34b7 ba4c 4950 6af8
b7bf c409 d48a e701 2894 1be1 3ac9 d4b1
[root@archhost /]# rm tempfile
[root@archhost /]# sync
[root@archhost /]# hdparm --read-sector 13969408 /dev/sda
/dev/sda:
reading sector 13969408: succeeded
bc43 41aa 82eb 4200 438a 6151 cbbd 0842
4014 cfa4 17e7 b2ca 7c92 ec35 9fe3 0089
206c beba c33d 5876 89e7 0d9c 1fc7 b122
801e bdb9 82af 8885 add9 7b17 7aa4 4c69
d4c1 da55 2029 bd05 d0f0 cd22 a944 b27b
ffa7 9c29 ad4a 9292 7f3a 9e4d 9040 f135
f507 3d8b c142 6ac2 da83 167a c40e 1be4
2c58 f7b6 fb50 2ce7 c7d2 6f70 ce45 be87
bfe4 2755 4795 10ee e1e1 1362 d078 a8ac
0754 8663 6881 12e4 fe8c c1c1 795f 7617
0423 1abf eade 31d1 4bfc e7a0 5fbc 36cd
af25 febe 374a bef1 eb3b 2b73 df5c a5fe
9dc3 d5e9 e31c 97ec 35ca 4002 4beb 0917
2d72 d0e3 f0ab 8d75 0fcf ce97 500f e869
875b 7866 1528 7148 99d0 6369 3369 a639
cb39 f552 a277 62c3 1ba8 bdb3 4127 a6ca
5cdd d934 5f5b a434 a20e 980c 7bfd 6f40
7029 d9aa 294f 321e 4eab 8130 adf3 140a
5352 328b 6713 25ac c37a d33a 2be9 3699
459c fc7a 1b10 7e99 8b74 cc60 e5b9 3a85
edbb 7baf 2205 34a4 c10e 6d79 1e44 239f
dad3 ee10 b76f 76fa 569c 3b73 81e0 0848
db89 4efd c520 163e af72 b83b ff3b a924
d2f1 120d 75df f7ae 3922 1b2a ee39 5efd
3ade 6a0e f24e f14d 7444 d7b6 3c3a 5ab6
2345 420d e9a4 1811 807e 9c29 5da3 f9a0
f7cb ba53 b3f1 69c4 b76d fa9d 6a0a 0184
a69c fe16 42d9 71a9 85b9 1b01 8870 40b1
585a c191 a101 39b4 2203 b662 2a17 50fc
93ac 3a2d 2b27 22f4 ff60 f7d1 fd59 feda
1477 c56f 816a 0199 34b7 ba4c 4950 6af8
b7bf c409 d48a e701 2894 1be1 3ac9 d4b1
Is it possible at all to enable TRIM support in this case? And if yes, what did I miss?
Last edited by Atragor (2012-07-01 19:19:14)

Good, my guess then would be that your trim is working already and you should be able to invoke it also with fstrim manually to get a positive confirmation in bash.
The reason you don't see the zeros in your check should be that the hdparm reports back the wrong starting sector of the file due to offsets. See here for a thorough explanation by the developer and here another summary.

Similar Messages

  • 2 question concerning LVM over LUKS

    I succesfully configured LVM over LUKS, but have 2 parts that are not 100% clear to me
    My setup is now
    /dev/vda1       /boot
    /dev/vda2       LVM2 with volumegroup name lvm holding three logical volumes: lvm-root, lvm-home, lvm-swap
    The following I am wondering if someone would like to clarify to me
    1. For booting I added cryptdevice to my kernel with the following parameter settings
           kernel /vmlinuz-linux cryptdevice=/dev/vda2:encrypted root=/dev/mapper/lvm-root ro
        It doesn't seems to matter what name I use in the red part of cryptdevice.
        So why do I need to put a name in this red part ?? Does it matter at all what name I use here ??
    2. I did not fill in anyhting in /etc/crypttab and all seems to be working without issues.
        I could have entered something like "encrypted             /dev/vda2           none           luks" in it....
        What good would it do me to enter anything in crypttab ?? When would I really need this to be filled in ??
    Hoping someone would mind to explains this to me .... thx

    I just started playing with encryption so take what I say with a block of salt.
    The name you give is what will show up in /dev/mapper, ie /dev/mapper/encrypted in this case.  Since you're using lvm I think you could change the name every boot if you wanted.  OTOH, if you formatted the partition directly, you could use the /dev/mapper/encrypted in fstab for example.
    On the subject of crypttab I can't help you, except to say that in my experiments with encryption I've never touched it.

  • Moving backward and forward doesn't work as it used to do

    The latest update, 32.0.2, or perhaps the one earlier, 32.0.1, has created a problem with Fx.
    Moving backward and forward doesn't work as it used to do; and if it is done quickly, backward and then forward again to the last page, Fx gets confused and both pages get the same address and the browser shows the same page.
    Guess it has something to do with the latest changes to how Fx handles the cache, or that in combination with how some pages use scripts.
    As it is it can be a pain to use sometimes.

    Are you able to switch songs from control center when Spotify is playing on your phone?
    If you have Spotify playing on your computer then it won't show in control center on your phone. You will have to open up the app to control music on your computer. 
    This is because iOS does not show anything on the control center unless an app is outputing audio. The Spotify app is not outputing audio, it only shows what is playing on your computer.
    Does that make sense?

  • Layer trimming shortcut doesn't work

    Hi, I'm beginner but..
    I don't understand what I do wrong but layer trimming shortcut doesn't work.
    "option+[ or ]"
    I use sweden keyboard, macpro and After effects cc
    Tnx

    English( north america )
    tnx

  • Trim command doesn't work fix

    I downloaded PE 11 and PE12 and my trim command will not work for me at all. I use this so much and can't even use either one. I had 12 and went back to 11 and it still doesn't work. It is so hard to get help now from Adobe. I need this command to work. Is there a fix I can download

    Nancy K Lindway wrote:
    I downloaded PE 11 and PE12 and my trim command will not work for me at all. I use this so much and can't even use either one. I had 12 and went back to 11 and it still doesn't work. It is so hard to get help now from Adobe. I need this command to work. Is there a fix I can download
    Have you tried to reset the tools to see if corrects itself?  To do this, launch a blank image in Editor under Expert mode tab.  then at the bottom look for something like this (you will need to click on the image to magnify it):
    The reset button is at the red box shown on the right-side of the picture.  You need to click on the arrow icon to reach it.  You can reset all tools or reset only the selected tool.  I would reset all tools and done with it.
    This might or might not fix it but worth a try.
    Good luck.

  • [SOLVED]mounting cdrom and usb devices doesn't work

    Hello,
    i have trouble mounting my usb devices. automount doesn't work and i can't mount them manually even as a superuser. here's the output of mount command:
    mount: wrong fs type, bad option, bad superblock on /dev/sdc,
    missing codepage or helper program, or other error
    In some cases useful info is found in syslog - try
    dmesg | tail or so
    i can mount cdrom manually but i can't do the same for my usb stick and external hard drives. it always complains about the above regardless of the filesystem. my devices are working under windows and other linuxes so i know hardware is not the problem.
    i'm using lxde with pcmanfm.
    if you need any other files just ask.
    thanks
    Last edited by the gray (2009-03-16 20:15:18)

    above was the error when i tried to mount any usb device with "mount -t <type> /dev/sdc /media/mountpoint". and i couldn't mount any usb device as root from console. when i tried to mount devices using pcmanfm it just popped some empty dialogs and i couldn't find any mention of "IsCallerPriviliged failed" error so i (wrongly) presumed it wasn't that. i did try some of the other fixes mentioned in the forum with no success. but adding exec ck-launch-session startkde to my .xinitrc fixed the issue
    thanks again
    Last edited by the gray (2009-03-16 20:17:53)

  • [solved]amarok-2.5.0-2 doesn't work

    i use Arch Linux x86_64 with the latest kernel from core, it's the 3.2.8, and KDE 4.8.0, Qt 4.8 with ffmpeg 20120127-3. My problem is when i try to run amarok it says "amarok: error while loading shared libraries: libavcodec.so.52: cannot open shared object file: No such file or directory" i made a symlink for libavcodec.so.53 but still doesn't work. I couldn't find anything in this topic. I try to compile the git version from AUR but it's the same.
    Last edited by hg2rbw (2012-03-03 07:55:07)

    What's the output of
    LD_DEBUG=files amarok > amarok.log 2>&1 && grep libavcodec amarok.log

  • [SOLVED] xfce 4.8 = auto mount doesn't work at boot

    Hi
    I installed arch linux with xfce as DE. auto mount doesn't work at boot. I read the wiki about policykit and I have
    ck-launch-session
    at my .xinitrc but still no luck. I have dbus running as a daemon and my user belong to appropriate groups (storage and ...)
    I don't want to use auto mount rules instead of xfce auto mount.
    thanks in advanced
    Last edited by sasy360 (2011-07-02 03:16:35)

    Jodell wrote:Do you have gvfs installed?
    Oh that was all. thanks!
    Did you read the wiki entry for Xfce?
    yes but it did not mention to install gvfs.

  • Pavilion DV2000 Class Action Lawsuite (over heats and battery doesn't work)

    Hello HP and to whom it may concern -
    I was recently laid off and I had to turn in my work laptop so I pulled my HP Pavilion DV2225NR out again after it being in storage for well over a year to see if I could make some progress to get it to work again since I had some time.  I have seen some information online regarding a class action lawsuite due to hardware problems.  At one point, I even took my notebook back to BestBuy where I purchased it and it was returned for repairs more than once and it still never worked properly.  I've invested a lot of time and effort this past week to try and get what I paid good money for several years ago to work properly.  I also own a HP Pavilion desktop and wonder if it also hardware problems and that is why it doesn't seem to work properly anymore either.  I'll be checking into that one as well. 
    All I want is a laptop that works and either that this one be repaired at no cost to me by HP or that they replace it with a comparable and working machine.  
    I look forward to hearing from HP as I really need equipment that I paid for to work now more than ever so that I can use it to find another job.
    HP don't let me down!
    Best Regards,
    JB

    I am sure there will be no thanks or kudos but I will try to give you some kind of an answer. The dv2000 and similar models with AMD processor were one of the largest group of defective products released onto the U.S. market, but it was in 2007 and 2008, or 5 to 6 years ago. HP issued an enhanced warranty but you had to ask that it be fixed within 2 years. It was not a recall. The problem is the nVidia video chip and nVidia was sued in a class action and offered repairs and cash damages but that closed maybe 2 years ago. The long and the short of it is all your consumer rights have expired. HP will not fix it free or provide you a new laptop. These things have time limits just like if you get hurt in a car wreck. You can't wait longer than the statute of limitations and then ask for a remedy. There are shops that will fix them for around $100 and if you are still communicating I can help you with this. We are sorry to hear of the job loss and wish you good luck. We do not work for HP we are volunteer peer-to-peer helpers. 

  • ICloud : automatic mail forward doesn't work

    Hi,
    I've setup an automatic mail forwarding through icloud.com mail application, in preferences.
    At first, it worked.
    A few days later it doesn't.
    I've tryed to disable, enable, re-type the destination email address (gmail), nothing works : mails won't be forwarded, but they get deleted (I checked the option, this one works).
    I've contacted Apple Support Express Lane, who reset my preferences on the server (it changed nothing to the preferences I see) : there is no result on this one either.
    When I forward an email manually to the same gmail address : it works.
    Any of you having the same issue ?

    Update. It appears that auto forwarding works except for emails sent from a gmail account associated with the "forward to" address. If I send from my comcast account it works, but if I send from my gmail account, using the gmail or comcast address, it doesn't. On the plus side, mail sent from other gmail accounts apeears to work.  So other than for testing purposes, this may not be a big deal.

  • Message forwarding doesn't work

    Hi!
    I'm trying to set up message forwarding between iPhone 5S 8.2 and iPad Air 8.2. In iPhone's menu Settings->Messages->Text Message Forwarding I found my iPad, turn on switch, then I fill numbers from iPad screen and press ok, but the switch become disabled again.
    On MacBook Air with the same Apple ID forwarding works without problems.

    Hi Ukruser,
    Welcome to the Apple Support Communities!
    I understand that you are trying to set up Continuity for SMS and MMS between your iPhone and iPad, but the feature appears to be turning itself off. To ensure that everything is set up correctly before entering the code, please read over the set up instructions located in the attached article. 
    Connect your iPhone, iPad, iPod touch, and Mac using Continuity - Apple Support
    To use Continuity for SMS and MMS with your iPhone and your Mac, iPad or iPod touch
    Your iPhone, iPad, and iPod touch need to use iOS 8.1, and your Mac needs to use OS X Yosemite.
    Sign in to iMessage on your iPhone, your other iOS devices, and your Mac using the same Apple ID.
    On your iPhone:
    Go to Settings > Messages > Send & Receive > You Can Be Reached By, and add a check to both your phone number and email address.
    Go to Messages > Text Message Forwarding, and enable the device(s) you would like to forward messages to.
    Your Mac, iPad, or iPod touch will display a code. Enter this code on your iPhone to verify the SMS feature.
    Best regards,
    Joe

  • [Solved] encryption of swap with cryptsetup doesn't work

    Hi,
    I reinstalled my because of new hardware with EFI and GPT, and now I can't get work my swap partition encrypted.
    /etc/cryptsetup:
    cryptswap /dev/sda1 /dev/urandom swap
    Also with more options (key-length, etc) doesn't change the behavior.
    /etc/fstab:
    ABEL=system / ext4 rw,relatime,data=ordered 0 1
    /dev/sda128 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
    /dev/mapper/cryptswap none swap sw 0 0
    I tried also without any swap-entry in the /etc/fstab, because my pam_mounted LUKS-encrypted Partitions are working well, without a fstab-entry
    Here is the journald-output that might be relevant:
    Feb 09 01:25:41 dixi-arch systemd[1]: Found device Hitachi_HDP725025GLA380.
    Feb 09 01:25:41 dixi-arch systemd[1]: Activating swap /dev/sda1...
    Feb 09 01:25:41 dixi-arch systemd[1]: Starting Cryptography Setup for cryptswap...
    Feb 09 01:25:41 dixi-arch kernel: tda829x 0-004b: type set to tda8290+75a
    Feb 09 01:25:41 dixi-arch systemd[1]: Activated swap /dev/sda1.
    Feb 09 01:25:41 dixi-arch kernel: Adding 2097148k swap on /dev/sda1. Priority:-1 extents:1 across:2097148k FS
    Feb 09 01:25:42 dixi-arch kernel: device-mapper: uevent: version 1.0.3
    Feb 09 01:25:42 dixi-arch kernel: device-mapper: ioctl: 4.26.0-ioctl (2013-08-15) initialised: [email protected]
    Feb 09 01:25:42 dixi-arch systemd-cryptsetup[251]: Set cipher aes, mode cbc-essiv:sha256, key size 256 bits for device /dev/sda1.
    Feb 09 01:25:42 dixi-arch systemd-cryptsetup[251]: Failed to activate with key file '/dev/urandom': Device or resource busy
    Feb 09 01:26:16 dixi-arch systemd-cryptsetup[251]: Loading of cryptographic parameters failed: Invalid argument
    Feb 09 01:26:16 dixi-arch systemd-cryptsetup[251]: Failed to activate: Invalid argument
    Feb 09 01:26:16 dixi-arch systemd[1]: [email protected]: main process exited, code=exited, status=1/FAILURE
    Feb 09 01:26:16 dixi-arch systemd[1]: Failed to start Cryptography Setup for cryptswap.
    Feb 09 01:26:16 dixi-arch systemd[1]: Dependency failed for Encrypted Volumes.
    Feb 09 01:26:16 dixi-arch systemd[1]: Dependency failed for dev-mapper-cryptswap.device.
    Feb 09 01:26:16 dixi-arch systemd[1]: Dependency failed for /dev/mapper/cryptswap.
    Feb 09 01:26:16 dixi-arch systemd[1]: Dependency failed for Swap.
    Feb 09 01:26:16 dixi-arch systemd[1]: Unit [email protected] entered failed state.
    Feb 09 01:26:16 dixi-arch systemd[1]: Starting System Initialization.
    Feb 09 01:26:35 dixi-arch systemd-cryptsetup[602]: Key file /dev/urandom is world-readable. This is not a good idea!
    Feb 09 01:26:35 dixi-arch systemd-cryptsetup[602]: Set cipher aes, mode cbc-essiv:sha256, key size 256 bits for device /dev/sda1.
    Feb 09 01:26:35 dixi-arch systemd-cryptsetup[602]: Failed to activate with key file '/dev/urandom': Device or resource busy
    During the boot sequence the PC stops working and I have to press enter to keep going. Finally i have these errors and a non-encrypted Swap-Device.
    blkid:
    /dev/sda1: LABEL="swap" UUID="6013541f-7809-4b5f-9702-e630e25fd144" TYPE="swap" PARTLABEL="Linux swap" PARTUUID="9849ee0b-e0d7-4d28-866c-fb7d0134a182"
    /dev/sda2: LABEL="system" UUID="4bf8a95c-bf43-4980-92dd-b0eb6dc07093" TYPE="ext4" PARTLABEL="Linux filesystem" PARTUUID="6fc2bd3d-7241-4a88-8137-9985a333e3de"
    /dev/sda3: UUID="445eba44-3536-4b99-a0a6-e3629cf90654" TYPE="crypto_LUKS" PARTLABEL="Linux filesystem" PARTUUID="6b84a546-9873-496c-a7e1-721824023d07"
    /dev/sda4: UUID="466b5d04-7b81-4914-b5af-7e2426b801bf" TYPE="crypto_LUKS" PARTLABEL="Linux filesystem" PARTUUID="dfdf5217-7028-4a10-ae18-3a63450c3231"
    /dev/sda128: UUID="9D36-7245" TYPE="vfat" PARTLABEL="EFI System" PARTUUID="9df97a9a-3f5e-487b-a3d1-60825031b537"
    /dev/mapper/_dev_sda3: LABEL="dixi-home" UUID="23548045-1c6f-4640-8c62-0f3c48c05f38" TYPE="ext4"
    /dev/mapper/_dev_sda4: LABEL="backup" UUID="cbed9ef3-db0b-4750-bf6c-8c42a67ad080" TYPE="ext4"
    and theres is no /dev/mapper/cryptswab, what I had expexted
    swapon:
    NAME TYPE SIZE USED PRIO
    /dev/sda1 partition 2G 0B -1
    fdisk -l:
    Gerät Start Ende Größe Typ
    /dev/sda1 2048 4196351 2G Linux swap
    /dev/sda2 4196352 109053951 50G Linux filesystem
    /dev/sda3 109053952 381683711 130G Linux filesystem
    /dev/sda4 381683712 486299982 49,9G Linux filesystem
    /dev/sda128 486301696 488397134 1023,2M EFI System
    There are some Bug-Reports for fedora, I don't understand, but maybe the problem is, that cryptsetup can't read /dev/urandom.
    But this works with my old mbr-partition; therefore I hope for a configuration error
    Thanks
    Last edited by midixinga (2014-02-09 23:46:06)

    falconindy wrote:
    Looks to me like /dev/sda1 is already a swap device. Since the underlying disk is GPT formatted, systemd finds this and activates it. Your logs and swapon show exactly this.
    Feb 09 01:25:41 dixi-arch systemd[1]: Activating swap /dev/sda1...
    So, of course, systemd-cryptsetup is going to fail when it tries to encrypt a device which is already in use. Get rid of the swap signature on /dev/sda1.
    Wow, thank you very much !
    I formatted the partition /dev/sda1 with gparted  as "deleted", it's now code 0700 in gdisk
    fdisk -l
    Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: gpt
    Disk identifier: 27980DF8-22E1-4F25-9388-711D1EDE11A9
    Device Start End Size Type
    /dev/sda1 2048 4196351 2G Microsoft basic data
    /dev/sda2 4196352 109053951 50G Linux filesystem
    /dev/sda3 109053952 381683711 130G Linux filesystem
    /dev/sda4 381683712 486299982 49.9G Linux filesystem
    /dev/sda128 486301696 488397134 1023.2M EFI System
    Disk /dev/mapper/cryptswap: 2 GiB, 2147483648 bytes, 4194304 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    swapon -s
    Filename Type Size Used Priority
    /dev/dm-0 partition 2097148 0 -1
    journalctl:
    Feb 09 16:54:09 dixi-arch systemd[1]: Starting Cryptography Setup for cryptswap...
    Feb 09 16:54:09 dixi-arch systemd-cryptsetup[271]: Key file /dev/urandom is world-readable. This is not a good idea!
    Feb 09 16:54:09 dixi-arch systemd-cryptsetup[271]: Set cipher aes, mode cbc-essiv:sha256, key size 256 bits for device /dev/sda1.
    Feb 09 16:54:10 dixi-arch systemd[1]: Started Cryptography Setup for cryptswap.
    Feb 09 16:54:10 dixi-arch systemd[1]: Starting Encrypted Volumes.
    Feb 09 16:54:10 dixi-arch systemd[1]: Reached target Encrypted Volumes.
    Feb 09 16:54:10 dixi-arch systemd[1]: Found device /dev/mapper/cryptswap.
    Feb 09 16:54:10 dixi-arch systemd[1]: Activating swap /dev/mapper/cryptswap...
    Feb 09 16:54:10 dixi-arch systemd[1]: Activated swap /dev/mapper/cryptswap.
    Feb 09 16:54:10 dixi-arch systemd[1]: Starting Swap.
    Feb 09 16:54:10 dixi-arch systemd[1]: Reached target Swap.
    I think everything is fine now
    Thanks again

  • X forwarding doesn't work

    I would like to get x forwarding to work so I can play kolf at school, at the "far away machine" I have X11Forwarding yes in ssshd_config and the same on my local linux machine, no matter what I try I always get
    xterm Xt error: Can't open display:
    xterm: DISPLAY is not set
    no matter what program I use it's always the same thing, X11 is installed and functional on both ends, it's the new standard version 7. both machines are on a clean install too.
    any ideals?

    1) The xhost solution posted above is rubbish. Not only is it unsecure, but it is also wrong in this context and wrong in 2 other ways that I do not want to describe now.
    2) If you want to forward X with ssh, there is not much to do, and I think you did it right:
    a) Enable X11Forwarding yes in sshd_config on the server side (don't forget to restart sshd)
    b) Start your ssh session with ssh -X $hostname. This enabled X forwarding for this one session. If it doesn't, you get an error message that tells you why. If $DISPLAY is not set and ther e is no error, then you either forgot -X (or -Y) or your $DISPLAY gets unset again after the login.

  • I got a digtal download from a CD and downloaded it to my computer and when I try to drag it over to iTunes it doesn't work, why not?

    The songs are downloaded into a music folder on my computer, they are legal downloads, but it won't let me bring it over to my iTunes library. When I click and drag it, they just never copy over.

    I'm not sure? I'm new to lightroom and it's lightroom 5 that I'm using. What is happening is I go to develop the picture in the developing section in lightroom and it gives me this message that says " Develop module is disabled Please purchase a license to reactivate the develop module." I shouldnt have to do anything else after already buying the cd and downloading it initially. It's already paid for? I'm so confused!!
    why is the adobe lightroom 5 asking me to keep downloading the CD I bought at Best Buy store. I have already bought the CD and downloaded it on my computer but for some reason it gives me 10 days a then I have to download it again!!! Why is this its so an 

  • [SOLVED] Xorg and mouse with HAL doesn't work

    Hi
    I recently reinstalled Arch Linux and I have some problems... My mouse isn't working - at all! I'm using an HP Compaq 6510b.
    I've installed the following packages:
    * xf86-input-evdev
    * hal
    * dbus
    I don't have an xorg.conf file at all, as I heard that hal should solve everything automagically for me. This seems to not be the case?
    Any ideas? Thanks
    Last edited by skorpan (2009-06-05 18:41:51)

    Yeah, I'm doing that!
    BTW, Xorg.0.log is here: http://dpaste.com/51933
    Last edited by skorpan (2009-06-05 17:58:31)

Maybe you are looking for

  • Error message in Logic "audio configuration contains unknown items"

    I am using Logic Studio with an apogee Duet and Mac Book Pro. So far I love the apogee duet for it's simplicity and sound. I have however started to receive this error message working with Logic Studio, almost anytime I start a new track, add a plug-

  • What is this Icon on the homepage??

    I just bought my BB Curve and have read through all of the documentation. There is a small, black icon that looks like cross-hairs with two lines on the right side (to indicate sound I guess). I have looked through everything and cannot find what thi

  • Is there a way to find out what the exe is?

    I just got my new macbook pro, and copied, uploaded some old cd's of mine. problem is, some are videos some are photos and some are documents. I managed to title a .jpg on some photos successfully, and they worked. Now I can view them and I saved the

  • SAP NetWeaver 7.01 - ABAP Trial Version - Adobe Flex Islands are missing

    Hello, After installing SAP NetWeaver 7.01 - ABAP Trial Version, Enhancement Package 1, I discovered that the Adobe Flex Islands UI element is missing. - How/when can I play around with it and integrate Flex applications with my WebDynpro 4 ABAP appl

  • Comparison between N77 and N73

    Who do you guyz think winner off these two in beauty, Style and performance ?