[SOLVED] I don't think my swap partition is being mounted?

My top command never indicates any of the swap being used, could it be because I don't use over a gig of ram?
Swap: 2048280k total, 0k used, 2048280k free, 380392k cached
and when I booted my machine I once saw it saying swap mount - Failed
not entirely sure now  as it doesn't mention it.
Here is my fstab
tmpfs /tmp tmpfs nodev,nosuid 0 0
UUID=01f2ea1e-7166-4081-949b-9df766c80ae9 / ext4 defaults 0 1
UUID=81478b57-9b58-4d2f-a814-30461720b6e0 /home ext4 defaults 0 1
UUID=84e46ff4-dd90-483d-a4a3-dda3b48c17de /boot ext2 defaults 0 1
#UUID=bf2f66e9-fcdc-4698-82b1-05249f2ee999 swap swap defaults 0 0
/dev/sda2 swap swap defaults 0 0
UUID=86C05EF4C05EEA47 /home/dalesalter/Desktop/Storage ntfs-3g gid=users,fmask=113,dmask=002 0 0
UUID=303361C774412966 /home/dalesalter/Desktop/Windows ntfs-3g gid=users,fmask=113,dmask=002 0 0
and my fdisk
Device Boot Start End Blocks Id System
/dev/sda1 * 63 208844 104391 83 Linux
/dev/sda2 208845 4305419 2048287+ 82 Linux swap / Solaris
/dev/sda3 4305420 65754044 30724312+ 83 Linux
/dev/sda4 65754045 488392064 211319010 83 Linux
Thanks in advance!
Last edited by Compulsed (2011-10-05 14:15:52)

What does free say?
ewaller@odin:~ 1001 %free
total used free shared buffers cached
Mem: 3961932 2518136 1443796 0 290204 1197880
-/+ buffers/cache: 1030052 2931880
Swap: 4000148 104 4000044
ewaller@odin:~ 1002 %

Similar Messages

  • [SOLVED] Swap Partition keeps being automounted, but it shouldn't.

    Hi,
    I created a swap partition as part of setting up a Linux From Scratch installation, and it was intended for that system only. However it is automounted every time I boot my arch.
    It is neither mentioned in my fstab or my mtab. I tried # swapoff , and that disables it for that instance, but after boot it's mounted again. Tried giving it an fstab entry with the noauto option.
    Last edited by krork (2015-01-05 18:11:24)

    Thanks Guys!
    I have not yet found a way to stop systemd from automounting the swap partition. I'm a bit busy this January. However, as a workaround I created a swapoff.service file in /etc/systemd/system with this content:
    [Unit]
    Description=Turns off Swap Partition
    DefaultDependencies=no
    After=getty.target
    [Service]
    ExecStart=/usr/bin/swapoff /dev/sdaX
    [Install]
    WantedBy=multi-user.target
    Replace the /dev/sdaX with your according partition, of course.
    Edit: Also you'll want to enable it: # systemctl enable swapoff.service
    So in case anyone else is having this problem and just wants a dirty fix, this worked for me, for now. If I find out how to keep systemd from automounting in the first place I'll let you know.
    Last edited by krork (2015-01-05 16:50:33)

  • "/boot" partition not being mounted or used

    I have my disk partitioned in 3 sections,
    /dev/sdc1 "/boot"
    /dev/sdc2 "swap"
    /dev/sdc3 "/"
    When i boot up it uses the "boot" folder mounted on /dev/sdc3 "/" named "boot" instead of "/dev/sdc1" which is supposed to be "/boot".
    If I change it in fstab to mount /dev/sdc1 partition correctly as /boot, it boots from "/dev/sdc3"'s /boot instead, then loads /dev/sdc1 as "/boot" afterwards.
    Any suggestions, it is hard to explain. hmm
    Basicly, what do I need to do to make sure my /boot partition is being USED as the /boot ?

    You need to tell GRUB (in /boot/grub/menu.lst) to use sdc1 as the "root", even though you pass "root=/dev/sdc3" on the kernel command line. If GRUB is itself looking in the wrong place for config files, you'll need to reinstall GRUB.

  • Swap Partitioning and multiple disks

    Ok so I have been setting up a workstation with Arch Linux that has a total of 16GB of RAM and, because it will run very memory intensive applications we actually require a large swap partition. Because this may eventually get upgraded to even more RAM we decided to go with a 50 GB swap partition.
    I also have two drives in the machine, the primary 500GB HDD and a smaller 250 GB HDD that we wanted to use for a /backup partition as well as swap space and so I set up the disks as follows:
    sda (500 GB):
    /    (30 GB Primary Partition)
    /home (435 GB Primary Partition)
    /usr/local  (2 GB Primary Partition)
    sdb (250 GB)
    50 GB Primary swap partition
    /backup (~200 GB Primary Partition)
    Now when I am in gparted or cfdisk that is how these partitions show up. If I do a df I see
    sda1, sda2, sda3, and sdb2 but instead of seeing what woul;d be sdb1 as a large swap I see an 8 GB swap listed as being mounted on /dev/shm (which I think is normal).
    After reading this:
    http://lissot.net/partition/partition-04.html
    I think the problem is that I don't have a swap partition set on my 500 GB drive. It seems like any bootable drive needs a swap partition on it. Although my system boots fine and I haven't had any problems running it yet I do need to get this swap partition straightened out otherwise the machine will have issues when it is fully operational and running heavy jobs.
    IS this the problem? And if so would the best way to fix it be to use parted to shrink my /home partition by a few GB and make a small swap partition on that drive at the end of the drive space? Right now it is laid out as:
    |---------------- / ----------------| |---- /usr/local ----| |------------------------------------------ /home ------------------------------------------|
    Suggestions, ideas?
    Thanks

    The output from free -m is:
    <code>
                 total       used       free     shared    buffers     cached
    Mem:         16018      15372        645          0         91      14600
    -/+ buffers/cache:        679      15338
    Swap:        47685          0      47685
    </code>
    For comparison here is the output from my laptop (also Arch Linux):
    <code>
                 total       used       free     shared    buffers     cached
    Mem:          2025        614       1411          0         12        232
    -/+ buffers/cache:        370       1655
    Swap:         1019          0       1019
    </code>
    It has an ~ 1GB swap partition but it's df also shows something at /dev/shm:
    <code>
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda1              12G  7.6G  3.4G  70% /
    none                 1013M     0 1013M   0% /dev/shm
    /dev/sda3              78G   28G   47G  37% /data
    </code>
    In gparted on my laptop /dev/sda2 is the swap partition with size: 1019 MB
    Going by free -m on the workstation it looks like it is seeing the ~50 GB swap partition and it is mounted in /etc/fstab so perhaps I have nothing to worry about? Is it actually necessary that your bootable disk has a swap partition on it? Both disks (sda and sdb) actually have at least one partition flagged as bootable but sda (which has / and /home on it) didn't have a swap partition on that disk.
    Thanks for all the help.

  • [SOLVED] changes to swap partition

    I didn't think my current partition set up through properly on install so I'd like to make some changes. Swap seems to be the obvious candidate as it doesn't involve messing with data. Does this plan sound like it will work or be a disaster?
    1. swapoff -a
    2. Run cfdisk, delete the swap partition, create an extended partition, format a swap partition in there with the same sdaX designation as it has now, add whatever other partitions are needed to the extended partition. Write the new partition table.
    3. swapon -L /dev/sdaX
    Do I need to edit fstab afterwards to ensure a later swapon -a doesn't cause problems?
    Last edited by tasticorp (2011-11-01 15:51:43)

    Sounds like it could work although you will need to edit fstab as sda4 will become the extended partition (and don't forget to add your new partitions to fstab if you want them mounted on boot)
    You may want to use UUIDs though (see this wiki article: https://wiki.archlinux.org/index.php/Pe … ce_naming).
    mkswap -U <uuid> /dev/sdaX
    will give you a swap partition with a UUID of your choice. I found this, in combination with blkid, to be easier than editing fstab

  • [Solved] Do I need a swap partition /swap file?

    Hello Arch Community.
    I want to install Arch Linux on my Aspire V5-573G Notebook with 8GB RAM and a 120GB 840 Evo SSD from Samsung. So my question is, do I actually need a swap partition / swap file? I read the arch-wiki pages about swap and suspend-to-disk / suspend-to-ram, and the only thing thats obviously profiting from / needing a swap partition is suspend-to-disk, no other things are mentioned in this regard. Is a swap partition in any other way important?
    Thanks in advance.
    Last edited by Oedner (2013-12-21 12:41:19)

    headkase wrote:Another question to ask is what will happen if you don't have a swap file and run out of memory?  In that case the Linux kernel will randomly kill process' until there is enough memory again.  Obviously that isn't very stable but that is what it will do.
    No. The OOM killer is pretty darn tweaked these days and usually(!) kills the actual perpetrator. The alternative—disabling memory overcommitting and answering memory requests with an out-of-memory error—can result in unforeseen problems as well: What if it  a system process is trying to allocate a few bytes for some random string, and what if said system process isn't equipped to handle ENOMEM gracefully and crashes, because the default policy on Linux is to overcommit and never answer with out-of-memory errors?
    Just trying to play devil's advocate here. I'm not happy with the OOM killer either and I'd rather have a deterministic solution to out-of-memory situations, but I realize that it's probably not an easy problem to solve.

  • [Solved]Can I install arch without a swap partition ?

    I only have one primary partition free to install arch, with 3 primary partition and 1 extend partition, I have no other choice except install without swap partition.
    Is there any suggestion? I will try it until I get a U storage to write .img in.
    Last edited by sailor (2009-03-17 00:47:31)

    Sure, it's perfectly possible to use any linux system without swap. including arch.
    There are 2 ways to do disk partitioning in /arch/setup:
    1) autoprepare. with this method, you pick a disk (a disk you want to use entirely). you will be asked some questions (including how big swap should be). this method will create the partitions with the sizes you mention (/boot, swap, / and /home) optionally you can add additional fs'es
    2) manual. the installer can launch cfdisk for you if you need to alter partitions (if you want this), and after that you can define pretty much your stuff the way you like it (eg no swap) iirc. i'm not 100% sure though.
    Frankly I don't understand why you say "I have no choice", if you don't have enough partitions, you can always create additional ones.

  • [SOLVED] Please verify: swap partition needed for dm-crypt/LUKS??

    Hi,
    Can anyone confirm whether or not the following is accurate (from http://wiki.archlinux.org/index.php/Sys … artitions)
    There are 3 required partitions for any encrypted system:
    - The root file system: /
    - The initial boot partition: /boot
    - The swap partition: swap
    Do I need a swap partition if I encrypt? I can't seem to find reference to swap being mandatory anywhere else.
    Last edited by jwhendy (2010-10-12 13:27:12)

    You don't need swap. The minimal required setup is having two partitions: boot and root, where /boot must not be encrypted and / can be encrypted.
    Last edited by stfn (2010-10-12 12:45:22)

  • [SOLVED] Virtual Memory Exhausted with unused 16g Swap Partition.

    Hello all, long time reader, first time poster. So basically what I'm running into is that I'm having Virtual Memory Exhausted errors with various programs even though I have a 16g swap partition mounted. I've manually enabled it to try it as well. Here's some outputs to give you an idea of how my system is set up. It's a UEFI fresh install, only a couple days old.
    fstab:
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    tmpfs /tmp tmpfs nodev,nosuid 0 0
    # /dev/sdb3
    UUID=ea7a0311-6314-4215-b98d-7360552b28c4 / ext4 rw,relatime,data=ordered 0 1
    # /dev/sdc3
    UUID=8f6f2006-3a9c-4563-a149-547d758e2af1 /home ext4 rw,relatime,data=ordered 0 2
    # /dev/sdb2
    UUID=baf1ba80-ddf3-4cbb-a13e-b81a0af0a9e7 /boot ext4 rw,relatime,data=ordered 0 2
    # /dev/sdb1
    UUID=2B46-5340 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
    # /dev/sdc1
    UUID=4336d783-c289-4fbf-8c59-f1a1da782130 /var ext4 rw,relatime,data=ordered 0 2
    # /dev/sdc2
    UUID=96a60f08-a57f-42f1-80ff-846d02a29199 /var/log ext4 rw,relatime,data=ordered 0 2
    # /dev/sda2
    UUID=c5d5879a-b0e8-4976-8057-2f95975a1251 /share ext4 rw,relatime,data=ordered 0 2
    # /dev/sdb4
    UUID=6e6277c4-a69a-4838-83cd-c206959acf0e /store ext4 rw,relatime,data=ordered 0 2
    #swap
    UUID=21a56b10-85e5-48a1-91e5-995eae0dfba4 none swap defaults 0 0
    lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 931.5G 0 disk
    ├─sda1 8:1 0 16G 0 part [SWAP]
    └─sda2 8:2 0 915.5G 0 part /share
    sdb 8:16 0 931.5G 0 disk
    ├─sdb1 8:17 0 1G 0 part /boot/efi
    ├─sdb2 8:18 0 1G 0 part /boot
    ├─sdb3 8:19 0 50G 0 part /
    └─sdb4 8:20 0 879.5G 0 part /store
    sdc 8:32 0 931.5G 0 disk
    ├─sdc1 8:33 0 20G 0 part /var
    ├─sdc2 8:34 0 2G 0 part /var/log
    └─sdc3 8:35 0 909.5G 0 part /home
    sr0 11:0 1 1024M 0 rom
    cat /proc/meminfo
    MemTotal: 12256600 kB
    MemFree: 9926584 kB
    Buffers: 212588 kB
    Cached: 774636 kB
    SwapCached: 0 kB
    Active: 1179860 kB
    Inactive: 638584 kB
    Active(anon): 831604 kB
    Inactive(anon): 14480 kB
    Active(file): 348256 kB
    Inactive(file): 624104 kB
    Unevictable: 4 kB
    Mlocked: 4 kB
    SwapTotal: 16777212 kB
    SwapFree: 16777212 kB
    Dirty: 32 kB
    Writeback: 0 kB
    AnonPages: 831320 kB
    Mapped: 196008 kB
    Shmem: 14892 kB
    Slab: 345008 kB
    SReclaimable: 316620 kB
    SUnreclaim: 28388 kB
    KernelStack: 2616 kB
    PageTables: 27032 kB
    NFS_Unstable: 0 kB
    Bounce: 0 kB
    WritebackTmp: 0 kB
    CommitLimit: 22905512 kB
    Committed_AS: 3365808 kB
    VmallocTotal: 34359738367 kB
    VmallocUsed: 357936 kB
    VmallocChunk: 34359373819 kB
    HardwareCorrupted: 0 kB
    AnonHugePages: 86016 kB
    HugePages_Total: 0
    HugePages_Free: 0
    HugePages_Rsvd: 0
    HugePages_Surp: 0
    Hugepagesize: 2048 kB
    DirectMap4k: 117756 kB
    DirectMap2M: 4059136 kB
    DirectMap1G: 8388608 kB
    swapon -s
    Filename Type Size Used Priority
    /dev/sda1 partition 16777212 0 -1
    core file size (blocks, -c) 0
    data seg size (kbytes, -d) unlimited
    scheduling priority (-e) 20
    file size (blocks, -f) unlimited
    pending signals (-i) 94832
    max locked memory (kbytes, -l) 64
    max memory size (kbytes, -m) unlimited
    open files (-n) 1024
    pipe size (512 bytes, -p) 8
    POSIX message queues (bytes, -q) 819200
    real-time priority (-r) 0
    stack size (kbytes, -s) 8192
    cpu time (seconds, -t) unlimited
    max user processes (-u) 94832
    virtual memory (kbytes, -v) unlimited
    file locks (-x) unlimited
    I did just notice that it's showing 4gb less RAM than there should be (12 instead of 16, I'll be checking into that about the same time I hit submit) but as far as I can tell the system shouldn't even be worried about swap 99.99% of the time. Any ideas?
    Edit: On reboot system show the full 16gb of RAM.
    Last edited by inquisitorthreefive (2012-11-19 07:44:32)

    inquisitorthreefive wrote:
    I did just notice that it's showing 4gb less RAM than there should be (12 instead of 16, I'll be checking into that about the same time I hit submit) but as far as I can tell the system shouldn't even be worried about swap 99.99% of the time. Any ideas?
    Edit: On reboot system show the full 16gb of RAM.
    Could it be a hardware problem with RAM? Is there a 4 GB RAM chip in the machine that may have failed?

  • SWAP partition (Hibernate Failure)[SOLVED]

    Hi Folks,
    My suspend to disk (Hibernate) is not working. When I boot up my pc, it starts processing. In meanwhile, I can see the output on my screen. At some point, it starts checking mounted filesystems
    "Checking Filesystems"
    /dev/sda1
    dev/sda3
    /dev/sda4
    I do not know why this skips /dev/sda2 which is my swap partition actually.
    After three or four lines, I can see from the output saying "Activating Swap". Does it mean that my swap partition is configured correctly or not?
    There is one more thing. I use gnome. In gnome, when I open System Monitor (from the panel) > and under File Systems, I also can not see my swap partition which is /dev/sda2 while I can see all other partitions which are /,  /boot, /home.
    Does it mean that the partition can not be mounted correctly.
    I really appreciate any kind of help.
    Thanks in advance.
    Last edited by Archie_Enthusiasm (2010-11-28 15:49:30)

    Here is the output:
    cat /proc/swaps
    Filename                Type        Size    Used    Priority
    /dev/sda2                               partition    6297476    0    -1
    free -m
                 total       used       free     shared    buffers     cached
    Mem:          3013       1182       1830          0         58        532
    -/+ buffers/cache:        591       2421
    Swap:         6149          0       6149
    It says that the swap is being used. But when I hibernate my pc, it correctly shuts itself down. But when I wake up the pc again, it says at the boot time that my / , /root, /boot mount file systems were not unmounted correctly and starts checking the filesystems (Some kind of journaling process starts). When it boots up, the stored session is no more there or existent anymore. It is like as I forced the system to shutdown and start it again (Just like as there were a system freeze and then I did shutdown the system by pressing the power button for more than 10 secs and then restarted). So I suspect that the system did not shutdown correctly even if there were no strange occurrence happening when I did the hibernate.
    I hope someone can help me. If you need some more information about the configuration on my pc, please tell me command and I will post the output.
    Thanks in advance
    Last edited by Archie_Enthusiasm (2010-10-28 21:41:58)

  • [SOLVED] Change swap partition type code

    Hello,
    I get error on getting my swap to work because I have it configured in fstab and systemd also automatically picks it up. According to the wiki https://wiki.archlinux.org/index.php/sw … by_systemd I can either remove my fstab entry or change the partition type code.
    Guide me what I shall read up on in order to change my swap partition type code - so far I dont quite follow what is relevant in my searches.
    Regards
    Martin
    Last edited by onslow77 (2015-02-19 21:52:50)

    Hello,
    I see, the type code is the same as the system id for the partition, so I can use fdisk for MBR and gptdisk for GPT.
    Regards
    Martin
    Last edited by onslow77 (2015-02-19 20:41:10)

  • [SOLVED] Can't install; dual-boot sharing partitions?

    Hi, I'm currently dual-booting Linux Mint 14 and Windows 7 on my laptop, and decided to replace Mint with Arch. Somehow, though, I don't think I ever divided my HDD into seperate partitions for Linux and Windows. Using gparted (or fdisk), /dev/sda (my HDD) has essentially got a Dell utility partition (100MiB, sda1), a recovery partition (15GiB, sda2), a 1 MiB unallocated space, and a 284 GiB section labeled "OS" (sda3). I can't touch the partition on Linux because it's always in use.
    I can't get through with the installation because of this, and can't find an answer no matter how often or in-depth I RTFM. If someone could point me in the right direction, that'd be great.
    Thanks.
    http://imgur.com/8qfpbbW
    EDIT: This has been [SOLVED].
    Last edited by SELame (2013-07-29 22:55:13)

    I would recommend downloading the gparted cd here, and setting up your partitioning scheme from there. I am quite suprised about your system setup though, you may want to nuke it and start again because something weird is going on.
    Yeah, I'm not sure exactly what's happening. I'll look into using gparted as a LiveCD, but I'd rather not wipe everything if I can help it.
    I don't know if this is the case, but Ubuntu had (has?) an option to install to an image on the windows partition (wubi), rather than a partition of it's own. It's possible that Mint adapted this for their spinoff, and would explain why you only have a Windows partition.
    I recommend that you modify your partition scheme if you want to install Arch. Shrink your Windows partition as much as the Windows partitioner will allow (avoid gparted and similar tools for this purpose, the Windows in-built partitioner should be adequate), then create an extended partition to house your Arch partition, swap partition, data partition, or whatever partitions you want.
    Yeah, I installed Mint from a mounted image in Daemon Tools, so that could explain it. I'll look into shrinking my Windows partition and seeing if I can somehow remove Mint from my Windows partition. I still have grub and all, if that makes any difference.
    there is a mint4win,  do you see something like this on boot? http://i.imgur.com/sPOMx.png
    Yep! I may have installed mint4win. Let me look into that.

  • [solved] crypttab partitions will not mount without "ASK"

    I have three LUKS partitions on a hard drive (root, home, and swap) where the second two are controlled through /etc/crypttab. Boot fails on fsck because the home partition has not been mounted; if I change the crypttab entry from the password to "ASK" I am prompted for the password prior to fsck and the system boots fine. I obviously don't want to have to enter three passwords on boot, so I want the correct entries in crypttab.
    What am I doing incorrectly?
    Last edited by joshdmiller (2011-08-12 20:08:22)

    siriusb wrote:Since LUKS provides the management of multiple password why don't you add one more simple key without any fancy character? Just to be sure that this isn't about your password. And other than that I can't think of anything else
    I do not have any extra hard disks and the partition is in use, so I just reformatted my swap partition as a test with a simple "password", which worked flawlessly. So the problem is obviously the characters in the password. Thanks your help.
    After further manual investigation (running read_crypttab from rc.sysinit) it appears that passwords cannot contain hash marks or the remaining part of the line is considered a comment - I think this is due to the use of eval in read_crypttab - and bash complains about an unexpected EOF due to a missing matching double quote. That is
    swap /dev/sda2 "password#hash"
    is evalled as
    swap /dev/sda2 "password
    which obviously can't work. But the double-quotes should take care of this; the top of the crypttab file says "to use special characters, surround it by quotes, the usual bash quoting rules apply".
    And wouldn't you know it - I found a corresponding bug report. And the patch does fix the issue. Wonder why this hasn't been fixed yet...

  • Disable swap in rc.sysinit on eee with no swap partition?

    I'm trying to tweak my boot speed on the Asus eee. The root partition is formated as ext2 and I didn't create a swap partition.
    Inside rc.sysinit I found the following line:
    status "Activating Swap" /sbin/swapon -a
    Since I have no swap partition, is it nessesary to have this line or can I just comment it out?

    DreamAxe wrote:Thanks, I'll just disable it then
    I think you missed what Allan said there. You don't have to do anything at all, as that line will do nothing. It is best not to modify rc.sysinit as it isn't backed up...
    Edit: and your total time savings from commenting this line out is going to be like 0.01 seconds, if that. It isn't worth it. Using a custom kernel and limiting the amount of work udev has to do would be much more effective; booting my Eee using my custom kernel takes ~12 seconds to an X login screen from hitting the power button.

  • Stability Issues (Freezes) and Mount SWAP Partition during Boot

    Hi,
    i'm having the following 2 Issues:
    1. Stability issues, The System freezes randomly an i have no hint to get rid of the freezes.
    2. At bootyp the Swap Partition won't be mounted. If the bootup ist completet and i type "swapon -a" - everything ist ok
    Because i'm a Newbie - i don't know how i could get rid of these Problems.
    If you can tell me what i could try or what i schould check - please tell me.
    thx
    sash

    karol wrote:Define 'freeze'. For how long, what were you doing at that time, does systemd's journal, htop or iotop show what could be the cause, do you have to reboot to make it go away?
    Post your /etc/fstab.
    thx for you answer. I think i have to explain what i mean with "freeze" --> the pc isn't responding, that mean - no key input, no ssh responding. The PC has noch Graphical interface, only console and is uptodate and acts at home as my "server" thats why i cant say what it is exactly doing.
    I think the only way is to get all log-files and search for the issue - what logs do i have to check?
    How could i check why my swap partition couldn't be activatet at startup, but after login and "swapon -a" everything is fine?
    uname -a
    Linux server 3.15.9-2-ck #1 SMP PREEMPT Fri Aug 8 03:02:21 EDT 2014 x86_64 GNU/Linux
    /etc/fstab:
    # UUID=0eb5dbfa-94af-4614-ab65-f223bc367b81 LABEL=Arch
    /dev/mapper/enc-sda2 / btrfs rw,relatime,ssd,discard,space_cache,compress,subvol=__active 0 0
    # /dev/mapper/enc-sda2 / btrfs rw,relatime,ssd,discard,space_cache,compress,subvol=__active 0 0
    # UUID=7ff9cb11-3931-42c8-9987-d0512c50a26e LABEL=boot
    /dev/sda1 /boot ext4 rw,relatime,data=ordered 0 2
    # 640GB SWD Blue
    /dev/mapper/enc-sdb1 /mnt/data1 btrfs rw,relatime,compress,autodefrag,subvol=data1 0 0
    /dev/mapper/enc-sdb1 /mnt/timemachine btrfs rw,relatime,compress,autodefrag,subvol=timemachine 0 0
    # 1TB
    /dev/mapper/enc-sdc1 /mnt/data2 btrfs rw,relatime,space_cache,compress,autodefrag,subvol=data2 0 0
    # 2TB
    /dev/mapper/enc-sdd1 /mnt/backup btrfs rw,relatime,space_cache,compress,autodefrag,subvol=__active 0 0
    # UUID=b9855c07-c383-42d0-b30f-ab3bfc60c8be LABEL=swap
    /dev/mapper/enc-sda3 none swap defaults,discard 0 0
    /etc/crypttab
    enc-sda2 /dev/sda2 /root/key/root.key
    enc-sda3 /dev/sda3 /root/key/root.key swap
    enc-sdb1 /dev/sdb1 /root/key/root.key
    enc-sdc1 /dev/sdc1 /root/key/root.key
    enc-sdd1 /dev/sdd1 /root/key/root.key
    And i decrypt my /root partition with a key on my usb-stick at boot-time.
    Last edited by arch-sash (2014-08-10 15:05:06)

Maybe you are looking for

  • Free goods linked to volume

    Hello, Any body has faced with this requirement. Free good to be given to customer by calculating the total volume in the sales order. For e.g. in the sales order, multiple products are entered, and if the customer shall qualify for Free goods, the t

  • Financial newby: Combining SAP SRM and ERP Financial Accounting

    Hello, Looking for an Invoice Management System expert. I would like to know the following two things. 1. On posting an 'incomming invoice' (with reference to a PO) in SRM this Invoice will be replicated to the R/3 back-end system. The back-end will

  • Issue importing interactive reporting into excel smart view 9.3

    I am new to smart view, and while importing an interactive document from a system9 portal in excel, it always returns "Error Accessing Import Data", after clicking finish in the wizard, even though i was able to preview the document in the previous s

  • System.exit(0) access denied

    I am trying to exit a card game program when the user selects Exit from a menu, so in the actionlistener I simply put System.exit(0);It compiles fine, but I get a runtime error when the Exit menu option is clicked saying java.security.AccessControlEx

  • List of Errors  while Activating the 0Material

    Characteristic 0CM_CTAR: Unit 0UNIT_DIM no allowed in compounding Characteristic 0CM_SHAR: Unit 0AREA_UNIT no allowed in compounding Attribute 0CM_CTAR from characteristic 0CM_CDT1 not (actively) available Attribute 0CM_SHAR from characteristic 0CM_C