- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- No. of inodes at filesystem generation
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
09-24-2001 06:34 AM
09-24-2001 06:34 AM
due to disk space shortage I was forced to extend a couple of filesystems used by an SAP/Oracle DBMS.
Unfortunately those guys who set the db server up weren't farsighted enough to use the -e flag of the vgcreate command together with a sufficiently high value for max PEs/PV.
If they had done so it would have saved me a lot of time, and I could have easily extended the respective LVs by a mirror copy online.
Since the Max PE value was too low for this, I had to be given a downtime and create a new VG to copy some 50 GB onto the newly created LVs in this VG. :-{
When I created the filesystems in those new LVs it seems that I haven't been considerate enough because I silently relied on the newfs command, not taking into account that the underlying mkfs_vxfs would offer more control. :-(
Thus I only used the following options
newfs -F vxfs -o largefiles -b 8192 /dev/vgE01/rlvol*
Now I fear this was a mistake, because when I look at the maximum number of inodes this looks a bit sparse.
Here are the 1st, 6th, and 7th col filtered of the "bdf -i" command for filesystems in this VG:
# bdf -i /dev/vgE01/lvol*|awk 'NF==9{printf"%10u%8u%8u\n",$2,$6,$7}'
1564672 2336 36320
1024000 288 25536
28672000 544 206656
1048576 2592 23872
524288 800 16000
2023424 32 63136
8192000 32 255808
516096 1824 5952
2154496 14368 13344
1130496 3872 5152
73728 32 608
73728 32 928
73728 32 928
73728 32 928
3072000 800 47040
Wouldn't you agree that the values in the last column are a little too low for the smaller filesystems?
On the other hand, in the manpage of mkfs_vxfs it reads for the ninode option:
ninode=n
n is the maximum number of inodes in the file
system. The actual maximum number of inodes
is n rounded up to an appropriate boundary.
For a Version 2 or 3 disk layout this is the
maximum number of inodes, The number 0 and
the string ``unlimited'' are interpreted to
mean that the number of inodes is unlimited.
The default is ``unlimited'' for a Version 2
or 3 disk layout.
What the hack is a Version 2|3 disk layout?
And why wasn't the default unlimited number set when I created the filesystems?
Will the number grow when I do an extendfs?
Regards
Ralph
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 06:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 06:49 AM
09-24-2001 06:49 AM
Re: No. of inodes at filesystem generation
The with vxfs, you don't have to worry about the maximum number of inodes. The version lay-out is the version of vxfs. You can check this with fstyp -v [rlvol]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 07:01 AM
09-24-2001 07:01 AM
Re: No. of inodes at filesystem generation
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 07:30 AM
09-24-2001 07:30 AM
Re: No. of inodes at filesystem generation
this might be a matter of uninterest, but ....
Why didn't you create a new volume group, with new disks and new filesystems in it ?
I think this would have saved you a lot of work.
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 08:25 AM
09-24-2001 08:25 AM
Re: No. of inodes at filesystem generation
you could set the maximum amount of inodes per
VxFS filesystem, but the default is "unlimited"
and as long as you have free space, you will
get another "Allocation Unit" containing more
inodes...
But have a look into the "mount_vxfs(1M)" options:
- if you do have the "Online JFS" consider
using "convosync=direct,mincache=direct" in
addition to the ones you already use, for the
filesystems containing ONLY Oracle data files,
at least.
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2001 01:21 AM
09-25-2001 01:21 AM
Re: No. of inodes at filesystem generation
that was what I did.
After our EMC storage admin had bound a new "disk" for me I created a new VG consisting of this "disk".
But I still had to work in the DB's offline mode (which ment yet another late shift for me) in order to copy all files from the ten LVs of the old VG to the LVs of the new.
Compared to a simple "lvextend -m1" in a for loop over the old VG's LVs, as I would have done, had I only been able to mirror (see above), this was much more work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2001 01:35 AM
09-25-2001 01:35 AM
Re: No. of inodes at filesystem generation
thanks for the hint about the convosync and mincache options.
Unfortunately, on this box there isn't OnlineFJS available, but I will remember these opts for our other boxes that do run under OnlineJFS.
Btw, I do read the manpages, because it's fun to learn about all the interesting features and options of commands (do you know all the flags of the ubiquitious ls command?).
I think to have read in a Unix book some time ago that what distiguishes the Unix "gurus" from the ordinary Unix folks is that the first simply do read the manpages ;-)
(that said does not remotely imply that I consider myself belonging to the first, though)