Mounting reiserfs partition
Using FC5. Machine also has Suse 10.1 on it, which is using reiserfs. I have no problems mounting and accessing the Fedora partitions from Suse, but I can't get to Suse from Fedora because it won't mount or can't read it. My Fedora fstab is "/dev/sdb7 /mnt/suse reiserfs defaults 0 0"
Isn't there some way to do this? Thanks Robert |
you could take a look at /etc/mtab in suse.
What does it say if you try to mount it manually? |
FC5 doesn't support reiserfs fedora release FAQ
But if you want to install FC5 using reiserfs then you can use this at the 1st Install prompt Code:
linux selinux=0 reiserfs |
Quote:
/dev/sdb7 /mnt/suse reiserfs defaults 0 0 Oddly enough I can mount it manually and it works fine. Why doesn't it mount when it boots up? Thanks Robert |
Quote:
For some reason it won't mount at boot up despite the fstab entry but I can mount it manually and it works fine. |
I would have been very suprised if it didn't support reiserfs.
I asked for the mtab in suse, because I wanted to see how it looks if it's working... try "mount -a" this executes the fstab, and post the result. |
Quote:
hmm, you may try mount -a to check if the mount point is properly declared in /etc/fstab. You can also check "dmesg" to find any mounting error during boot-time. If your problem is not resolved, try to add the "manual mount command :)(as you have been using)" to /etc/rc.local. this rc.local script is run after all booting scripts finish up there job. try re-booting afterwards, it should come up. Hope it helps, Rahul. |
As rahulk stated it could be an error in the /etc/fstab entry or the reiserfs module in not in the inital ramdisk (initrd). If the module is not in the initrd then the partition will not mount at boot since the module will load after the OS mounts partitions via fstab. Also as stated you can add a line to the rc.local file or add the module to the initrd.
|
Quote:
/dev/sdb7 / reiserfs rw,acl,user_xattr 0 0 proc /proc proc rw 0 0 sysfs /sys sysfs rw 0 0 debugfs /sys/kernel/debug debugfs rw 0 0 udev /dev tmpfs rw 0 0 devpts /dev/pts devpts rw,mode=0620,gid=5 0 0 /dev/sdb1 /mnt/fc5boot ext3 rw 0 0 /dev/sdb3 /mnt/fc5 ext3 rw 0 0 /dev/sdb5 /mnt/fc5home ext3 rw 0 0 /dev/sdb9 /mnt/mandriva2006 ext3 rw 0 0 /dev/sdb11 /mnt/ubuntu ext3 rw 0 0 /dev/sdb2 /mnt/shared vfat rw,uid=1000,umask=0022,utf8=true 0 0 /dev/sda1 /mnt/DellUtil vfat rw 0 0 /dev/sda2 /mnt/windowsXP ntfs rw,umask=0222 0 0 /dev/sda3 /mnt/DellSysRestore vfat rw 0 0 securityfs /sys/kernel/security securityfs rw 0 0 Suse is mounted at /dev/sdb7. I ran mount -a in FC5 since that is where I have having the problem getting the suse mounted. (All the other partition mount properly in suse) When I did, it mounted the suse partition, though it didn't at initial boot. |
Quote:
I have a dmesg error that probably explains this - though I can't figure out what I would have to do to resolve the error on boot up. ReiserFS: sdb7: found reiserfs format "3.6" with standard journal ReiserFS: sdb7: using ordered data mode ReiserFS: sdb7: journal params: device sdb7, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 ReiserFS: sdb7: checking transaction log (sdb7) ReiserFS: sdb7: Using r5 hash to sort names audit(1157634256.255:4): avc: denied { search } for pid=1377 comm="mount" nam e="/" dev=sdb7 ino=2 scontext=system_u:system_r:mount_t:s0 tcontext=system_u:obj ect_r:unlabeled_t:s0 tclass=dir ReiserFS: sdb7: warning: xattrs/ACLs enabled and couldn't find/create .reiserfs_ priv. Failing mount. I guess I can probably just add mount /dev/sdb7 /mnt/suse to rc.local to get it to mount. Does the dmesg error offer a solution to get it to mount when the fstab is executed at initial boot? Thanks, Robert |
Quote:
there is a hidden directory on a ReiserFS file system used for XATTRs which is unlabeled. This is a known issue with reiser FS. there were some C programs written to patch this problem. the reiserfs xattr attributes must be ported to generic xattr interface. go to this URL for more information. "http://suse.osuosl.org/people/jeffm/reiserfs/xattr-rework/08-reiserfs-use-generic-xattr-handlers.diff" For temporary fix, you must add the mount command to rc.local. It will work since it runs after all the boot scripts finish up there job, thus providing Linux with the default attributes and xattr error wont occur. |
Quote:
|
Quote:
mount -t reiserfs /dev/sdb7 /mnt/suse |
Quote:
I am apparently missing something since the same command that mounts it manually won't mount it in /etc/rc.local. There isn't more than one rc.local is there? |
Quote:
|
Try disabling selinux.
|
Quote:
I assume the system isn't quite as secure as it would be with selinux set to enforcing. Would I be better off just leaving selinux at enforcing and mounting the partition manually when I need to? Or is there some way to get selinux to allow it to mount even when it is set to enforcing? Thanks, Robert |
All times are GMT -5. The time now is 04:09 AM. |