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


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers df -h command, can't seem to find real location
# 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...)".
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Regarding real example of user of semicolon(;) and + in find/exec command.

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... (1 Reply)
Discussion started by: RavinderSingh13
1 Replies

2. IP Networking

Where to find IP address to location data?

I'm trying to remotely probe a range of IP addresses. First I need a list of IP addresses for a very small geographic area. I've had a lot of trouble obtaining them. I would like to find a database or something. Suppose I do get the data. Can I see if that IP address is in use by someone? Can I... (2 Replies)
Discussion started by: rockandAir
2 Replies

3. Red Hat

Find cpu location

Hi guys we have come corrected errors and i would like to know where is cpu 23 located physicaly... :( here the lscpu output (2 socket, 6 cores intel cpu): # lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): ... (1 Reply)
Discussion started by: beta17
1 Replies

4. Shell Programming and Scripting

Find command to search and delete files older than 1 days at a desired location

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. (3 Replies)
Discussion started by: Pandee
3 Replies

5. Shell Programming and Scripting

How to find a existing file location and directory location in Solaris box?

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 (1 Reply)
Discussion started by: buzzme
1 Replies

6. Red Hat

Find Computer Location

Hi, there, How to know location of a computer where its IP Address and Computer name is known? tx (5 Replies)
Discussion started by: budiantho_indra
5 Replies

7. Shell Programming and Scripting

shell script to replicate the log files from one location to another in real time

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. (4 Replies)
Discussion started by: lookinginfo
4 Replies

8. UNIX for Advanced & Expert Users

unix command : how to insert text at the cursor location via command line?

Hi, Well my title isn't very clear I think. So to understand my goal: I have a script "test1" #!/bin/bash xvkbd -text blabla with xbindkeys, I bind F5 key in order it runs my test1 script So when I press F5, test1 runs. I'm under Emacs/Vi and I press F5 in order to have "blabla" be... (0 Replies)
Discussion started by: xib.be
0 Replies

9. Shell Programming and Scripting

How to find the job and its location

Guys; I first I thank you for helping me few times in the past; A job runs every day at 8AM and looks for a file “abcd.txt” in directory “/usr/task/tmp”. How to find the job and its location. I need to change the file name to “abcd.dat”. it is UNIX environment. (2 Replies)
Discussion started by: clem2610
2 Replies

10. Shell Programming and Scripting

Find out the real core file

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... (0 Replies)
Discussion started by: mutulong
0 Replies
Login or Register to Ask a Question