8 Jan 2009 15:27
Re: How to automatically add a nbd to a raid1?
Peter Breuer <ptb <at> inv.it.uc3m.es>
2009-01-08 14:27:57 GMT
2009-01-08 14:27:57 GMT
Hi .. from a hotel in freezing-cold almeria.
"Also sprach Michael Rendell:"
> Background info: both machines are P4's at 2.4GHz with 512M memory
> running 2.6.18-92.1.22.el5; mkfs is using 4k blocks; the second mkfs
OK .. I think there was a MD bug with 512MB ram some time back.
Probably not significant, but you might want to grep the archives for
it.
> that was mentioned in the last email finished after about 68 minutes
> with no errors reported in /proc/nbdinfo.
68 mins!
> Had a look at the strace output - seems to be using cycles in
> the semaphore code (in sem_wait_timeout()):
Semaphore? How come it's using real semaphores .. surely I implemented
my own locking? I did do something _like_ semaphores in shared memory,
but I wouldn't have thought it was visible as system calls in a trace.
> recv(9,
> "%`\225\23\0\0\0\1\267\363\320 <at> \0\0\0\0\0\233P\0\0\0\20\0\0\0\0\0\0\0\0\
> 16"..., 64, 0) = 64
> clock_gettime(CLOCK_MONOTONIC, {1277506, 711333904}) = 0
> rt_sigprocmask(SIG_BLOCK, [ALRM], NULL, 8) = 0
> setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={29, 999356}}, NULL)
> = 0
> rt_sigaction(SIGALRM, {0x8058540, [ALRM], SA_RESTART}, {0x8058540, [ALRM],
(Continue reading)
RSS Feed