Move data from 3ware RAID-1 disk to MB disk

Stanislav stanislav at corp.n9.ru
Tue Jun 17 03:32:14 UTC 2008


Hi all,

After moving one disk to motherboard FreeBSD didn't recognize it. So I
booted into rescue linux (via LAN), than mounted disk on motherboard
and FreeBSD-netinst ISO into qemu (installed it on virtual disk)
virtual machine and quickly installed FreeBSD via VNC. After that
moved data from disk on 3ware controller. Quite easy ;)

Best Regards

2008/6/16 Erik Trulsson <ertr1013 at student.uu.se>:
> On Mon, Jun 16, 2008 at 05:19:43PM +0400, Stanislav wrote:
>> Dear Johan,
>>
>> But hetzner support told me that data will be lost if connect disk to
>> motherboard controller:
>> "If we connect the HDD's on the Mainboard-controller, they were detected as
>> empty HDD, because the controller write the sectors in a other way, like the
>> RAID-controler!"
>
> That is probably correct.
>
>>
>> But I think that maybe 3ware writes their RAID table somewhere near MBR record.
>
> Maybe.
>
>> So maybe I have to rewrite MBR and that disk will work on motherboard
>> controller?
>
> Maybe, but you don't know how you should rewrite the MBR (i.e. what should
> be written to it), and neither do I (and probably not the people at hetzner
> either.) You could try asking the 3Ware people directly, but I doubt they
> support such an operation.
>
>>
>> I have backups, but this is production system, and I want to switch to
>> MB controller with minimal downtime.
>
> That might not be possible.  One of the drawbacks with real hardware-RAID
> is that each controller (or at least each manufacturer) has its own format
> and it is usually not possible to move disks between different controllers
> without losing the data on them.
>
>
>>
>> Kind Regards
>>
>> 2008/6/16 Johan Hendriks <Johan at double-l.nl>:
>> >
>> >>Hi,
>> >
>> >>I have FreeBSD 7.0 with 3ware 8006-2LP RAID-1 controller hosted at
>> >>hetzner.de.
>> >
>> >>Now I want remove 3ware controller, and to stay with motherboard
>> >>controller. Is it possible to do without data loss?
>> >>I suggest to move one disk to motherboard controller, than boot via
>> >>LAN to Linux rescue, and than do "dd" from 3ware to MB disk.
>> >>Is it possible to do so or I will copy 3ware RAID table, and MB disk
>> >>will not be bootable?
>> >
>> >>Kind Regards
>> >
>> > I freebsd detect the onboard controller and the drives on it, all you
>> > need to do is to make sure /etc/fstab points to the right disks.
>> >
>> > Now it probberly points to /dev/twe0s1* and so on if your onboard
>> > controller uses ad then it needs to be changed to /dev/da0s1*
>> >
>> > Make sure you have backups!!!!!!!!!!!!!!!!!!!!!!
>> >
>
>
>
>
> --
> <Insert your favourite quote here.>
> Erik Trulsson
> ertr1013 at student.uu.se
>


More information about the freebsd-questions mailing list