Problem with command mount


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Problem with command mount
# 8  
Old 12-20-2013
Scott I really think we should wait to see what error message is produced... coming back to the essential, to mount you should be root no? What difference is there between a smbfs and a NFS fs from a unix point of vue when it comes to mount? To me I see no real difference so I am wondering if the user/passwd that you usually never give when you mount -t is the real issue... but I may be wrong had too much wine and fighting with a strange date bug (with cal extract in a script between AIX and HP (same script result are different and one runs the 31 and the other the 1rst Jan, days off here...)
# 9  
Old 12-20-2013
OK Smilie

BTW, you don't need to be root to use mount.

Code:
$ who am i
scott    ttys001  Dec 18 20:51 

$ uname -a
Darwin Scotts-iMac.local 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64

$ mount -t smbfs //scott:scott@vma/scott /Users/scott/remote

$ ll /Users/scott/remote
total 34
dr-xr-xr-x   2 scott  staff  16384 Dec 20 13:50 .
drwxr-xr-x+ 56 scott  staff   1904 Dec 20 13:55 ..
-r--r--r--   1 scott  staff     10 Dec 20 13:50 hello_from_vma.txt

This User Gave Thanks to Scott For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Mount problem with Linux

Hello, I want to mount a directory with nfs (v3). Server HP-UX 10.20 Client Centos If I export the path "/tausch" with access control for hosts with the command mount -t nfs <SERVER_HP-UX_IP>:/tausch/ /mnt/mnt_bach2/ /etc/exports: /tausch ... (8 Replies)
Discussion started by: nuts
8 Replies

2. Linux

problem in mount

every day i must type # mount -a in the workstation to mount the directory from the server . note 1- fstab is very good no problem in it 2- the network in this workstation is stable 3- i check every thing in this workstation but i dont see any problem 4- the O.S RedHat 3u9 every day the... (1 Reply)
Discussion started by: ayman
1 Replies

3. Red Hat

mount problem 3u9

every day i must type # mount -a in the workstation to mount the directory from the server . note 1- fstab is very good no problem in it 2- the network in this workstation is stable 3- i check every thing in this workstation but i dont see any problem 4- the O.S RedHat 3u9 every day... (3 Replies)
Discussion started by: ayman
3 Replies

4. Shell Programming and Scripting

shell script problem , sudo mount command

cat test.sh sudo mount -t vfat /dev/sda7 /media/Ddrive If i double click the test.sh file and select run in terminal then the terminal prompts for password. How can i avoid typing password? Or if i double click test.sh file and select run then nothing happens. What i'm trying "Double... (3 Replies)
Discussion started by: cola
3 Replies

5. UNIX for Dummies Questions & Answers

usb mount problem

Hi friends, when i boot into my linux system, i am not able to use my USB device while it works on window. i know mount command but it seems my USB does not detected and when i insert my USB into USB port .. and run fdisk list command it does not show any additional device . normally... (2 Replies)
Discussion started by: johnray31
2 Replies

6. Linux

Mount problem

well i have an NFS server setup on a pc "1st server" running Fedora Core 4 and i need to mount this from a non-root user. But when i try this i get this freaking error "mount: only root can do this". i do have the entry in fstab file and i tried following solution (no one are working) entry in... (1 Reply)
Discussion started by: sydney30
1 Replies

7. Solaris

Problem with mount remot..!!

hi all... when I try to mount filesystem on solaris appear me Permission denied this is do it: mount -F nfs <remote file system> <mount point> mount -f nfs remot_server:/share /share when i run this line: nfs mount: server_remoto:/share: Permission denied what i need to do? Regards.. (4 Replies)
Discussion started by: chanfle
4 Replies

8. UNIX for Dummies Questions & Answers

NFS mount problem

Hello, I'm trying to create an NFS mount on server1 to server2. From the man pages I think I'm doing it right: mount server2:/dev/vg60/lvol607 /net1 nfs mount: server1:/dev/vg60/lvol607: Permission denied Do I need to provide login credentials to server 2 somehow? What am I missing? ... (1 Reply)
Discussion started by: FredSmith
1 Replies

9. Solaris

nfs mount problem

I have a NFS share on a Linux server. When I try to mount it on a Solaris 9 server, I get the following message: nfs mount: <nfs-server-name>: : RPC: Program not registered I have a few other Sun boxes and I can mount the share on them without any problems. (2 Replies)
Discussion started by: soliberus
2 Replies

10. UNIX for Dummies Questions & Answers

how to mount a hotswap scsi drive on a solaris 2.6 netra box using the mount command?

Hi... question is this: How do I mount an LVD hotswap scsi drive in bay #2 on a netra using the mount command? volmgt doesn't seem to mount it and/or I don't know how to view the drives data if it's formatted which it may not be. This drive is not new out of the box so I'm not sure. ... (4 Replies)
Discussion started by: soulshaker
4 Replies
Login or Register to Ask a Question