Hello,
I have a server, far away in a datacenter, running FreeBSD 8.1. The server has a PCIe 3Ware 9650SE-4LPML RAID controller. The configuration is this one:
I know I'll have to edit /etc/fstab, and export/import ZFS.
I know the 3ware controller reserves the first MB on each HDD to write info/config about arrays.
I can spend only limited time in the datacenter, and have to plan a long time ahead for each visit, so the more I can do remotely, the better it is. I'm thinking about this scenario:
Any piece of advice is welcome, anybody who has some experience in that field is welcome. I've used gpart only once, copy-pasting from a tutorial, and I don't know how to deal with the creation of a "one HDD RAID 1 array" (step 3).
I don't know if my HDDs will be recognized without formatting ("C" and "D"). If it's absolutely sure they are recognized without a format step, I guess I can just export ZFS, change fstab, plug all HDDs on motherboard, reboot from one half of the mirror and do everything else remotely.
Thanks!
I have a server, far away in a datacenter, running FreeBSD 8.1. The server has a PCIe 3Ware 9650SE-4LPML RAID controller. The configuration is this one:
- RAID 1, 2 disks: system, binaries, and some user data
- JBOD/Passthrough, 1 disk, user data
- JBOD/Passthrough, 1 disk, user data
- /, /tmp, and /var are UFS
/usr/local, /usr/ports, /home are ZFS.
- how can I make sure HDDs will be recognized natively when they are not "served" by the RAID controller?
- how can I make sure I can boot from one of my mirrored HDD?
- how can I recreate a RAID 1 array from the two mirrored HDD?
I know I'll have to edit /etc/fstab, and export/import ZFS.
I know the 3ware controller reserves the first MB on each HDD to write info/config about arrays.
I can spend only limited time in the datacenter, and have to plan a long time ahead for each visit, so the more I can do remotely, the better it is. I'm thinking about this scenario:
- export ZFS pools
- break mirror: plug HDD "A" to motherboard, leave HDD "B" on RAID controller, boot from "B"
- format and partition "A" to prepare for a software RAID (gpart?), rsync data from "B" to "A", tweak fstab on "A"
- remove RAID controller, plug HDDs "B", "C", "D" to motherboard, boot from "A"
- format "B", add "B" to software RAID, reconstruct mirror
- reboot from A+B RAID 1, import ZFS pools
Any piece of advice is welcome, anybody who has some experience in that field is welcome. I've used gpart only once, copy-pasting from a tutorial, and I don't know how to deal with the creation of a "one HDD RAID 1 array" (step 3).
I don't know if my HDDs will be recognized without formatting ("C" and "D"). If it's absolutely sure they are recognized without a format step, I guess I can just export ZFS, change fstab, plug all HDDs on motherboard, reboot from one half of the mirror and do everything else remotely.
Thanks!