Sponsored Content
Full Discussion: rpm and file system
Top Forums UNIX for Dummies Questions & Answers rpm and file system Post 33458 by RTM on Monday 6th of January 2003 02:24:17 PM
Old 01-06-2003
That option is ignored in Solaris.

From Sunsolve:

Quote:
Infodoc ID Synopsis Date
13673 ADMIN UFS: how to check what rotational delay and RPM value was set for (newfs -r ) 17 Jun 2002

Description Top

To check what the rotational delay of a disk was set at when newfs'd, do:

/usr/lib/fs/ufs/fstyp -v /dev/rdsk/cXtXdXsX | egrep rps

(where cXtXdXsX is the slice containing the filesystem in question i.e.: c0t0s0s7)

maxcontig 7 rotdelay 0ms rps 90


The formula for calculating rpm is rps*60=rpm.

This disk was newfs'd with a rotational delay of 5400.

i.e.: rps 90 X 60 rpm = 5400

You should see rps 120 if the slice was newfs'd with -r 7200.

Keywords: troubleshooting, ufs

NOTICE:
the above mentioned parameters are obsolete tuning parameters.
These are left over from the days when disk controllers
couldn't read back-to-back blocks done in separate requests
due to lack of buffering. Tuning rpm and rotational delay parameters on today's
drives will cause ufs to interleave which will only slow things down.
Disks/RAID boxes have plenty of buffering these days.

Here are the specifics of what those values do:
The rpm value is only used if rotational delay is also
set to non-zero. If rotational delay is set ("gap" in mkfs),
then ufs will use rpm to determine how many blocks to interleave
when it allocates logically sequential blocks in a file.
This will subvert the ufs "clustering" algorithm that
coalesces adjacent IOs into 1 big IO. This is bad.
Newfs/mkfs default is to disable this stuff.

Also, newfs does not support RPM values of 10,000 or higher.
 

10 More Discussions You Might Find Interesting

1. Linux

Failed dependencies of rpm / how does RPM check for ?

Hey, I've a problem installing a package. rpm -ivh brings the errors: libjvm.so is needed by libverify.so is needed by But I have installed the Java SDK like requested and the files are on the disk. But I have no idea how to find out, why rpm cann't find them. I have also... (2 Replies)
Discussion started by: mod
2 Replies

2. UNIX for Dummies Questions & Answers

Solaris - Can it install RPM file?

Currently i just installed solaris 10 now i want to install a package in rpm format which i used to install in Linux can it install in Solaris 10 as well ? if yes,what is the command ? last time in linux i used to type this command #rpm -i xxxxx.rpm but i tried in linux it not... (3 Replies)
Discussion started by: bluefries
3 Replies

3. Linux

Converting source rpm to binary rpm

Hi, I need to install an rpm file,but I only have '.src.rpm' version of it. I want to convert it to a binary rpm. so I tried this rpm --rebuild somethin.src.rpm But I am gettin '--rebuild:Invalid option' as output Is there another way to rebuild source rpm.? Thanks in... (2 Replies)
Discussion started by: eamani_sun
2 Replies

4. SuSE

How to install .src.rpm ? ( source rpm )

Hi, I have got few RPM's from rpmfind.net ( mainly gcc ). But it seems to be src files instead of the image. so I think we have to build the src files according to target machine using rpmbuild. Can any one help me with 1) Various options of rpm build that have to be taken care 2)... (3 Replies)
Discussion started by: Sivaswami
3 Replies

5. Shell Programming and Scripting

Extract RPM name from path to .rpm file

It's the end of the day and I just can't get my head around this. I'm trying to extract just the name of the RPM from the path to a .rpm file. So from: /home/me/rpm/RPMS/i386/nagios-our-plugins-1.2-6.i386.rpmI need to extract 'nagios-our-plugins'. I can't get the awk syntax right: awk '{... (5 Replies)
Discussion started by: aussieos
5 Replies

6. Shell Programming and Scripting

Need help writing RPM .spec file

I'm new to this. This installer just installs PHP code so NOTHING needs to be built (do I still need to use the build and buildroot directories?). I would just like to create an installer (spec) that: 1) unpacks a tarball 2) moves the unpacked files to the installation target 3) runs a script... (2 Replies)
Discussion started by: stevenswj
2 Replies

7. Shell Programming and Scripting

How to make RPM not write to RPM database if RPM fails to deploy?

How to make RPM not write to RPM database if RPM fails to deploy? IE I create an rpm spec file that contains the following if then exit 1 fi My rpm will fail at deployment, but if I do rpm -qa , I can see the rpm in the rpm db (3 Replies)
Discussion started by: 3junior
3 Replies

8. Red Hat

How to remove 32/64 bit RPM's from your system

Hi, I have a 64-bit RHEL 5.5. In order to make a particular product work I want to uninstall some rpms which is specific to 64 bit. Wondering if anyone has a way how to remove the 64-bit rpm without disturbing the i386 rpms. What I find when I googled is all are removing forcefully, but... (2 Replies)
Discussion started by: dbashyam
2 Replies

9. AIX

Rpm issue with autoconf-2.63-1.AIX6.1.noarch.rpm

dears i am trying to install the autoconf-2.63-1.aix6.1.noarch.rpm but its shows the below error message . P700_dev/svn/dependencies>rpm -i autoconf-2.63-1.aix6.1.noarch.rpm error: failed dependencies: m4 is needed by autoconf-2.63-1 P700_dev/svn/dependencies> (6 Replies)
Discussion started by: thecobra151
6 Replies

10. AIX

[Tip] Problem with rpm ("different operating system")

I have once experienced this problem without understanding what caused it but now learned thatn there is even a PMR dealing with it. Sometimes it happens that you encounter the following (rather cryptical) error message when trying to install an rpm-package: package <rpm_package_name> is for a... (1 Reply)
Discussion started by: bakunin
1 Replies
RPMSPEC(8)						      System Manager's Manual							RPMSPEC(8)

NAME
       rpmspec - RPM Spec Tool

SYNOPSIS
   QUERYING SPEC FILES:
       rpmspec {-q|--query} [select-options] [query-options] SPEC_FILE ...

   select-options
	[--rpms]
	[--srpms]

   query-options
	[--qf,--queryformat QUERYFMT]
	[--target TARGET_PLATFORM]

   QUERY OPTIONS
       The general form of an rpm spec query command is

       rpm {-q|--query} [select-options] [query-options]

       You may specify the format that the information should be printed in. To do this, you use the

	--qf|--queryformat QUERYFMT

       option, followed by the QUERYFMT format string.	See rpm(8) for details.

   SELECT OPTIONS
	--rpms Operate on the binary package header(s).
	--srpm Operate on the source package header(s).

SEE ALSO
       popt(3),
       rpm(8),
       rpmdb(8),
       rpmkeys(8),
       rpmsign(8),
       rpm2cpio(8),
       rpmbuild(8),

       rpmspec	--help - as rpm supports customizing the options via popt aliases it's impossible to guarantee that what's described in the manual
       matches what's available.

       http://www.rpm.org/ <URL:http://www.rpm.org/>

AUTHORS
       Marc Ewing <marc@redhat.com>
       Jeff Johnson <jbj@redhat.com>
       Erik Troan <ewt@redhat.com>
       Panu Matilainen <pmatilai@redhat.com>

Red Hat, Inc							  29 October 2010							RPMSPEC(8)
All times are GMT -4. The time now is 09:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy