1834625 Members
3195 Online
110069 Solutions
New Discussion

Re: inode on 11.31

 
Joao Rei
Frequent Advisor

inode on 11.31

Hi,

This is a 11.31 ia64 system.

I've create a 550000 MB filesystem:

newfs -F vxfs -o largefiles /dev/eva01/rpsapd

Now I see from the bdf output that the (used + avail) space is 35000 MB less than Total kbytes.

I suppose this is because of the huge number of inodes created (256 bytes each, millions of them).

The question is:

How can I limit the number of inodes on this filesystem. I just need a few hundreds.

I'm "loosing" 35GB of disk space.

Thanks,

Best Regards,

Joao Rei
5 REPLIES 5
Robert-Jan Goossens
Honored Contributor

Re: inode on 11.31

Hi Joao,

Could oyu post the output of

# lvdisplay -v cev/eva01/psapd

# bdf | grep /dev/eva01/

Regards,
Robert-Jan
Robert-Jan Goossens
Honored Contributor

Re: inode on 11.31

Hi Joao,

Could oyu post the output of

# lvdisplay -v /dev/eva01/psapd

# bdf | grep /dev/eva01/

Regards,
Robert-Jan
Joao Rei
Frequent Advisor

Re: inode on 11.31

This is the output:

#bdf

/dev/eva4r0v1/psapd
563200000 155127 527854576 0% /oracle/psapd

#bdf -i

/dev/eva4r0v1/psapd
563200000 155127 527854576 0% 4 140761216 0% /oracle/psapd


#df -k
/oracle/psapd (/dev/eva4r0v1/psapd ) : 528009703 total allocated Kb
527854576 free allocated Kb
155127 used allocated Kb
1 % allocation used


# lvdisplay /dev/eva4r0v1/psapd
--- Logical volumes ---
LV Name /dev/eva4r0v1/psapd
VG Name /dev/eva4r0v1
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 550000
Current LE 34375
Allocated PE 34375
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation PVG-strict/distributed
IO Timeout (Seconds) default

Regards,

Joao Rei
Robert-Jan Goossens
Honored Contributor

Re: inode on 11.31

Hi,

/dev/eva4r0v1/psapd
563200000 155127 527854576 0% /oracle/psapd

527854576/1024 = 515482,984375 -> 50GB

This quit normal, veritas filesystem(vxfs) will use about 8 % for administration.

Best regards,
Robert-Jan
Andre Braganca
Frequent Advisor

Re: inode on 11.31

If you are using that filesystem for a database you won't be needing millions of inodes, just a few hundred. 35GB seems to be a lot of wasted space!!

In previous versions of hpux, I have an ideia that it was possible to limit the number of inodes using newfs. But on 11.31 it seems to be now an invalid option. Perhaps some guru on this forum can help you ...

Regards,
Andre
Don't forget to breathe ...