Root mirroring in SUSE 10.1


 
Thread Tools Search this Thread
Operating Systems Linux SuSE Root mirroring in SUSE 10.1
# 1  
Old 12-27-2010
Root mirroring in SUSE 10.1

Hi,

I want to mirror root hard disk in SUSE LINUX 10.1.

I have two 80G hard disks, I searched in google but I did not find any good link to describe this.

Please see below info..
Code:

Server1:~ # df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda6              16G  1.2G   14G   8% /
udev                  1.3G  140K  1.3G   1% /dev
/dev/sda7              59G   33M   59G   1% /home
Server1:~ # sfdisk -d /dev/sda
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
# partition table of /dev/sda
unit: sectors

/dev/sda1 : start=       63, size=156232062, Id= f, bootable
/dev/sda2 : start=        0, size=        0, Id= 0
/dev/sda3 : start=        0, size=        0, Id= 0
/dev/sda4 : start=        0, size=        0, Id= 0
/dev/sda5 : start=      126, size=  2104389, Id=82
/dev/sda6 : start=  2104578, size= 31471272, Id=83
/dev/sda7 : start= 33575913, size=122656212, Id=83
Server1:~ #
Server1:~ #
Server1:~ #  sfdisk -d /dev/sdb
# partition table of /dev/sdb
unit: sectors

/dev/sdb1 : start=        0, size=        0, Id= 0
/dev/sdb2 : start=        0, size=        0, Id= 0
/dev/sdb3 : start=        0, size=        0, Id= 0
/dev/sdb4 : start=        0, size=        0, Id= 0
Server1:~ # cat /etc/fstab
/dev/sda6            /                    reiserfs   acl,user_xattr        1 1
/dev/sda7            /home                reiserfs   acl,user_xattr        1 2
/dev/sda5            swap                 swap       defaults              0 0
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
Server1:~ #

Please help me, I am new to SUSElinux and please give me helpful links.
# 2  
Old 12-27-2010
How did you arrive at that partitioning scheme? Is there any other disk installed in the system (eg. running Windows)? Where is the boot loader installed (check /boot/grub/menu.lst)? Do you have a working backup of any important files on the machine (not only on the Linux disk, but really the complete machine)?
# 3  
Old 12-27-2010
only one instance is installed.
It is a testing machine, so we do not have any important files for now.

So Kindly suggest me procedure.

Thanks
srini
# 4  
Old 12-27-2010
Is this a testing machine based on an production machine, and you want to apply the mirroring procedure to the production machine later? Or is it just for experimenting? If the later, I'd say scrap it and set up mirroring during the installation (less hassle).
# 5  
Old 12-27-2010
Yes exactly ...

I want to replicate this on production server.

Thanks
Srini
# 6  
Old 12-28-2010
Ok, we could go on forth an back for a while now, but I think that would be rather tiresome. So please, post as much information about the systems as possible. Otherwise the probability is very very high that whatever advice we give will screw up your system.

What's the partitioning layout on the production server?
Did you replicate the layout on the test machine?
Is the test machine a physical or virtual one?
Do you only want to mirror the root partition or others too?
Do you, at any point in the foreseeable future, plan to switch to LVM to manage your disks?
What boot loader are you using (Grub, LILO) and where is it installed (MBR, first partition)?
# 7  
Old 12-28-2010
Hi,
Thanks for your reply.

Partition lay out is same on both production and development.
We do not have any plans to migrate to LVM.
Boot loader is grub.
It is a physical machine.
I want to mirror / & boot (Or these separate ? I dont know, My df is not showing separately).


Will you please post reply ASAP.

Thanks
Srini
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Root Mirroring

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)
Discussion started by: gowthamakanthan
4 Replies

2. Solaris

Root disk mirroring in Solaris 10

I would like to perform root disk mirroring task. Can someone please help me out on this. Thanks !! Regards, Rama (2 Replies)
Discussion started by: ramagore85
2 Replies

3. Solaris

Root disk mirroring in SVM

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)
Discussion started by: Laxxi
6 Replies

4. Solaris

Disk mismatch while trying to zfs mirroring non-root disks

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)
Discussion started by: pingmeback
8 Replies

5. Solaris

Root Disk mirroring in SVM

Dear All, Please help me to configure root mirroring using SVM in Solaris 9. Thanks and Regards, Lakkireddy BR (3 Replies)
Discussion started by: lbreddy
3 Replies

6. Solaris

mirroring root disk using svm - but no free slices for metadb's

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)
Discussion started by: badoshi
8 Replies

7. Solaris

Unable to boot after an error in mirroring root

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)
Discussion started by: rjcool
1 Replies

8. Solaris

Veritas root disk mirroring

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)
Discussion started by: Jartan
10 Replies

9. Solaris

Solaris mirroring / non-root disk

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)
Discussion started by: BG_JrAdmin
3 Replies
Login or Register to Ask a Question