Results 1 to 5 of 5

Thread: 14.10 Upgrade to 15.04: systemd does not like SSD fstab optimizations

  1. #1
    Join Date
    Apr 2006
    Beans
    10

    14.10 Upgrade to 15.04: systemd does not like SSD fstab optimizations

    Around the time of upgrading to 14.04 I migrated to an SSD and then proceeded to make the following optimizations in /etc/fstab:

    # SSD tweak : temporary directories as tmpfs
    tmpfs /tmp tmpfs defaults,noatime,mode=1777,size=20% 0 0
    #tmpfs /var/tmp tmpfs defaults,noatime,mode=1777 0 0
    tmpfs /var/spool tmpfs defaults,noatime,mode=1777 0 0
    # SSD tweak : log directory as tmpfs
    tmpfs /var/log tmpfs defaults,noatime,mode=0755 0 0
    tmpfs /var/lock tmpfs defaults,noatime,mode=0755 0 0
    tmpfs /dev/shm tmpfs defaults,size=20% 0 0

    After the 15.04 upgrade, the new systemd boot would fail with "Failed to start Console System Startup Logging." and then land at a Welcome to emergency mode! and console prompt. Going through the suggested journalctl -xb there were a few Failed to mount /var/lock related issues.

    I booted advanced using upstart which loaded fine and then commented out the fstab SSD optimizations. On reboot, the systemd boot completed without issues.

    Is there any way to utilize the new systemd boot while still reducing unnecessary writes to SSD with tmpfs?

  2. #2
    Join Date
    Jul 2011
    Beans
    1

    Re: 14.10 Upgrade to 15.04: systemd does not like SSD fstab optimizations

    Same Here! I had to comment de /var/lock line to boot. Some advice from the experts would be really apreciated!

  3. #3
    Join Date
    Jun 2014
    Beans
    1

    Re: 14.10 Upgrade to 15.04: systemd does not like SSD fstab optimizations

    Last edited by fredda-71; April 26th, 2015 at 05:47 PM.

  4. #4
    Join Date
    Apr 2006
    Beans
    10

    Re: 14.10 Upgrade to 15.04: systemd does not like SSD fstab optimizations

    I fixed a console-kit failure by creating the /etc/tmpfiles.d/console-kit.conf file as described here:
    https://bbs.archlinux.org/viewtopic.php?id=144271

  5. #5
    dino99's Avatar
    dino99 is offline Ubuntu addict and loving it
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: 14.10 Upgrade to 15.04: systemd does not like SSD fstab optimizations


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •