General :: Finding Mount Point Path For Windows CIFS Volume Visible In Ubuntu File Browser

Jan 8, 2010

using Ubuntu file browser, I browsed my Windows network and logged on to a Windows PC. Now Ubuntu file browser shows me "C$ on WinPC" as a folder. I can open it, read/write files, etc.But from bash prompt, I don't see anything of type CIFS/SMBFS listed in the output of "mount". Only the usual suspects (like local CDROM). How can refer to Windows files from Linux commandline?

View 6 Replies


ADVERTISEMENT

General :: Mount External USB Drive In Debian To A Mount Point Based On The Volume Name

May 5, 2011

How do I configure my Debian installation to mount external USB drives to mount points based on the volume names of the drives? For instance, if I have a thumb drive with the volume name of "SWORDFISH," how do I have Linux mount it at /media/SWORDFISH? I'm aware that this can be setup in FSTAB, but that requires that I know the UUID of the device beforehand and that I take the time to set each external device up in FSTAB first. That does nothing for me when I have a thumb drive that has never been plugged into my computer before.

This seems to be setup by default in Ubuntu/Kubuntu, but is not working for me with a fresh installation of Debian Squeeze and KDE4. I've spent the past 2 hours Googling for a solution and have turned up nothing. UPDATE: My results are inconsistent. Sometimes Debian mounts devices to mount points based on the volume names, and other times it gives them generic mount points (e.g. /media/usb1).

View 2 Replies View Related

General :: Quotacheck: Can't Resolve Mount Point Path?

Apr 29, 2010

Configured for test purpose, a NIS-client and working. Yet playing around with 'quota'-

--after editing /etc/fstab
LABEL=/home /home ext3 defaults,quota 1 2
--followed by

[code]....

View 2 Replies View Related

Server :: Mounting CIFS Share Causes The Mount Point To Be Destroyed?

Jun 18, 2009

I've been trying for a while mounting a EMC NAS share on linux. As far as I know the NAS share behaves just like a regular windows share, so the mount process should be very similar. On the NAS server, the disc "Disc1" is shared, and I need to mount a sub-subfolder of that share. This is my line in /etc/fstab:

Code:

//windows_box/Disc1$/folder1/subfolder /var/tmp/mount_test cifs defaults,acl,soft,uid=srvadm,gid=adm,umask=0027,file_mode=0600,dir_mode=0700,credentials=/root/cred.txt,sec=ntlmv2 0 0

When mounting the share, this is what happens:

Code:

[root@server1 tmp]# ll
total 8
drwxr-xr-x 2 root root 4096 Jun 18 10:39 mount_test

[code]....

In the console (i.e. bash), the "mount_test" word on the last line has a red background. When I issue "umount mount_test", everything is back to normal.

View 13 Replies View Related

General :: Cifs Mount On A Windows XP Removable Drive?

Mar 16, 2011

I have 2 USB drives connected to an XP machine that I rotate twice a month for backups. On my CentOS box, I have that drive mounted at /home/backup using cifs.

Because the drive is mounted on the Linux box, Windows XP complains when I try to "Safely Remove Hardware". As a result, I have to "umount /home/backup", then "Safely Remove Hardware". After connecting the new drive, I then have to "mount /home/backup" in order to use it again on the Linux box.

Now, this question may be a Windows XP question, but I was wondering if there is anything I can do on the Linux box first. Is there anything that can be done on either end, so that I won't have to "umount /home/backup" first?

View 2 Replies View Related

Ubuntu :: Finding The Mount Point Of A Particular Usb Device

Mar 9, 2010

I'm developing a little script that automatically detects the insertion of a usb device and tries to open the directory of this device in nautilus. I am using Python

So far I was able to sample and compare the changes that occur in the output of 'lsusb' command and get information pertaining to the addition and removal of usb devices.

Now I want to know if we can use that information (or some other info present in the usb sybsyste --/sys/bus/usb folder) to determine exactly where this device has been mounted.

I know you might recommend using 'mount' as a quick way to do the same. I have already done that, but the limitation is that mount only gives u the mountpoint information. How does one (using a program/logic) determine which mount point corresponds to which device.

If I were to plug in two devices together, and both were automatically mounted, how will I be able to tell which mountpoint corresponded to which device? the output of lsusb provides no information whatsoever about where the device is mounted. So its kind of a deadlock

from lsusb ive been able to gather : Device name, serial and bus number and device number

Another thing i've noticed is the 'autoplay'. Whenever I insert a my music player into my computer, it gets mounted automatically and I'm presented with options about simply opening the file or playing it with rhythmbox... now if all that was being done was polling the output of mount, they would not be able to know that the device inserted was a music player (that info u can get from the /sys/bus/usb folder only using the device class and subclass info). So obviously the two are linked somewhere...

View 3 Replies View Related

General :: Unable To Mount Cifs - Windows - Partition Through Fstab

Apr 27, 2010

I have mounted window shared partition to my RHEL 5.4 server through following command

Quote:

But I'm unable to mount the same via fstab.172.20.x.x is my windows server download is my shared folder name.

Suggest me correct fstab entries

My current fstab entry is as follows

Quote:

View 5 Replies View Related

General :: Command For Finding File / Directory From Current Path

Apr 30, 2010

I am total new to linux as I worked mostly on RTOS (symbian). My problem is, I need to find the file IOSTREAM.H and I am following commands below:
1) cd /
2) find . iostream.h ( finds the file / directory from the current path)
It shows No such File or Directory

View 7 Replies View Related

Ubuntu :: USB Mount Point Is Not Volume Label Anymore In Lucid

Apr 30, 2010

When I plug in a USB in Lucid, it gets mounted at /media/usb0 , etc. I'd like it to mount as /media/<volumelabel>. I know HAL is gone and things have changed, but I'd like to still have the USB mounted at /media/<volumelabel> as it used to, as I got scripts that use those mount points.

View 1 Replies View Related

Fedora Hardware :: Find The Volume And Mountit Or Set Fstab To Create The Mount Point

Jan 13, 2010

Gateway m275 laptop with builtin smartcard reader. I've done modeprobe - <mmc module of all types> after having removed modprobe.conf file. I see that there is a pcmcia rules, Do I add all modules to this list so hat it can be probed. Once pccardctl is working, how do I find the volume and mountit or set fstab to create the mount point or to have it automatically mounted in media.

View 1 Replies View Related

Ubuntu Servers :: SMB Shares Not Visible In File Browser(s) - Still Work

Apr 20, 2011

I set up an Ubuntu server install yesterday. I have used Ubuntu desktop for quite some time and have no issue with command line. I have everything working, except SMB shares. The share still works if I enter it's path manually (//server/share) but even shares I want to be viewable by browsing are not. (Attempted to browse in Nautilus, Windows and Mac file managers.) Server is running 10.10 (AMD64). Dump of smb.conf (generated with SWAT, which also works otherwise) follows. Solution with either SWAT or editing the file manually is fine.

[Code]...

View 3 Replies View Related

General :: Can Browse Files Via Windows Mount Point But Not Through The Server/share

Aug 20, 2009

Using SUSE 11 with Gnome. I mounted a CIFS share from a Windows server as /mnt/win. With the file browser, I can browse to file system/mnt/win and then the files and folders of the Windows share come up fine and I can open them. When I use the file browser to browse to network, the server hosting this share is listed. Then I browse to that server and it lists no shares (nothing at all). I can't go any further than the server. Is there a separate authentication necessary for the file browser to see this share from the network place?

View 2 Replies View Related

Debian :: Cannot Re-write To File On Cifs Mount

May 2, 2010

I have a Western Digital "My Book" on my network which I have mounted with cifs.

If I go into it and vi a file, all is fine. I can write and save and close. When I open the file and add to it and then try to write it again, I get the message:

"thefilename" E212: Can't open file for writing

The file is owned by me still and the permissions are -rw-rw-r--

I don't understand why it works the first time and not the second. Also this same effect is observable when I save from another program to there. The first save is fine, the second can not be saved.

View 5 Replies View Related

Ubuntu :: Editing Variable Or Config File With Path To Browser?

May 14, 2010

I installed Chrome straight from the Google webpage. But, it kept crashing. So I've uninstalled it to go back to Firefox, which I never uninstalled. Problem is, now, links in Evolution and Gwibber no longer work! It's still trying to open Chrome. Presumably I have to edit a variable or config file with the path to the browser in it? Where would I find this?

View 2 Replies View Related

Networking :: Not Accepting The Encryped File In Fstab To Mount Win Share Through Cifs?

Jun 24, 2010

I'm using cifs to mount windows share.I have created one credentials file and given the path in fstab to mount at boot time. Now i want to encrypt the credentials file and place that in the fstab file.But it is not accepting.. how to use encrypted file to use in fstab,so that normal users can not watch the credentials inside the file.

View 3 Replies View Related

Ubuntu Networking :: Shared Folder Not Visible / Error: Failed To Mount Windows Share?

Jan 2, 2010

I have two computers running Ubuntu 9.10, both have one shared folder. These were set up via Nautilus.

On computer 1 I can see and use the shared folder of computer 2 just fine.

On computer 2 I can NOT see the shared folder of computer 1 anymore since recently. I has worked in the past.

Some more information: the name of computer 1 is "daniel", the share name is "gedeeld". So the address of the shared folder of computer 1 would be smb://daniel/gedeeld/
Opening this address in Nautilus works fine on computer 1 (that shares the folder), but results in an error on computer 2.

Error: failed to mount Windows share. Please select another viewer and try again.

View 1 Replies View Related

General :: Following CIFS Mount Through NFS Mount?

Jul 20, 2011

I'm having some trouble in trying to make a clean solution and tougher time searching to not get the basic mounting pages/posts. So I thought I'd throw this out hereFor Oracle, we have an app server that runs /sharedapps and is an NFS mount for all other app/db nodes. What I'm working on now is that on this app server that hosts/exports /sharedapps file system has a sub folder with a CIFS mount (/sharedapps/data/appmount). e thing is that the remote nodes with the NFS mount to /sharedapps don't see the remote data in /sharedapps/data/appmount, only the main app server that has the CIFS connection. Realistically it makes sense why, but I'm trying to research if there is a way to have it do so. This is where I'm struggling. We are working on this in a dev instance right now but soon to be in production. In production, there are many DB nodes that could process a request which is why it would be best to have the NFS connection follow the remote CIFS connection

View 8 Replies View Related

General :: Change Windows Path To Unix Path?

Sep 14, 2009

I have a path c:windowsackup I need this string to be changed into /windows/back/up I used the command -bash-3.00$ echo windackup | sed 's/\//g' but the output is windbackup

View 7 Replies View Related

General :: Move A File To Some Path And Create That Path When It Doesn't Exist?

Oct 8, 2010

I use this command:

Code:

find ./ -atime +360

to figure out the files that haven't been accessed since 360 days. The command above will return results like this:

Code:

/uploads/2010/02/some-file-name.ext
/uploads/2009/08/another-file-name.ext
... etc

I'm taking here about tins of directories, thousands of files. I'm looking to find a command that makes me able to move the results above to another path, and to create that path once it doesn't exist like below:

Code:

mv /uploads/2010/02/some-file-name.ext /old-files/uploads/2010/02/some-file-name.ext

But I want the executed command to create this path

Code:

/old-files/uploads/2010/02/

If it doesn't exist.

View 6 Replies View Related

General :: FEDORA 12 - Mount -t Cifs On A Server Doesn't Work

Sep 28, 2010

Using Fedore 12 I am trying to mount on a server with the following command: # mount -t cifs //samba-pool-suse/pool-suse /mnt -o user=xxxx I was waiting that the system askme the user password and thats all, but the answer is: mount: wrong fs type, bad option, bad superblock on //samba-pool-suse/pool-suse, missing codepage or helper program, or other error (for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program) In some cases useful info is found in syslog - try dmesg | tail or so using:# dmesg | tail returs: CIFS VFS: cifs_mount failed w/return code = -22

View 3 Replies View Related

Ubuntu Servers :: Mount Does Not List CIFS Mount Options On 10.04.2 LTS?

Apr 4, 2011

Linux box info: root@mytestbox:~# uname -a Linux mytestbox 2.6.32-30-generic-pae #59-Ubuntu SMP Tue Mar 1 23:01:33 UTC 2011 i686 GNU/Linux

Windows box info: Windows Server 2008 SP2 Enterprise I've verified via --verbose output that mount.cifs is indeed processing the passed on options.

root@mytestbox:~# mount -t cifs //10.1.1.10/Test /root/testwin --verbose -o credentials=/root/testcreds,rw,nocase,noperm,noacl,nounix,noserverin o,iocharset=utf8,file_mode=0777,dir_mode=0777

[Code]...

Yet, when I type mount all it reports is (rw,mand). The share works just fine, and I can see the masking (all files are showing as rwxrwxrwx as expected etc) but mount is not listing the options?!

Is this normal expected behavior? Is there a bug report on this? I've google'd to the best of my capabilities and could not locate any such information which is why I decided to hit the forums prior to filing a bug.

View 1 Replies View Related

General :: NAS Mount Points Not Visible On System

Apr 18, 2011

Coming from non linux bod - but to create mount points on nas that are visible do we have to put entries in both fstab and rc.local?

View 1 Replies View Related

General :: Invalid Mount Option When Attempting To Mount The Volume

Jun 30, 2010

I have two internal hard drives.I just installed Debian Lenny in the smaller 80GB. But when I try to access the other hard drive it shows:

"Invalid mount option when attempting to mount the volume"

info:

-The 80GB is on dual boot with Windows 7 and Debian Lenny.

-The 500GB secondary hard drive is NTFS filesystem.

View 1 Replies View Related

Server :: Mount Fiber Attached Volume Read/write On Windows And Readonly?

Sep 2, 2010

I have a Windows 2003 server with fiber attached volumes (NTFS) that I would like to mount readonly on a linux system to back it up to tape. The fiber device will allow me to present the volume R/W to one host and R/O to another, however, the R/O system doesn't see any of the changes made by the R/W server. In other words, how can I make a readonly volume refresh, scan for changes, or update without un/re-mounting it?

Is the "mount -o --bind" option what I want? From the MAN is doesn't seem right... the option "sync" seems slightly more promising but I think I'm just grasping at straws here. The best I have come up with is a cron job to unmount then mount the volume periodically.

View 1 Replies View Related

Server :: Point My.cnf To The New Sql Path?

Jun 10, 2010

I own a server with Centos 64bit and Cpanel on it and i add a second disk and move mysql there:

cp -r /var/lib/mysql/* /newdisk/mysql/

Now i want to edit my.cnf and point it to the new path but i don't know what to add there

View 13 Replies View Related

General :: What Is The Default Mount Point On Systems

Feb 23, 2010

Is the mount point for external media (like USB) always /media?

Because in a Debian system, if I plug in any USB device that goes to the /media folder. So is it the case with all the other Linux flavors like Fedora, Ubuntu, etc. If a USB device is automatically mounted will it always go to the /media directory?

I am not concerned about the name of the devices. I am looking for every external media (like USB) to be listed under /media directory so that my code can run on any flavor of Linux.

View 1 Replies View Related

General :: Move Mount Point To New RAID Set

Dec 3, 2010

I have a CentOS 5 production server with multiple OS-managed RAID-1 sets. I'd like to add a new mirrored set and move the /var partition to the new drives. On a non-RAID system I would boot from the install CD to edit fstab and copy the existing files to the new drive, but I'm pretty sure booting off the install CD does not recognize my RAID setup.

View 2 Replies View Related

General :: Accessing Data Under A Mount Point?

Apr 10, 2010

I'm using ext3 and I have my / partition on sda3. This is a full install, it has /bin /home etc etc on it, the only thing I have is sda1 is /boot and sda2 is swap.

I've configured my system to mount sda4 as /home/user as the system boots up, which puts all of my data on sda4.

My question is this. How do I access any data left in (sda3) /home/user? (Because trying that won't work). Is there some way to use a direct path? Like /device/sda3/home/user?

View 1 Replies View Related

General :: /bin/mount Mounts Point As A Different User ?

Dec 11, 2010

I have a directory, /root/backup, that I mount and run a bunch of rysnc scripts against to backup my box. I'm running into a very recent problem where when I run this command:

A directory that once looked like this:

Goes to this:

It changes from root to www (another user on my system) and I have no idea why.

When I look at the /mount/procs file, I see this:

So it looks like the uid is correct...

I believe this is what is causing my rsync scripts to fail (they only copy over directories and not the files in those directorys and I get a lot of permissions failed errors)

All of this is run as root in cron jobs

As a note, here is a sample rsync command:

View 4 Replies View Related

General :: Creating A New User In A Mount Point Other Than /

Oct 20, 2010

In my machine, there are 2 mount points - / and /userdata. From the root user, I want to create an oracle user at the /userdata mount point, i.e the home of the oracle user should be mounted on /userdata.

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved