How to determine the max file size | Unix Linux Forums | UNIX for Advanced & Expert Users

  Go Back    


UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

How to determine the max file size

UNIX for Advanced & Expert Users


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 10-26-2006
dknight dknight is offline
Registered User
 
Join Date: Nov 2001
Last Activity: 16 December 2009, 11:17 AM EST
Location: Germany
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
How to determine the max file size

Does anyone know a way to determine the maximum filesize on a file system on Solaris, HP-UX, AIX, Linux, and OSF1 using the command line?

TIA
Sponsored Links
    #2  
Old 10-27-2006
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 27 November 2014, 9:01 PM EST
Location: NM
Posts: 10,283
Thanks: 288
Thanked 815 Times in 757 Posts
fsadm <device name>

HPUX fsadm indicates if the file system was mounted to support large files, for example.

I don't know of one single command that can tell you large file support is enabled.
If there are different flavors of filesystems mounted you may see some that do/don't
Sponsored Links
    #3  
Old 10-27-2006
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
AFK
 
Join Date: Dec 2004
Last Activity: 28 July 2014, 9:39 AM EDT
Location: UK
Posts: 2,351
Thanks: 0
Thanked 6 Times in 6 Posts
I think this will help:

Code:
mkfs -m <raw_device>

You have to be root to do this (mostly - depends on device permissions).

Last edited by blowtorch; 10-27-2006 at 09:46 AM..
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Perl : Inline program to determine file size sam05121988 Programming 4 04-10-2012 10:50 AM
Determine switch buffer size dimpim UNIX for Dummies Questions & Answers 0 02-04-2011 04:45 PM
determine the physical size of the hard disk hoffies HP-UX 4 11-15-2007 05:08 AM
command to find out total size of a specific file size (spread over the server) abhinov Solaris 3 08-08-2007 07:48 AM
determine the size of a file??? alan UNIX for Dummies Questions & Answers 8 12-31-2003 02:23 PM



All times are GMT -4. The time now is 01:34 AM.