Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 24th March 2006, 04:33 PM
sync Offline
Registered User
 
Join Date: Jun 2005
Posts: 4
Arrow reiser and fstab problem

Hi all
I got a little problem with my fstab. I have 2 partitions formated with reiserfs and I am not able to automount them at the systemstart.
here is my fstab:
PHP Code:
LABEL=/1                         /                       ext3    defaults        1 1
devpts                              
/dev/pts                devpts  gid=5,mode=620  0 0
tmpfs                                
/dev/shm                tmpfs   defaults        0 0
proc                                  
/proc                   proc    defaults        0 0
sysfs                                
/sys                    sysfs   defaults        0 0
LABEL
=SWAP-hda2       swap                    swap    defaults        0 0
/dev/hdb2         /mnt/disk3        vfat    rw,users,umask=000 0 0
/dev/hdb3         /mnt/disk4        vfat    rw,users,umask=000 0 0
/dev/hda4                         /mnt/disk1         reiserfs defaults 0 0
/dev/hdb1                        /mnt/disk2         reiserfs defaults 0 0 
I also tried it with these options:
PHP Code:
/dev/hda4           /mnt/disk1         reiserfs   auto,rw,exec,user 0 0
/dev/hdb1           /mnt/disk2         reiserfs   auto,rw,exec,user 0 0 
with the same result.
the fat32 disks work without a problem but with the reiser disks I get a error message.
here is my /var/log/messages:
PHP Code:
ReiserFShda4found reiserfs format "3.6" with standard journal
ReiserFS
hda4using ordered data mode
ReiserFS
hda4journal paramsdevice hda4size 8192journal first block 18max trans len 1024max batch 900max commit age 30max trans age 30
ReiserFS
hda4checking transaction log (hda4)
ReiserFShda4Using r5 hash to sort names
audit
(1143215845.189:4): avc:  denied  search } for  pid=1814 comm="mount" name="/" dev=hda4 ino=2 scontext=system_u:system_r:mount_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=dir
ReiserFS
hda4warningxattrs/ACLs enabled and couldn't find/create .reiserfs_priv. Failing mount. 
both disk got formated under opensuse 10.0 and I can mount both disk as root with mount /dev/hda4 /mnt/disk1 without a problem.

I hope somebody can help a noob out

edit: forgot to write that I am using FC5 and kernel 2.6.16-1.2070_FC5

Last edited by sync; 24th March 2006 at 04:48 PM.
Reply With Quote
  #2  
Old 24th March 2006, 11:55 PM
paulbarbee Offline
Registered User
 
Join Date: Mar 2005
Posts: 2
I'm having the same problem. I can't mount my reiserfs partition at boot but "sudo mount -a " works just fine. My kernel is 2.6.15-1.2054_FC5. Any help would be greatly appreciated.
Reply With Quote
  #3  
Old 25th March 2006, 03:44 PM
sync Offline
Registered User
 
Join Date: Jun 2005
Posts: 4
Anybody know a solution?
Reply With Quote
  #4  
Old 27th March 2006, 09:13 AM
daneel971's Avatar
daneel971 Offline
Registered User
 
Join Date: Jun 2005
Location: Italy
Posts: 1,108
try the "-o context" option for mount
__________________
- Captain...
- Yes, Spock?
- I can't believe my ears...
Reply With Quote
  #5  
Old 4th April 2006, 11:28 PM
proopnarine Offline
Registered User
 
Join Date: Apr 2006
Location: San Francisco
Posts: 3
Apparently we were supposed to start the installation process with a "reiserfs" option. I do recall reading this several weeks ago, but I only just started to install Fedora 5 on my machines, and yes, one of them has 3 saved reiserfs partitions on it. The previous system was Suse 9.1. It also seems that mounting as root is the easy way to fix this, and since this machine is a server and I rarely re-boot it, that's not a problem. But what a pain if you re-boot your desktop regularly! There must be a boot time option out there or something.
Fedora should fix this. I generally use ext3, but I think that reiserfs is here to stay.
Reply With Quote
  #6  
Old 4th April 2006, 11:33 PM
Firewing1's Avatar
Firewing1 Offline
Administrator
 
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224
SELinux seems to be blocking the mount command -- Disable SELinux.
Firewing1
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #7  
Old 5th April 2006, 12:23 AM
daverj Offline
Registered User
 
Join Date: Jan 2006
Location: Denver, CO USA
Posts: 670
reiserfs and selinux do not play together. If you want to keep the reiserfs partitions, you might as well disable selinux.

By the way, the proper procedure for installing a system with reiserfs is at the boot prompt:

linux selinux=0 reiserfs

proopnarine, the the best of my knowledge, FC has no plans of officially supporting reiserfs, so in their mind, there is nothing to fix. ext3 is all the support. The rest you use at your own risk.


Dave
Reply With Quote
  #8  
Old 5th April 2006, 12:44 AM
proopnarine Offline
Registered User
 
Join Date: Apr 2006
Location: San Francisco
Posts: 3
Thanks!

Disabling SELinux did the trick!
Funny, a colleague here just mentioned to me this afternoon that he had given up on Linux and ad installed Windows on his PC because "there isn't enough support". Whatever.
Reply With Quote
  #9  
Old 5th April 2006, 12:48 AM
proopnarine Offline
Registered User
 
Join Date: Apr 2006
Location: San Francisco
Posts: 3
Quote:
Originally Posted by daverj
reiserfs and selinux do not play together. If you want to keep the reiserfs partitions, you might as well disable selinux.

By the way, the proper procedure for installing a system with reiserfs is at the boot prompt:

linux selinux=0 reiserfs

proopnarine, the the best of my knowledge, FC has no plans of officially supporting reiserfs, so in their mind, there is nothing to fix. ext3 is all the support. The rest you use at your own risk.


Dave
Well, that's too bad considering the widespread use of reiserfs already. The fix is pretty easy, and your boot prompt is the information that I had read some time back. However, one should not have to get into workarounds, and disable a specific filesystem or security, in order to have a functioning system. What's the technical reason for the incompatibility between SELinux and reiserfs?
Reply With Quote
  #10  
Old 5th April 2006, 01:10 AM
daverj Offline
Registered User
 
Join Date: Jan 2006
Location: Denver, CO USA
Posts: 670
reiserfs does not support acl's or contexts.
Reply With Quote
  #11  
Old 21st April 2006, 02:30 PM
sync Offline
Registered User
 
Join Date: Jun 2005
Posts: 4
just wanted to say thank you all.
disabling selinux did the trick.
I am using Fedora pure as my desktop os, are there any disadvantages for not using SELinux?
Reply With Quote
Reply

Tags
fstab, problem, reiser

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FC5 Reiser fs installation problem dciarnie EOL (End Of Life) Versions 16 23rd March 2006 06:27 AM
Reiser FS + SELinux.... no? Poophead Fedora Core 4 Test 3 13th May 2005 03:33 AM


Current GMT-time: 08:27 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat