large file options is set


 
Thread Tools Search this Thread
Operating Systems HP-UX large file options is set
# 1  
Old 06-16-2006
large file options is set

Can someone tell me the right or exact syntax to check if the large file options is set on a filesystem

Thanks!
# 2  
Old 06-16-2006
As of HP-UX 11i, nolargefiles is the default. When a filesystem is created, with either mkfs or newfs, a "-o largefiles" can enable the largefile capability. Or "-o nolargefiles" can be used to explicit request a limited filesystem.

After a filesystem has been created, fsadm can be used with "-o largefiles" to convert it to a largefile filesystem. In some cases, you can switch back with a "fsadm -o nolargefiles".

If you care which you have, you can use the options largefiles or nolargefiles when you mount the filesystem. This will not convert a filesystem, but the mount will fail if the filesystem does not match the flag used on mount.

If a filesystem is mounted on, say, /mountpoint, and you wonder what size files it supports, anyone (even non-root users) can do "getconf FILESIZEBITS /mountpoint". This will return 32 for "nolargefiles" filesystems and a larger integer for "largefiles" filesystems. (I am getting 42...so do not expect 64.)

All of this defines what the filesystem can handle. If your program is a 32 bit program, it may not be able to process large files. (But with special techniques, 32 bit programs can process largefiles.)
# 3  
Old 06-17-2006
Understood

Thanks again Perderabo for your responce. getconf is something I didn't know...I was thinking on lsf earlier...
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Programming

C++ help in large data set

Hi All, We are trying to replace a 3rdparty where we don't know how they handled the reader part here. The query below is getting 197 * 2038017 row in the table. In the below code we are trying to run the query and execute in the DB part and fetch and read the record. That is where it is... (1 Reply)
Discussion started by: arunkumar_mca
1 Replies

2. Shell Programming and Scripting

Reversing large data set with awk?

Hello! I have quite a bit of map data that I have to edit. I originally had a DOS script that would reverse x1, y1 coordinates in order to change the direction of a particular segment in a map file. It worked wonderfully and all was well, but my bossman told me that there is a boatload of nodes... (9 Replies)
Discussion started by: Mothra
9 Replies

3. HP-UX

Set, setenv or export? Confused between three options

Hi Experts, Need your help in understanding the commands to setup the environment variables in hp-ux. Beleive need to use either set,setenv or export. I am confused between above three options, when to use which option? On command line, I have tried both set and setenv but couldn't... (7 Replies)
Discussion started by: userexperience
7 Replies

4. Shell Programming and Scripting

Need to delete large set of files (i.e) close to 100K from a directory based on the input file

Hi all, I need a script to delete a large set of files from a directory under / based on an input file and want to redirect errors into separate file. I have already prepared a list of files in the input file. Kndly help me. Thanks, Prash (36 Replies)
Discussion started by: prash358
36 Replies

5. UNIX for Dummies Questions & Answers

Running set options from the command line and bash command

I'm reading about debugging aids in bash and have come across the set command. It says in my little book that an addition to typing set you can also use them "on the command line when running a script..." and it lists this in a small table: set -o option Command Line... (5 Replies)
Discussion started by: Straitsfan
5 Replies

6. Shell Programming and Scripting

set -options not working inside for loop?

I'm a beginner in shell scripting (I'm using ksh). I'm manipulating some files and I'm using set -A to transform each read line into a numeric array. However, inside the 'for' loop the options of set (ie '-A') are not recognized (the vi editor doesn't highlight it and it doesn't work). Where... (4 Replies)
Discussion started by: kasumlolla
4 Replies

7. UNIX for Advanced & Expert Users

Vi set options

Does know where I can find what ALL of the set options do in vi? I can't find it anywhere in vi's man pages or help files. I know about :set all but a lot of the options I have no clue what they do. (3 Replies)
Discussion started by: cokedude
3 Replies

8. Shell Programming and Scripting

Drop common lines at head/tail of a large set of files

Hi! I have a large set of pairs of text files (each pair in their own subdirectory) and each pair shares head/tail (a couple of first and last lines) but differs in the middle part. I need to delete the heads/tails and keep only the middle portions in which they differ. The lengths of heads/tails... (1 Reply)
Discussion started by: dobryden
1 Replies
Login or Register to Ask a Question