- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- display mount options of filesystems
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
display mount options of filesystems
SOLVED- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-22-2013 08:03 AM
01-22-2013 08:03 AM
hello,
i try to get the mount options of a mounted filesystem :
Display mount options on current mounted filesystems
with this white paper there a lot of options :
HP-UX VxFS mount options for Oracle Database environments
with mount -v and mount -p it is not easy to parse
i found this command :
/usr/sam/lbin/fslist: illegal option -- ?
Usage: fslist -p [mntDir|dev]
fslist -P -p [mntDir|dev]
fslist -d <isRootFs|isFsMounted|getFsType|isFsRdOnly|canFsBeRemoved> -p <mntDir|dev>
@(#)fslist (fsweb) Build Date: 19:54:22 Jun 22 2012
/usr/sam/lbin/fslist -p /mount_point
/mount_point|vxfs|-|ioerror=mwdisable,largefiles,mincache=direct,delaylog,convosync=direct,cio,dev=8000101b|/dev/vgtest/db1|9.0 GB|9663676416.0|1.7 GB|7.3 GB|81%|81|Wed Jan 2 15:32:59 2013|Tue Jan 22 15:46:59 2013|yes|no|yes|no|no|yes|no|56512|56496|none
mount -p |grep "db01"
/dev/vgtest/db1 /mount_point vxfs ioerror=mwdisable,largefiles,mincache=direct,delaylog,convosync=direct,cio,dev=8000101b 0 0
mount -v |grep "db01"
/dev/vgtest/db1 on /mount_point type vxfs ioerror=mwdisable,largefiles,mincache=direct,delaylog,convosync=direct,cio,dev=8000101b on Wed Jan 2 15:32:59 2013
those are possible options :
mount [-F vxfs] [-eQrV]
[-o [rw|ro][,crw]
[remount]
[quota]
[suid|nosuid]
[log|delaylog|tmplog]
[datainlog|nodatainlog]
[snapof=primary_special,[snapsize=blocks]]
[convosync={direct|dsync|closesync|delay|unbuffered}]
[mincache={direct|dsync|closesync|tmpcache|unbuffered}]
[blkclear]
[qio|noqio]
[largefiles|nolargefiles]
[ckpt=ckpt_name]
[mntlock=id]
[cluster]
[seconly]
[ioerror={mwdisable|wdisable|nodisable|mdisable|disable}]
[logiosize=size]
[cio]
[tranflush]
[nomtime]
[noatime]
[stackfs=stackfs_name] ] {special | mount_point}
what are about this options :
actual : ioerror=mwdisable,largefiles,mincache=direct,delaylog,convosync=direct,cio,dev=8000101b
ioerror=mwdisable
dev=8000101b
i can't use "," as FS (field separator) to split the options because "convosync=direct,cio" is one option
regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-22-2013 09:50 AM
01-22-2013 09:50 AM
SolutionFor an explanation of the mount options see the 'mount_vxfs' man page. There is a section on the 'ioerror' options. The value of mwdisable is the default value.
The last 6 characters of the dev= value appear to be the minor number of the logical volume.
For example:
# mount -v /dev/vgbig/lvol6 on /var/tmp/Training type vxfs nosuid,ioerror=mwdisable,largefiles,delaylog,dev=40010006 on Fri Nov 16 17:47:20 2012 /dev/vg00/lvol5 on /home type vxfs nosuid,ioerror=mwdisable,largefiles,delaylog,dev=40000005 on Fri Nov 16 17:47:24 2012 # ll /dev/vg00/lvol5 brw-r----- 1 root sys 64 0x000005 Oct 29 2009 /dev/vg00/lvol5 # ll /dev/vgbig/lvol6 brw-r----- 1 root sys 64 0x010006 Mar 15 2012 /dev/vgbig/lvol6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-24-2013 01:14 AM
01-24-2013 01:14 AM
Re: display mount options of filesystems
Re: display mount options of filesystems
>> The last 6 characters of the dev= value appear to be the minor number of the logical volume
and the first 2 characters are the device major number of the logical volume in hex -i.e. 64 in decimal is 0x40 in hex - for a brief explanation of what device IDs are for see here:
https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=DEVICEID
Device IDs have been part of the core OS since 11iv2
HTH
Duncan
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-24-2013 01:17 AM
01-24-2013 01:17 AM
Re: display mount options of filesystems
Re: display mount options of filesystems
oh and also...
>> i can't use "," as FS (field separator) to split the options because "convosync=direct,cio" is one option
no it isn't... cio isn't part of the convosync=direct option - they are entirely seperate
HTH
Duncan
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-25-2013 07:02 AM
01-25-2013 07:02 AM
Re: display mount options of filesystems
Re: display mount options of filesystems
>> i can't use "," as FS (field separator) to split the options because "convosync=direct,cio" is one option
>>> no it isn't... cio isn't part of the convosync=direct option - they are entirely seperate
i found "cio" in the mount option, it was a mistake of me .
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-25-2013 07:06 AM
01-25-2013 07:06 AM
Re: display mount options of filesystems
Re: display mount options of filesystems
i suppress "ioerror" and "dev" with following "awk" , this will display the mount options :
example :
MNT_OPT="ioerror=mwdisable,largefiles,mincache=direct,delaylog,convosync=direct,cio,dev=8000101b" echo "${MNT_OPT}" | \ awk '{ mnt_opt="" max_arr = split ($0,arr,","); for (i=1; i<=max_arr; i++) { if ( arr[i] !~ /^ioerror|^dev/ ) { i==1 ? col="" : col="," length(mnt_opt) == 0 ? col="" : col="," mnt_opt = mnt_opt col arr[i] } } } END { print mnt_opt }'
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP