LinuxQuestions.org
Review your favorite Linux distribution.
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 11-13-2016, 09:46 AM   #31
sahruk
LQ Newbie
 
Registered: Nov 2016
Posts: 15

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by rknichols View Post
Again, what happens when you run "df /home" specifically asking about that filesystem?
surprisingly I have it on list by doing that command:

Code:
[root@sfvm08 mapper]# df /home
Filesystem                     1K-blocks     Used Available Use% Mounted on
/dev/mapper/centos_sfvm03-home  81247232 71816540   9430692  89% /home
but not when I go with df -h:
Code:
[root@sfvm08 mapper]# df -h
Filesystem                      Size  Used Avail Use% Mounted on
/dev/mapper/centos_sfvm03-root   78G   69G  9.0G  89% /
/dev/loop0                      2.2G   23M  2.1G   2% /tmp
 
Old 11-13-2016, 11:16 AM   #32
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 4,297

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
It is very suspicious that the numbers for /home are almost identical to what is reported for / . It's hard to tell with that "-h" option rounding off the numbers, but they seem to be referring to the same filesystem. What is the output from
Code:
mount | grep -E 'on (/|/home) '
 
Old 11-13-2016, 12:21 PM   #33
sahruk
LQ Newbie
 
Registered: Nov 2016
Posts: 15

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rknichols View Post
It is very suspicious that the numbers for /home are almost identical to what is reported for / . It's hard to tell with that "-h" option rounding off the numbers, but they seem to be referring to the same filesystem. What is the output from
Code:
mount | grep -E 'on (/|/home) '
That's strange for me as well. Everything seems to be ok, just system file can't distinguish /home and that's far from strange for me!
Code:
[root@sfvm08 /]# mount | grep -E 'on (/|/home) '
/dev/mapper/centos_sfvm03-root on / type xfs (rw,uquota)
/dev/mapper/centos_sfvm03-home on /home type xfs (rw)
 
Old 11-13-2016, 07:29 PM   #34
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 4,297

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
If it were my system, I would be very concerned. Something doesn't look at all right.

What do you see if you peek under the /home mount point?
Code:
mkdir /mnt/tmproot
mount --bind / /mnt/tmproot
ls -lA /mnt/tmproot/home
umount /mnt/tmproot
That "ls" command should show nothing. It should be seeing the empty mount point directory that is in the root filesystem.
 
  


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
[SOLVED] after lvreduce reboot now can't read superblock scriptkiddy Linux - Newbie 12 11-11-2016 07:29 AM
can i mount my home partition read only? F,Dillon@NYC Linux - Newbie 3 07-20-2015 05:43 PM
Partition doesn't mount after resizing dim3dro1 Linux - General 5 11-25-2008 02:19 AM
mount: server:/home can't read superblock phil.d.g Linux - General 0 05-11-2006 04:03 PM

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

All times are GMT -5. The time now is 12: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration