LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-03-2012, 05:31 AM   #1
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 106Reputation: 106
Question fstab not mounting /home on seperate partition



I just installed Arch on a new 500G drive (fdisk output below). I assumed it was mounting the partions correctly so I proceeded to install applications and move data from other drivers until I "filled" the 20G (sda3) partition which it was reading for all the partitions... Very wierd. I checked ny fstab file and it looked ok to me. So I booted up using a live disk and found out that my large home partition was not mounted. So I rebooted and mounted


Code:
mount  /dev/sda4 /home/
and then moved some files and it works fine. But I can't get fstab to load that partition. All help would be appreciated!!!!

Code:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63      514079      257008+  83  Linux
/dev/sda2          514080     4723109     2104515   82  Linux swap / Solaris
/dev/sda3         4723110    45688859    20482875   83  Linux
/dev/sda4        45688860   976768064   465539602+  83  Linux

Code:
  1 # 
  2 # /etc/fstab: static file system information
  3 #
  4 # <file system> <dir>   <type>  <options>       <dump>  <pass>
  5 
  6  
  7 
  8 tmpfs           /tmp    tmpfs   nodev,nosuid    0       0
  9 tmpfs           /tmp    tmpfs    size=8G                0       0
 10 
 11 /dev/sda1       /boot ext2 defaults 0 1
 12 /dev/sda3       / ext4 defaults 0 1
 13 /dev/sda4       /home ext4 defaults 0 1
 14 /dev/sda2       swap swap defaults 0 0
 15 
 16 
 17 /dev/cdrom      /media/cd       auto    ro,user,noauto,unhide   0 2
 18 /dev/dvd        /media/dvd      auto    ro,user,noauto,unhide   0 2
 
Old 03-03-2012, 06:13 AM   #2
Nermal
Member
 
Registered: Jan 2009
Distribution: Debian
Posts: 59
Blog Entries: 2

Rep: Reputation: 6
Morning, well just passed that...

First off, if you boot to single user and unmount /home, is there anything in it?

are you able to type:
Code:
umount /home
mount /home
the above may give you an insight into why it cannot mount through fstab.

also check /var/logs/messages for anything to do with /home or /dev/sda4
 
Old 03-03-2012, 06:37 AM   #3
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Original Poster
Rep: Reputation: 106Reputation: 106
Thank You for the reply.

Yes there is files there. I moved them from the sda3 to sda4 /home/user when I mounted using a live distro (deft)

The log shows some entries but I am not clear on what it means.

Any ideas ? Thank You in advance for the help.

Code:
[amy@Little-Tux ~]$ sudo grep sda4  /var/log/messages.log
Mar  2 18:55:16 localhost kernel: [    1.369527]  sda: sda1 sda2 sda3 sda4
Mar  2 18:55:16 localhost kernel: [    3.702013] EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
Mar  2 19:09:49 localhost kernel: [    1.306965]  sda: sda1 sda2 sda3 sda4
Mar  2 19:09:49 localhost kernel: [    3.814363] EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
Mar  2 19:13:42 localhost kernel: [    1.546241]  sda: sda1 sda2 sda3 sda4
Mar  2 19:13:42 localhost kernel: [    3.953675] EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
Mar  2 19:15:46 localhost kernel: [    1.529876]  sda: sda1 sda2 sda3 sda4
Mar  2 19:15:46 localhost kernel: [    3.903979] EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
Mar  2 19:36:37 localhost kernel: [    1.372082]  sda: sda1 sda2 sda3 sda4
Mar  2 19:36:37 localhost kernel: [    3.887767] EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
Mar  2 20:13:03 localhost kernel: [    1.852531]  sda: sda1 sda2 sda3 sda4
Mar  2 20:21:47 localhost kernel: [    1.716440]  sda: sda1 sda2 sda3 sda4
Mar  2 20:24:05 localhost kernel: [    2.010336]  sda: sda1 sda2 sda3 sda4
Mar  2 20:28:14 localhost kernel: [    1.550264]  sda: sda1 sda2 sda3 sda4
Mar  2 20:39:05 localhost kernel: [    2.519739]  sda: sda1 sda2 sda3 sda4
Mar  2 20:44:15 localhost kernel: [    1.861641]  sda: sda1 sda2 sda3 sda4
Mar  2 20:48:55 localhost kernel: [    1.848206]  sda: sda1 sda2 sda3 sda4
Mar  2 21:59:29 localhost kernel: [    1.562881]  sda: sda1 sda2 sda3 sda4
Mar  2 22:36:17 localhost kernel: [    1.849841]  sda: sda1 sda2 sda3 sda4
Mar  3 04:56:31 localhost kernel: [    1.867731]  sda: sda1 sda2 sda3 sda4
Mar  3 05:16:51 localhost kernel: [    1.708699]  sda: sda1 sda2 sda3 sda4
Mar  3 05:37:38 localhost kernel: [    1.869747]  sda: sda1 sda2 sda3 sda4
Mar  3 05:45:39 localhost kernel: [    1.846651]  sda: sda1 sda2 sda3 sda4
Mar  3 05:49:06 localhost kernel: [  243.087060] EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
Mar  3 05:53:27 localhost kernel: [  504.534993] EXT4-fs (sda4): re-mounted. Opts: commit=0
Mar  3 05:55:29 localhost kernel: [    1.871187]  sda: sda1 sda2 sda3 sda4
Mar  3 06:19:37 localhost kernel: [ 1484.411441] EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
Mar  3 06:21:14 localhost kernel: [ 1581.333647] EXT4-fs (sda4): re-mounted. Opts: commit=0
 
  


Reply



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
cannot write $(HOME).dmrc file home is on a seperate partition Person_1873 Linux - Newbie 5 12-07-2008 01:41 PM
Creating seperate /home partition? X_user DamnSmallLinux 2 06-25-2007 01:18 PM
access seperate home partition nicdaug Debian 1 03-28-2006 03:36 AM
Seperate /home directory to new partition iotc247 Debian 1 05-31-2004 10:50 AM
Seperate /home partition craigl Linux - Newbie 2 05-10-2004 11:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:48 AM.

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
Open Source Consulting | Domain Registration