Hello mate,
..to mirror disks you should use a volume manager as is mentioned above (LVM will do you) -you will need to build logical devices that you can manage - mirror or what ever.
You will need a disk manager get sorted anyway to manage SAN/NAS devices if required- well I dont see any local application moutpoints there.
Your df -h shows me that you having only default linux install/build set up - this does not look like layout of production or test server to me.
Simply you need to re-think the project, partition the disks right, then grab the slices and build the logical devices, and then mirror the devices accross the controllers...
I think you can do the all the low lever work easy in YAST..
Alright. I've asked about the partition layout since it seems quite strange: 3 logical partitions (2 Linux + 1 Swap) inside an Windows extended partition isn't what you usually find in an production environment. A virtual machine might have been better for testing, since you could create snapshots to go back to if a step fails.
I'll try to create a suitable checklist/how-to, but it might take some time. Things like this shouldn't be rushed...
---------- Post updated at 17:01 ---------- Previous update was at 12:39 ----------
Alright, I think I've got it.
DISCLAIMER:
This procedure is extremely dangerous and should not be applied to any production server without a proven good backup. Neither I nor this site can be held accountable for any data loss you might encounter. Really.
Boot to "Rescue mode" using the installation CD
Replicate the partition layout:
Change the partition type of /dev/sdb6 to "RAID autodetect"
Create the array with 1 disk missing (will be added later)
#
Create a filesystem on it
Mount the old and new "root"
Copy over the old contents (could take a while)
Cross your fingers, because after the next step the original system is probably not salvageable.
Unmount the old "root" and change the partition type
Add the "old root" to the array so it can rebuild in the background
chroot into the new array to make needed changes. Do not exit the chroot until told to do so
Mount some needed stuff
Replace sda6 with md0 in these files: /boot/grub/menu.lst, /etc/fstab
Install Grub on both disks (the '>' indicate to enter this at the Grub prompt and are not part of the command)
Create a suitable mdadm.conf
Rebuild initrd (replace xxx with the appropriate file)
Umount and exit the chroot
Check the rebuild status with mdadm --detail /dev/md0
Hello Team,
In one of our machine which running in AIX 6.1 we doing the root mirroring. Currently the OS booted from the local disk and we have mirrored that in to the SAN disk. All went well and both are synced but when we making it as a multiboot its throwing the below error. Kindly... (4 Replies)
I tried doing rootdisk mirroring in my local host , i added a new Ide disk in my system
and copied the prtvtoc from root disk to the newly added disk, and then when i tried to add database replicas on both the disks, it was added for boot disk but for the newly added disk i gave the error, which... (6 Replies)
Hello All,
I am trying to mirror two non-root hard drives using zfs. But "fmthard" fails when I try to copy the vtoc due to disk mismatch. Please help me.
--- iostat command shows the disk to be similiar
--- format command shows disk to be different :confused:
--- c1t2d0 is the active... (8 Replies)
Hi all,
we have an existing system that was configured using just one of the (two) internal disks. I want to mirror the disk using SVM, but have realised there is no free slice for creating the metadb's. Is there a workaround I can use for this?
In the past we have always kept slice 7 free -... (8 Replies)
Hey Guys,
I am using a Sun sparc server and had 6 disks.
The root was loaded on c0t10d0s0 disk.
I made an image or mirrored the root to another disk c0t9d0s0.
But during the process instead of attaching submirrors to main mirror
(d0 <--- d01 and d11) i attached d0 <--- d01 and... (1 Reply)
Hi there,
My task is to replace the two 73 G disks with two 143 G disks , which has vxvm 4.1 running on it. I would like to know whether the steps iam following are correct.
1. Break the sub-disks, plexes of the root mirror.
2. Remove the sub-disks,plexes of the root mirror.
3. Remove one of... (10 Replies)
Hi Guys,
Need to add 2 disks into a JBOD array (3310).
Does anyone see anything wrong with my Procedure / Doco below?
1> Logon to system, check system logs for abnormal entries.
2> Make backups of related system files:
A>cp -p /etc/system /etc/system.backup.081505
B>cp -p /etc/vfstab... (3 Replies)