Discussion Locked

NFS: need to mount a NT folder.

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,

I have RH7.0 and recompiled kernel that support NTFS. It seems working because I have mounted local NTFS and using it. Now,
I need to mount a folder in NT 4.0 OS. Of course, the folder is in NTFS partition.
I can ping the NT box.

I couldn't get right command, I tried;
mount -t sambafs server//bbs /mnt/bbs
and
mount -nfs server:/bbs/ /mnt/bbs
neither work for me.

I looked at man page but still no clue.
Any help would be appreciated.

Thanks,
Sunny :)

7 replies

by kevin anderson

I think

mount -t ntfs //server/bbs /mnt/bbs

or more likely

mount -t smbfs -o username=Your_username,password=your_password //server/bbs /mnt/bbs

You might need a UserID and Password with the first one as well. I'd recommend the second though. Also, the second should be one long line, on my screen here, it's wrapping.

kev.

by shanghai sam

Kevin,

Thank you very much, it works.
I used your second(?) command as you recommended. It works right away.

I will open another case, to mount ext2
file system.

Thanks,

by gazz

here is something else to try. I am not sure if you need samba installed to get the command to work properly.

" mount -t smbfs -o username=domain_user_name //server_name/share_name /mount_point "

by vidal

A) Check the server is correctly defined in /etc/hosts or u have a correctly defined WINS support in your smb.conf file.

B) Have u installed samba?, have u compiled support as module or inside kernel 4 smbfs?
if yes? .. have u loaded the correct module?

C) try smbclient to access the nt share
if u can access from smbclient, use smbmount with the propper parameters to mount the nt share.

smbclient //server/share -U user -W workgrup
and later smbmount //server/share /mnt ....

idprefer to use smbclient \\\\server\\share .. yes double the backslashes ..

I hope this is usefull 4 u.

See u.

by shanghai sam

thank you for your comment but as you see above answer, I needed one command line to mount.

Thanks alot though.

This discussion is closed to new replies.