?
Solved

Accessing NT partitions

Posted on 1999-01-07
6
Medium Priority
?
241 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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 400 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month8 days, 13 hours left to enroll

764 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