LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-13-2011, 12:02 PM   #1
mlnm
Member
 
Registered: Jun 2011
Posts: 96

Rep: Reputation: Disabled
/home not available after reboot


hi, generally we login to Linux server through putty(ssh),yesterday we were not able to connect to it for some time.Later we called up the person in remote location to restart server , he did it and we were able
to connect.But after connecting there is no /home mount point , we were able to login to users in that home directory but it says no such file or directory exist.
its lvm partition.Now how can i get back my /home directory.
 
Old 12-13-2011, 12:17 PM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
Quote:
Now how can i get back my /home directory
By calling that person again, inform him the situation and that you request him to do something to make available the directory again.
 
Old 12-13-2011, 12:35 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
What happens if you mount /home from the command line?
Kind regards
 
Old 12-13-2011, 12:51 PM   #4
asimba
Member
 
Registered: Mar 2005
Location: 127.0.0.0
Distribution: Red Hat / Fedora
Posts: 355

Rep: Reputation: 42
probably your fstab may have a entry

try following and see if you get anything at all

grep -i home /etc/fstab
 
Old 12-14-2011, 10:01 AM   #5
mlnm
Member
 
Registered: Jun 2011
Posts: 96

Original Poster
Rep: Reputation: Disabled
I tried mount /home and i get this error: can't find /home in /etc/fstab or /etc/mtab /home is not in fstab.

Do u think some thing is wrong in the initab?
 
Old 12-14-2011, 10:18 AM   #6
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,143

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
Quote:
Originally Posted by mlnm View Post
I tried mount /home and i get this error: can't find /home in /etc/fstab or /etc/mtab /home is not in fstab.

Do u think some thing is wrong in the initab?
Sounds more like something is wrong in fstab.
 
Old 12-15-2011, 03:16 AM   #7
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Hello,

Quote:
I tried mount /home and i get this error: can't find /home in /etc/fstab or /etc/mtab /home is not in fstab.
I think there isn't entry of /home in /etc/fstab file.

Ask that person if /home entry is there in /etc/fstab file or not? And if not them make the entry of /home in /etc/fstab file.
 
Old 12-16-2011, 09:11 AM   #8
mlnm
Member
 
Registered: Jun 2011
Posts: 96

Original Poster
Rep: Reputation: Disabled
i created /home entry in fstab, when i say mount -a the message i get is: mount: special device home does not exist.
shall i have to restart the system again? another thing is in fstab i have entries for my lvm and all other file systems.
 
Old 12-16-2011, 09:16 AM   #9
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Please post the content of
Code:
/etc/fstab
and the command you use to mount your
Code:
/home
directory.

Kind regards
 
Old 12-17-2011, 10:22 PM   #10
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Please post the contents of your /etc/fstab file and what all command are you using for mounting /home, please post it.
 
Old 12-19-2011, 01:04 PM   #11
mlnm
Member
 
Registered: Jun 2011
Posts: 96

Original Poster
Rep: Reputation: Disabled
contents of /etc/fstab

/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults

Last edited by mlnm; 12-19-2011 at 01:06 PM.
 
Old 12-19-2011, 01:25 PM   #12
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Hello,

I told you there might not be the entry of /home in your /etc/fstab file.

Now, if you don't have the /home partition then you have to create the /home partition, mount it on some new directory and have to make the entry in /etc/fstab file. And if /home is already there then you just have to mount it on some directory and make the entry in /etc/fstab file. Like mine:

Quote:
LABEL=/ / ext3 defaults 1 1
LABEL=/tmp /tmp ext3 defaults 1 2
LABEL=/backup /backup ext3 defaults 1 2
LABEL=/home /home ext3 defaults 1 2
LABEL=/opt /opt ext3 defaults 1 2
LABEL=/usr /usr ext3 defaults 1 2
LABEL=/var /var ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=SW-cciss/c0d0p7 swap swap defaults 0 0

Last edited by Satyaveer Arya; 12-19-2011 at 01:27 PM.
 
  


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
contents of 'home' directory found at sda5: mounted as /home, and also on sda6:/home leswatson Linux - Newbie 4 04-18-2008 04:02 PM
linux home router reboot itself when NAT'ing for large number of connections asimov Linux - Networking 8 03-01-2008 09:22 AM
can't mount /home after app failure and error trying to reboot digitalmojo17 Slackware 5 12-31-2007 09:03 AM
FC4 hangs after reboot. Is it possible to manually reboot to find problem hathmann Fedora 5 08-13-2006 03:57 AM
/home partition full (but) it's not on reboot reddazz Linux - Security 2 02-03-2005 08:12 AM

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

All times are GMT -5. The time now is 08:11 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
Open Source Consulting | Domain Registration