Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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"
you could take a look at /etc/mtab in suse.
What does it say if you try to mount it manually?
Looking at mtab in Fedora (that is what I am having a problem with, mounting the suse partition so I can see it from FC5) the suse partition isn't mounted or listed, despite the fact that I have the following line in the FC5 fstab:
/dev/sdb7 /mnt/suse reiserfs defaults 0 0
Oddly enough I can mount it manually and it works fine.
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
Everything is installed and working, I don't want to install FC using resierfs, I just want to be able to mount and read the suse partition which uses reiserfs.
For some reason it won't mount at boot up despite the fstab entry but I can mount it manually and it works fine.
Looking at mtab in Fedora (that is what I am having a problem with, mounting the suse partition so I can see it from FC5) the suse partition isn't mounted or listed, despite the fact that I have the following line in the FC5 fstab:
/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
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.
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.
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.
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.
Running mount -a causes it to mount as it should with no error messages, it just doesn't mount on the initial boot.
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?
Running mount -a causes it to mount as it should with no error messages, it just doesn't mount on the initial boot.
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_ubj 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
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.
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.
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.
I can mount it manually with "mount /dev/sdb7 /mnt/suse" But for whatever reason it won't mount automatically even when I add that to rc.local.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.