- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- df to find mounted filesystems
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
05-30-2002 11:39 PM
05-30-2002 11:39 PM
df to find mounted filesystems
I had used df to find the mounted points of all subfilesystems within a filesystem:
#cd/fs36
whereby /fs36 is the parent filesystem
#df *
Fileystem 512-blocks .... %Iused Mounted on
/dev/hda4 ... 100 /
I was wondering is there a way which I can find the name of the filesystem which is mounted on / within the filesystem /fs36?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 11:46 PM
05-30-2002 11:46 PM
Re: df to find mounted filesystems
you could simply find out by looking into the file: /etc/fstab
there you will find the needed information.
Allways stay on the bright side of life!
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 11:49 PM
05-30-2002 11:49 PM
Re: df to find mounted filesystems
The /etc/fstab file should contain all known 'current' mount points. If they are missing from here, you will need to look at your 'vgdisplay -v' output to look for your logical volumes. From these you may now which ones to mount. (Hopefully you don't have raw logical volumes being used)
Cheers
~Michael~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 11:49 PM
05-30-2002 11:49 PM
Re: df to find mounted filesystems
cat /etc/mnttab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2002 12:15 AM
05-31-2002 12:15 AM
Re: df to find mounted filesystems
to print the currently mounted filesystems and mount options.
You can then compare this to the /etc/fstab (mounts on boot up, not necessarily current)
If you have added filesystems/ reconfigured mounts online, you can quickly update your /etc/fstab via
# mount -p > /etc/fstab
which will avoid tipos.
Later,
Bill