Re: Moving to a new disk..

2006-12-05 Thread Ronald Paul

B. Cook wrote:

I've got a dying drive on my hands.. and I know I found a doc/guide on 
the handbook before regarding this..


something like..

# tar cf - --one-file-system -C /var . | tar xpvf - -C /mnt/var


[..]


what would be the best way?


I do it this way:

dd if=/dev/ad0 of=/dev/ad2 bs=8m

Where /dev/ad0 is the source disk and /dev/ad2 is the destination disk. 
Make sure nothing is mounted. This process takes place at sector level, 
so the boot sector, the partition table and even empty sectors are 
copied. That someone might want to resize some partitions afterwards to 
be able to use that extra 10 GB.


--
Kind regards,
Ronald Paul
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Instable machine; hardware or not?

2006-10-30 Thread Ronald Paul

Cristian Mijea wrote:


Yes, it's probably a hardware problem, and yes, it will probably be
hard to prove that.  Assuming your time has some value, I would
recommend replacing the whole machine; that way, you can have it set
up and tested before moving it out on location.


If the server can work rock-solid for a week, I would look at the
heat factor and also try a new clean install.
Anyway if time is a factor a new machine is probably a good idea.


An offline-replier advised me to look at the power supply. And since 
that's relatively easy to do and cheap, I'll go with that first. It now 
has a 300 watt no-name PSU for less then €30,-.


I've played with the thought (sorry for this Dutch English) of a second 
machine (this time in a datacenter closer to where I live :-) ) since 
it's the easiest way to upgrade everything without any downtime. Anyway, 
thanks for your advices!


--
Met vriendelijke groet,
Ronald Paul
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Instable machine; hardware or not?

2006-10-28 Thread Ronald Paul

Hello group,

I have a small server (AMD XP 2400+, ASRock K7VM4+lan, no ECC) running 
4.9-RELEASE since February 2004. It is being used for some small dynamic 
websites (FAMP), e-mail and some other small stuff. It got an uptime of 
400+ days last year but since a few months, the machines seems to get 
more and more unstable.


Seemingly random signals (most of them 11, some 10 and 6) are causing 
random processes (including bash, cron, named, adjkernts, inetd, syslogd 
and sh) to exit. So this cannot be something else than faulty hardware, 
you would think. But, and this is the strange part for me, these 
instabilities are somehow triggered because when the machine is 
restarted, the server seems rock-solid for the first week. I then can 
compile a kernel without problems.


Temperatures and voltages are fine:

# healthd -d
Temp.= 38.0, 21.5,  0.0; Rot.= 3629,0,0
 Vcore = 1.73, 0.00; Volt. = 3.28, 4.95, 11.55, -10.55, -4.56


I already swapped memory and disk but this behavior keeps the same. Is 
there any possibility that this crashes would disappear when switching 
to 6.1-RELEASE or are these problems solely caused by hardware? If so, 
is there any indication on to what hardware-component I should look? I'm 
planning to switch motherboards but since it is quite a drive to our 
co-location facility and because it is still functioning as 
production-server and we do not have much failsafe-services yet, I want 
to think twice.


--
Met vriendelijke groet,
Ronald Paul
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]