Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.


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


 
Thread Tools Search this Thread
# 1  
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  
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  
You need to look at your automount maps to see the real location of directories that are automounted.
# 4  
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  
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
Hello All, Was recently working on an requirement where we have to search files more than a specific number, following is the example on same. Let's say file names are test_40000.txt,test_40001.txt and so on till test_99999.txt. Now requirement was to search from find command only those...... UNIX for Advanced & Expert Users
1
UNIX for Advanced & Expert Users
Find command to search and delete files older than 1 days at a desired location
Pandee
Hello All, Can someone please help me out in creating the find command to search and delete files older than 1 days at a desired location. Thanks in advance for your help.... Shell Programming and Scripting
3
Shell Programming and Scripting
How to find a existing file location and directory location in Solaris box?
buzzme
Hi This is my third past and very impressed with previous post replies Hoping the same for below query How to find a existing file location and directory location in solaris box... Shell Programming and Scripting
1
Shell Programming and Scripting
shell script to replicate the log files from one location to another in real time
lookinginfo
Hi, On the server, we have app log files in this location /app/logs/error.log On the same server, in a real time, we would like to replicate that into /var/ directory. if someone has already done this, please share the script. Thanks in advance.... Shell Programming and Scripting
4
Shell Programming and Scripting
Find out the real core file
mutulong
I understood using "file core" to find out the name of program causes the core file, like the result of "file core" command shows "core: XML", but I have no clue how to implement this in script in order to find out any core file is a real core file? not like a ASCII core file or some file else, can...... Shell Programming and Scripting
0
Shell Programming and Scripting

Featured Tech Videos