- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- file system
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2006 05:13 PM
01-01-2006 05:13 PM
We have file system mounted as shown below:-
/dev/vg00/lvol6 /var
/dev/vg00/lvol10 /var/opt/OV
/dev/vg01/lvol3 /var/adm/crash
If a file "test" is created as under:-
/var/logs/test
/var/opt/logs/test
/var/adm/logs/test
The file "test" would under which file system ?
Regards,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2006 05:18 PM
01-01-2006 05:18 PM
SolutionHope this is clear.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2006 05:21 PM
01-01-2006 05:21 PM
Re: file system
In your case it would be /var.
The simply way to check this is go to the folder (e.g cd /var/opt/logs..) then run "bdf ." which will show the file system under which the current folder is located.
Regds
TT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2006 05:30 PM
01-01-2006 05:30 PM
Re: file system
df
Example:
file is in /tmp then,
df /tmp/test
(/tmp...)
showing it is located in /tmp. You can as well as use ncheck utility.
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2006 05:40 PM
01-01-2006 05:40 PM
Re: file system
# ncheck -F
Get these informations from bdf as,
# bdf
Example:
# ncheck -F vxfs /dev/vg00/lvol4 | grep file1
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2006 05:59 PM
01-01-2006 05:59 PM
Re: file system
As others mentioned if you want to create
"test" file under /var/logs or /var/opt/logs
or /var/adm/log then it will locate
under /var
Just an advice,try to take a little bit care
while creating test files with the name "test" because unix systems have a command name test
baan01:/#whereis test
test: /usr/bin/test /usr/share/man/man1.Z/test.1
so you may accidently remove this file
Good Luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2006 06:07 PM
01-01-2006 06:07 PM
Re: file system
All these will be under /var file system only. If the initial full path of the file matches any of other mount points then only it will be under that specific file system else it will be in parent file system and that is the case here.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2006 06:09 PM
01-01-2006 06:09 PM
Re: file system
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2006 06:12 PM
01-01-2006 06:12 PM
Re: file system
Also doing a bdf in a particular path will let you know which file system that directory belongs to. The files in the directory will also belong to the same file system.
#bdf .
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2006 07:17 PM
01-01-2006 07:17 PM
Re: file system
find /var -xdev -type f -name "filename"
change /var to your file system more.
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2006 07:18 PM
01-01-2006 07:18 PM
Re: file system
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2006 08:22 PM
01-01-2006 08:22 PM
Re: file system
One easy way to know is to run command:
bdf test
e.g.
$ bdf /etc/hosts
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 204800 67664 136088 33% /
$
hope this helps too!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2006 08:30 PM
01-01-2006 08:30 PM
Re: file system
# df /stand/vmunix
first column /stand is showing the mount point.
ncheck utility is created to suit this.
-Muthu