LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-27-2010, 08:06 AM   #1
sri243
LQ Newbie
 
Registered: Dec 2010
Posts: 3

Rep: Reputation: 0
Cool 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.
 
Old 12-27-2010, 10:11 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by sri243 View Post
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..
Please help me, I am new to SUSElinux and please give me helpful links.
If you Googled for this, you must not have tried very hard. Typing in "linux mirror drives" gives over 3 million hits.

Also, you don't tell us about your hardware configuration, and what kind of 'mirror' you want. Want to mirror boot partition? Just data? Can your hardware controller support hardware RAID1? What have you done/tried thus far???
 
Old 12-27-2010, 11:12 PM   #3
sri243
LQ Newbie
 
Registered: Dec 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Unhappy

Hi,
I want to mirror every thing that is on disk.
I have two hard disks each of 80GB.
I am now testing the procedure.
I have to replicate the same in a production server.

I searched again in google, I can find links for RHEL root mirroring but for SUSE, I dont find any.
Please help me

Thanks
Srini
 
Old 12-28-2010, 09:14 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by sri243 View Post
Hi,
I want to mirror every thing that is on disk.
I have two hard disks each of 80GB.
I am now testing the procedure.
I have to replicate the same in a production server.

I searched again in google, I can find links for RHEL root mirroring but for SUSE, I dont find any.
Please help me
I asked in my first reply about your hardware configuration, i.e. controller, version/distro of Linux, etc. Saying "SUSE" tells us very little. Again, do you want the ENTIRE disk (boot partition and everything), or just data? Mirroring boot volumes is difficult, and the procedure is different. Pay attention to what people ask you, if you'd like replies.

Again, searching for "suse volume mirroring", brings up over 130K hits, so if you did Google for it, you must not have tried very hard. If all you're talking about is setting up an LVM, you can easily boot from the SUSE CD, run yast, and set it up.
 
Old 12-28-2010, 11:19 PM   #5
sri243
LQ Newbie
 
Registered: Dec 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Unhappy

Quote:
Originally Posted by TB0ne View Post
I asked in my first reply about your hardware configuration, i.e. controller, version/distro of Linux, etc. Saying "SUSE" tells us very little. Again, do you want the ENTIRE disk (boot partition and everything), or just data? Mirroring boot volumes is difficult, and the procedure is different. Pay attention to what people ask you, if you'd like replies.

Again, searching for "suse volume mirroring", brings up over 130K hits, so if you did Google for it, you must not have tried very hard. If all you're talking about is setting up an LVM, you can easily boot from the SUSE CD, run yast, and set it up.

Ok Leave that google thing for now.
If you are right,I am not able to understand in google.
Thanks for replying.
I do not have any controllers(or I dont know).
All I want to do is mirror everything that is on my first disk to second disk.

Thanks
Srini
 
Old 12-29-2010, 10:23 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by sri243 View Post
Ok Leave that google thing for now.
If you are right,I am not able to understand in google.
Thanks for replying.
I do not have any controllers(or I dont know).
All I want to do is mirror everything that is on my first disk to second disk.
If you don't have a controller, how do you think your hard drives are plugged in right now?? You STILL tell us nothing about your hardware, version of SuSE, etc. If you won't give details or pay attention, then there's little we can do for you.

Pick one of the guides you found on Google, follow it, and post specific questions/problems if you get them.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help!!! on Mirroring RMLinux Linux - Newbie 5 04-26-2010 12:25 AM
Root mirroring on Redhat ZAMO Linux - Server 4 01-22-2010 09:14 AM
redhat install root mirroring bajones Linux - Newbie 1 07-08-2008 11:33 AM
Scanner to work as USER and not forced as ROOT Root (Suse 9.1) 1kyle Linux - Hardware 0 07-10-2004 08:51 AM
Mirroring bkeating Linux - Software 1 06-22-2003 06:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration