Access NFS share from cygwin?Mounting NFS share from OpenSolaris on Linuxnfs server on cygwin slowNFS share...
RegionDifference for Cylinder and Cuboid
Why is stat::st_size 0 for devices but at the same time lseek defines the device size correctly?
Rejected in 4th interview round citing insufficient years of experience
Welcoming 2019 Pi day: How to draw the letter π?
Is having access to past exams cheating and, if yes, could it be proven just by a good grade?
Why do passenger jet manufacturers design their planes with stall prevention systems?
Counting certain elements in lists
Good allowance savings plan?
My adviser wants to be the first author
I need to drive a 7/16" nut but am unsure how to use the socket I bought for my screwdriver
Why does Deadpool say "You're welcome, Canada," after shooting Ryan Reynolds in the end credits?
2D counterpart of std::array in C++17
Why did it take so long to abandon sail after steamships were demonstrated?
Using "wallow" verb with object
Meaning of "SEVERA INDEOVI VAS" from 3rd Century slab
SQL Server Primary Login Restrictions
Bash replace string at multiple places in a file from command line
How could a female member of a species produce eggs unto death?
How do anti-virus programs start at Windows boot?
Happy pi day, everyone!
Can the damage from a Talisman of Pure Good (or Ultimate Evil) be non-lethal?
Why is "das Weib" grammatically neuter?
Is it normal that my co-workers at a fitness company criticize my food choices?
What is IP squat space
Access NFS share from cygwin?
Mounting NFS share from OpenSolaris on Linuxnfs server on cygwin slowNFS share suddenly becomes unresponsiveShared Cygwin Installunable to access NFS share(s)Incorrect directory permissions with OpenSSH on Cygwin on Windows Server 2008 SP2Windows Server 2008 R2 Server for NFS Anonymous AccessCygwin: how do I disable /cygdriveCan’t mount NFS share from linux server on windowscygwin grep running 680 times faster via ssh than via remote desktop
We have a Windows 2003 Server on which we have installed Microsoft's Services for UNIX, and we have mounted a few NFS shares that contain shared resources that we need to access from this box. When I log in to this server with remote desktop, I am able to browse the contents of the NFS shares and everything works fine.
However, one use case that we have is that we need to access this server using SSH, and still be able to access the NFS shares. We are running the Cygwin SSH daemon to provide SSH access to the server, but for some reason when we log in to the Windows 2003 server using SSH we can no longer access the NFS shares.
To demonstrate, here is the output of the 'mount' command, first from a Cygwin shell when logged in with remote desktop:
$ mount
C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
C:/cygwin on / type ntfs (binary,auto)
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
O: on /cygdrive/o type nfs (binary,posix=0,user,noumount,auto)
P: on /cygdrive/p type nfs (binary,posix=0,user,noumount,auto)
Z: on /cygdrive/z type nfs (binary,posix=0,user,noumount,auto)
And now, the same 'mount' command when logged in with SSH:
$ mount
C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
C:/cygwin on / type ntfs (binary,auto)
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
Notice the missing O: P: and Z: NFS shares in the latter.
Can anyone tell me why I am unable to see these NFS shares when logged in with SSH?
Thanks!
nfs ssh cygwin
add a comment |
We have a Windows 2003 Server on which we have installed Microsoft's Services for UNIX, and we have mounted a few NFS shares that contain shared resources that we need to access from this box. When I log in to this server with remote desktop, I am able to browse the contents of the NFS shares and everything works fine.
However, one use case that we have is that we need to access this server using SSH, and still be able to access the NFS shares. We are running the Cygwin SSH daemon to provide SSH access to the server, but for some reason when we log in to the Windows 2003 server using SSH we can no longer access the NFS shares.
To demonstrate, here is the output of the 'mount' command, first from a Cygwin shell when logged in with remote desktop:
$ mount
C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
C:/cygwin on / type ntfs (binary,auto)
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
O: on /cygdrive/o type nfs (binary,posix=0,user,noumount,auto)
P: on /cygdrive/p type nfs (binary,posix=0,user,noumount,auto)
Z: on /cygdrive/z type nfs (binary,posix=0,user,noumount,auto)
And now, the same 'mount' command when logged in with SSH:
$ mount
C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
C:/cygwin on / type ntfs (binary,auto)
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
Notice the missing O: P: and Z: NFS shares in the latter.
Can anyone tell me why I am unable to see these NFS shares when logged in with SSH?
Thanks!
nfs ssh cygwin
Are you SSHing in as the same user that you're logged on locally with? Does runningidgive the same output on both? I'm betting this is permissions-related...
– Andy Smith
Dec 19 '10 at 21:38
add a comment |
We have a Windows 2003 Server on which we have installed Microsoft's Services for UNIX, and we have mounted a few NFS shares that contain shared resources that we need to access from this box. When I log in to this server with remote desktop, I am able to browse the contents of the NFS shares and everything works fine.
However, one use case that we have is that we need to access this server using SSH, and still be able to access the NFS shares. We are running the Cygwin SSH daemon to provide SSH access to the server, but for some reason when we log in to the Windows 2003 server using SSH we can no longer access the NFS shares.
To demonstrate, here is the output of the 'mount' command, first from a Cygwin shell when logged in with remote desktop:
$ mount
C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
C:/cygwin on / type ntfs (binary,auto)
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
O: on /cygdrive/o type nfs (binary,posix=0,user,noumount,auto)
P: on /cygdrive/p type nfs (binary,posix=0,user,noumount,auto)
Z: on /cygdrive/z type nfs (binary,posix=0,user,noumount,auto)
And now, the same 'mount' command when logged in with SSH:
$ mount
C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
C:/cygwin on / type ntfs (binary,auto)
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
Notice the missing O: P: and Z: NFS shares in the latter.
Can anyone tell me why I am unable to see these NFS shares when logged in with SSH?
Thanks!
nfs ssh cygwin
We have a Windows 2003 Server on which we have installed Microsoft's Services for UNIX, and we have mounted a few NFS shares that contain shared resources that we need to access from this box. When I log in to this server with remote desktop, I am able to browse the contents of the NFS shares and everything works fine.
However, one use case that we have is that we need to access this server using SSH, and still be able to access the NFS shares. We are running the Cygwin SSH daemon to provide SSH access to the server, but for some reason when we log in to the Windows 2003 server using SSH we can no longer access the NFS shares.
To demonstrate, here is the output of the 'mount' command, first from a Cygwin shell when logged in with remote desktop:
$ mount
C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
C:/cygwin on / type ntfs (binary,auto)
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
O: on /cygdrive/o type nfs (binary,posix=0,user,noumount,auto)
P: on /cygdrive/p type nfs (binary,posix=0,user,noumount,auto)
Z: on /cygdrive/z type nfs (binary,posix=0,user,noumount,auto)
And now, the same 'mount' command when logged in with SSH:
$ mount
C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
C:/cygwin on / type ntfs (binary,auto)
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
Notice the missing O: P: and Z: NFS shares in the latter.
Can anyone tell me why I am unable to see these NFS shares when logged in with SSH?
Thanks!
nfs ssh cygwin
nfs ssh cygwin
asked Dec 9 '10 at 22:20
Jason VoegeleJason Voegele
11613
11613
Are you SSHing in as the same user that you're logged on locally with? Does runningidgive the same output on both? I'm betting this is permissions-related...
– Andy Smith
Dec 19 '10 at 21:38
add a comment |
Are you SSHing in as the same user that you're logged on locally with? Does runningidgive the same output on both? I'm betting this is permissions-related...
– Andy Smith
Dec 19 '10 at 21:38
Are you SSHing in as the same user that you're logged on locally with? Does running
id give the same output on both? I'm betting this is permissions-related...– Andy Smith
Dec 19 '10 at 21:38
Are you SSHing in as the same user that you're logged on locally with? Does running
id give the same output on both? I'm betting this is permissions-related...– Andy Smith
Dec 19 '10 at 21:38
add a comment |
2 Answers
2
active
oldest
votes
gpedit.msc -> Computer Configuration -> Windows Settings -> Scripts (Startup/Shutdown)
add script batchfile.bat with content:
@echo off
sleep 10
mount 192.168.1.1folder o:
And then you will see mounted discs in ssh.
add a comment |
From within Cygwin shell, I have used "net use \serverpathpath n:"
This will use the Windows NFS client. i.e.
New contributor
Chris Vogan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f211057%2faccess-nfs-share-from-cygwin%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
gpedit.msc -> Computer Configuration -> Windows Settings -> Scripts (Startup/Shutdown)
add script batchfile.bat with content:
@echo off
sleep 10
mount 192.168.1.1folder o:
And then you will see mounted discs in ssh.
add a comment |
gpedit.msc -> Computer Configuration -> Windows Settings -> Scripts (Startup/Shutdown)
add script batchfile.bat with content:
@echo off
sleep 10
mount 192.168.1.1folder o:
And then you will see mounted discs in ssh.
add a comment |
gpedit.msc -> Computer Configuration -> Windows Settings -> Scripts (Startup/Shutdown)
add script batchfile.bat with content:
@echo off
sleep 10
mount 192.168.1.1folder o:
And then you will see mounted discs in ssh.
gpedit.msc -> Computer Configuration -> Windows Settings -> Scripts (Startup/Shutdown)
add script batchfile.bat with content:
@echo off
sleep 10
mount 192.168.1.1folder o:
And then you will see mounted discs in ssh.
answered Apr 29 '11 at 10:49
user78113user78113
111
111
add a comment |
add a comment |
From within Cygwin shell, I have used "net use \serverpathpath n:"
This will use the Windows NFS client. i.e.
New contributor
Chris Vogan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
From within Cygwin shell, I have used "net use \serverpathpath n:"
This will use the Windows NFS client. i.e.
New contributor
Chris Vogan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
From within Cygwin shell, I have used "net use \serverpathpath n:"
This will use the Windows NFS client. i.e.
New contributor
Chris Vogan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
From within Cygwin shell, I have used "net use \serverpathpath n:"
This will use the Windows NFS client. i.e.
New contributor
Chris Vogan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Chris Vogan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered 8 mins ago
Chris VoganChris Vogan
1
1
New contributor
Chris Vogan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Chris Vogan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Chris Vogan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f211057%2faccess-nfs-share-from-cygwin%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Are you SSHing in as the same user that you're logged on locally with? Does running
idgive the same output on both? I'm betting this is permissions-related...– Andy Smith
Dec 19 '10 at 21:38