df -h command, can't seem to find real location


 
Thread Tools Search this Thread
# 1  
Old 10-05-2011
df -h command, can't seem to find real location

Hi,

I need your help. I am at a new place, just trying to understand what's going on here. When I do df -h, I see many mounts. But most of them are automount, how do I find the real location?

Code:
 
netappt1:/vol/homet2/sthan
                      1.7T  1.2T  527G  69% /home/sthan
netappt1:/vol/homet1/tech
                      1.0T  666G  359G  65% /home/tech
netappt1:/vol/homet2/cac
                      1.7T  1.2T  527G  69% /home/cac
netappt1:/vol/homet2/ala
                      1.7T  1.2T  527G  69% /home/ala
netappt1:/vol/homet1/msata
                      1.0T  666G  359G  65% /home/msata

When I go to /home, I see all the directory but that's automap. I can't create any directory. I need the real location, I also tried the /vol /vol/homet2/xyz.... but it doesn't work either.

Code:
[root@txust01 home]# cd /vol
-bash: cd: /vol: No such file or directory

Please let me know what I am missing here... Thanks.

Last edited by samnyc; 10-05-2011 at 11:12 AM..
# 2  
Old 10-05-2011
The real location of what?
What I see is you are using a NAS... and to a user it should be transparent, so for you too...
# 3  
Old 10-05-2011
You need to look at your automount maps to see the real location of directories that are automounted.
# 4  
Old 10-05-2011
Yes. It's using NAS. where do I find that /home is mounted to? I need to create a directory under /home. When I look at passwd file, it says for each user /home/user ID. I can't create the directory under /home. It's mapped to some thing else.

Code:
[root@txust01 home]# mkdir xyz
mkdir: cannot create directory `xyz': No such file or directory

---------- Post updated at 10:31 AM ---------- Previous update was at 10:20 AM ----------

I got it. I need to be on the admin server. From the server I was on, that is only read only. To make any changes, I need to be on the NISNFS master server.

Every day, I learn some thing new about NIS NFS. :-)
# 5  
Old 10-05-2011
Thinking of it - Are you root?
If so, then there is this little somewhat all sysadmins know and get caught some times:
Are we on NFS? If so the first you may be on a "deny root access...(or readonly for root...)".
 

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Regarding real example of user of semicolon(;) and + in find/exec command. RavinderSingh13 UNIX for Advanced & Expert Users 1 07-14-2017 06:41 PM
Find and Copy file of specific location yadavricky Shell Programming and Scripting 6 03-26-2015 01:54 PM
Where to find IP address to location data? rockandAir IP Networking 2 01-10-2014 06:44 PM
Find cpu location beta17 Red Hat 1 09-04-2013 11:15 AM
Find the location of particular file and directory mahesh1987 UNIX for Dummies Questions & Answers 5 02-21-2013 12:35 PM
Find command to search and delete files older than 1 days at a desired location Pandee Shell Programming and Scripting 3 01-16-2013 06:29 AM
Find a set of files in a location nid21 UNIX for Dummies Questions & Answers 4 01-11-2013 04:54 AM
How to find a existing file location and directory location in Solaris box? buzzme Shell Programming and Scripting 1 01-10-2013 09:13 PM
Find Computer Location budiantho_indra Red Hat 5 10-06-2012 01:33 PM
using find to go directly into a directory location bjhum33 Shell Programming and Scripting 3 04-04-2012 01:31 AM
shell script to replicate the log files from one location to another in real time lookinginfo Shell Programming and Scripting 4 04-05-2011 11:29 AM
unix command : how to insert text at the cursor location via command line? xib.be UNIX for Advanced & Expert Users 0 12-22-2010 06:45 PM
How to find the job and its location clem2610 Shell Programming and Scripting 2 06-11-2009 05:30 PM
Find a pattern in a file at a particular location sparks Shell Programming and Scripting 1 02-22-2009 03:13 AM
Find out the real core file mutulong Shell Programming and Scripting 0 09-01-2007 12:23 PM