RES: RES: Bug on cp

"Borges, Jenner Gigante (BR-Paulista Seguros)" <[email protected]>
Newsgroups gmane.comp.gnu.fileutils.bugs
Message-ID <F57074E2FE1FD3118DC30008C739ADA50AC8EB33@mail2.br-lihi.libertyinternational.com>
Hello David!
I have RAID 0+1.
How can I see the inodes and increase them ?
Yes, I am going from ext2 to ext2.
Last night I follow the steps from backup and I think because we didn´t run 
a update procedure , the datafiles were not accessed and the backup finished

succesfull, but the messages :
Dec 31 01:00:22 dtmart kernel: __alloc_pages: 0-order allocation failed.
Dec 31 01:00:40 dtmart last message repeated 826 times
Dec 31 01:00:40 dtmart kernel: failed.
 
still  appear on my /var/log/messages.
During the cp process the top command showed me that the kswapd and bdflush
and 
cp were consuming a lot of CPU.

Do you know if my kernel parameters were well tuned for these copy process ?

# Disables packet forwarding
net.ipv4.ip_forward = 0
# Enables source route verification
net.ipv4.conf.all.rp_filter = 1
# Disables the magic-sysrq key
kernel.sysrq = 0
* Shared and Semaphores Parameters
kernel.shmmax=2059460000
kernel.shmall=2059460000
kernel.shmmni=100
kernel.shmseg=20
kernel.shmmin=1
kernel.semmni=500
kernel.semmns=1500
kernel.semmsl=200

Thanks again and happy new year !!!

-----Mensagem original-----
De: David T-G [mailto:[email protected]]
Enviada em: segunda-feira, 30 de dezembro de 2002 18:39
Para: FileUtils bugs
Cc: Borges, Jenner Gigante (BR-Paulista Seguros)
Assunto: Re: RES: Bug on cp


Jenner --

...and then Borges, Jenner Gigante (BR-Paulista Seguros) said...
% 
% Thanks for the answer.

Sure thing!


% The machine hangs and I can not login , I have to turn the power off.

Hmmm...  You should log in before it gets into trouble :-)


% No, I have a lot of disk space.

Good.  RAID?  SCSI?  IDE?

Oh, hey, what about free inodes?  2G needs a bunch of pointers...


% The file has 2GB.
% The filesystem is ext2.

Well, 2G is the ext2 limit, but you're probably going from ext2 to ext2
and so it's probably the 2G - 1 that it must be to fit.


% Yes, I am crossing filesystems./ora_siopsix is one filesystem e /staging
is
% another.
% 
% ALTER TABLESPACE "SIOPSIX" BEGIN BACKUP;
% !cp "/ora_siopsix/siopsixdtma.ora" /staging
% !cp "/ora_siopsix/siopsix4dtma.ora" /staging
% !cp "/ora_siopsix/siopsix3dtma.ora" /staging
% !cp "/ora_siopsix/siopsix2dtma.ora" /staging
% !cp "/ora_siopsix/siopsix1dtma.ora" /staging
% ALTER TABLESPACE "SIOPSIX" END BACKUP;

What if you just try one -- each one by itself to test?  Does it fail for
any particular one, or always the first, or only when you try more than
one or all, or ...?


% 
% The copy does not involve network.
% I can not login to the machine and use top.
% I can not login to use strace.

If you can't log in at all (before there's a problem), it will be
extremely difficult to debug this.  If that's the case, talk to your
SysAdmin (who may have some ideas himself or herself) and get a login
account for this work.


% 
% Thank you very much

HTH & HAND & HH


:-D
-- 
David T-G                      * There is too much animal courage in 
(play) [email protected] * society and not sufficient moral courage.
(work) [email protected]  -- Mary Baker Eddy, "Science and Health"
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.