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.![]()
-
ALLurGroceries Vegan Vermin Super Moderator
Are you getting any errors like SRST failed, link is slow to respond, etc..?
-
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
-
ALLurGroceries Vegan Vermin Super Moderator
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
-
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.
Slow activation of second partition at boot?
Discussion in 'Linux Compatibility and Software' started by Palmately, May 2, 2011.