Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-27-2010, 08:06 AM
|
#1
|
LQ Newbie
Registered: Dec 2010
Posts: 3
Rep:
|
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.
|
|
|
12-27-2010, 10:11 AM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,607
|
Quote:
Originally Posted by sri243
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???
|
|
|
12-27-2010, 11:12 PM
|
#3
|
LQ Newbie
Registered: Dec 2010
Posts: 3
Original Poster
Rep:
|
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
|
|
|
12-28-2010, 09:14 AM
|
#4
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,607
|
Quote:
Originally Posted by sri243
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.
|
|
|
12-28-2010, 11:19 PM
|
#5
|
LQ Newbie
Registered: Dec 2010
Posts: 3
Original Poster
Rep:
|
Quote:
Originally Posted by TB0ne
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
|
|
|
12-29-2010, 10:23 AM
|
#6
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,607
|
Quote:
Originally Posted by sri243
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.
|
|
|
All times are GMT -5. The time now is 06:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|