I have been trying to mount a windows file share so I can use it for remote storage particularly for my Deki Wiki attachments.
Anyway, I seem to have a mount established by doing the following.
1. Added following line to /etc/fstab
//fs01/wikidata /var/www/dekiwiki/attachments cifs user,uid=500,rw,suid,username=wikisvcacct,password=testpwd,domain=corporate
2. Then ran following command to mount it.
mount //fs01/wikidata
3. Then ran following command to confirm mount.
df
Output of 'df':
//fs01/wikidata 1821803064 1435671544 386131520 79% /var/www/dekiwiki/attachments
This would appear to indicate the mount was successful correct?
If I understand this whole thing, if i change directory to /var/www/dekiwiki/attachments would I then be using or looking at //fs01/wikidata ? Or am I still looking at the local file system? Or does it depend on the user?
Since I set this up for the dekiwiki user with uid=500, would I logged in as root be able to access this mount or do I need to add another line in the /etc/fstab for root?
Thanks!
On Wed, Jul 30, 2008 at 12:14 PM, TechGuy techguy@gmail.com wrote:
I have been trying to mount a windows file share so I can use it for remote storage particularly for my Deki Wiki attachments.
Anyway, I seem to have a mount established by doing the following.
- Added following line to /etc/fstab
//fs01/wikidata /var/www/dekiwiki/attachments cifs user,uid=500,rw,suid,username=wikisvcacct,password=testpwd,domain=corporate
- Then ran following command to mount it.
mount //fs01/wikidata
- Then ran following command to confirm mount.
df
Output of 'df':
//fs01/wikidata 1821803064 1435671544 386131520 79% /var/www/dekiwiki/attachments
This would appear to indicate the mount was successful correct?
If I understand this whole thing, if i change directory to /var/www/dekiwiki/attachments would I then be using or looking at //fs01/wikidata ? Or am I still looking at the local file system? Or does it depend on the user?
Since I set this up for the dekiwiki user with uid=500, would I logged in as root be able to access this mount or do I need to add another line in the /etc/fstab for root?
At this point I suggest you read some documentations as well as man page for mount.cifs as suggested in the forum post you started:
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=15510&forum=3...
You can learn and find answers by reading. I think this is important.
Akemi
Akemi,
I know with most mailing lists its common practice to flame every newbie with "read" something emails. But in this case I have been reading, and I think maybe if you had read my email below and my post you pointed out you would have realized that I have been reading and trying.
As for the man page for mount.cifs it is garbage to a newbie. It really is. Sure it gives you all the various switches / arguments but that is really it.
Show me where in the man page does it even mention /etc/fstab ?
Your reply served absolutely no purpose and helped in no way.
I believe I asked valid questions on understanding what I have done so far and how things work, I didn't ask for "how do I do this... or that".
Sorry you feel I have wasted your time.
On Wed, Jul 30, 2008 at 2:31 PM, Akemi Yagi amyagi@gmail.com wrote:
On Wed, Jul 30, 2008 at 12:14 PM, TechGuy techguy@gmail.com wrote:
I have been trying to mount a windows file share so I can use it for remote storage particularly for my Deki Wiki attachments.
Anyway, I seem to have a mount established by doing the following.
- Added following line to /etc/fstab
//fs01/wikidata /var/www/dekiwiki/attachments cifs user,uid=500,rw,suid,username=wikisvcacct,password=testpwd,domain=corporate
- Then ran following command to mount it.
mount //fs01/wikidata
- Then ran following command to confirm mount.
df
Output of 'df':
//fs01/wikidata 1821803064 1435671544 386131520 79% /var/www/dekiwiki/attachments
This would appear to indicate the mount was successful correct?
If I understand this whole thing, if i change directory to /var/www/dekiwiki/attachments would I then be using or looking at //fs01/wikidata ? Or am I still looking at the local file system? Or does it depend on the user?
Since I set this up for the dekiwiki user with uid=500, would I logged in as root be able to access this mount or do I need to add another line in the /etc/fstab for root?
At this point I suggest you read some documentations as well as man page for mount.cifs as suggested in the forum post you started:
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=15510&forum=3...
You can learn and find answers by reading. I think this is important.
Akemi _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
on 7-30-2008 1:04 PM TechGuy spake the following:
Akemi,
I know with most mailing lists its common practice to flame every newbie with "read" something emails. But in this case I have been reading, and I think maybe if you had read my email below and my post you pointed out you would have realized that I have been reading and trying.
As for the man page for mount.cifs it is garbage to a newbie. It really is. Sure it gives you all the various switches / arguments but that is really it.
Show me where in the man page does it even mention /etc/fstab ?
Your reply served absolutely no purpose and helped in no way.
I believe I asked valid questions on understanding what I have done so far and how things work, I didn't ask for "how do I do this... or that".
Sorry you feel I have wasted your time.
I'm just going to flame you for top posting, but you should still be slightly numb from the last flaming. If you want your post at the top, delete the rest of the message.
Your mount should work, but you should test it thoroughly using sudo as different users and trying to read and write to the share. Then look at the directory from the windows machine and make sure your changes are there.
You will have to forgive the developers if they are sometimes short, but it takes a lot of time to support a full linux distribution, and they usually are here during their "free" time after a long day of work and then coming home to the demands from the "other bosses".
On Wed, Jul 30, 2008 at 3:04 PM, TechGuy techguy@gmail.com wrote:
Akemi,
I know with most mailing lists its common practice to flame every newbie with "read" something emails. But in this case I have been reading, and I think maybe if you had read my email below and my post you pointed out you would have realized that I have been reading and trying.
As for the man page for mount.cifs it is garbage to a newbie. It really is. Sure it gives you all the various switches / arguments but that is really it.
Show me where in the man page does it even mention /etc/fstab ?
Your reply served absolutely no purpose and helped in no way.
I believe I asked valid questions on understanding what I have done so far and how things work, I didn't ask for "how do I do this... or that".
Sorry you feel I have wasted your time.
TechGuy: Please control your frustration and your attitude. I too am a Linux newbie, and I can assure you, that on this mailing list, there are some of the nicest and most helpful people you will find in the world, on any mailing list. They will patiently try to help you, if you are polite. Akemi is one of the most helpful people here. Available to you, on centos.org is a Wiki and documentation that you can download in .pdf form and learn a lot from. RTFM and be polite. Lanny
On Wed, Jul 30, 2008 at 5:11 PM, Lanny Marcus lmmailinglists@gmail.com wrote:
On Wed, Jul 30, 2008 at 3:04 PM, TechGuy techguy@gmail.com wrote:
Akemi,
I know with most mailing lists its common practice to flame every newbie with "read" something emails. But in this case I have been reading, and I think maybe if you had read my email below and my post you pointed out you would have realized that I have been reading and trying.
As for the man page for mount.cifs it is garbage to a newbie. It really is. Sure it gives you all the various switches / arguments but that is really it.
Show me where in the man page does it even mention /etc/fstab ?
Your reply served absolutely no purpose and helped in no way.
I believe I asked valid questions on understanding what I have done so far and how things work, I didn't ask for "how do I do this... or that".
Sorry you feel I have wasted your time.
TechGuy: Please control your frustration and your attitude. I too am a Linux newbie, and I can assure you, that on this mailing list, there are some of the nicest and most helpful people you will find in the world, on any mailing list. They will patiently try to help you, if you are polite. Akemi is one of the most helpful people here. Available to you, on centos.org is a Wiki and documentation that you can download in .pdf form and learn a lot from. RTFM and be polite. Lanny _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Sorry but I don't feel I did anything wrong. My frustration and attitude is well placed especially with all the replies I am getting that are saying the same thing.
No one has obviously read my email or my questions.
I did read the wiki and other various documentation which is how and why I got where I was with it. In my email I did not ask anyone to tell me how to do anything.
I asked for clarification on what I had read and what I was understanding.
Isn't that the point of these groups and mailing lists?
TechGuy wrote on Wed, 30 Jul 2008 15:04:27 -0500:
I know with most mailing lists its common practice to flame every newbie with "read" something emails.
this was not a flame at all.
Kai
On Wed, Jul 30, 2008 at 3:31 PM, Kai Schaetzl maillists@conactive.com wrote:
TechGuy wrote on Wed, 30 Jul 2008 15:04:27 -0500:
I know with most mailing lists its common practice to flame every newbie with "read" something emails.
this was not a flame at all.
Not only that, but the OP's question wasn't so much a mount.cifs question as a most fundamental question about mount itself. TechGuy, if you read what you wrote, unless you have just started using Linux last week, there are a lot of fundamental issues with the question you asked.
Please do avail yourself of the resources that abound on the web, particularly centos.org and many og the wikis you can find, and most importantly, look up what mount is and does. Then you can also take Scott's advice for testing your situation.
This list does not flame newbies except those who, like me, started off with an attitude and asked a lot of fundamentally stupid questions (I didn't do the research before hand - I do now!), and even so, all of the masters, except Jim, were still nice, and even he has a soft side, but don't tell him I admitted it....
Due diligence will get you a lot farther than shortcuts (largely because the shortcuts usually get responses like RTFM, GIYF and other, less kind four letter (words and) acronyms).
Best wishes.
mhr
On Wed, Jul 30, 2008 at 5:53 PM, MHR mhullrich@gmail.com wrote:
On Wed, Jul 30, 2008 at 3:31 PM, Kai Schaetzl maillists@conactive.com wrote:
TechGuy wrote on Wed, 30 Jul 2008 15:04:27 -0500:
I know with most mailing lists its common practice to flame every newbie with "read" something emails.
this was not a flame at all.
Not only that, but the OP's question wasn't so much a mount.cifs question as a most fundamental question about mount itself. TechGuy, if you read what you wrote, unless you have just started using Linux last week, there are a lot of fundamental issues with the question you asked.
Please do avail yourself of the resources that abound on the web, particularly centos.org and many og the wikis you can find, and most importantly, look up what mount is and does. Then you can also take Scott's advice for testing your situation.
This list does not flame newbies except those who, like me, started off with an attitude and asked a lot of fundamentally stupid questions (I didn't do the research before hand - I do now!), and even so, all of the masters, except Jim, were still nice, and even he has a soft side, but don't tell him I admitted it....
Due diligence will get you a lot farther than shortcuts (largely because the shortcuts usually get responses like RTFM, GIYF and other, less kind four letter (words and) acronyms).
Best wishes.
mhr _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Please point out what shortcut that I tried to take? From my email, with the information I provided which I did get from various sources including the wiki tips and tricks, and other sites... If you read my questions you would see that I was asking for clarification on what I was understanding all these sources to say and imply.
I don't know what shortcut I was taking by asking what I asked?
Now I am just tired of having to defend myself for no good reason.
Sorry this has transpired, truly am because I was hoping for more both from CentOS and from the community that supports it and is always touting the values of Linux and OpenSource, I was hoping to become a convert finally but instead I am more discouraged now after the reponses I have gotten then I was before.
On Wed, Jul 30, 2008 at 4:26 PM, TechGuy techguy@gmail.com wrote:
Please point out what shortcut that I tried to take? From my email, with the information I provided which I did get from various sources including the wiki tips and tricks, and other sites... If you read my questions you would see that I was asking for clarification on what I was understanding all these sources to say and imply.
Forgive me for not answering your questions directly. To wit:
This would appear to indicate the mount was successful correct?
Yes, of course. (Meaning: that should be pretty obvious, even to newbies.)
If I understand this whole thing, if i change directory to /var/www/dekiwiki/attachments would I then be using or looking at //fs01/wikidata ?
Essentially, yes, of course.
Or am I still looking at the local file system?
No, of course not.
Or does it depend on the user?
That depends on the usage rights in the mounted file system.
I don't know what shortcut I was taking by asking what I asked?
The shortcut I perceived in what you asked was that you wanted someone here to tell you what the mount command does and what its effects are. This is something anyone attempting to mess with /etc/fstab should know before said messing. It's like assigning a Windows disk drive letter to <something> and then asking "what did that do?"
Now I am just tired of having to defend myself for no good reason.
Then don't. It's not really necessary, and it really doesn't help (trust me on this one).
Sorry this has transpired, truly am because I was hoping for more both from CentOS and from the community that supports it and is always touting the values of Linux and OpenSource, I was hoping to become a convert finally but instead I am more discouraged now after the reponses I have gotten then I was before.
I actually did not read your original posting until after I saw Lanny's response to your offense at Akemi's advice, which was good advice. Then I decided that this was kind of odd and read the whole thread. I'm not offended that you don't think so, though I find it somewhat unsettling that you somehow missed what the mount command actually does in all of your reading.
In fact, from 'man mount', the first three paragaphs:
All files accessible in a Unix system are arranged in one big tree, the file hierarchy, rooted at /. These files can be spread out over sev- eral devices. The mount command serves to attach the file system found on some device to the big file tree. Conversely, the umount(8) command will detach it again.
The standard form of the mount command, is mount -t type device dir
This tells the kernel to attach the file system found on device (which is of type type) at the directory dir. The previous contents (if any) and owner and mode of dir become invisible, and as long as this file system remains mounted, the pathname dir refers to the root of the file system on device.
Maybe I've been doing Unix/Linux too long, but it seems to me that these three paragraphs answered all of your questions. As you yourself pointed out, reading is important. That's why I read your questions, and that's why I couldn't understand how you could read the above man page elements and /not/ understand what it means.
That's why I made the comments I did, including the self-deprecation I thought you might find informative, possibly even amusing, but that seems to have gone awry as well. Perhaps I need to work on my own writing skills as well, but newbies have responsibilities, too. In my eyes, these were neither assumed nor fulfilled.
mhr
On Wed, Jul 30, 2008 at 6:51 PM, MHR mhullrich@gmail.com wrote:
On Wed, Jul 30, 2008 at 4:26 PM, TechGuy techguy@gmail.com wrote:
Please point out what shortcut that I tried to take? From my email, with the information I provided which I did get from various sources including the wiki tips and tricks, and other sites... If you read my questions you would see that I was asking for clarification on what I was understanding all these sources to say and imply.
Forgive me for not answering your questions directly. To wit:
This would appear to indicate the mount was successful correct?
Yes, of course. (Meaning: that should be pretty obvious, even to newbies.)
If I understand this whole thing, if i change directory to /var/www/dekiwiki/attachments would I then be using or looking at //fs01/wikidata ?
Essentially, yes, of course.
Or am I still looking at the local file system?
No, of course not.
Or does it depend on the user?
That depends on the usage rights in the mounted file system.
I don't know what shortcut I was taking by asking what I asked?
The shortcut I perceived in what you asked was that you wanted someone here to tell you what the mount command does and what its effects are. This is something anyone attempting to mess with /etc/fstab should know before said messing. It's like assigning a Windows disk drive letter to <something> and then asking "what did that do?"
Now I am just tired of having to defend myself for no good reason.
Then don't. It's not really necessary, and it really doesn't help (trust me on this one).
Sorry this has transpired, truly am because I was hoping for more both from CentOS and from the community that supports it and is always touting the values of Linux and OpenSource, I was hoping to become a convert finally but instead I am more discouraged now after the reponses I have gotten then I was before.
I actually did not read your original posting until after I saw Lanny's response to your offense at Akemi's advice, which was good advice. Then I decided that this was kind of odd and read the whole thread. I'm not offended that you don't think so, though I find it somewhat unsettling that you somehow missed what the mount command actually does in all of your reading.
In fact, from 'man mount', the first three paragaphs:
All files accessible in a Unix system are arranged in one big tree, the file hierarchy, rooted at /. These files can be spread out over sev- eral devices. The mount command serves to attach the file system found on some device to the big file tree. Conversely, the umount(8) command will detach it again. The standard form of the mount command, is mount -t type device dir This tells the kernel to attach the file system found on device (which is of type type) at the directory dir. The previous contents (if any) and owner and mode of dir become invisible, and as long as this file system remains mounted, the pathname dir refers to the root of the file system on device.
Maybe I've been doing Unix/Linux too long, but it seems to me that these three paragraphs answered all of your questions. As you yourself pointed out, reading is important. That's why I read your questions, and that's why I couldn't understand how you could read the above man page elements and /not/ understand what it means.
That's why I made the comments I did, including the self-deprecation I thought you might find informative, possibly even amusing, but that seems to have gone awry as well. Perhaps I need to work on my own writing skills as well, but newbies have responsibilities, too. In my eyes, these were neither assumed nor fulfilled.
mhr _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Seems my mistake has been in focusing on mount.cifs and not just mount itself. After reading what you posted I checked man mount which is much more informative then mount.cifs.
I got to mount.cifs because I started out searching for info on mounting windows shares. Originally my searching and reading had me focused on samba. That was until I read something about samba being deprecated and replaced with cifs. In hunting down cifs I was lead to mount.cifs.
I appreciate this response as it was helpful and insightful. It should seem obvious that I somewhat understood things, and wanted clarification or affirmation if you will from the experts that what I was understanding was correct.
Thanks for your time and your response, it is appreciated and made me realize an oversight of my own that I need to be more aware of. My guess is there are other things like mount and mount.cifs, probably something like x.y where x is a command and y is some additional features or something related to the command.
On Wed, Jul 30, 2008 at 5:28 PM, TechGuy techguy@gmail.com wrote:
Seems my mistake has been in focusing on mount.cifs and not just mount itself. After reading what you posted I checked man mount which is much more informative then mount.cifs.
Ah - I suppose I could have said that better, too....
HTH
mhr
On Wed, Jul 30, 2008 at 6:51 PM, MHR mhullrich@gmail.com wrote:
On Wed, Jul 30, 2008 at 4:26 PM, TechGuy techguy@gmail.com wrote:
Sorry this has transpired, truly am because I was hoping for more both from CentOS and from the community that supports it and is always touting the values of Linux and OpenSource, I was hoping to become a convert finally but instead I am more discouraged now after the reponses I have gotten then I was before.
I actually did not read your original posting until after I saw Lanny's response to your offense at Akemi's advice, which was good advice. Then I decided that this was kind of odd and read the whole thread. I'm not offended that you don't think so, though I find it somewhat unsettling that you somehow missed what the mount command actually does in all of your reading.
I think Akemi reacted to your thread on the CentOS Forum: http://www.centos.org/modules/newbb/viewtopic.php?topic_id=15510&forum=37 which did get you timely responses that did not say "RTFM" and then you posted here in the mailing list. Also, recently, there was someone who hid behind some email address. Here you are TechGuy and on the forum you are d4rkf1br and that's OK, but, it would be better to ask for help either in the Forum, or here in the mailing list, one place or the other, and then be patient and courteous and friendly, until the issue is solved. If you hang out here for awhile, you will find that the developers and the most knowledgeable and helpful people on this mailing list all use their real names. Along with many of the newbies, like myself.
If you are new to Unix/Linux, this is *NOT* something you are going to learn quickly. There is a very long learning curve. IMHO, many of the people who are on this list and using this Distro are using it because they get better support from this mailing list than they would if they paid for a support contract with our upstream.
You can get discouraged and give up and leave, or, you can continue to hang out here, and learn, as MHR has. Someday, maybe he will be one of the gurus here. He's smart. You can be smart or you can be dumb. It's your choice. Good luck!