- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to increase inodes on HFS filesystem
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
Forums
Discussions
Discussions
Discussions
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
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
08-08-2007 09:38 AM
08-08-2007 09:38 AM
It is an hfs filesystem:
/dev/dsk/c2t2d2 /pbqtmp hfs rw,suid 0 1
I tried using:
fsadm -F hfs -o largefiles /dev/rdsk/c2t2d2
But it still show no more inodes:
# bdf -i /pbqtmp
Filesystem kbytes used avail %used iused ifree %iuse Mounted on
/dev/dsk/c2t2d2 2006553 1063477 882879 55% 329600 0 100% /pbqtmp
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2007 09:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2007 09:52 AM
08-08-2007 09:52 AM
Re: How to increase inodes on HFS filesystem
/dev/dsk/c2t2d2 2006553 1063477 882879 55% /pbqtmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2007 10:02 AM
08-08-2007 10:02 AM
Re: How to increase inodes on HFS filesystem
In any event, the ratio of filesystem size to inodes (default 6144 bytes per inode) is set when the filesystem is created and can't be increased. If you add more blocks to the file system via extendfs, it will add more inodes but only in the same proportion as when the filesystem was created.
You can get a bit more data with:
fstyp -v /dev/dsk/c2t2d2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2007 10:31 AM
08-08-2007 10:31 AM
Re: How to increase inodes on HFS filesystem
I inherited this piece of junk.
It's running HP-UX 10.20 and all the
partitions are hfs for some reason.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2007 10:35 AM
08-08-2007 10:35 AM
Re: How to increase inodes on HFS filesystem
I agree with Clay. Never mind that it's 10.20. VxFS (JFS) filesystems were supported at that point. I'd backup your data; 'newfs' a JFS filesystem; and restore your data!
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2007 10:46 AM
08-08-2007 10:46 AM
Re: How to increase inodes on HFS filesystem
JFS worked fine for me running Oracle on 10.20, and it should be fine to convert to.
If you're sticking with hfs:
man mkfs_hfs - see the option for nbpi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2007 11:04 AM
08-08-2007 11:04 AM
Re: How to increase inodes on HFS filesystem
luxury of just shutting down a server that
is running production and rebuilding.
Management does not understand and does not
care. There attitude here is run it till it
dies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2007 11:30 AM
08-08-2007 11:30 AM
Re: How to increase inodes on HFS filesystem
There are really only a few of viable options. 1) Backup; build a new filesystem (hfs of vxfs but you know what I think); restore. 2) If you have room on other filesystems, copy directory trees under the existing filesystem to other filesystems; delete the existing filetrees; setup symbolic links pointing to the new locations.
3) If you have free disks or LVOL's, create new filesystems; copy directory trees to them; remove the directory trees; make the new filesystems mountpoints under the old.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2007 12:30 PM
08-08-2007 12:30 PM
Re: How to increase inodes on HFS filesystem
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2007 01:44 PM
08-08-2007 01:44 PM
Re: How to increase inodes on HFS filesystem
You may consider using vxfs, which is more robust and stable, you will not face out of inodes issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2007 08:18 PM
08-08-2007 08:18 PM
Re: How to increase inodes on HFS filesystem
I have such a script and it warns me every day.
I just now realized that for vxfs, I don't care about inode precentage, thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2007 08:22 PM
08-08-2007 08:22 PM
Re: How to increase inodes on HFS filesystem
You can tar gzip small files into one big file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2007 02:25 AM
08-09-2007 02:25 AM
Re: How to increase inodes on HFS filesystem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2007 02:38 AM
08-09-2007 02:38 AM
Re: How to increase inodes on HFS filesystem
I see that you FS is 2GB and if you have at least 2 hours fo downtime (lets say weekly/monthly reboot) I will use my spare disk and use the following command to restore my data on different FS
find . -xdev -depth -print | cpio -pdum {dest_dir}
Once complete you can always unmount the old FS and mount the New FS.
I hope it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2007 03:12 AM
08-09-2007 03:12 AM
Re: How to increase inodes on HFS filesystem
Do you know how to check the filesystem to determine that? I assume this is: mkfs -m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2007 04:01 AM
08-09-2007 04:01 AM
Re: How to increase inodes on HFS filesystem
vxfs from hfs. Created volume group with
the disk in question.
Also going to mount other critical
production partition to NAS via NFS(no
fiber to this box) and use that 4gig drive
to mirror the 4gig boot drive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2007 04:07 AM
08-09-2007 04:07 AM