- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Last mount point used by a VxFS filesystem
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
12-20-2005 01:31 AM
12-20-2005 01:31 AM
It is pretty straightforward when it comes to HFS but I cannot seem to get any pointers for the VxFS filesystems.
Is it true that the last mountpoint used is not recorded in the VxFS superblock (unlike HFS superblock) ?
I am willing to even write a simple C prog to query the structures but need to know the header file and the structure def.
TIA
Sundar.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 02:37 AM
12-20-2005 02:37 AM
Re: Last mount point used by a VxFS filesystem
Veritas does not have this field in their VxFS superblock.
The only possible way to get the information would be to restore an /etc/mnttab from the time that FS was on the box (to a different file name) and see if you could pull the information from there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 02:22 PM
12-20-2005 02:22 PM
SolutionYes, VxFS doesn't keep a record of the last mount point used in its header.
The superblock and its copy resides in the Allocation Unit Header (similar to HFS's Cylinder Group. The superblock contents/fields could be known from the fs_vxfs man page.
Refer following link for vxfs disk layout for different versions.
http://uw713doc.sco.com/en/FS_admin/_vxfs_Disk_Layout.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 03:11 PM
12-20-2005 03:11 PM
Re: Last mount point used by a VxFS filesystem
This would be with help of glance metrics. MWA collects data bout "data type lvolume" along with all other tons of metrics.
If you use report file to extract command as follows, this may give you what you want.
REPORT "MWA Export !DATE !TIME Logfile: !LOGFILE !COLLECTOR !SYSTEM_ID"
FORMAT ASCII
HEADINGS ON
SEPARATOR="|"
DATA TYPE LVOLUME
DATE
TIME
DAY
DATE_SECONDS
LV_DIRNAME
FS_DIRNAME
LV_SPACE_UTIL
Call this file test.
extract -v -xp -gapkdztncuyGADZTNUY -b "start_time" -e "end_time" -r ./test -f"output_file"
If you adjust start and end time accordingly, you should get what you want.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 03:15 PM
12-20-2005 03:15 PM
Re: Last mount point used by a VxFS filesystem
Even better would be following.
DATA TYPE FILESYSTEM
**........................... File System Record Identification Metrics
* BLANK
* RECORD_TYPE
* DATE
* TIME
* YEAR
* DAY
* DATE_SECONDS
* INTERVAL
**........................... File System Summary Metrics
* FS_DIRNAME
**........................... File System Disk Metrics
* FS_DEVNAME
* FS_TYPE
* FS_BLOCK_SIZE
* FS_MAX_SIZE
* FS_FRAG_SIZE
* FS_SPACE_UTIL
You know how to use them....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 03:24 PM
12-20-2005 03:24 PM
Re: Last mount point used by a VxFS filesystem
/opt/VRTS/include/sys/fs/fcl.h
/opt/VRTS/include/sys/fs/vxio.h
/opt/VRTS/include/vxfsutil.h
-Arun