Solved

Accessing NT partitions

Posted on 1999-01-07
6
232 Views
Last Modified: 2010-04-20
I would like to mount the partitions on my NT server under Linux so that I can use the Linux backup tool BRU to back them up.  I realise that I need to use Samba but how do I set this up (both on the Linux and the NT side).  Samba is installed on the Linux machine - I assume it doesn't need to be installed on NT as well.  What do I need to do to set up the partitions on the NT side and how would I actually mount the partitions?

Thanks in advance.

Richard
0
Comment
Question by:lewin
6 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1639074
You can mount a linux partition on NT, using  NET USE on NT and Samba on Linux.
You can mount a NT share on linux, using smbmount on Linux while NT has shared the directory.
You also may use smbclient to simply copy files from Linux to NT, or you can use smbtar to backup files from/to Linux/NT.

So please first think about in which direction you want to have which functionaity. The simplest way is to use Linux as server mounted from NT, the other way arround may be more tricky.
0
 

Author Comment

by:lewin
ID: 1639075
What I need to do is mount the NT shared directories on the Linux machine.  I know that I need to use smbmount but I am not sure how I set this up on the NT and the Linux side.  What needs to be configured?
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1639076
NT: share the requested directory, set share permissions to full control for everyone, and NTFS permissions as you like.
Linux: mkdir mountpoint
           smbmount //NTserver/share_name mountpoint -Untuser -Ppassword

That's it.
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 2

Expert Comment

by:harrys
ID: 1639077
>>Linux: mkdir mountpoint  
>> smbmount //NTserver/share_name mountpoint -Untuser -Ppassword
>>That's it.

In case he has the smb filesystem in his kernel ;-)
0
 

Accepted Solution

by:
alexago earned 200 total points
ID: 1639078
If you want to mount a NT partition (NTFS) on the Linux side you can use the 2.2.x kernel
, enabling the NTFS filesystem driver, or you can use, with a previous kernel, an alpha version of an NTFS filesystem driver.

If you want to read an Linux partitition on the NT side, you can use the Explore2fs utility, an explorer like program that you permit to access (in read and write mode) to a ext2 partition. (http://uranus.it.swin.edu.au/~jn/linux/).

In this mode you can read/write NTFS or ext2 partition on both side.
0
 

Expert Comment

by:bing031398
ID: 1639079
Don't forget the fix to the NT registry if you are using
NT 4.0 SP 3up. I will complain with access denied otherwise
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now