Re: How do you e2defrag?

1998-03-11 Thread Nelson Posse Lago
On Wed, 11 Mar 1998, Mark Phillips wrote:

> /dev/hda1: 37745/208896 files (6.0% non-contiguous), 733081/833584 blocks
> 
> Does this mean that 6 percent of the files are fragmented, or that 6
> percent of my total disk space is fragmented?  I presume this means my
> disk is not too bad? 

I don't know the answer to the first queston, but I suppose that "6%
non-continuous" refers to the files. The answer to the second question
is "yes" :-)

See ya,
Nelson
[EMAIL PROTECTED]
That's Internet!


--
E-mail the word "unsubscribe" to [EMAIL PROTECTED]
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to [EMAIL PROTECTED] .


Re: How do you e2defrag?

1998-03-10 Thread Nelson Posse Lago
On Tue, 10 Mar 1998, Mark Phillips wrote:

> I have debian installed on a single partition, a partition which
> I suspect is greatly fragmented (is there an easy way to tell?).  I wish
> to use the program e2defrag to defragment it, but have realized this could
> be more difficult than I first thought.

Linux usually is smart enough to prevent partitions from being too
fragmented, so defragmenting is usually unecessary; if you run e2fsck -n,
it will not alter your filesystem in any way (so you don't need to umount
it first) and report the fragmentation. From my box, which has been nearly
full and has not been defrag'd since it was born several months ago:

/dev/hda1: 35420/266240 files (6.0% non-contiguous), 801757/1064416 blocks

> I see that the partition will need to be dismounted first, which puts me
> in a catch 22 situation.

Try going into single-user mode (init S); then 'mount -n o,remount,ro /'
so the filesystem is  read-only. After defragmenting,
'mount -n -o,remount,rw /' and "init 2" to go back to multi-user mode.
NOTE: This is all "theoretical", meaning I've never tried it by myself.
Specially the "init S" doesn't seem to do exactly what I expected...

See ya,
Nelson
[EMAIL PROTECTED]
That's Internet!


--
E-mail the word "unsubscribe" to [EMAIL PROTECTED]
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to [EMAIL PROTECTED] .


Re: How do you e2defrag?

1998-03-09 Thread Luiz Otavio L. Zorzella
Ben Pfaff writes:

>I have debian installed on a single partition, a partition which
>I suspect is greatly fragmented (is there an easy way to tell?).  I wish
>to use the program e2defrag to defragment it, but have realized this could
>be more difficult than I first thought.

> You say you have a single partition, but it's possible you're
> forgetting a swap partition.  If you do have a (large-enough) swap
> partition, then you can install Linux to it and run defrag from
> there.

Wouldn't it work to start the system in single user mode (which makes
/ read-only mounted)? Can defrag run in a read-only mounted partition?

> Or maybe you could just make up a boot/root disk with defrag utils on
> it.


> --
> E-mail the word "unsubscribe" to [EMAIL PROTECTED]
> TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to [EMAIL PROTECTED] .

-- 
Luiz Otavio L. Zorzella Product Engineer
[EMAIL PROTECTED]  http://www.conexware.com


--
E-mail the word "unsubscribe" to [EMAIL PROTECTED]
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to [EMAIL PROTECTED] .


Re: How do you e2defrag?

1998-03-09 Thread Ben Pfaff
   I have debian installed on a single partition, a partition which
   I suspect is greatly fragmented (is there an easy way to tell?).  I wish
   to use the program e2defrag to defragment it, but have realized this could
   be more difficult than I first thought.

You say you have a single partition, but it's possible you're
forgetting a swap partition.  If you do have a (large-enough) swap
partition, then you can install Linux to it and run defrag from
there.

Or maybe you could just make up a boot/root disk with defrag utils on
it.


--
E-mail the word "unsubscribe" to [EMAIL PROTECTED]
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to [EMAIL PROTECTED] .