- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mkfx with option -o ninode=100 has no effect
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
04-28-2008 01:16 AM
04-28-2008 01:16 AM
mkfx with option -o ninode=100 has no effect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 01:21 AM
04-28-2008 01:21 AM
Re: mkfx with option -o ninode=100 has no effect
bdf -i will show you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 01:25 AM
04-28-2008 01:25 AM
Re: mkfx with option -o ninode=100 has no effect
I assume you ran the mkfs as root.
Search your history file for the mkfs command you used and find out what you specified for inode.
Assuming you're using bash and roots homedir is /
grep -i "mkfs" /.bash_history
For SH / KSH
grep -i "mkfs" /.sh_history
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 01:26 AM
04-28-2008 01:26 AM
Re: mkfx with option -o ninode=100 has no effect
the default value of ninode is defined in terms of nproc, maxusers and npty.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 01:40 AM
04-28-2008 01:40 AM
Re: mkfx with option -o ninode=100 has no effect
mkfs -o ninode=10000 -o largefiles /dev/vg_fc_csost_2/lv_csost_2
and the shell is /sbin/sh.
Note, I have another system , with 11.23, and on this one the command mkfs works properly, with the width I want. On the first, instead, the width is always then same, indipendent of parameter given on the command line.
Perhaps some kernel parameter has some problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 01:42 AM
04-28-2008 01:42 AM
Re: mkfx with option -o ninode=100 has no effect
mkfs -F vxfs -m /dev/vg00/lvol6
mkfs -F hfs -m /dev/vg00/lvol1
What is you filesystem type. Is it hfs or vxfs.
What commands you used, when you created the filesystem.
Rgds.,
Rasheed Tamton.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 01:47 AM
04-28-2008 01:47 AM
Re: mkfx with option -o ninode=100 has no effect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 01:48 AM
04-28-2008 01:48 AM
Re: mkfx with option -o ninode=100 has no effect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 02:14 AM
04-28-2008 02:14 AM
Re: mkfx with option -o ninode=100 has no effect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 02:37 AM
04-28-2008 02:37 AM
Re: mkfx with option -o ninode=100 has no effect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 02:39 AM
04-28-2008 02:39 AM
Re: mkfx with option -o ninode=100 has no effect
:> mkfs -F vxfs -m /dev/vg00/lvol6
mkfs -F vxfs -o ninode=unlimited,bsize=8192,version=5,inosize=256,logsize=2048,largefiles /dev/vg00/lvol6 1048576
Just post the command you used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 02:56 AM
04-28-2008 02:56 AM
Re: mkfx with option -o ninode=100 has no effect
this is the command I used.
and the output is:
mkfs: /etc/default/fs is used for determining the file system type
version 6 layout
280231936 sectors, 280231936 blocks of size 1024, log size 16384 blocks
largefiles supported.
As you can see, it is like i dont'use the option -o ninode=10000.
When I do the same command on another system, I get:
mkfs: /etc/default/fs is used for determining the file system type
version 5 layout
419364864 sectors, 419364864 blocks of size 1024, log size 16384 blocks
100 inodes, largefiles supported
419364864 data blocks, 419242832 free data blocks
12798 allocation units of 32768 blocks, 32768 data blocks.
I see that it use the parameter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 03:32 AM
04-28-2008 03:32 AM
Re: mkfx with option -o ninode=100 has no effect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 03:35 AM
04-28-2008 03:35 AM
Re: mkfx with option -o ninode=100 has no effect
The apparent difference with both the systems is the second one uses version 5 and the first one is using version 6 layout.
What is the differnce with both the systems.
Please see:
man mkfs_hfs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 03:39 AM
04-28-2008 03:39 AM
Re: mkfx with option -o ninode=100 has no effect
man mkfs_vxfs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 04:19 AM
04-28-2008 04:19 AM
Re: mkfx with option -o ninode=100 has no effect
find / -name mkfs_vxfs
find / -name mkfs_hfs
No file has been founded.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 05:11 AM
04-28-2008 05:11 AM
Re: mkfx with option -o ninode=100 has no effect
> The apparent difference with both the systems is the second one uses version 5 and the first one is using version 6 layout.
>What is the differnce with both the systems.
Are both the systems same? Why on one it is
version 5
and
on the other
version 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 11:39 PM
04-28-2008 11:39 PM
Re: mkfx with option -o ninode=100 has no effect
root@carnot:/>what /usr/sbin/mkfs
/usr/sbin/mkfs:
$Revision: B11.23_LR
Fri Aug 29 21:16:05 PDT 2003 $
root@carnot:/>
On the other system:
root@mrh-ora2:/>what /usr/sbin/mkfs
/usr/sbin/mkfs:
$Revision: @(#) wrappers R11.23_BL2005_0504_3 PATCH_11.23 PHCO_32611
root@mrh-ora2:/>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2008 11:05 PM
04-29-2008 11:05 PM
Re: mkfx with option -o ninode=100 has no effect
If the HPUX VxFS4.1 feature bundles (FEATURE11i, EnableVxFS and Base-VXFS) are not installed, this product update will have no impact on your system.
http://www11.itrc.hp.com/service/patch/patchDetail.do?BC=main|search|patchDetail{PHCO_32611,{hpux:11.23,}}|&patchid=PHCO_32611&sel={hpux:11.23,}
Rgds.
Rasheed Tamton
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2008 11:54 PM
04-29-2008 11:54 PM
Re: mkfx with option -o ninode=100 has no effect
the patch you said is installed on the system that is not working. Mauro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 02:20 AM
04-30-2008 02:20 AM
Re: mkfx with option -o ninode=100 has no effect
Before you change, MAKE SURE that you have the BACKUP of the data resides on the LV. I would also recommend to unmount /mountpoint
Here I am using /dev/vg00/lvol9 for test:
/opt/VRTS/bin/mkfs -o version=5 /dev/vg00/lvol9
or
/sbin/mkfs -o version=5 /dev/vg00/lvol9
and then run mkfs with ninode option as you tried before.
or go to
-------------- reminder backup of the data ----
cd /sbin/fs/vxfs
and change the version to 4 or 5
./mkfs -o version=4 /dev/vg00/lvol9
./mkfs -o ninode=1000 /dev/vg00/lvol9
./mkfs -m /dev/vg00/lvol9
you can also change the version to 5 as below:
./mkfs -o version=5 /dev/vg00/lvol9
./mkfs -o ninode=1000 /dev/vg00/lvol9
./mkfs -m /dev/vg00/lvol9
/sbin/fs/vxfs:> ./mkfs -m /dev/vg00/lvol9
mkfs -F vxfs -o ninode=1000,bsize=1024,version=5,inosize=256,logsize=16384,nolargefiles /dev/vg00/lvol9 2129920
mount the LV.
bdf -i /mountpoint
Regards,
Rasheed Tamton.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 06:12 AM
04-30-2008 06:12 AM
Re: mkfx with option -o ninode=100 has no effect
I changed in /sbin/fs/vxfs
and :
./mkfs -o versione=5 -o ninode=100000 ....
and so on.
Your solution is working. Thank You , Ramsheed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2008 03:40 AM
05-01-2008 03:40 AM
Re: mkfx with option -o ninode=100 has no effect
Good to know it is solved. I am Rasheed not Ramsheed (without m). Hope you would assign points.
Regards,
Rasheed Tamton.