Re: Replacing hd

2004-07-18 Thread Volker Kindermann
Hi Mark,


> I have a hd going bad. It is not the primary drive but is
> ad2s1e
> ad2s1f
> 
> it holds /usr and /tmp
> 
> How can I put in  a new drive and copy everything over and not miss a
> beat. if possible.

read the faq. This one will help you out, although it's not 100% what
you need, all answers are within this chapter:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK


 -volker
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Replacing hd

2004-07-17 Thread Benjamin Sobotta
On Saturday 17 July 2004 15:42, Mark wrote:
> Hello,
> I have a hd going bad. It is not the primary drive but is
> ad2s1e
> ad2s1f
>
> it holds /usr and /tmp
>
> How can I put in  a new drive and copy everything over and not miss a beat.
> if possible.
>
> THanks
> Mark

Hi!

I did something like this once. Just get the drive ready and mount under, 
say, /mnt. Since /tmp doesn't really matter copy everything from /usr 
to /tmp. Something like "cp -pR /usr /mnt". Next you might have to 
alter /etc/fstab according to your new drive settings and reboot.
There is probably a more sophisticated method but like this is worked for me.

Cheers,
Ben
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Replacing hd

2004-07-17 Thread arden
in aix there is a migratepv command which would be ideal for this. Not
sure if its available in bsd a quick google/bsd brought up a couple of
hits 

arden 

 
On Sat, 2004-07-17 at 16:42, Mark wrote:
> Hello,
> I have a hd going bad. It is not the primary drive but is
> ad2s1e
> ad2s1f
> 
> it holds /usr and /tmp
> 
> How can I put in  a new drive and copy everything over and not miss a beat.
> if possible.
> 
> THanks
> Mark
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

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


Replacing hd

2004-07-17 Thread Mark
Hello,
I have a hd going bad. It is not the primary drive but is
ad2s1e
ad2s1f

it holds /usr and /tmp

How can I put in  a new drive and copy everything over and not miss a beat.
if possible.

THanks
Mark


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