Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Upgrade RPM?
@ 2001-01-09 17:33 Robert M. Riches Jr.
  2001-01-17 21:12 ` Disk Optimization/Defrag for RH6.2? SteveCraft
  0 siblings, 1 reply; 14+ messages in thread
From: Robert M. Riches Jr. @ 2001-01-09 17:33 UTC (permalink / raw)
  To: axp-list, scraft

> Date: Tue, 9 Jan 2001 12:19:09 -0500 (EST)
> From: SteveCraft <scraft@nothinbut.net>
>
> I went to a rawhide distro site, and grabbed 
>
> rpm-4.0-4.4.alpha.rpm
> rpm-build-4.0-4.4.alpha.rpm
> rpm-devel-4.0-4.4.alpha.rpm
> rpm-python-4.0-4.4.alpha.rpm
> rpm2html-1.5-2.alpha.rpm
> rpmfind-1.6-2.alpha.rpm
> rpmlint-0.25-1.noarch.rpm
>
> but when I did a rpm -U rpm-4.0-4.4.alpha.rpm My RH 6.2 install said
>
> only packages with major numbers <= 3 are supported by this version of RPM
>
> .. so how do I update my RPM?  There are more than a few treats I want to
> try out..

Perhaps it would work to upgrade to 3.0.5-9.6x first, then
upgrade to 4.*.  Just yesterday, I downloaded the 3.0.5-9.6x
packages from Redhat and upgraded my 6.1 system.  I'm told the
3.0.5-9.6x packages can handle rpm v4 packages, so maybe a
two-step approach would work.  (Many thanks to Michal Jaegermann
for excellent advice.)

(No, I have not attempted the second part, from 3.0.5-9.6x to
4.*, so I cannot speak with certainty about that step.)

Good luck.

Robert Riches
richesr1@inetarena.com




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Disk Optimization/Defrag for RH6.2?
  2001-01-09 17:33 Upgrade RPM? Robert M. Riches Jr.
@ 2001-01-17 21:12 ` SteveCraft
  2001-01-18  0:53   ` Paul Allen
  0 siblings, 1 reply; 14+ messages in thread
From: SteveCraft @ 2001-01-17 21:12 UTC (permalink / raw)
  To: axp-list

I know my filesystems are fragmented.  Is there a preferred AXP tool out
there to re-order the disk?



Steve Craft
mailto:scraft@nothinbut.net




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Disk Optimization/Defrag for RH6.2?
  2001-01-17 21:12 ` Disk Optimization/Defrag for RH6.2? SteveCraft
@ 2001-01-18  0:53   ` Paul Allen
  2001-01-18 16:28     ` Reinier Bikker
  0 siblings, 1 reply; 14+ messages in thread
From: Paul Allen @ 2001-01-18  0:53 UTC (permalink / raw)
  To: axp-list

SteveCraft wrote:
> 
> I know my filesystems are fragmented.  Is there a preferred AXP tool out
> there to re-order the disk?

In an ext2 filesystem "fragmentation" is normal.  It is not the same
thing as the phenomenon with the same name seen on cruder platforms 
such as Windows.

The ext2 filesystem is designed to automatically keep the blocks of
a file near each other.  It will never become fragmented the way a
Windows disk will unless you defeat the mechanism by setting minfree
to zero and running the disk near full.  A "fragment" is a subset of
a filesystem block that is allocated at the very end of a file.  The
fragmentation percentage reported by fsck is talking about these ends
of files and does not indicate a performance problem.

The Windows filesystem allows blocks of a file to be allocated all 
over the disk, resulting in bad performance.  Since the filesystem is
too dumb to order file blocks sensibly, third-party defrag utilities 
have arisen to patch over the problem.

Filesystem fragmentation, like shared DLL's, executable email, and
the "registry" are Microsoft design flaws.  Microsoft refuses to even
acknowledge these flaws.  This is one of the reasons I use Unix rather
than Windows.

Paul Allen
-- 
Boeing Phantom Works                   \ Paul L. Allen, (425) 865-3297
Math & Computing Technology              \ paul.l.allen@boeing.com
POB 3707 M/S 7L-40, Seattle, WA 98124-2207 \ Prototype Systems Group




^ permalink raw reply	[flat|nested] 14+ messages in thread

* RE: Disk Optimization/Defrag for RH6.2?
@ 2001-01-18 14:40 Vanco, Donald
  0 siblings, 0 replies; 14+ messages in thread
From: Vanco, Donald @ 2001-01-18 14:40 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

> -----Original Message-----
> From: SteveCraft [mailto:scraft@nothinbut.net]
> Sent: Wednesday, January 17, 2001 4:13 PM
> To: axp-list@redhat.com
> Subject: Disk Optimization/Defrag for RH6.2?
> 
> 
> 
> I know my filesystems are fragmented.  Is there a preferred 
> AXP tool out
> there to re-order the disk?

	While I don't know that fragmentation is an issue under *NIX, I've
been told that you can get your files aligned in a contiguous fashion with a
full restore of a backup.  Seems like a risky proposition for little in
return....

Don




^ permalink raw reply	[flat|nested] 14+ messages in thread

* RE: Disk Optimization/Defrag for RH6.2?
@ 2001-01-18 14:51 Kevin Joubert
  2001-01-18 16:18 ` Greg Lindahl
  0 siblings, 1 reply; 14+ messages in thread
From: Kevin Joubert @ 2001-01-18 14:51 UTC (permalink / raw)
  To: axp-list

We used to do that on our old VMS workstations. It helped.


----Original Message Follows----
From: "Vanco, Donald" <VANCOD@PIOS.com>
Reply-To: axp-list@redhat.com
To: "'axp-list@redhat.com'" <axp-list@redhat.com>
Subject: RE: Disk Optimization/Defrag for RH6.2?
Date: Thu, 18 Jan 2001 09:40:30 -0500

 > -----Original Message-----
 > From: SteveCraft [mailto:scraft@nothinbut.net]
 > Sent: Wednesday, January 17, 2001 4:13 PM
 > To: axp-list@redhat.com
 > Subject: Disk Optimization/Defrag for RH6.2?
 >
 >
 >
 > I know my filesystems are fragmented.  Is there a preferred
 > AXP tool out
 > there to re-order the disk?

	While I don't know that fragmentation is an issue under *NIX, I've
been told that you can get your files aligned in a contiguous fashion with a
full restore of a backup.  Seems like a risky proposition for little in
return....

Don



_______________________________________________
Axp-list mailing list
Axp-list@redhat.com
https://listman.redhat.com/mailman/listinfo/axp-list

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com




^ permalink raw reply	[flat|nested] 14+ messages in thread

* RE: Disk Optimization/Defrag for RH6.2?
  2001-01-18 14:51 Kevin Joubert
@ 2001-01-18 16:18 ` Greg Lindahl
  0 siblings, 0 replies; 14+ messages in thread
From: Greg Lindahl @ 2001-01-18 16:18 UTC (permalink / raw)
  To: axp-list

> We used to do that on our old VMS workstations. It helped.

VMS's filesystem is completely different from traditional Unix filesystems,
and has different fragmentation properties.




^ permalink raw reply	[flat|nested] 14+ messages in thread

* RE: Disk Optimization/Defrag for RH6.2?
@ 2001-01-18 16:23 Kevin Joubert
  2001-01-18 17:11 ` SteveCraft
  0 siblings, 1 reply; 14+ messages in thread
From: Kevin Joubert @ 2001-01-18 16:23 UTC (permalink / raw)
  To: axp-list

Does that mean it won't help him?


----Original Message Follows----
From: "Greg Lindahl" <glindahl@hpti.com>
Reply-To: axp-list@redhat.com
To: <axp-list@redhat.com>
Subject: RE: Disk Optimization/Defrag for RH6.2?
Date: Thu, 18 Jan 2001 11:18:39 -0500

 > We used to do that on our old VMS workstations. It helped.

VMS's filesystem is completely different from traditional Unix filesystems,
and has different fragmentation properties.



_______________________________________________
Axp-list mailing list
Axp-list@redhat.com
https://listman.redhat.com/mailman/listinfo/axp-list

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Disk Optimization/Defrag for RH6.2?
  2001-01-18  0:53   ` Paul Allen
@ 2001-01-18 16:28     ` Reinier Bikker
  2001-01-19 22:20       ` Database Conspiracy PostgreSQL? SteveCraft
  0 siblings, 1 reply; 14+ messages in thread
From: Reinier Bikker @ 2001-01-18 16:28 UTC (permalink / raw)
  To: axp-list

On Wed, 17 Jan 2001, Paul Allen wrote:

: The ext2 filesystem is designed to automatically keep the blocks of
: a file near each other.  It will never become fragmented the way a
: Windows disk will unless you defeat the mechanism by setting minfree
: to zero and running the disk near full.  A "fragment" is a subset of
: a filesystem block that is allocated at the very end of a file.  The
: fragmentation percentage reported by fsck is talking about these ends
: of files and does not indicate a performance problem.
:

While all this is so very true, SteveCraft probably meant the
"non-contiguous files %" that fsck reports. That number actually is the
(internal) fragmentation, i.e. the percentage of files that have at least
one jump in their sequence of blocks. As this number says nothing about
how large these jumps are, it doesn't really tell how severe fragmentation
is. Ext2fs tries to avoid jumps, and tries to keep them small if
unavoidable.

This number therefore does not mean the same as the equivalent number a
certain less refined OS from Redmond reports. In practice you shouldn't
worry unless the percentage gets larger than 10 - 15%. You won't notice
fragmentation effects when loading binaries (page by page) to memory in a
multitasking, multiuser environment. You may notice the effects if you
sequentially read large files, though.

Note that, when using the default 1k blocks, having 8192 blocks per group
means that every file larger than 8 MB extends beyond one block group and
will be non-contiguous according to fsck. At home, I have a backup
partition containing large tar.gz's only. It's 100% fragmented ;-)


Reinier.




^ permalink raw reply	[flat|nested] 14+ messages in thread

* RE: Disk Optimization/Defrag for RH6.2?
  2001-01-18 16:23 Kevin Joubert
@ 2001-01-18 17:11 ` SteveCraft
  2001-01-18 17:33   ` Greg Lindahl
  2001-01-18 17:43   ` Michal Jaegermann
  0 siblings, 2 replies; 14+ messages in thread
From: SteveCraft @ 2001-01-18 17:11 UTC (permalink / raw)
  To: axp-list

My Apple II HD needs defrag/optimization, my Mac HD needs
defrag/optimization, and my Windoze boxes need defrag/optimization.  I
figured with the un/installation stuff that was happening on my system, a
good disk optimization would help, especially since I have a slow CPU and
slow HD.

Greg, what do you mean by "different fragmentation properties"?  I am
curious as to why if Linux/Unix is unfragmentable, Microsoft didn't steal
the idea for their own stuff.



On Thu, 18 Jan 2001, Kevin Joubert wrote:

`Does that mean it won't help him?
`
`
`----Original Message Follows----
`From: "Greg Lindahl" <glindahl@hpti.com>
`Reply-To: axp-list@redhat.com
`To: <axp-list@redhat.com>
`Subject: RE: Disk Optimization/Defrag for RH6.2?
`Date: Thu, 18 Jan 2001 11:18:39 -0500
`
` > We used to do that on our old VMS workstations. It helped.
`
`VMS's filesystem is completely different from traditional Unix filesystems,
`and has different fragmentation properties.
`
`
`
`_______________________________________________
`Axp-list mailing list
`Axp-list@redhat.com
`https://listman.redhat.com/mailman/listinfo/axp-list
`
`_________________________________________________________________
`Get your FREE download of MSN Explorer at http://explorer.msn.com
`
`
`
`_______________________________________________
`Axp-list mailing list
`Axp-list@redhat.com
`https://listman.redhat.com/mailman/listinfo/axp-list
`


Steve Craft
mailto:scraft@nothinbut.net




^ permalink raw reply	[flat|nested] 14+ messages in thread

* RE: Disk Optimization/Defrag for RH6.2?
  2001-01-18 17:11 ` SteveCraft
@ 2001-01-18 17:33   ` Greg Lindahl
  2001-01-18 17:43   ` Michal Jaegermann
  1 sibling, 0 replies; 14+ messages in thread
From: Greg Lindahl @ 2001-01-18 17:33 UTC (permalink / raw)
  To: axp-list

> Greg, what do you mean by "different fragmentation properties"?  I am
> curious as to why if Linux/Unix is unfragmentable, Microsoft didn't steal
> the idea for their own stuff.

The paper about the Berkeley FFS should be somewhere... ah, here it is:

M. McKusick, K. Bostic, M. Karels, J. Quarterman: The Design and
Implementation of the 4.4BSD Operating System; Addison-Wesley Publishing
Company, Reading, MA. April 1996, ISBN 0-201-54979-4.

or this is the original:

[McKusick et al. 1984] M. McKusick, W. Joy, S. Leffler, and R. Fabry. A Fast
File System for UNIX. ACM Transactions on Computer Systems, 2(3):181--197,
August 1984.

I can't find a copy online, however. It's well worth reading. Here are some
online references which discuss the overall issues:

http://citeseer.nj.nec.com/84157.html

-- g




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Disk Optimization/Defrag for RH6.2?
  2001-01-18 17:11 ` SteveCraft
  2001-01-18 17:33   ` Greg Lindahl
@ 2001-01-18 17:43   ` Michal Jaegermann
  1 sibling, 0 replies; 14+ messages in thread
From: Michal Jaegermann @ 2001-01-18 17:43 UTC (permalink / raw)
  To: axp-list

On Thu, Jan 18, 2001 at 12:11:33PM -0500, SteveCraft wrote:
> 
> Greg, what do you mean by "different fragmentation properties"?  I am
> curious as to why if Linux/Unix is unfragmentable, Microsoft didn't steal
> the idea for their own stuff.

Nobody said "Linux/Unix is unfragmentable" but that an explicit
defragmentation will rarely buy you anything or enough on ext2 ("rarely"
does not mean "never" but then rewriting a file system could be simpler
and more effective).

FAT file system, as used by MS-DOS, is very primitive.  This actually
has advantages on machines like the original IBM PC.  A simple code, low
overhead on a creation of new files, even if reading their contents may
get painful after a while, you can flip a big red switch any moment and
be relatively certain that a file system survived, and things like that.
But there are trade-offs, a need for periodic runs of 'defrag' is one of
these, and things like VFAT become later hairy hacks which will induce a
puke if you will look too close.  Still one has "back-compatibility" to
contend with.

Various Linux, and in general Unix, file system were designed with
different goals, a performance one of them, in mind.

  Michal




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Database Conspiracy PostgreSQL?
  2001-01-18 16:28     ` Reinier Bikker
@ 2001-01-19 22:20       ` SteveCraft
  2001-01-19 22:42         ` James Fowler
  0 siblings, 1 reply; 14+ messages in thread
From: SteveCraft @ 2001-01-19 22:20 UTC (permalink / raw)
  To: axp-list

I tried to install MySQL from the Alpha RPM and it refused to install.  So
I went to PostgreSQL and it complains a little during its
installation.  Have any of you guys using PostgreSQL had a problem like
this?

Check it out:


[root@peewee3 /tmp]# dir
-rw-r--r--    1 root     root      2050647 Jan 18 19:20
postgresql-7.0.3-2.alpha.rpm
-rw-r--r--    1 root     root       640476 Jan 18 19:20
postgresql-devel-7.0.3-2.alpha.rpm
-rw-r--r--    1 root     root       280727 Jan 18 19:20
postgresql-jdbc-7.0.3-2.alpha.rpm
-rw-r--r--    1 root     root       141318 Jan 18 19:20
postgresql-odbc-7.0.3-2.alpha.rpm
-rw-r--r--    1 root     root       953379 Jan 18 19:20
postgresql-server-7.0.3-2.alpha.rpm
-rw-r--r--    1 root     root      1037449 Jan 18 19:20
postgresql-test-7.0.3-2.alpha.rpm

[root@peewee3 /tmp]# rpm -i postgresql-7.0.3-2.alpha.rpm

[root@peewee3 /tmp]# rpm -i postgresql-server-7.0.3-2.alpha.rpm
/sbin/ldconfig: warning: can't open var/tmp/rpm-tmp.98180 (Not a
directory), skipping
/sbin/ldconfig: warning: can't open 1 (No such file or directory),
skipping

[root@peewee3 /tmp]# rpm -i postgresql-test-7.0.3-2.alpha.rpm

[root@peewee3 /tmp]# rpm -i postgresql-odbc-7.0.3-2.alpha.rpm

[root@peewee3 /tmp]# mkdir /var/tmp/rpm-tmp.98180

[root@peewee3 /tmp]# mkdir 1

[root@peewee3 /tmp]# rpm -i postgresql-server-7.0.3-2.alpha.rpm
package postgresql-server-7.0.3-2 is already installed

[root@peewee3 /tmp]# rpm -e postgresql-server-7.0.3-2

[root@peewee3 /tmp]# rpm -i postgresql-server-7.0.3-2.alpha.rpm
/sbin/ldconfig: warning: can't open var/tmp/rpm-tmp.20894 (Not a
directory), skipping
/sbin/ldconfig: warning: can't open 1 (No such file or directory),
skipping

[root@peewee3 /tmp]#

This is RH 6.2

Thanks.



Steve Craft
mailto:scraft@nothinbut.net




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Database Conspiracy PostgreSQL?
  2001-01-19 22:20       ` Database Conspiracy PostgreSQL? SteveCraft
@ 2001-01-19 22:42         ` James Fowler
  2001-01-19 23:29           ` John Jasen
  0 siblings, 1 reply; 14+ messages in thread
From: James Fowler @ 2001-01-19 22:42 UTC (permalink / raw)
  To: axp-list

I have MySQL installed and have been running it fine on my Alpha.  I had
to install it from a tar.gz file.  I think that I grabbed it from the
mySQL site.  It works fine here.
Thanks,
James


 On Fri, 19 Jan 2001, SteveCraft wrote:

> I tried to install MySQL from the Alpha RPM and it refused to install.  So
> I went to PostgreSQL and it complains a little during its
> installation.  Have any of you guys using PostgreSQL had a problem like
> this?
> 
> Check it out:
> 
> 
> [root@peewee3 /tmp]# dir
> -rw-r--r--    1 root     root      2050647 Jan 18 19:20
> postgresql-7.0.3-2.alpha.rpm
> -rw-r--r--    1 root     root       640476 Jan 18 19:20
> postgresql-devel-7.0.3-2.alpha.rpm
> -rw-r--r--    1 root     root       280727 Jan 18 19:20
> postgresql-jdbc-7.0.3-2.alpha.rpm
> -rw-r--r--    1 root     root       141318 Jan 18 19:20
> postgresql-odbc-7.0.3-2.alpha.rpm
> -rw-r--r--    1 root     root       953379 Jan 18 19:20
> postgresql-server-7.0.3-2.alpha.rpm
> -rw-r--r--    1 root     root      1037449 Jan 18 19:20
> postgresql-test-7.0.3-2.alpha.rpm
> 
> [root@peewee3 /tmp]# rpm -i postgresql-7.0.3-2.alpha.rpm
> 
> [root@peewee3 /tmp]# rpm -i postgresql-server-7.0.3-2.alpha.rpm
> /sbin/ldconfig: warning: can't open var/tmp/rpm-tmp.98180 (Not a
> directory), skipping
> /sbin/ldconfig: warning: can't open 1 (No such file or directory),
> skipping
> 
> [root@peewee3 /tmp]# rpm -i postgresql-test-7.0.3-2.alpha.rpm
> 
> [root@peewee3 /tmp]# rpm -i postgresql-odbc-7.0.3-2.alpha.rpm
> 
> [root@peewee3 /tmp]# mkdir /var/tmp/rpm-tmp.98180
> 
> [root@peewee3 /tmp]# mkdir 1
> 
> [root@peewee3 /tmp]# rpm -i postgresql-server-7.0.3-2.alpha.rpm
> package postgresql-server-7.0.3-2 is already installed
> 
> [root@peewee3 /tmp]# rpm -e postgresql-server-7.0.3-2
> 
> [root@peewee3 /tmp]# rpm -i postgresql-server-7.0.3-2.alpha.rpm
> /sbin/ldconfig: warning: can't open var/tmp/rpm-tmp.20894 (Not a
> directory), skipping
> /sbin/ldconfig: warning: can't open 1 (No such file or directory),
> skipping
> 
> [root@peewee3 /tmp]#
> 
> This is RH 6.2
> 
> Thanks.
> 
> 
> 
> Steve Craft
> mailto:scraft@nothinbut.net
> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
> 

------------------------------------------------------------------------------
James Fowler
Technology & Education					
jamesf@sequoia.net						ICQ: 22088266
-----------------------------------------------------------------------------





^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: Database Conspiracy PostgreSQL?
  2001-01-19 22:42         ` James Fowler
@ 2001-01-19 23:29           ` John Jasen
  0 siblings, 0 replies; 14+ messages in thread
From: John Jasen @ 2001-01-19 23:29 UTC (permalink / raw)
  To: axp-list

On Fri, 19 Jan 2001, James Fowler wrote:

> I have MySQL installed and have been running it fine on my Alpha.  I had
> to install it from a tar.gz file.  I think that I grabbed it from the
> mySQL site.  It works fine here.

I hacked apart and put back together the postgreSQL src rpm for
7.0/RedHat, and it runs just fine.

--
-- John E. Jasen (jjasen1@umbc.edu)
-- In theory, theory and practise are the same. In practise, they aren't.




^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2001-01-19 23:29 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-09 17:33 Upgrade RPM? Robert M. Riches Jr.
2001-01-17 21:12 ` Disk Optimization/Defrag for RH6.2? SteveCraft
2001-01-18  0:53   ` Paul Allen
2001-01-18 16:28     ` Reinier Bikker
2001-01-19 22:20       ` Database Conspiracy PostgreSQL? SteveCraft
2001-01-19 22:42         ` James Fowler
2001-01-19 23:29           ` John Jasen
  -- strict thread matches above, loose matches on Subject: below --
2001-01-18 14:40 Disk Optimization/Defrag for RH6.2? Vanco, Donald
2001-01-18 14:51 Kevin Joubert
2001-01-18 16:18 ` Greg Lindahl
2001-01-18 16:23 Kevin Joubert
2001-01-18 17:11 ` SteveCraft
2001-01-18 17:33   ` Greg Lindahl
2001-01-18 17:43   ` Michal Jaegermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox