Sponsored Content
Top Forums UNIX for Dummies Questions & Answers help with network drives and such Post 302106236 by suntac on Wednesday 7th of February 2007 08:42:57 AM
Old 02-07-2007
Quote:
Originally Posted by cneill
Thanks for the advice!

However, for some reason I cannot access the link, to the sevens.edu wiki.

Also I am 100% new to unix/linux and I need step by step (click here, type this, spin around 3 times) directions, and the howto page doesn't quite provide that.

Please find below a copy of the relevant part of the page you could not access....

Linux

You can map a network drive to Storage01 using the smbmount utility. You can run the following command as a regular user:

$ smbmount //storage01/share /path/to/mount -o username=myusername,workgroup=campus,uid=mylocalusername,ip=storage01.stevens.edu

* //storage01/share is the mount location. Replacing 'share' with your domain username will map the network drive to your personal storage space. Please read the article on Storage01 for other possible locations.
* /path/to/mount is the location you want to map/mount the network drive at. You can map it to a mountpoint in your current directory such as 'mnt' by not using any slashes (full pathname is also fine)
* username=myusername - myusername should be replaced with your domain username.
* workgroup=campus - this specifies the domain to check your username and password against, leave it like this
* uid=mylocalusername - mylocalusername should be the name of your linux user (whoami will tell you this if you are unsure). This is the user who owns the directory/mountpoint you are mounting/mapping to.
* ip=storage01.stevens.edu - this specifies an "ip address" (a FQDN in this case) to locate Storage01 by. Leave as-is.

When you run this command, you should see a prompt similar to:

Password:

Type in your domain password and press enter. You will now be able to access the file stored on storage01 at the mountpoint you specified.

Regards,
Johan Louwers.
 

9 More Discussions You Might Find Interesting

1. IP Networking

mapping drives

how can i map a shared network drive? Is there any command to perform mapping? For example if i want to map a shared directory named "wwwroot" in machine "dev001" to my machine's "X" drive, how can it be done?? -Thanks Sakthi. (1 Reply)
Discussion started by: cs_sakthi
1 Replies

2. UNIX for Dummies Questions & Answers

Partioning Drives

I have this 36 GB harddisk which houses the root partition along with a 28 GB partion for the rest of the data. The thing I wish to do is that partition this 28 GB into two partions. I have never partitioned the root disk. I just wanted to know whether is it possible to do when the disk is online... (1 Reply)
Discussion started by: DPAI
1 Replies

3. UNIX for Dummies Questions & Answers

detecting drives

I know that Unix is different from windows in that it needs more manual configuring but how do I get Solaris 8 (Intel version) to recognize my floppy drive and cd-rom?? I mean does it automatically detect the drives at startup and I have to mount them or do I have to create the drives somehow and... (1 Reply)
Discussion started by: eloquent99
1 Replies

4. UNIX for Dummies Questions & Answers

Hard drives

Will some one tell me what this means. "warning: ida 0 <slot 6> : command timed out on dev 1/42 blk 4824290 logical unit=0 blocks=5512102, size 2, cmd=0x20." I'm running SCO 505 on a proliant 1600r. Thnank you in advance. (3 Replies)
Discussion started by: franruiz
3 Replies

5. Shell Programming and Scripting

how floppy disks, CDs and flash drives (pen drives) are accessed in UNIX

hi how floppy disks, CDs and flash drives (pen drives) are accessed in UNIX? thanks (0 Replies)
Discussion started by: nokia1100
0 Replies

6. IP Networking

ssh server is attachable from local network not from another network

hello i have a ubuntu ssh server that i can acess from any of my comnputers but only if they are on the same wireless network as the server. i tested trhis my tehtehring my samsung blackjack to my windows partition and installing openssh to windows it works when windows is on the wireless but no... (1 Reply)
Discussion started by: old noob
1 Replies

7. UNIX for Advanced & Expert Users

New Drives on Solaris 8

Hi All! I'm running Solaris 8(02/02) on a v880 with 6 internal drives and several SAN drives attached via HBA cards. My questions is this: Can I use devfsadm -C to see new SAN drives without rebooting? Thanks!! (2 Replies)
Discussion started by: bluescreen
2 Replies

8. Emergency UNIX and Linux Support

Using ln -s with NFS across two drives?

Hi I have a server with a large RAID partition on it. The raid partition is split into a few directories which are then shared individually via NFS. Unfortunately the whole array is filling up and I need to do a little bit of juggling till I can upgrade the whole array to new disks. I... (5 Replies)
Discussion started by: Bashingaway
5 Replies

9. Red Hat

Network becomes slow and return fast only after restart network

Hi, I have 2 machines in production environment: 1. redhat machine for application 2. DB machine (oracle) The application doing a lot of small read&writes from and to the DB machine. The problem is that after some few hours the network from the application to the DB becomes very slow and... (4 Replies)
Discussion started by: moshesa
4 Replies
MOUNT_SMBFS(8)						    BSD System Manager's Manual 					    MOUNT_SMBFS(8)

NAME
mount_smbfs -- mount a shared resource from an SMB file server SYNOPSIS
mount_smbfs [-N] [-o options] [-d mode] [-f mode] [-h] //[domain;][user[:password]@]server[/share] path DESCRIPTION
The mount_smbfs command mounts a share from a remote server using SMB/CIFS protocol. The options are as follows: -N Do not ask for a password. At run time, mount_smbfs reads the ~/Library/Preferences/nsmb.conf file for additional configuration parameters and a password. If no password is found, mount_smbfs prompts for it. -o Options passed to mount(2) are specified with the -o option followed by a comma separated string of options. See the mount(8) man page for possible options and their meanings. Additional options supported by the mount_smbfs are as follows: nobrowse Indicate to the Carbon subsystem that this volume is not to be displayed to the user. automounted Set flags on the mountpoint to indicate that the volume has been mounted by the automounter. nostreams Don't use NTFS Streams even if they are supported by the server. soft Make the mount soft. Fail file system calls after a number of seconds. nonotification Turn off using notifications for this volume. -f mode, -d mode Specify permissions that should be assigned to files and directories. The values must be specified as octal numbers. Default value for the file mode is taken from mount point, default value for the directory mode adds execute permission where the file mode gives read permission. Note that these permissions can differ from the rights granted by SMB server. -h Prints a help message, much like the SYNOPSIS above. //[domain;][user[password]@] server[/share] The mount_smbfs command will use server as the NetBIOS name of remote computer, user as the remote user name and share as the resource name on a remote server. Domain and/or password may be specified here. If user is omitted the logged in user id will be used. Omitting share is an error when mount_smbfs is run from the command line, otherwise a browsing dialogue is presented. path Path to mount point. FILES
nsmb.conf Keeps static parameters for connections and other information. See man nsmb.conf for details. EXAMPLES
This example shows the proper url to use to mount the share PUBLIC from the SMB server myserver : mkdir /smb/public mount -t smbfs //username:userpass@myserver/PUBLIC /smb/public This example shows the proper url to use to mount the share PUBLIC from the SMB server myserver as guest: mkdir /smb/public mount -t smbfs //guest:@myserver/PUBLIC /smb/public Note: You should always use the system mount command and never call mount_smbfs directly. SEE ALSO
mount(2), nsmb.conf(5), mount(8), umount(8) BUGS
Please report bugs to Apple. AUTHORS
Boris Popov <bp@butya.kz>, <bp@FreeBSD.org> FreeBSD March 10, 2000 FreeBSD
All times are GMT -4. The time now is 06:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy