The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Slow activation of second partition at boot?

    Discussion in 'Linux Compatibility and Software' started by Palmately, May 2, 2011.

  1. Palmately

    Palmately Notebook Enthusiast

    Reputations:
    0
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    5
    Hello,

    I recently switched from Ubuntu to openSUSE (11.4). Instead of having eveerything ( / ) from my root directory on one partition, I decided to make two partitions: 1 x 5GB ext4 for the OS and 1 x ~50GB ext4 for the /home.

    Now, everything works fine in the OS environment, i.e. my /home folders are shown on the big partition. However, the problem I am having is that it takes ~25 seconds to "activate" the second partition at boot. I can boot into safe mode and watch it activate the first partition is a second, but then the second partition is long with it taking time to activate it (25 seconds just for this partition). I had everything on one partition a few weeks ago and openSUSE booted up incredibly fast, without this long delay. I was wondering if any one knows if this is normal?

    It is on a vertex 2 60GB SSD. I have added "discard" to the fstab, but removing that makes no difference in the speed at boot.

    Thanks for any help. :)
     
  2. ALLurGroceries

    ALLurGroceries  Vegan Vermin Super Moderator

    Reputations:
    15,730
    Messages:
    7,146
    Likes Received:
    2,343
    Trophy Points:
    331
    Are you getting any errors like SRST failed, link is slow to respond, etc..?
     
  3. Palmately

    Palmately Notebook Enthusiast

    Reputations:
    0
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    5
    Nope, it says "waiting for acl,user_xattr,discard"

    which is the line in my /etc/fstab. For reference, this is my /etc/fstab:
    Code:
    /dev/disk/by-id/ata-OCZ-VERTEX2_OCZ-OWAY349Z8FBUU412-part1 /                   $
    acl,user_xattr,discard        1 1
    /dev/disk/by-id/ata-OCZ-VERTEX2_OCZ-OWAY349Z8FBUU412-part2 /home               $
    acl,user_xattr,discard        1 2
    proc                 /proc                proc       defaults              0 0
    sysfs                /sys                 sysfs      noauto                0 0
    debugfs              /sys/kernel/debug    debugfs    noauto                0 0
    devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
    
    Thanks for your response. :D
     
  4. ALLurGroceries

    ALLurGroceries  Vegan Vermin Super Moderator

    Reputations:
    15,730
    Messages:
    7,146
    Likes Received:
    2,343
    Trophy Points:
    331
    Those first two lines look they are missing the type field, which is the 3rd column, comes before options.

    Should probably be ext4.

    Code:
    /dev/disk/by-id/ata-OCZ-VERTEX2_OCZ-OWAY349Z8FBUU412-part1 /                   ext4                   acl,user_xattr,discard        1 1
     
  5. Palmately

    Palmately Notebook Enthusiast

    Reputations:
    0
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    5
    My apologies, I was using Nano to edit the file and it didn't copy all of it. ext4 was present. Anywho, I reformated and got rid of the /home partition and made everything into a root partition. I added the discard option and it booted up slowly like before. So, I edited fstab again and made sure everything was on one line in Nano. It looks as though it shifted a column around or so. That appears to have fixed the issue. :)