Operating System - HP-UX
1752808 Members
5923 Online
108789 Solutions
New Discussion юеВ

Re: How to create filesystem with lower reserve space

 
SOLVED
Go to solution
dictum9
Super Advisor

How to create filesystem with lower reserve space

11.23

I know by default, the reserve space is 10% but I want it to be 1%

What option do I use?
13 REPLIES 13
Patrick Wallek
Honored Contributor
Solution

Re: How to create filesystem with lower reserve space

What type of file system are you creating?

HFS
VxFS
Something else?

For information check the man page for the newfs and/or mkfs command for the file system type you want to create.

For example:

man newfs_hfs
man newfs_vxfs
man mkfs_hfs
man mkfs_vxfs
dictum9
Super Advisor

Re: How to create filesystem with lower reserve space

-F vxfs
Pete Randall
Outstanding Contributor

Re: How to create filesystem with lower reserve space

I, at least, am going to need more information. The only way I know of to create a file system is by using the newfs command and the newfs command says absolutely nothing about reserve space.

What are you referring to? Which command? What type of "filesystem"?


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: How to create filesystem with lower reserve space

Hi:

I would assume that you are referring to the 'minfree' value for HFS filesystems. This is set during a 'newfs' but can be changed with 'tunefs'. HFS filesystems are deprecated.

Regards!

...JRF...
Pete Randall
Outstanding Contributor

Re: How to create filesystem with lower reserve space

OK, vxfs. However, I know of no "reserve" in vxfs so I'm still confused. Can you be more specific?


Pete

Pete
dictum9
Super Advisor

Re: How to create filesystem with lower reserve space

These have higher reserve space (10%)

# fstyp -v /dev/vgdevsap/lvol70
vxfs
version: 5
f_bsize: 8192
f_frsize: 1024
f_blocks: 18432000
f_bfree: 18410945
f_bavail: 17260261
f_files: 4603024
f_ffree: 4602736
f_favail: 4602736
f_fsid: 1073807429
f_basetype: vxfs
f_namemax: 254
f_magic: a501fcf5
f_featurebits: 0
f_flag: 0
f_fsindex: 9
f_size: 18432000


these have lower reserve space of 1%

# fstyp -v /dev/vgdevsap/lvol51
vxfs
version: 5
f_bsize: 8192
f_frsize: 1024
f_blocks: 13631488
f_bfree: 540014
f_bavail: 506264
f_files: 135544
f_ffree: 135000
f_favail: 135000
f_fsid: 1073807410
f_basetype: vxfs
f_namemax: 254
f_magic: a501fcf5
f_featurebits: 0
f_flag: 0
f_fsindex: 9
f_size: 13631488
sapdev01:/#


How do I adjust this reserve space, nothing in the man page on newfs mentions it.
James R. Ferguson
Acclaimed Contributor

Re: How to create filesystem with lower reserve space

Hi (again):

> How do I adjust this reserve space, nothing in the man page on newfs mentions it

That's because there is no way to do this for a VxFS filesystem. A filesystem reorganization (with 'fsadm') may change the value you calculate but that's it.

Regards!

...JRF...
dictum9
Super Advisor

Re: How to create filesystem with lower reserve space

I don't see any such option in fsadm either.

Patrick Wallek
Honored Contributor

Re: How to create filesystem with lower reserve space

I don't think JRF didn't mean that you could **change** the value by using 'fsadm'. I think he meant that the value that is calculated may change after reorganizing the filesystem with fsadm.

In looking at your fstyp output, I don't understand where you are getting the 10% & 1% reserve figures.