Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
sorry, software. i did it in the redhat installation. i think i put the swap drive back on hda, now that i think about it, linux wanted it on hdb. if thats the problem, well, i dont mind reinstalling. but i doubt thats it :-/
[root@rs-ylbih284vrrd root]# mount
/dev/md0 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
Here's fdisk -l
Code:
[root@rs-ylbih284vrrd root]# fdisk -l
Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 144 9964 78887182+ fd Linux raid autodetect
/dev/hda3 14 143 1044225 82 Linux swap
Partition table entries are not in disk order
Disk /dev/hdb: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 9964 80035798+ fd Linux raid autodetect
I didnt use mdadm or raidtools; i set up raid1 when i installed redhat.
I just got off the phone with techsuport, i was concerned about not having my swap drive on the 2nd harddrive. he said that was ok, and i read him all the info you just asked form and he said my system was properly configured for Raid1.
However: i unplugged my main harddrive, put in a linux boot disk, and did a restore. It said it couldnt find any linux partitions, even thought the raid drive was still plugged in, albeit a slave. is that normal? is there something else i needed to do to access information?
md0 : active raid1 hda2[0]
78887104 blocks [2/1] [U_]
That's not good - it means that you are running a degraded array. For some reason you only have one drive (/dev/hda2) participating - the other isn't doing much.
hmm, i have one of those. Tomorrow morning i'll do it all over again.
Oh, and how did you know i was using master/slave instead of seperate ide cables?
oh, and one other question. since i'm redoing this, should i leave the swap drive on the 2nd harddrive? that doesnt make sense to me, if the 2nd harddrive fails, the first one wont have a swap. is it ook to keep it on the first drive?
You might not have to do it all over again. You may be able to plunk the drives on the secondary and mess with raidtab a bit. It's at least worth a try and you can learn some fun stuff. If you get it right the first time you'll have saved lots of time and effort.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.