Re: ext3-f2 warning: maximal mount count reached

2003-08-08 Thread Hue-Bond
Andres Seco Hernandez, [EMAIL PROTECTED]:54:26(+0200):

Esa info se guarda en la propia partición (bueno, o en /etc/fstab, no
se)

Se guarda en el superbloque (y en todas sus copias, claro).


-- 
 David Serrano



Re: ext3-f2 warning: maximal mount count reached

2003-08-07 Thread Andres Seco Hernandez
No pasa nada, solo que el contador de veces que montas la partición
hasta que te recomienda ejecutar e2fsck ha sido alcanzado.

Yo con ext3 no he tenido que chequear nunca una partición, de hecho,
desactivo ese contador con

tune2fs -c0 -i0 /dev/hda1

El 07 Aug 2003 a las 03:39PM +0200, Richard Espinoza escribio:
 Hola listeros,
 
 en mis logs del sistema, me he encontrado con esto:
 
 kernel: ext3-f2 warning: maximal mount count reached, running e2fsck is
 recommended
 kernel: ext3 fs 2.4-0.9.19, 19 august 2002 on sd(8,5), internal journal
 kernel: ext3-fs: mounted fisystem with ordered data mode.
 
 Y me gustaria saber (si es que alguien lo sabe), si es algun problema y
 como lo puedo corregir.
 
 Saludos,
 Richard Espinoza.
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
Andres Seco Hernandez - http://andressh.alamin.org - [EMAIL PROTECTED]
GnuPG public information: pub 1024D/3A48C934
E61C 08A9 EBC8 12E4 F363  E359 EDAC BE0B 3A48 C934
http://www.alamin.org http://www.debian.org http://gulalcarria.org
http://objetivo.alamin.org http://guadawireless.net http://www.redlibre.net
---
Por favor, NO utilice formatos de archivo propietarios para el intercambio
de documentos, como DOC y XLS, sino HTML, RTF, TXT, CSV o cualquier otro
que no obligue a utilizar un programa de un fabricante concreto.



Re: ext3-f2 warning: maximal mount count reached

2003-08-07 Thread Hue-Bond
Andres Seco Hernandez, [EMAIL PROTECTED]:43:17(+0200):

Yo con ext3 no he tenido que chequear nunca una partición, de hecho,
desactivo ese contador

Pues yo creo que si está ahí es por algo y pienso que merece mucho más la
pena esperar unos minutos cada varios meses que llevarse un susto cuando uno
menos se lo espere. Para gustos hay colores, supongo.


-- 
 David Serrano



Re: ext3-f2 warning: maximal mount count reached

2003-08-07 Thread Andres Seco Hernandez
Bueno, supongo que por algo estará, pero en algunos casos, un fsck te
puede durar mucho mucho rato, y en una partición gorda gorda un chequeo
automático de estos tras un reinicio por cambio de, por ejemplo, el
nucleo, te puede dejar con cara de sorpresa esperando un par de horitas
sin tener el servidor operativo ¡¡sin haber tenido ningun problema y sin
fallos que hayan provocado ese chequeo!!

Otra cosa es que quieras chequearlo manualmente en algún momento
concreto que no te estorbe.

El 07 Aug 2003 a las 04:27PM +0200, Hue-Bond escribio:
 Andres Seco Hernandez, [EMAIL PROTECTED]:43:17(+0200):
 
 Yo con ext3 no he tenido que chequear nunca una partición, de hecho,
 desactivo ese contador
 
 Pues yo creo que si está ahí es por algo y pienso que merece mucho más la
 pena esperar unos minutos cada varios meses que llevarse un susto cuando uno
 menos se lo espere. Para gustos hay colores, supongo.

-- 
Andres Seco Hernandez - http://andressh.alamin.org - [EMAIL PROTECTED]
GnuPG public information: pub 1024D/3A48C934
E61C 08A9 EBC8 12E4 F363  E359 EDAC BE0B 3A48 C934
http://www.alamin.org http://www.debian.org http://gulalcarria.org
http://objetivo.alamin.org http://guadawireless.net http://www.redlibre.net
---
Por favor, NO utilice formatos de archivo propietarios para el intercambio
de documentos, como DOC y XLS, sino HTML, RTF, TXT, CSV o cualquier otro
que no obligue a utilizar un programa de un fabricante concreto.



Re: ext3-f2 warning: maximal mount count reached

2003-08-07 Thread Gunnar Wolf
Andres Seco Hernandez dijo [Thu, Aug 07, 2003 at 06:58:12PM +0200]:
 Bueno, supongo que por algo estará, pero en algunos casos, un fsck te
 puede durar mucho mucho rato, y en una partición gorda gorda un chequeo
 automático de estos tras un reinicio por cambio de, por ejemplo, el
 nucleo, te puede dejar con cara de sorpresa esperando un par de horitas
 sin tener el servidor operativo ¡¡sin haber tenido ningun problema y sin
 fallos que hayan provocado ese chequeo!!
 
 Otra cosa es que quieras chequearlo manualmente en algún momento
 concreto que no te estorbe.

Para evitar eso, yo lo tengo a intervalos diferentes en cada partición -
Cada 30 días para la primera, creciendo hasta cada 40 días para la
última. 

Saludos,

-- 
Gunnar Wolf - [EMAIL PROTECTED] - (+52-55)5630-9700 ext. 1366
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973  F800 D80E F35A 8BB5 27AF



Re: ext3-f2 warning: maximal mount count reached

2003-08-07 Thread Richard Espinoza
El Thu, 07 Aug 2003 20:20:08 +0200, Gunnar Wolf escribió:

 Para evitar eso, yo lo tengo a intervalos diferentes en cada partición -
 Cada 30 días para la primera, creciendo hasta cada 40 días para la
 última. 
 
 Saludos,

Hola,

y como hago para hacer eso que me recomiendas?

saludos,
Richard Espinoza



Re: ext3-f2 warning: maximal mount count reached

2003-08-07 Thread Richard Espinoza
El Thu, 07 Aug 2003 15:50:10 +0200, Andres Seco Hernandez escribió:

 Yo con ext3 no he tenido que chequear nunca una partición, de hecho,
 desactivo ese contador con
 
 tune2fs -c0 -i0 /dev/hda1

Y donde se aplicaria para que se realizara?
En alguna carpeta especial o solo como root en una simple shell?

saludos,
Richard Espinoza



Re: ext3-f2 warning: maximal mount count reached

2003-08-07 Thread Richard Espinoza
El Thu, 07 Aug 2003 16:30:16 +0200, Hue-Bond escribió:

 Pues yo creo que si está ahí es por algo y pienso que merece mucho más la
 pena esperar unos minutos cada varios meses que llevarse un susto cuando uno
 menos se lo espere. Para gustos hay colores, supongo.

Disculpa mi ignorancia, pero como aplico ecfsk?

Saludos,
Richard Espinoza



Re: ext3-f2 warning: maximal mount count reached

2003-08-07 Thread Hue-Bond
Richard Espinoza, [EMAIL PROTECTED]:08:35(+0200):

El Thu, 07 Aug 2003 20:20:08 +0200, Gunnar Wolf escribió:

 Para evitar eso, yo lo tengo a intervalos diferentes en cada partición -
 Cada 30 días para la primera, creciendo hasta cada 40 días para la
 última. 

y como hago para hacer eso que me recomiendas?

Con tune2fs. Consulta el man.


-- 
 David Serrano



Re: ext3-f2 warning: maximal mount count reached

2003-08-07 Thread Andres Seco Hernandez
Esa info se guarda en la propia partición (bueno, o en /etc/fstab, no
se) ,pero no hay nada más que hacerlo una vez.

El 07 Aug 2003 a las 10:10PM +0200, Richard Espinoza escribio:
 El Thu, 07 Aug 2003 15:50:10 +0200, Andres Seco Hernandez escribió:
 
  Yo con ext3 no he tenido que chequear nunca una partición, de hecho,
  desactivo ese contador con
  
  tune2fs -c0 -i0 /dev/hda1
 
 Y donde se aplicaria para que se realizara?
 En alguna carpeta especial o solo como root en una simple shell?
 
 saludos,
 Richard Espinoza
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
Andres Seco Hernandez - http://andressh.alamin.org - [EMAIL PROTECTED]
GnuPG public information: pub 1024D/3A48C934
E61C 08A9 EBC8 12E4 F363  E359 EDAC BE0B 3A48 C934
http://www.alamin.org http://www.debian.org http://gulalcarria.org
http://objetivo.alamin.org http://guadawireless.net http://www.redlibre.net
---
Por favor, NO utilice formatos de archivo propietarios para el intercambio
de documentos, como DOC y XLS, sino HTML, RTF, TXT, CSV o cualquier otro
que no obligue a utilizar un programa de un fabricante concreto.



Re: Maximal Mount Count

1999-03-11 Thread Mike Merten
On Wed, Mar 10, 1999 at 07:05:25PM +, Paul Puri wrote:
 
 Now I have three partitions of equal size (1Gb).  Yet, now I fear a 
 problem coming on.  My first partition is 11% filled, my 2nd partition 
 contains only /usr and is 88% to capacity, and the last has /home 
 which is %15 percent (due to monsterous soffice install).  
 
 Is there a command in fdisk or someother app that will allow my 2nd 
 partion (88% /usr) to grow if need be?  
 
 Rather, what can I do to ensure that /usr can have more room to grow.
 
 12% percent is not enough.  I doubt /home will ever need 1gb.  Thanks.
 
Hmm...  yes, this is the reason I ended up having to rearrange my
partitions.  I had configured a 500M /, 500M /usr, 500M /var, which
left me with a 1.8G that I used for /pub.  I also had a 500M dos 
partition on the same drive.  Needless to say, I started running out
of space on /usr.  Well, I had some other problems, and a local mirror
of hamm on /pub, so I reinstalled.  During the process, I shrank the /var
to 400M and increased /usr to 600M.  It only helped temporarily.  Even
symlinking /usr/local to /var/local, and /usr/src to /pub/src, I soon
ran short of space in /usr.  Since slink was released, I didn't have 
any use for my hamm mirror, so I deleted it and rearranged my partitions
as shown below (no symlinks used):

(I found a better use for the 500M dos partition too ;)

FilesystemSize  Used Avail Use% Mounted on
/dev/hdb2 486M   43M  418M   9% /
/dev/hdb7 1.8G  576M  1.1G  34% /usr
/dev/hdb6 395M   39M  336M  10% /var
/dev/hdb5 577M   56M  491M  10% /pub
/dev/hdb1 486M   15k  461M   0% /home/ftp

Some of the problems I had in estimating the size needed for the
partitions came from my experience with SCO... They tend to install
every package in it's own subdirectory in /opt, and symlink everything
out to the /usr tree.  I guess they figure it makes their packages 
easier to manage that way.

AFAIK, if you don't have additional partitions to work with, you're
pretty much stuck with symlinking things around, unless your willing
to reinstall / repartition.

Mike

-- 
Mike Merten
[EMAIL PROTECTED]
ICQ# 28460680


Maximal Mount Count

1999-03-10 Thread Paul Nathan Puri
The main partition of my laptop is at 96%.

It is a 1gig partition.  I have two others on this same machine.

What can I do to move stuff to these other partitions so that my 1st
partition will not be so loaded down.  I would like to install more
software there?

What directory trees can safely be moved to another partition?

NatePuri
Certified Law Student
 Debian GNU/Linux Monk
McGeorge School of Law
[EMAIL PROTECTED]
http://ompages.com


Re: Maximal Mount Count

1999-03-10 Thread servis
*- On  9 Mar, Paul Nathan Puri wrote about Maximal Mount Count
 The main partition of my laptop is at 96%.
 
 It is a 1gig partition.  I have two others on this same machine.
 
 What can I do to move stuff to these other partitions so that my 1st
 partition will not be so loaded down.  I would like to install more
 software there?
 
 What directory trees can safely be moved to another partition?
 

Most commonly /usr, /var, /home and /opt(not really used yet in 
Debian) are each on their own partitions.  Do a 'du -sm /usr', etc. to
see how many megs each tree is taking up so you can judge how much
space to give the new partion, with room to grow of course.

-- 
Brian 
-
Never criticize anybody until you have walked a mile in their shoes,  
 because by that time you will be a mile away and have their shoes. 
   - unknown  

Mechanical Engineering[EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: Maximal Mount Count

1999-03-10 Thread Andrei Ivanov
 It is a 1gig partition.  I have two others on this same machine.

Ok, make your partitions ready for linux (ext2 fs, etc).
 
 What can I do to move stuff to these other partitions so that my 1st
 partition will not be so loaded down.  I would like to install more
 software there?

Then what you can do is split your major directories into separate
partitions. Like, /usr can have it's own partition,
/home can have it's own partition. All you do for it is copy the files
over to those new partitions from old directories, and then edit
/etc/fstab to indicate where to mount those partitions to.
For example, if you are creating a new partition /dev/hda2
and you want to put /usr on it, you copy the files from your old /usr onto
the /dev/hda2, and add a line to /etc/fstab to tell that /usr is to
mounted to /dev/hda2

 What directory trees can safely be moved to another partition?

/usr
/home
/var

Andrew
---
 Andrei S. Ivanov  
 [EMAIL PROTECTED]   
 UIN 12402354  
 http://members.tripod.com/AnSIv   --Little things for Linux.


Re: Maximal Mount Count

1999-03-10 Thread Paul Puri
What is the command that I use to mv /usr to /dev/hda2?  

I tried 'mv /usr /hda2/usr', but that gave me the error, 'mv:  cannot 
move '/usr' across filesystems:  Not a regular file.

Thank you...

 Original Message 

On 3/9/99, 5:52:08 PM, Andrei Ivanov [EMAIL PROTECTED] wrote 
regarding Re: Maximal Mount Count:


  It is a 1gig partition.  I have two others on this same machine.

 Ok, make your partitions ready for linux (ext2 fs, etc).
 
  What can I do to move stuff to these other partitions so that my 1st
  partition will not be so loaded down.  I would like to install more
  software there?

 Then what you can do is split your major directories into separate
 partitions. Like, /usr can have it's own partition,
 /home can have it's own partition. All you do for it is copy the files
 over to those new partitions from old directories, and then edit
 /etc/fstab to indicate where to mount those partitions to.
 For example, if you are creating a new partition /dev/hda2
 and you want to put /usr on it, you copy the files from your old /usr 
onto
 the /dev/hda2, and add a line to /etc/fstab to tell that /usr is to
 mounted to /dev/hda2

  What directory trees can safely be moved to another partition?

 /usr
 /home
 /var

 Andrew
 
---

  Andrei S. Ivanov
  [EMAIL PROTECTED]
  UIN 12402354
  http://members.tripod.com/AnSIv   --Little things for Linux.




Re: Maximal Mount Count

1999-03-10 Thread Paul Puri


 Original Message 

On 3/9/99, 6:32:06 PM, Shao Zhang [EMAIL PROTECTED] wrote regarding Re: 
Maximal Mount Count:


 Paul Puri wrote:

  What is the command that I use to mv /usr to /dev/hda2?
 
  I tried 'mv /usr /hda2/usr', but that gave me the error, 'mv:  cannot
  move '/usr' across filesystems:  Not a regular file.
 
  Thank you...
 

   did you mount your /dev/hda2 on /hda2?? If you did, you may try cp 
-R after that,
 you can then delete the /usr


I typed, 'cp -R /usr /hda2/usr

It is in the process of copying

When it done, what can I do to make /hda2/usr, just plain /usr?


 
   Original Message 
 
  On 3/9/99, 5:52:08 PM, Andrei Ivanov [EMAIL PROTECTED] wrote
  regarding Re: Maximal Mount Count:
 
It is a 1gig partition.  I have two others on this same machine.
 
   Ok, make your partitions ready for linux (ext2 fs, etc).
   
What can I do to move stuff to these other partitions so that my 1st
partition will not be so loaded down.  I would like to install more
software there?
 
   Then what you can do is split your major directories into separate
   partitions. Like, /usr can have it's own partition,
   /home can have it's own partition. All you do for it is copy the files
   over to those new partitions from old directories, and then edit
   /etc/fstab to indicate where to mount those partitions to.
   For example, if you are creating a new partition /dev/hda2
   and you want to put /usr on it, you copy the files from your old /usr
  onto
   the /dev/hda2, and add a line to /etc/fstab to tell that /usr is to
   mounted to /dev/hda2
 
What directory trees can safely be moved to another partition?
 
   /usr
   /home
   /var
 
   Andrew
  
  
---
  
Andrei S. Ivanov
[EMAIL PROTECTED]
UIN 12402354
http://members.tripod.com/AnSIv   --Little things for Linux.
 
  --
  Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
 /dev/null

 --
 

 Shao Zhang - Running Debian 2.1  ___ _   _
 Department of Communications/ __| |_  __ _ ___  |_  / |_  __ _ _ _ 
 __ _
 University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' 
\/ _` |
 Sydney, Australia   |___/_||_\__,_\___/ 
/___|_||_\__,_|_||_\__, |
 Email: [EMAIL PROTECTED] 
 |___/
 
___
__




Re: Maximal Mount Count

1999-03-10 Thread homega
Paul Puri dixit:
  Original Message 
 
 On 3/9/99, 6:32:06 PM, Shao Zhang [EMAIL PROTECTED] wrote regarding Re: 
 Maximal Mount Count:
 
  Paul Puri wrote:
 
   What is the command that I use to mv /usr to /dev/hda2?
  
   I tried 'mv /usr /hda2/usr', but that gave me the error, 'mv:  cannot
   move '/usr' across filesystems:  Not a regular file.
  
   Thank you...
  
 
did you mount your /dev/hda2 on /hda2?? If you did, you may try cp 
 -R after that,
  you can then delete the /usr
 
 I typed, 'cp -R /usr /hda2/usr
 It is in the process of copying

I also passed the -a option to the `cp' command, it preserves files and
directory permissions, quite important I believe.

 When it done, what can I do to make /hda2/usr, just plain /usr?

add the following line to /etc/fstab:

# /etc/fstab: static file system information.
#
# file system mount point   type  options   dump  pass
/dev/hda2   /usrext2defaults0   2

Make sure you just copied the contents inside /usr to the new location, not
/usr as well.  Then, you should have an empty /usr directory.  When you
reboot, /dev/hda2 will be mounted in /usr.  Last time I did this, I copied
/usr as well, and I ended up having /usr/usr...

/usr
/home
/var

/usr/local
/usr/doc
... you might also make a new directory called /opt, in a separate
partition, and install there new *big* programs instead of /usr/local


Regards,

Horacio.


Re: Maximal Mount Count

1999-03-10 Thread Mike Merten
On Wed, Mar 10, 1999 at 02:12:48AM +, Paul Puri wrote:
 What is the command that I use to mv /usr to /dev/hda2?  
 
 I tried 'mv /usr /hda2/usr', but that gave me the error, 'mv:  cannot 
 move '/usr' across filesystems:  Not a regular file.
 
 Thank you...
 

Actually, what I did was something more like this:

# mount /dev/hda2 /mnt
# cp -a /usr/* /mnt
# umount /mnt
# rm -r /usr/*
# mount /dev/hda2 /usr

Then edited /etc/fstab to add a line

/dev/hda2   /usr   ext2   defaults   0  2


Mike
-- 
Mike Merten
[EMAIL PROTECTED]
ICQ# 28460680


Re: Maximal Mount Count

1999-03-10 Thread homega
Mike Merten dixit:
 
 Actually, what I did was something more like this:
 
 # mount /dev/hda2 /mnt
 # cp -a /usr/* /mnt

right, /usr/* tells to copy everything inside /usr/, but not the /usr
directory name itself.  I think a different way to achieve this is:

# cp -ax /usr

 # umount /mnt
 # rm -r /usr/*
 # mount /dev/hda2 /usr
 
 Then edited /etc/fstab to add a line
 
 /dev/hda2   /usr   ext2   defaults   0  2

I believe you then mount /dev/hda2 to be able to edit /etc/fstab and add the
line... ah, I see now, the mount command does exist in /bin.  Instead, I
edited /etc/fstab and added the line first, then I removed the contents
inside /usr... and rebooted.  Many different ways to achieve the same goal.

I just wonder if I /lost+found subdirs created in new ext2 partitions can be
deleted or they have to stay there for any reason... they do take some
space.

Regards,

Horacio

 
 
 Mike
 -- 
 Mike Merten
 [EMAIL PROTECTED]
 ICQ# 28460680
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

-- 
¿clave pgp? pgp key?
envía un mensaje vacío asend an empty message to
[EMAIL PROTECTED]   [EMAIL PROTECTED]
con la línea de Asunto:   with the Subject: line
enviar clave-pgpsend pgp-key


Re: Maximal Mount Count

1999-03-10 Thread Mike Merten
On Wed, Mar 10, 1999 at 11:06:59AM +0100, [EMAIL PROTECTED] wrote:
[snip]
 
 I just wonder if I /lost+found subdirs created in new ext2 partitions can be
 deleted or they have to stay there for any reason... they do take some
 space.
 
 Regards,
 
 Horacio

I believe the lost+found directories need to be in the root of every
partition, for use by fsck...  if you accidentally delete one,
there's a command mklost+found that recreates it for you.

Mike
-- 
Mike Merten
[EMAIL PROTECTED]
ICQ# 28460680


Re: Maximal Mount Count

1999-03-10 Thread Paul Puri
Thanks to everyone on debian-user and #debian.  Special thanks to 
Netgod and Asterix.  You all saved my laptop from ruination 
(repartition).  

Everthing went smoothly.

Now I have three partitions of equal size (1Gb).  Yet, now I fear a 
problem coming on.  My first partition is 11% filled, my 2nd partition 
contains only /usr and is 88% to capacity, and the last has /home 
which is %15 percent (due to monsterous soffice install).  

Is there a command in fdisk or someother app that will allow my 2nd 
partion (88% /usr) to grow if need be?  

Rather, what can I do to ensure that /usr can have more room to grow.

12% percent is not enough.  I doubt /home will ever need 1gb.  Thanks.

 Original Message 

On 3/10/99, 1:33:38 AM, Mike Merten [EMAIL PROTECTED] wrote 
regarding Re: Maximal Mount Count:


 On Wed, Mar 10, 1999 at 02:12:48AM +, Paul Puri wrote:
  What is the command that I use to mv /usr to /dev/hda2?
 
  I tried 'mv /usr /hda2/usr', but that gave me the error, 'mv:  cannot
  move '/usr' across filesystems:  Not a regular file.
 
  Thank you...
 

 Actually, what I did was something more like this:

 # mount /dev/hda2 /mnt
 # cp -a /usr/* /mnt
 # umount /mnt
 # rm -r /usr/*
 # mount /dev/hda2 /usr

 Then edited /etc/fstab to add a line

 /dev/hda2   /usr   ext2   defaults   0  2


 Mike
 --
 Mike Merten
 [EMAIL PROTECTED]
 ICQ# 28460680


 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
 /dev/null