<div dir="ltr"><div><div><div><div><div>Clearly, as you pointed out in your earlier post, the CIFS mounts being done are not working properly. Maybe doing them properly would solve our issues. A domain admin can have mounts always appear and be available to whoever is allowed access to the system (i.e. the client).<br>
<br></div>There are boxes in the initial mount setup that asks things like "automount" or similar. From a CLI, there are flags to be set that will automatically remount on power up. Don't recall the exact commands as I tend to write that crap as scripts so I can forget it as soon as possible. So this is a service account that needs these mounts.<br>
<br></div>Clearly, I have pissed off someone with a short "use the stupid cifs for windows as it works best" answer when I guess I should have spent 3-4 hours of my time at work googleing up info about to manage windows system for a Linux users group. Maybe a windows admin group will have someone who has the answer needed at their mental fingertips. I don't as I avoid windows systems as I have found them to be pathologically unmanageable to the degree I will accept as managed.<br>
<br></div>snark does not engender assistance.<br><br></div>At any rate, see these:<br><br><a href="http://serverfault.com/questions/426288/permanently-mount-network-share-without-the-need-for-log-on-windows">http://serverfault.com/questions/426288/permanently-mount-network-share-without-the-need-for-log-on-windows</a><br>
<a href="http://stackoverflow.com/questions/182750/map-a-network-drive-to-be-used-by-a-service/4763324#4763324">http://stackoverflow.com/questions/182750/map-a-network-drive-to-be-used-by-a-service/4763324#4763324</a><br>
<br></div>The second one sounds a bit familiar to me.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 25, 2014 at 1:05 PM, Lightner, Jeff <span dir="ltr"><<a href="mailto:JLightner@dsservices.com" target="_blank">JLightner@dsservices.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Really? Why didn't I think of that?<br>
<br>
The original post clearly states we ARE doing CIFS shares.<br>
<br>
It does mention NFS as an alternate idea because that is my other choice.<br>
<br>
The question is not "HOW DO I SHARE?" but rather "HOW DO I MOUNT PERSITENTLY AND AUTOMATICALLY to the client Windows server?".<br>
<br>
Subsequent replies were elicited further details from me to make the above clear.<br>
<br>
One of the things that truly gripes me is that if one puts a lot of detail in a post everyone ignores it but if one excludes it then folks complain they didn't get enough information to help.<br>
<br>
There are surely tons of clueless newbies that don't think to look at documentation or web searches before posting questions but I thought it was clear from my original post that I had in fact looked at numerous links before posting.<br>
<br>
No one is required to help but one really ought to see if they're adding to the conversation before replying with simple one liners implying the OP is a moron.<br>
<div class=""><br>
-----Original Message-----<br>
From: <a href="mailto:ale-bounces@ale.org">ale-bounces@ale.org</a> [mailto:<a href="mailto:ale-bounces@ale.org">ale-bounces@ale.org</a>] On Behalf Of Jim Kinney<br>
Sent: Monday, August 25, 2014 12:12 PM<br>
To: Atlanta Linux Enthusiasts - Yes! We run Linux!<br>
</div><div><div class="h5">Subject: Re: [ale] Automatic and Persistent share mount on Windows 2008 R2?<br>
<br>
Ah. So use cifs.<br>
On Aug 25, 2014 10:51 AM, "Lightner, Jeff" <<a href="mailto:JLightner@dsservices.com">JLightner@dsservices.com</a>> wrote:<br>
<br>
> Just to re-iterate:<br>
> The shares are being done by NAS dedupe appliances and I'm trying to<br>
> mount the shares on the Windows 2008 R2 system. (i.e. the Windows<br>
> system is the client mounting the shares not the server exporting them).<br>
><br>
> There is no control over the NAS appliances other than to create<br>
> shares as either NFS or CIFS so iSCSI is not an option.<br>
><br>
><br>
> -----Original Message-----<br>
> From: <a href="mailto:ale-bounces@ale.org">ale-bounces@ale.org</a> [mailto:<a href="mailto:ale-bounces@ale.org">ale-bounces@ale.org</a>] On Behalf Of<br>
> Justin Goldberg<br>
> Sent: Monday, August 25, 2014 9:51 AM<br>
> To: Atlanta Linux Enthusiasts<br>
> Subject: Re: [ale] Automatic and Persistent share mount on Windows 2008 R2?<br>
><br>
> Another option is installing the Windows builtin iSCSI target and<br>
> mounting it from Linux, then have the Linux machine, acting as the<br>
> frontend, share out the box on the network. iSCSI is a one-to-one<br>
> protocol and is block-level, one machine to another, mounting the<br>
> drive on a lower level than SMB. It would obviate the need to mess<br>
> around with Windows authentication, or at least that's my hope.<br>
> Perhaps it would work better if the Windows server is in workgroup mode.<br>
><br>
> - Justin<br>
><br>
> On Fri, Aug 22, 2014 at 5:29 PM, Lightner, Jeff<br>
> <<a href="mailto:JLightner@dsservices.com">JLightner@dsservices.com</a>><br>
> wrote:<br>
><br>
> > I have two data deduplication devices that do NAS style shares. They<br>
> can<br>
> > do NFS or CIFS (or both at same time using different shares). The NFS<br>
> > shares have been there for quite some time and I successfully mount<br>
> > those to various HP-UX and Linux servers with no issue.<br>
> ><br>
> > We need to try to mount to a Windows 2008 R2 server. Today I got as far<br>
> > as being able to login to the Windows server and map the share to a<br>
> > drive letter then verify I could read and write from it.<br>
> ><br>
> > The issue is that CIFS mount:<br>
> ><br>
> > a) Is only available to the user I logged in as when I did the map<br>
> on<br>
> > the Windows side. (This was also true when I had the Windows Admin do<br>
> it<br>
> > using the domain administrative account.)<br>
> ><br>
> > b) Is not available to the services that were already started<br>
> > automatically at boot. It is these services that will be writing to and<br>
> > reading from the drive.<br>
> ><br>
> > So my question is how can I setup an automatic mount of a share in<br>
> > Windows at boot AND insure that services started will have access to<br>
> > read and write to it?<br>
> ><br>
> > We did in fact try to enable NFS Services on the Windows server<br>
> > today but for whatever reason it puked on doing that each time and<br>
> > forced a<br>
> reboot.<br>
> > If someone knows how to enable that on Windows 2008 R2 as well as<br>
> > how to make a mount there persistent (similar to the way it would be<br>
> > if in fstab on UNIX/Linux) I'd be happy to go that route instead.<br>
> ><br>
> > Please don't point me at links that "might address" this if you<br>
> > haven't already tried them and know they work. After working most<br>
> > of the week on this I've not found anything that really solves it in<br>
> > many<br>
> web searches.<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > Athena(R), Created for the Cause(tm)<br>
> ><br>
> > Making a Difference in the Fight Against Breast Cancer<br>
> ><br>
> > _________________________________________________________<br>
> ><br>
> > CONFIDENTIALITY NOTICE: This e-mail may contain privileged<br>
> ><br>
> > or confidential information and is for the sole use of the intended<br>
> ><br>
> > recipient(s). If you are not the intended recipient, any disclosure,<br>
> ><br>
> > copying, distribution, or use of the contents of this information<br>
> ><br>
> > is prohibited and may be unlawful. If you have received this<br>
> > electronic<br>
> ><br>
> > transmission in error, please reply immediately to the sender that<br>
> ><br>
> > you have received the message in error, and delete it. Thank you.<br>
> > -------------- next part -------------- An HTML attachment was<br>
> > scrubbed...<br>
> > URL: <<br>
> > <a href="http://mail.ale.org/pipermail/ale/attachments/20140822/a6fab4d2/atta" target="_blank">http://mail.ale.org/pipermail/ale/attachments/20140822/a6fab4d2/atta</a><br>
> > ch<br>
> > ment.html<br>
> > ><br>
> > _______________________________________________<br>
> > Ale mailing list<br>
> > <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
> > <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
> > See JOBS, ANNOUNCE and SCHOOLS lists at<br>
> > <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
> ><br>
> -------------- next part -------------- An HTML attachment was<br>
> scrubbed...<br>
> URL: <<br>
> <a href="http://mail.ale.org/pipermail/ale/attachments/20140825/d1ec8ad4/attach" target="_blank">http://mail.ale.org/pipermail/ale/attachments/20140825/d1ec8ad4/attach</a><br>
> ment.html<br>
> ><br>
> _______________________________________________<br>
> Ale mailing list<br>
> <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
> <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
> See JOBS, ANNOUNCE and SCHOOLS lists at<br>
> <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
><br>
> _______________________________________________<br>
> Ale mailing list<br>
> <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
> <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
> See JOBS, ANNOUNCE and SCHOOLS lists at<br>
> <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
</div></div>URL: <<a href="http://mail.ale.org/pipermail/ale/attachments/20140825/93de0543/attachment.html" target="_blank">http://mail.ale.org/pipermail/ale/attachments/20140825/93de0543/attachment.html</a>><br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">-- <br>James P. Kinney III<br><i><i><i><i><br></i></i></i></i>Every time you stop a school, you will have to build a jail. What you
gain at one end you lose at the other. It's like feeding a dog on his
own tail. It won't fatten the dog.<br>
- Speech 11/23/1900 Mark Twain<br><i><i><i><i><br><a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br></i></i></i></i></div>
</div>