Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

/dev/fs does not show network drive-letters

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Windows - UNIX Interop] >> System & Network Admin Forum >> /dev/fs does not show network drive-letters Page: [1]
Login
Message << Older Topic   Newer Topic >>
/dev/fs does not show network drive-letters - Apr. 7, '04, 8:19:24 AM   
aotto1968

 

Posts: 37
Joined: Apr. 7, '04,
From: Germany
Status: offline
Hi,

my problem:

1) I have a linux box which provide a linux share

dev1usr@linux02:~> cat /etc/exports
/home/Project/TclBase *(rw,sync,all_squash,anonuid=500,anongid=100)
/home/Project/TclSNMP *(rw,sync,all_squash,anonuid=500,anongid=100)
/home/Project/darwin *(rw,sync,all_squash,anonuid=500,anongid=100)

2) I can mount the share with the Wondows-Explorer without any problem

3) I can access the NFS share with /net/linux02/home/Project/TclBase

but now my problems:

1.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
dev1usr@linux02:~> ssh win01
Welcome to the Interix UNIX utilities.

DISPLAY=localhost:0.0
dev1usr@win01:~> mount linux02:/home/Project/TclBase X:
Network Error - 5

Type 'NET HELPMSG 5' for more information.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

2. If I mount my NFS directory with Windows-Explorer I have no
DRIVE letter under /dev/fs
( I mount my NFS share under X: A: D: E: are just floppy,dvd,cd )
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
dev1usr@win01:~> ll /dev/fs
ls: A: Input/output error
ls: D: Input/output error
ls: E: Input/output error
total 0
drwxrwxr-x+ 1 +Administratoren +SYSTEM 0 Apr 7 09:50 C
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

3. The only working solution with Interix is the /net automounter
but this is very very slow. my logfiles on the linux-box says
that !every! access does a new mount of the fs


is any better solution available ?


mfg

aotto
Post #: 1
RE: /dev/fs does not show network drive-letters - Apr. 7, '04, 8:46:27 AM   
markfunk

 

Posts: 670
Joined: Mar. 31, '03,
Status: offline
1) network error 5 is "access is denied".
Have you tried using the "-u:username" option to the mount command ?

2) when you ssh into Interix, (and you think X: is mounted), what is the output from "net use" ?
The drive letters that display in "net use" should also be available in /dev/fs.

Remember that the ssh session has its own set of drive letters - independent from any other logged in session on Windows XP.
So you have to mount the drives you want for each session.

(in reply to aotto1968)
Post #: 2
RE: /dev/fs does not show network drive-letters - Apr. 7, '04, 10:47:01 AM   
aotto1968

 

Posts: 37
Joined: Apr. 7, '04,
From: Germany
Status: offline
Hi,

You get the output from my ssh session ->
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

dev1usr@win01:~> net use
Neue Verbindungen werden gespeichert.


Status Lokal Remote Netzwerk

-------------------------------------------------------------------------------
Nicht verfgb X: \\linux02.otto-net\home\Project\TclBase
NFS Network
Der Befehl wurde erfolgreich ausgefhrt.

dev1usr@win01:~> ll /dev/fs
ls: A: Input/output error
ls: D: Input/output error
ls: E: Input/output error
total 0
drwxrwxr-x+ 1 +Administratoren +SYSTEM 0 Apr 7 09:50 C
dev1usr@win01:~> mount -u:dev1usr linux02:/home/Project/TclBase Y:
Password: ????????
-> nothing happend !!!
^C
dev1usr@win01:~> mount -u:dev1usr linux02:/home/Project/TclBase Y:
Password: ????????
-> nothing happend !!!
^C
dev1usr@win01:~> ls -al /net/linux02/home/Project/TclBase
total 31
drwxr-xr-x 9 dev1usr nobody 512 Apr 7 09:59 .
dr-xr-xr-x 2 nouser nobody 64 Jan 1 1970 ..
-rwxr-xr-x 1 dev1usr nobody 889 Apr 6 15:01 .Alias
-rwxr-xr-x 1 dev1usr nobody 1587 Apr 7 10:10 .Init.sh
-rw-r--r-- 1 dev1usr nobody 50 Apr 6 13:31 .MOUNT
-rw-r--r-- 1 dev1usr nobody 314 Mar 31 13:44 .PROJECT_BUILD
-rw-r--r-- 1 dev1usr nobody 316 Apr 4 18:00 .labelignore
-rwxr-xr-x 1 dev1usr nobody 712 Mar 31 13:44 .screenrc
-rw-r--r-- 1 dev1usr nobody 1104 Apr 6 14:57 .tclbase.ini
-rw-r--r-- 1 dev1usr nobody 734 Mar 31 13:44 CHANGES
drwxr-xr-x 2 dev1usr nobody 128 Apr 5 08:43 CVS
-rw-r--r-- 1 dev1usr nobody 1224 Mar 31 13:44 Makefile
-rw-r--r-- 1 dev1usr nobody 1291 Apr 4 14:16 README
drwxr-xr-x 3 dev1usr nobody 408 Mar 31 13:44 bin
drwxr-xr-x 3 dev1usr nobody 216 Mar 31 13:45 install
drwxr-xr-x 3 dev1usr nobody 224 Mar 31 13:44 lib
-rw-r--r-- 1 dev1usr nobody 0 Apr 7 09:54 otto
drwxr-xr-x 10 dev1usr nobody 344 Apr 4 10:27 src
drwxr-xr-x 3 dev1usr nobody 128 Mar 31 13:44 tool
drwxr-xr-x 3 dev1usr nobody 72 Jan 29 08:05 var
dev1usr@win01:~>

(in reply to markfunk)
Post #: 3
RE: /dev/fs does not show network drive-letters - Apr. 7, '04, 11:13:09 AM   
markfunk

 

Posts: 670
Joined: Mar. 31, '03,
Status: offline
how long did you wait before ^C ?
Are you ssh'ing into the Windows box using account name "dev1user" ?

The only way to get a drive letter access is if you can get the mount command to be successful.

I think mount command uses UserNameMapper during the connection request.
You may want to make sure that is set up properly.
And check how you're exporting the fs from Linux. They aren't restricted are they ?
Have you read the SFU help docs ?
There may be something there.

(in reply to aotto1968)
Post #: 4
RE: /dev/fs does not show network drive-letters - Apr. 7, '04, 11:23:23 AM   
aotto1968

 

Posts: 37
Joined: Apr. 7, '04,
From: Germany
Status: offline
Hi,

I have additional information:

1) if I open a shell on my windows xp box I get the X: drive-letter
2) if I use a telnet or ssh session from my linux box no X: driver-letter is available
3) if I use the "net use" command in 1) I get an empty status
if I use the "net use" command in 2) I get "not available" as status
4) if I open a telnet session to my windows xp box and type ..

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
dev1usr@win01:~> mount linux02:/home/Project/TclBase X:
Network Error - 1202

Type 'NET HELPMSG 1202' for more information.

dev1usr@win01:~> ls -al /dev/fs
ls: A: Input/output error
ls: D: Input/output error
ls: E: Input/output error
total 0
drwxrwxr-x+ 1 +Administratoren +SYSTEM 0 Apr 7 09:50 C
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
-> the error message says: I can not use X: because it is in use
-> but X: is not available in /dev/fs

5) if I use Y: as drive letter (in a telnet session)

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
dev1usr@win01:~> mount linux02:/home/Project/TclBase Y:
Y: is now successfully connected to linux02:/home/Project/TclBase

The command completed successfully.
dev1usr@win01:~> ll /dev/fs
ls: A: Input/output error
ls: D: Input/output error
ls: E: Input/output error
total 1
drwxrwxr-x+ 1 +Administratoren +SYSTEM 0 Apr 7 09:50 C
drwxr-xr-x 9 dev1usr nobody 512 Apr 7 09:59 Y
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

-> this is good I got Y: (not X:) as network drive

#####################################################################
##### now put everything together ....
i
if you see the drive letter at /dev/fs or not depends ... :

1) if you are local (at the windows xp box) or remote
2) if you are using a telnet or ssh session
3) if you are remote and if you use a telnet session you can not use
a drive letter which is currently (hidden) in use
4) if you are remote and if you use a ssh session you can not use
any (at lease nfs) network connection

question: how does I get a drive letter in a remote (ssh) session?

mfg

aotto

(in reply to markfunk)
Post #: 5
RE: /dev/fs does not show network drive-letters - Apr. 7, '04, 11:36:29 AM   
aotto1968

 

Posts: 37
Joined: Apr. 7, '04,
From: Germany
Status: offline
Hi,

1) mount -u:dev1usr .... I can wait forever ...
2) I use "dev1usr" but I add my public rsa-ssh key to
dev1usr@win01:~> cat .ssh/authorized_keys
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAp3eYaqv2h7Fk1KjRsF5vaUJDPCOyI22+glA8ogdvp3grklge66xxRb/0svfJLdnNGJ620aGfNyIM3qY4634PvsMKsPM4Q9b1PS/I54QpqRfDNZ+msSECjjsmg9287fxEW5/k2qMOQegzSBKs6Tk89fiqgw+BFh0Oc4ByWGO+v/s= dev1usr@linux02
this mean on linux I use just: "ssh win01" and I am on my windows box
2) mount with telnet works but with ssh does not works ..
3) the problem seemst to be ssh ...

setp one delete my public ssh keys
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
dev1usr@win01:~/.ssh> mv authorized_keys authorized_keys.new
dev1usr@win01:~/.ssh> ll
total 12
drwx------ 1 dev1usr +SYSTEM 0 Apr 7 17:33 .
drwxr-xr-x 1 dev1usr +SYSTEM 0 Apr 7 16:53 ..
-rw-r--r-- 1 dev1usr +SYSTEM 225 Apr 6 15:33 authorized_keys.new
-rw------- 1 dev1usr +SYSTEM 668 Apr 6 15:31 id_dsa
-rw-r--r-- 1 dev1usr +SYSTEM 603 Apr 6 15:31 id_dsa.pub
-rw------- 1 dev1usr +SYSTEM 883 Apr 6 15:30 id_rsa
-rw-r--r-- 1 dev1usr +SYSTEM 223 Apr 6 15:30 id_rsa.pub
-rw------- 1 dev1usr +SYSTEM 528 Apr 6 15:29 identity
-rw-r--r-- 1 dev1usr +SYSTEM 332 Apr 6 15:29 identity.pub
-rw-r--r-- 1 dev1usr +SYSTEM 229 Apr 6 15:32 known_hosts
drwxr-xr-x 1 dev1usr +SYSTEM 0 Apr 6 15:32 linux02
dev1usr@win01:~/.ssh> logout
Connection to win01 closed.
dev1usr@linux02:~/win01> ssh win01
dev1usr@win01's password:
Welcome to the Interix UNIX utilities.

DISPLAY=localhost:0.0
dev1usr@win01:~> mount

Local Remote Properties
-------------------------------------------------------------------------------
X: \\linux02.otto-net\home\Project\TclBas Unavailable
Y: linux02:/home/Project/TclBase Unavailable
dev1usr@win01:~> ll /dev/fs
ls: A: Input/output error
ls: D: Input/output error
ls: E: Input/output error
total 0
drwxrwxr-x+ 1 +Administratoren +SYSTEM 0 Apr 7 09:50 C
dev1usr@win01:~> mount linux02:/home/Project/TclBase Z:
Network Error - 5

Type 'NET HELPMSG 5' for more information.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

-> this does not help :(

(in reply to aotto1968)
Post #: 6
RE: /dev/fs does not show network drive-letters - Apr. 7, '04, 11:54:10 AM   
markfunk

 

Posts: 670
Joined: Mar. 31, '03,
Status: offline
If the mount works for telnet, but not ssh, then you are correct it is a ssh problem. It is a known problem. The ssh login does NOT create a security token using your password. So its not a "complete" security token.
You will get network resource problems due to this.

This is a known bug in the current ssh Interix implementation.

I think Rodney is working on getting this fixed.

(in reply to aotto1968)
Post #: 7
RE: /dev/fs does not show network drive-letters - Apr. 7, '04, 12:31:02 PM   
Rodney

 

Posts: 3714
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
Local access machine access is fine.
As a work around once you are in your can do a su username
and this will make a full token.
The change to ssh won't be for a while.

(in reply to markfunk)
Post #: 8
Page:   [1]
All Forums >> [Windows - UNIX Interop] >> System & Network Admin Forum >> /dev/fs does not show network drive-letters Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.172