- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to accurately determine if an in-use file...
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
Discussions
Discussions
Forums
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
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
тАО10-20-2005 06:30 AM - last edited on тАО08-20-2014 06:25 PM by Lisa198503
тАО10-20-2005 06:30 AM - last edited on тАО08-20-2014 06:25 PM by Lisa198503
Hi,
How do I determine if a in-use file system supports
large files (other than by trying, which
isn't foolproof for at least two reasons)?
mount -v and fstyp -v don't seem to agree.
(Some HP docs imply that ftyp's "f_flags: 16"
means "largefiles", but I've got one 11.11
system with 3 file systems: two have flags of
16, one has flags of 0. mount -v only says that one of the flags 16 systems has largefiles :)
(And, fstyp's f_size appears to
refer to the size of the entire file system,
not to a maximum file size.)
fsadm reports two of our 3 filesystems
as largefile capable ... BUT ... man fsadm
says that it can't be used for all file
systems. (For some, the file system
must be unmounted, which renders the
command useless to me.)
thanks,
Stan
sieler@allegro.com
P.S. This thread has been moved from HP-UX Technical Documentation to HP-UX > sysadmin. -HP Forum Moderator
Solved! Go to Solution.
- Tags:
- largefiles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2005 06:43 AM
тАО10-20-2005 06:43 AM
Re: how to accurately determine if an in-use file system supports large files
look at:
fsadm -F vxfs /mount_point
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=953592
- Tags:
- fsadm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2005 06:58 AM
тАО10-20-2005 06:58 AM
Re: how to accurately determine if an in-use file system supports large files
See the command fstype with -v option.
root-/>fstyp -v dev/vg14/lvol1
vxfs
version: 4
f_bsize: 8192
f_frsize: 8192
f_blocks: 5241856
f_bfree: 4215122
f_bavail: 4215122
f_files: 16928
f_ffree: 2080311888
f_favail: 2080311888
f_fsid: 1074659329
f_basetype: vxfs
f_namemax: 254
f_magic: a501fcf5
f_featurebits: 0
f_flag: 16
f_fsindex: 7
f_size: 5241856
here see the flag value is 16 that means large file is enabled. Otherwise the f_flag value will be zero.
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2005 07:11 AM
тАО10-20-2005 07:11 AM
Re: how to accurately determine if an in-use file system supports large files
I have two problems with the first two
answers above:
fstyp -v
I've found *NO* manuals or /usr/include
files that document the f_flags values/bits.
I'd strongly prefer to find such before
assuming that 16 (is that bit 16, or
the value 0x10, or ?) is *documented*
as "largefile support".
fsadm
As I originally said, the man page says you
cannot use it on just any file system ...
some file systems work only if they are
unmounted. This renders it useless to
me for this purpose.
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2005 07:18 AM
тАО10-20-2005 07:18 AM
SolutionSee the following doc.
http://docs.hp.com/en/B9106-90009/statvfs.2.html
see the possible return types for f_flag.
They are
ST_LARGEFILES File system is enabled for large files.
ST_RDONLY File system is read-only.
ST_NOSUID File system does not support setuid and setgid semantics.
ST_EXPORTED File system is exported (NFS).
ST_QUOTA Quotas are enabled on this file system.
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2005 07:25 AM
тАО10-20-2005 07:25 AM
Re: how to accurately determine if an in-use file system supports large files
do
RESULT=`fsadm -F vxfs $FS 2>&1`
echo "Filesystem $FS = $RESULT"
done
... gives me this result:
Filesystem /dev/vg00/rlvol1 = vxfs fsadm: not a valid vxfs file system
Filesystem /dev/vg00/rlvol2 = vxfs fsadm: not a valid vxfs file system
Filesystem /dev/vg00/rlvol3 = nolargefiles
Filesystem /dev/vg00/rlvol4 = largefiles
Filesystem /dev/vg00/rlvol5 = largefiles
Filesystem /dev/vg00/rlvol6 = largefiles
Filesystem /dev/vg00/rlvol7 = largefiles
Filesystem /dev/vg00/rlvol8 = largefiles
Hope that helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2005 07:30 AM
тАО10-20-2005 07:30 AM
Re: how to accurately determine if an in-use file system supports large files
Full points!
Andy, as you probably have seen by now,
fsadm isn't an adequate tool ... there are
too many cases where it won't work.
Points for trying.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2011 03:48 PM
тАО05-24-2011 03:48 PM
Re: how to accurately determine if an in-use file system supports large files
Just noticed I hadn't officially closed the thread ...
doing so now because HP's odd/weird ITRC software
just sent me a notice that the thread had been
updated (on 2011-05-24) ... and it hadn't been.
Perhaps closing the thread will prevent similar
erroneous emails from HP :)
thanks,
Stan