Copy Filesystem from 2 HDs to 1 big HD

Copy Filesystem from 2 HDs to 1 big HD

Post by Zaldo » Thu, 21 Dec 2000 05:54:34



Hi all - still having problems with my system here.

I think what I'd like to do is this - I have my filesystem on
2 hard drives (both Seagates) and I'd like to copy the data
on those hard drives to on big IBM Hard drive.   What is the
best way to go about this?   My thoughts on the order:

1- copy data from 2 Seagates to 1 IBM
2- boot from IBM, verify that system is unchanged and working
3- format the 2 seagates and prepare them to be mirrors of the IBM.

Can this be done?  Please advise.

Thanks,

--
-Les

Sent via Deja.com
http://www.deja.com/

 
 
 

Copy Filesystem from 2 HDs to 1 big HD

Post by aryz.. » Fri, 29 Dec 2000 19:14:37


Sounds like you want to mirror the root disk.
Nothing wrong with that, unless you want one of your
submirrors be a concatenation of two physical disks.
Be careful here. To the best of my knowledge, both
Disksuit and VxVM require that the submirror/filesystem
that you are booting from, is a on a single contignuous
piece of disk. Theoretically, (I am just guessing, never
tried it) the second submirror can be anything you like,
including stripe or concatenation of two disks.
You won't be able to boot from it, but at least it will keep
the system up if the "bootable" submirror gets corrupted.
You probably can replace the corrupted submirror on the fly,
resync it and thus get full redundancy back.
Good luck. Please post a summary if it works.

IMHO an easier solution would be to have / and the rest
on 2 separate partitions of large disk, and mirror these
two partitions to 2 separate small disks.

Regards,
Andrei



Quote:> Hi all - still having problems with my system here.

> I think what I'd like to do is this - I have my filesystem on
> 2 hard drives (both Seagates) and I'd like to copy the data
> on those hard drives to on big IBM Hard drive.   What is the
> best way to go about this?   My thoughts on the order:

> 1- copy data from 2 Seagates to 1 IBM
> 2- boot from IBM, verify that system is unchanged and working
> 3- format the 2 seagates and prepare them to be mirrors of the IBM.

> Can this be done?  Please advise.

> Thanks,

> --
> -Les

> Sent via Deja.com
> http://www.deja.com/

Sent via Deja.com
http://www.deja.com/

 
 
 

Copy Filesystem from 2 HDs to 1 big HD

Post by Zaldo » Sat, 30 Dec 2000 05:02:45


You're right, I do want to mirror the drive, but I was thinking if I
could get the data on the 2 segates copied to the big IBM, then mirror
the IBM, it would be easier.   I tried using the IBM to mirror the 2
segates, and it didn't work (or I didn't do it right).    I guess I
thought there would be some simple easy way to copy the data to the IBM
and boot from that drive...

-Les



> Sounds like you want to mirror the root disk.
> Nothing wrong with that, unless you want one of your
> submirrors be a concatenation of two physical disks.
> Be careful here. To the best of my knowledge, both
> Disksuit and VxVM require that the submirror/filesystem
> that you are booting from, is a on a single contignuous
> piece of disk. Theoretically, (I am just guessing, never
> tried it) the second submirror can be anything you like,
> including stripe or concatenation of two disks.
> You won't be able to boot from it, but at least it will keep
> the system up if the "bootable" submirror gets corrupted.
> You probably can replace the corrupted submirror on the fly,
> resync it and thus get full redundancy back.
> Good luck. Please post a summary if it works.

> IMHO an easier solution would be to have / and the rest
> on 2 separate partitions of large disk, and mirror these
> two partitions to 2 separate small disks.

> Regards,
> Andrei



> > Hi all - still having problems with my system here.

> > I think what I'd like to do is this - I have my filesystem on
> > 2 hard drives (both Seagates) and I'd like to copy the data
> > on those hard drives to on big IBM Hard drive.   What is the
> > best way to go about this?   My thoughts on the order:

> > 1- copy data from 2 Seagates to 1 IBM
> > 2- boot from IBM, verify that system is unchanged and working
> > 3- format the 2 seagates and prepare them to be mirrors of the IBM.

> > Can this be done?  Please advise.

> > Thanks,

> > --
> > -Les

> > Sent via Deja.com
> > http://www.deja.com/

> Sent via Deja.com
> http://www.deja.com/

--
-Les

Sent via Deja.com
http://www.deja.com/

 
 
 

Copy Filesystem from 2 HDs to 1 big HD

Post by j_agan.. » Sat, 30 Dec 2000 06:40:06


Will this work...?

format,partition ,make file systems (newfs) etc on the IBM disk.
mount it.
cd to the correct directory on the IBM disk
dump the seagate file system to this directory. something like

ufsdump 0f - /dev/rdsk/c?t?d?s? | ufsrestore xf - (for each slice)

then install the bootblock on the root partition...

installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk
/dev/rdsk/c0t0d0s0

I have seen something similar to this being done. I am not sure of the
exact syntax.

hope this helps.

-j



Quote:> Hi all - still having problems with my system here.

> I think what I'd like to do is this - I have my filesystem on
> 2 hard drives (both Seagates) and I'd like to copy the data
> on those hard drives to on big IBM Hard drive.   What is the
> best way to go about this?   My thoughts on the order:

> 1- copy data from 2 Seagates to 1 IBM
> 2- boot from IBM, verify that system is unchanged and working
> 3- format the 2 seagates and prepare them to be mirrors of the IBM.

> Can this be done?  Please advise.

> Thanks,

> --
> -Les

> Sent via Deja.com
> http://www.deja.com/

Sent via Deja.com
http://www.deja.com/