View Single Post

   
  #2 (permalink)  
Old 05-07-2008, 10:11 AM
Tim Hogard
 
Posts: n/a
Default Re: moving filesystems to new disk on Cobalt Raq4i

In comp.sys.sun.hardware Craig Dewick <cdewick@lios.apana.org.au> wrote:
>
> Hi,
>
> I've posted this question in some forums and a couple of mailing lists but
> figured I'd pose it here also...
>
> Just wondering what the best methods are for moving filesystems off a defective
> (still works but giving hard errors on some sectors) 20 GB disk in a Raq4i onto
> a replacement disk? I've purchased a new 80 GB disk which is installed in the
> second position and currently don't have a restore CD so I'm wondering how to
> get the filesystems moved over to the new disk?

Is the 80 gig supported? I've been told its not (by a hosting compnay)


> The existing disk isn't reliable enough to run up the system with the httpd
> running otherwise there might be a way using the GUI to set up and start moving
> things to the new disk.
>
> Since the system is running Linux, is it possible to boot the system off an OS
> restore CD in single-user mode (via a SCSI CD-ROM drive connected to the
> external SCSI port of the Raq4i) and use a method similar to an ufsdump |
> ufsrestore pipe (which I use on Sun systems running Solaris) to move over the
> relevant filesystems to the new drive?

ufsdump on a bad disk may end up causing the problems to get worse. If you don't
have backups, I would consider looking at logs to figure out where the problem
might be and using cp -r and rsync to try to make a mirror. I would also
no try to copy the entire disk0:/ to disk1:/ but more like disk0:/ to disk1:/olddisk/
That way you can verify the new disk is properly configured first.

I've had good luck running freebsd on the raq and I would be tempted to put a new
OS on the 80 gig disk and try to pull the old stuff over. If you don't have the restore
CD, can you even make sure the thing is patched properly if you did get it restored?

>
> Thanks for any advice you can provide. I'm used to Solaris methods but since
> the Raq is a hybrid system with IDE disks internally and SCSI externally, I
> don't quite know what the best approach is to salvage the filesystems from the
> old drive.

This disk types don't matter.

-tim
http://web.abnormal.com
Reply With Quote