Sample Header Ad - 728x90

/etc/mtab is bad when mounting a cifs share

1 vote
1 answer
2229 views
On a Linux system, I used the following command to mount a Windows Share folder: mount.cifs -o user=xxxx,pass=xxxx '//host/folder' /mnt Above command finished without giving any errors or output at all. I could see files in /mnt, which means the mount was successful. Then I ran command mount, and the 1st line of the output says: And the share folder I just mounted doesn't appear in the output. Then I checked the content of /etc/mtab and found that there are a whole lot of options for the just mounted share. like this: enter image description here While on another Linux Machine running the same OS(SLE 11SP3), I did the exact same thing(but using a different share on a different Windows machine), but the content in /etc/mtab is very simple, like this(and mount shows the mounted share correctly and doesn't say mtab is bad): //server/folder /mnt cifs rw 0 0 So the question is, on the 1st machine: 1. why are there so many option for this windows share in /etc/mtab? 2. why does the mount command say "mtab is bad"?
Asked by SparedWhisle (3924 rep)
Apr 27, 2016, 06:51 AM
Last activity: Jun 3, 2025, 05:02 AM