mounting windows clients

Greg Conway greg at
Mon Oct 29 13:17:03 GMT 2001

Hi Keith,

Many thanks, this is exactly what I was looking for.

One further question though, unless this is better directed to the red hat

I can mount the drive I want to backup as follows:

mount -t smbfs -o username=greg //greglaptop/c$ /mnt

which prompts me for a password and mounts the drive at /mnt, which is great
but it knocks out my CD ROMs and floppy drive!

If I try to mount the drive anywhere else, I get an error:

Could not resolve mount point /mnt/c

man mount suggests I may need to add drive information into /etc/fstab, but
I don't want the link to be permanent.

Instead, I plan to add various lines into my backup routine along these

mount drive #1
tar data
unmount drive #2
mount drive #2
tar data
unmount drive #2

Any ideas on this, or just a simple 'sod off to the redhat group'??!! (or
maybe use smbmount!)

Having developed what skills I do possess largely on co-located linux
servers, I haven't done a lot of (virtual) mounting before!!

Thanks though, this was just the ticket.



> -----Original Message-----
> From: samba-admin at [mailto:samba-admin at]On
> Behalf Of Keith G. Murphy
> Sent: 29 October 2001 16:32
> To: Samba
> Subject: Re: mounting windows clients
> Greg Conway wrote:
> >
> > > Hi all,
> > >
> > > Quick question...
> > >
> > > I have Samba set up and running quite happily, and providing
> > > netbios shares to our network.
> > >
> > > Using Samba, can I connect to shares on other Windows machines
> > > and mount them under linux so they are available to traverse
> via linux?
> > >
> > > I ask, as I backup the machine by tar'ing up groups of files and
> > > writing them to a tape drive daily, using a simple script I
> knocked up.
> > >
> > > I want to be able to back up drives across the network by the
> > > same system, so I thought if I could simply mount these drives
> > > somehow I could include the mountpoints in my tar routine.
> > >
> > > Anybody got any advice / info / comments on what I'm trying to
> > > achieve here?
> > >
> Sure you can.  The way I do it is to use smbfs/smbmount.  Then you can
> just mount the shares pretty closely to the way you do it with your
> native Linux partitions.  From that point on you can use tar or whatever
> you want.
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:

This is a confidential communication between sender and addressee. If you are not the intended recipient of this message, please notify the sender and do not read, copy, use or disclose this communication to others. Any opinions or views expressed are those of the individual, and unless otherwise stated, are not those of the company. All attachments and intellectual rights remain the property of GML (NT) Limited.

More information about the samba mailing list