FedoraThis forum is for the discussion of the Fedora Project.
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.
i have problem to setup new server with RAID1. Server PC model is HP ProLiant M110 G3. After install the Fedora core 5, the error occur "Disk /dev/md3 doesn't contain a valid partition table". I check the mdstat by enter this command line "cat /proc/mdstat", the result listed as below:
Personalities : [raid1]
md0 : active raid1 sdb1[1] sda1[0]
200704 blocks [2/2] [UU]
md2 : active raid1 sdb3[1] sda3[0]
34812736 blocks [2/2] [UU]
md3 : active raid1 sdb5[1] sda5[0]
1052160 blocks [2/2] [UU]
md4 : active raid1 sdb6[1] sda6[0]
1124416 blocks [2/2] [UU]
md1 : active raid1 sdb2[1] sda2[0]
40957632 blocks [2/2] [UU]
if enter "fdisk -l" it will have this problem.
Disk /dev/md0: 205 MB, 205520896 bytes
2 heads, 4 sectors/track, 50176 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md0 doesn't contain a valid partition table
Actually, this isn't really a problem. Your md devices aren't supposed to have a partition table on them. For some reason, fdisk continues to look for one.
If you do a
Code:
df -h
you will see that the md devices are already mounted and working fine.
Were there an actual problem with /dev/md3, you would see something like this in /proc/mstat:
Code:
md3 : active raid1 sdb5[1]
1052160 blocks [1/2] [_U]
I assume the reason you even realized this was happening is that you saw an error message on boot? You should be able to fix the issue by editting /etc/init.d/boot.swap. You need find the line where it calls
Hi i_grok,
thank you for helping me, i have found the /dev/mdx is mounted working properly by giving the command as what you suggested "df -h", but i can't find the "/etc/init.d/boot.swap" file. how should i do to fix this problem?
I have other problems, when i type the command "dmraid -ay", the error is listed as below:-
dmraid -ay
No RAID disks
Does it cause the problem?
I get this error message by issue this command "dmesg | tail". this kind of message also occur when boot up server, but is another type of message.
audit(1153185060.063:288): avc: denied { execmod } for pid=4084 comm="firefox-bin" name="libflashplayer.so" dev=md1 ino=916827 scontext=root:system_r:unconfined_t:s0-s0:c0.c255 tcontext=rootbject_r:user_home_t:s0 tclass=file
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606
Rep:
Quote:
/etc/mdadm.conf
Quote:
dmraid -ay error
This is normal.
I do not think you can use mdadm and dmraid.
Most people prefer mdadm anyway.
Have a look at the mdadm man page if you have not already
I agree with Emmanuel_uk - you should use mdadm. It will do everything you need.
As for the errors you see on boot, I still wouldn't worry about them. If you want to know what is causing them, you might be able to find them with:
Code:
cd /etc/init.d
grep "fdisk -l" *
What you are seeing in dmesg looks like selinux messages. It is a security feature, but if all it is printing is warnings, it probably isn't a big issue. You can disable selinux if you wish - I don't personally have much experience with it.
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606
Rep:
Quote:
What you are seeing in dmesg looks like selinux messages.
Yes it does
xdragon, you need serious reading about security on server
if you are not used to things like SELinux.
I think there are 2 modes in SELinux, one where you just check what would be
locked, and what sort of rights are granted, then there is the mode
where this is enabled. Watch out because as a beginner one can lock oneself out
in some circumstances, with possibly no way back.
Sorry cannot help more, have done some reading on SEL but not implemented it ever/yet.
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606
Rep:
There is the NSA website for SEL, there might be a few tutorials around
(one by IBM, some publications by the Linux Journal). Do not know more than that.
re modules, loading them in memory is with modprobe, usually automated
via /etc/modules.conf
re install ang dz file, see the sticky in mandriva forum about tar.gz for example,
or better look in LQ bookmark for rute, and also newbie admin guide.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.