LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-17-2013, 05:53 AM   #1
propero
LQ Newbie
 
Registered: Mar 2013
Posts: 4

Rep: Reputation: Disabled
Mounting into home issue


Hi to all. First let me apologize if this question is already answered somewhere on this forum, I couldn't find it.

I have following configuration:
/dev/sda1 mounting on /home
/dev/sda5 mounting on /home/me/Downloads
/dev/sda6 mounting on /home/me/VMs

during the boot im getting:
Code:
 10.678621] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   10.878464] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)
[   10.945873] input: PS/2 Generic Mouse as /devices/platform/i8042/serio1/input/input12
[   11.085749] EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: (null)
This is my fstab:
Code:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sdb1 during installation
UUID=c4690fbc-e24b-41b3-bbdb-44ed7f19c144 /	ext4	errors=remount-ro	01
# /home was on /dev/sda1 during installation
UUID=90759c10-206d-4f42-a56b-18d708618d2f /home			ext4	defaults0	2
# swap was on /dev/sdb3 during installation
#UUID=f52d75cf-532e-43cd-8558-38a117e747ce none            swap    sw              0       0

/dev/mapper/cryptswap1	none	swap	sw	0	0

UUID=c097e448-7fb6-4e16-8ba2-70d18a4d1ddd /home/me/Downloads	ext4	defaults,noatime	0	2
UUID=e551b0ac-bc98-48e6-bb51-78d09aae5043 /home/me/VMs	ext4	defaults,noatime	0	2
after boot mtab is showing:
Code:
/dev/sdb1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
/dev/sda1 on /home type ext4 (rw)
/dev/sda5 on /home/me/Downloads type ext4 (rw,noexec,nosuid,nodev,noatime)
/dev/sda6 on /home/me/VMs type ext4 (rw,noexec,nosuid,nodev,noatime)
/home/me/.Private on /home/me type ecryptfs (ecryptfs_check_dev_ruid,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_unlink_sigs,ecryptfs_sig=1d246b45b9df167a,ecryptfs_fnek_sig=91367759e7f029f6)
gvfsd-fuse on /run/user/me/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=me)
/dev/sr0 on /media/me/ARCH_201302 type iso9660 (ro,nosuid,nodev,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500,uhelper=udisks2)


as you can see sda5 and sda6 are showed as mounted but this is not true. To really mount them I need to umount -a and then mount -a.
I presume this is due sda1 not mounted when system is trying to mount sda5 and sda6. Is there any way to pause mounting during boot, or to wait with sda5 and sda6 until sda1 is mounted.

Thanks in advance
 
Old 03-17-2013, 06:00 AM   #2
ali.abry
Member
 
Registered: Feb 2013
Posts: 74

Rep: Reputation: Disabled
in yore fstab at the line which is about home partition
whisch is this :

Code:
UUID=90759c10-206d-4f42-a56b-18d708618d2f /home			ext4	defaults0	2
there's no space between defaults and 0 . i'm not sure but this can be the thing that make this problem.
 
Old 03-17-2013, 06:06 AM   #3
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Try rw,user instead of defaults,noatime.

Regards
 
Old 03-17-2013, 06:54 AM   #4
propero
LQ Newbie
 
Registered: Mar 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ali.abry View Post
in yore fstab at the line which is about home partition
whisch is this :

Code:
UUID=90759c10-206d-4f42-a56b-18d708618d2f /home			ext4	defaults0	2
there's no space between defaults and 0 . i'm not sure but this can be the thing that make this problem.
Unfortunately this is how this editor interprets tabs. there is space between all fields.
 
Old 03-17-2013, 06:57 AM   #5
propero
LQ Newbie
 
Registered: Mar 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ukiuki View Post
Try rw,user instead of defaults,noatime.

Regards
Doesn't work but thanks anyway.

Last edited by propero; 03-17-2013 at 07:02 AM.
 
Old 03-17-2013, 08:48 AM   #6
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,252

Rep: Reputation: 313Reputation: 313Reputation: 313Reputation: 313
Quote:
I presume this is due sda1 not mounted when system is trying to mount sda5 and sda6. Is there any way to pause mounting during boot, or to wait with sda5 and sda6 until sda1 is mounted.
Entries in fstab are parsed in written order and with proper waiting when needed. Your problem is that you have mounted "/home/me/.Private on /home/me" after mounting there sda5 and sda6, so they are hidden. I do not known how works "ecryptfs" but it is mounted somewhere too late. If it is mounted after login, then you need to mount sda5,6 also after login or somewhere else.

Last edited by eSelix; 03-17-2013 at 08:58 AM.
 
Old 03-17-2013, 11:37 AM   #7
propero
LQ Newbie
 
Registered: Mar 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by eSelix View Post
Entries in fstab are parsed in written order and with proper waiting when needed. Your problem is that you have mounted "/home/me/.Private on /home/me" after mounting there sda5 and sda6, so they are hidden. I do not known how works "ecryptfs" but it is mounted somewhere too late. If it is mounted after login, then you need to mount sda5,6 also after login or somewhere else.
This has allot of sense, ill check it out. Thanks again you ware really helpful.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble mounting ipod. Hal issue and mount point issue. okos Slackware 2 05-11-2009 12:51 AM
Mounting /home via nfs farmorg Linux - Networking 1 07-28-2007 09:39 PM
[help] mounting /home pcandpc Fedora 9 06-12-2007 09:07 AM
Mounting /home in different Distros jme Linux - General 3 06-29-2005 07:45 AM
Mounting /home on it's own partition delamatrix Linux - Newbie 10 02-08-2005 02:39 AM


All times are GMT -5. The time now is 12:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration