- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FILE INODE & DISK QUOATA
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
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
тАО07-23-2008 09:48 PM
тАО07-23-2008 09:48 PM
How many [maximum], 0 byte sized file we can create on particular disk partition[example of 10MB disk] Could u plz suggest any formula if any?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2008 10:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2008 11:13 AM
тАО07-27-2008 11:13 AM
Re: FILE INODE & DISK QUOATA
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 01:55 AM
тАО07-24-2009 01:55 AM
Re: FILE INODE & DISK QUOATA
==================================
for i in `echo {1..1010}`; do dd if=/dev/zero of=/mnt1/VINfile$i count=1024 bs=1024; echo "$i done"; done
==================================
So here it is allocating max 1010 inodes for 1010 files & giving vx_nospace message due to lack of space. but how could I allocate all the inodes from that 1GB disk but creating 'x' number of files on 1GB disk OR how could I came to know the inode limit on that particular 1GB vxfs mounted volume.... ?
below script will create 0 sized files
==================================
for i in `echo {1..30000}`; do touch /mnt1/vinfile$i; echo "$i done"; done
==================================
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 02:03 AM
тАО07-24-2009 02:03 AM
Re: FILE INODE & DISK QUOATA
For VxFS filesystems, 'inodes' allocation is unlimited, as long as there is space in the filesystem and as long as 'largefiles' is enabled. Wthout 'largefiles' enabled, you are limited to about 8-million inodes
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 02:13 AM
тАО07-24-2009 02:13 AM
Re: FILE INODE & DISK QUOATA
You can use
df -F vxfs -i or
bdf -i /filesystem to see the free and used inodes.
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 02:23 AM
тАО07-24-2009 02:23 AM
Re: FILE INODE & DISK QUOATA
There is no fixed inode limit. What you have is a fixed size 1 Gb. You can carve it up with lots of data and a few inodes, or lots of inodes and little data.
If you really want to know the formula, it would be related to the size of each inode and the directory size. The size of any other vxfs metadata and overhead, etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 02:29 AM
тАО07-24-2009 02:29 AM
Re: FILE INODE & DISK QUOATA
Filesystem kbytes used avail %used iused ifree %iuse Mounted on
/dev/vx/dsk/testdg/vol1
1048576 21994 966644 2% 3 256645 0% /mnt1
[root@sfqapa27][/mnt1]$ ls
So here .....below script should exceed the limit & should give vX_nospace OR should show inode limit exceeded
[root@sfqapa27][/mnt1]$ for i in `echo {1..256646}`; do touch vinfile$i; echo "$i done"; done > /dev/null > 2&>1
IS IT correct... ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 02:40 AM
тАО07-24-2009 02:40 AM
Re: FILE INODE & DISK QUOATA
if you are using VxFS filesystems then inodes allocation is unlimited.
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 02:45 AM
тАО07-24-2009 02:45 AM
Re: FILE INODE & DISK QUOATA
Perhaps or perhaps not. You have at least that many inodes but vxfs will make more. IF you don't run out of directory space and other metadata requirements.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 03:55 AM
тАО07-24-2009 03:55 AM
Re: FILE INODE & DISK QUOATA
Thanks lot for valuable guidence.... :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 04:05 AM
тАО07-24-2009 04:05 AM
Re: FILE INODE & DISK QUOATA
If your problem has solved then go ahead and closed this thread.
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 05:03 AM
тАО07-24-2009 05:03 AM
Re: FILE INODE & DISK QUOATA
@ Sunny123 : I despise outright _plagiarism_ (here, a total copy-and-paste). You need to learn to (1) rephrase the facts in your own words; or (2) cite the reference (here, the thread) in which you find your supporting argument. You forgot to copy my last comment, that "Long before you run out of inodes, your filesystem performance will probably suffer.". Do a better job at copying-and-pasting next time.
Oh, by the way, its all here:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1186868
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 05:21 AM
тАО07-24-2009 05:21 AM
Re: FILE INODE & DISK QUOATA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 05:24 AM
тАО07-24-2009 05:24 AM