Ubuntu :: How To Mount USB Drive To Multiple Locations

Feb 10, 2010

I have two storage drives that I will be sharing by FTP. One is internal 1TB ext4 HDD and another one is an external USB 1TB NTFS HDD. Both drives get mounted to /media and I am trying to set an additional mount point for each. For internal HDD everything works perfectly. I simply went to /etc/fstab and copied the line related to it. Now I have:

Code:
/dev/sdb5 /home/eugene/.MOUNT/sdb5 ext4 defaults 0 0
/dev/sdb5 /media/sdb5 ext4 defaults 0 0
which does exactly what I need.

I tried doing the same for the USB drive which produces unexpected results. The lines are
Code:
/dev/sdc1 /home/eugene/.MOUNT/sdc1 ntfs defaults 0 0
/dev/sdc1 /media/sdc1 ntfs defaults 0 0

This has the following results:
- in /media/Y (Y is label of this HDD) I have this HDD and can access all its contents which is good
- in /home/eugene/.MOUNT/sdc1 I don't have anything and this is bad
- in /media/sdc1 I have only one folder from this HDD and this folder is empty (on the HDD this folder is not empty) and this is somehow weird.

View 4 Replies


ADVERTISEMENT

Server :: Using DNS At Multiple Locations?

Jan 13, 2011

My company has 2 locations. I have a server running BIND, Apache, and MySQL. I'm setting up a second server just in case the primary goes down. I'm sure it's bad form to it the way I'm doing it, but how might I go about configuing my backup? Should I do it as a Secondary DNS server?

View 2 Replies View Related

Ubuntu Servers :: Setting Up At Multiple Locations

Mar 27, 2010

So I've got a home server hosting a website for my restaurant, but I'd like to get another server up to get some redundancy going.

I have another machine I'd like to set up at another location to take over retrieving requests sent for the website whenever my home server goes down. I've got my domain through [URL], but the domain is hosted through [URL] for their dynamic dns service (because im not using a static ip).

So I'm guessing having another server set up is just a matter of setting up dns records, however I don't know where to begin with setting that up. Any words of wisdom out there?

View 4 Replies View Related

Ubuntu :: Syncing Tomboy Notes To Multiple Locations?

Sep 3, 2010

Is there a way to sync Tomboy notes to multiple locations? I would like to be able to sync them to my UbuntuOne account and at the same time to my local NFS server, but from the looks of it Tomboy only lets you choose one location for syncing. Maybe there's a workaround for this or something?

View 8 Replies View Related

General :: Possible To Mount USB External Drive As R/W For Multiple Users

Jan 12, 2010

I would like to mount a (permanently) attached external USB drive so that it is writable by multiple userids. Currently HAL is mounting the drive as writable to my owner user and readable for group and others. My m/c also runs as an FTP server and I would like said FTP server to be able to write files to the external drive. Just being able to specify a gid would probably do the job for me.

I have googled HAL and UDEV and also attempted to configure usbmount to do this, all to no avail. I am running SLES 10.3. So in summary, can I & how do I either make HAL mount the drive with gid=nnn, or should I not use HAL and simply make an entry in /etc/fstab and make sure a I get the same device address for this USB drive each time I boot?

View 4 Replies View Related

General :: Remove Multiple Directories In Different Locations?

Mar 15, 2010

I have hundreds of directories in various subdirs that I need to remove. I want to remove all of these dirs, but can only find solutions on how to do remove files (or how to remove subdirs from within the current dir).

I think I need something like

find -iname 'testfile*' | xargs rm -i

where I want to remove every directory that contains the word 'testfile' within the directory name. I know xargs wont work for dirs,

View 9 Replies View Related

Server :: Mount A Drive Or Partition On Multiple Servers Concurrently?

Jan 19, 2011

I am tasked with setting up 3 out of the 6 servers and dividing up 500GB of space in the most efficient manner amongst the 3 servers. The space is in a pool which can be assigned to virtual drives. Each virtual drive can be assigned as disk0 or disk1 and so on to one or more servers. They'll be running CentOS.

On the second try I came up with this scheme:
shared sda1 -- /boot (ext3)
shared sda2 -- /home (ext3)

[code]....

View 5 Replies View Related

General :: Copying Files From Multiple Locations To One Destination

Feb 21, 2011

Suppose I have a tree structure like this:
/home/mahmood/sim/a/b/file1.cpp
/home/mahmood/sim/a/b/file2.h
/home/mahmood/sim/a/c/file3.txt
/home/mahmood/sim/d/file4.txt

How can I copy all of them to /home/mahmood/sim. So that when I run "ls" in /home/mahmood/sim, I see all files:
file1.cpp
file2.h
file3.txt
file4.txt

Can 'cp' search for all file and copy them in another folder?

View 3 Replies View Related

Networking :: Data Sharing Across Multiple Geographical Locations?

Mar 9, 2010

I am looking for a solution where the data to be shared across multiple locations through login. In this regard, the following options are required.

1) The files/folders created can be viewed by the group and the owner has an option to edit and delete. However, if required the owner/admin can grant permission temporarily.

2) log of files/folders being accessed

3) The access of files/folders is based on username and password.

One thing striking me is FTP Server to enable the above solution. If so, i just want a step by step guide. Otherwise, let me know any other better options.

View 1 Replies View Related

OpenSUSE Network :: Mount CIFS Drive With Multiple Credentials Files?

Jul 26, 2011

I'd like to have a CIFS drive mountable for various users. Each user uses different credentials and I want the drives to be automounted without using sudo-rights. I imagine the best thing to do would be to have the fstab entry point to multiple credentials files. Is there a way of doing that?

View 2 Replies View Related

General :: Mount Different Folders On Disk To Different Locations ?

Mar 13, 2010

I have a disk with two folders, folder1 and folder2. I'd like to mount these folders separately in my home folder, that is, to the locations:

Code:

View 5 Replies View Related

General :: Auto-mount Virtual Machine Locations When VMware Image Finishes Loading?

Jun 20, 2011

I mount a few locations from a VMware virtual machine, but currently every time I start up VMware I need to re-mount the locations once the VMware image has started up fully, which gets tedious. I'd like to be able to mount them automatically when VMware is started.

I generally double-click the .VMX file (which is associated with VMware Player) to launch the virtual machine, but once it has finished loading I would need to run the mount commands manually or execute a bash script that does it.

Is there any way you can think of to have it done automatically? One way I can think of is to start my virtual machine by running a script that starts VMware player, sleeps for a minute or so, then runs the mount command - but setting the right sleep interval would be difficult because this varies a fair bit - and overall, it's a solution that's kinda icky and that I'd like to avoid if there's some better option.

View 3 Replies View Related

Ubuntu :: Mount Single Directory To Multiple Mount Points

Jan 27, 2011

I have a requirement that seems to be unique in nature. I have multiple clients who are caged to their home directories. I would like to "share" a directory which exists above these chroots with all these caged users. I know this can be accomplished using mounts but my problem is, how can I mount a single directory to multiple mount points located in each users home dir? Can this be done in the fstab file?

View 9 Replies View Related

Ubuntu Servers :: Mount A USB Drive In Rc.local With /sbin/mount And UUID Instead Of Fstab?

Feb 6, 2010

I run a headless Ubuntu 8.04 server, which acts as a web, email and file server. I am sticking with 8.04 as it is a LTS release and will upgrade to the next LTS when it is released.

I have two external USB drives, that I need to mount at boot. I have been using /etc/fstab up until now, with the following entries:

Code:

However, as I gather from doing searches is quite common, occasionally I get an error during boot (causing the system to drop to a recovery shell) because the USB drives take time to wake up and the system hasn't found them by the time it reads /etc/fstab.

From doing searches, it seems there is nothing you can do to fstab to fix this, so you need to mount them using an rc.local script instead, using:

Code:

The problem is, as I have two USB drives, their /dev/sdxx location changes between boots. I thus want to use UUID codes as I do in fstab, however I haven't found anything about this.

Does anyone know how I can use the mount command and UUID to mount a drive in rc.local and what options I have to use the mount the drive with the same options that I am using in my fstab entry? Obvisouly, I can't refer back to fstab using the mount command, because then I will still get the boot error issue if they are listed in fstab. And there is no space internally for the USB drives as there is already two internal drives.

View 3 Replies View Related

Ubuntu :: Unable To Mount Internal Drive - Error: Mount Exited With Exit Code 1: Helper Failed

Aug 5, 2010

I have 2 internal drives. One is for the OS and one is for the Data. I tried to get the Data drive to mount automatically at login using some crap I found on a linux blog. Safe to say it didn't work and now I can't mount it with the OS on the OS Drive.

It mounts from a live CD and all the data is perfectly safe. When I try to mount the drive I get this error message: "Error mounting: mount exited with exit code 1: helper failed with: mount: only root can mount /dev/sdb1 on /media/data" What have I done wrong and how can I make it mount again? Preferably this time at login.

View 2 Replies View Related

Ubuntu Networking :: Samba And External Drive - Unable To Mount Location - Failed To Mount Windows Share - Dialog Box

May 25, 2010

I have been trying to share folders from my main PC which is running Ubuntu 10.04. I have been able to figure out Samba enough to get my a couple of folders shared, but I have been unable to share any folders which are on my external harddrive. After entering the path in my smb.conf file they appear on the network but I am unable to navigate to them. When trying to navigate to them through the network folder on the pc they are actually connected to I get an "Unable to mount location: Failed to mount windows share" dialog box. On the windows pc I am trying to share with I get, "Windows cannot acces \Josh-Desktop
ame of folder"

My smb.conf file looks like this:

That folders I cannot access are Music and Videos.

View 9 Replies View Related

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

Software :: Unable To Mount Windows Drive - Mount Error 92 = Protocol Not Available

Oct 4, 2010

Not able to mount windows drive & foder, in linux. i have got following error.

mount error 92 = Protocol not available

View 10 Replies View Related

Server :: Auto Mount USB Drive To Specified Mount Point After Reboot

Jul 19, 2010

I have servers installed with RHEL 4 2.6.9-89.0.9 ELsmp. I tried using uuid and label in /etc/fstab to automount usb drives to mountpoints that I specify after reboot. Unfortunately, it just does not work in all my RHEL4 servers. After every reboot, /etc/fstab will be automatically modified and all configurations related to my USB drives will be changed. Irregardless of whether i use UUID or LABEL in my /etc/fstab.However, it works on RHEL5. But, upgrading is not an option in my environment. I have been googling around looking for alternatives but everything seems to point back to using UUID or LABEL in /etc/fstab. Anyone has tried something that works? Please help me, thank you.

View 7 Replies View Related

Fedora X86/64bit :: USB Flash Drive Mount - Un-mount ?

Sep 17, 2010

Its annoying to unmount my flash drive twice.. its not a major problem actually but its kinda annoying , its whenever i plug-in my flash drive.. everything works well except when i need to un-mount it.. I usually unmount it twice using right-click of the mouse, then it mounts itself back, so i have to unmount it again.. Is there any way to control this? How do i setup the auto-mount option for USB flash drives?

View 1 Replies View Related

Ubuntu Networking :: Get Network Drive To Mount As A Local Drive?

Aug 2, 2010

I was trying to figure out how to get my network drive to mount as a local drive on my computer. This was back on 9.10. Since I've upgraded to 10.04, my boot process halts and tells me (paraphrasing) /shared is not ready to mount. To continue, pres S to skip or M to manually mount the drive.

Well, I have it mounting now through GVFS and I don't need this in my startup anymore. Frankly, it's just annoying that it won't boot into Ubuntu right away. So, what's the startup file I need to edit to remove the attempt to mount the network drive?

View 1 Replies View Related

Ubuntu :: Add More Space - C Drive Is Mounted And The E Drive Will Not Mount

Jan 19, 2011

I have just installed Xubuntu and suprisingly it did not ask me to create a partition within its installer like Ubuntu does. So now, I am left with 150mb of free space. I want to expand that amount. The problem is, I do not know where it has been installed on. I have a C and an E drive. Currently, the C drive is mounted and the E drive will not mount even if i press the mount button. Does anyone have a solution?

View 8 Replies View Related

General :: Dvd Rom Drive Won't Mount Under FC14 After Installing From Dvdrom Drive?

Jun 12, 2011

no entries exist in the /dev folder for hdc,cdrom,dvd, or any other drive or drive type than hda. The only other similar device is sg0 which doesn't work either. I have tried every variation of mount I can find with every available drive and drive type and nothing works, but this is the drive I installed FC14 with, and it installed perfectly (except for forgetting where it came from!!)Do I have to install a module or recompile the kernel just to get linux to recognize the drive it came from?

View 5 Replies View Related

Ubuntu :: Can't Load A Drive / Volume - "Unable To Mount Location Error Mounting: Mount: /dev/sda1: Can't Read Superblock"

Dec 25, 2010

I have a problem in my ubuntu 10.01 that it can't load a drive/volume in ubuntu. When I tried, it said: "Unable to mount location Error mounting: mount: /dev/sda1: can't read superblock". And when I boot my pc with 'Windows', it said : "UNMOUNTABLE_BOOT_VOLUME" under a blue screen. What can I do to solve this problem?

View 9 Replies View Related

Ubuntu :: Multiple Harddrives Mount Into 1 Media Folder?

Mar 17, 2011

is it possible with mount to do the same as RAID X to make all my wisht harddrives combine into a single folder so i dont run outa space on 1 but on all 3 when theres no more space

View 3 Replies View Related

Ubuntu Networking :: NFS Mount Shows Multiple Times In The Places?

Mar 23, 2011

I have the follwoing fenomenan. In my /etc/fstab I have an entry to automatically mount my NAS. Here is my entry:

192.168.1.10:/mnt/array1/My_NAS /media/My�40NAS nfs _netdev,
auto,rw,hard,users,intr 0 0

When my laptop boots it successfully mounts the NFS NAS and I get an icon "My NAS" on my dekstop that points to the NAS. If I double click on the icon it opens my file browser and I can browse thru my NAS fodlers.

What I see on the left hand side of the file browser is that I have to entries for My NAS. One of it has a button to shows that it is mounted and the other does not.

If I go to Places I also see 2 entries for "My NAS". One of it takes me to browsing the NAS and if I click on the other it says "Unable to mount ... busy or already mounted". Which makes sense.

View 4 Replies View Related

Software :: Mount Multiple Disks As One Partition?

Oct 11, 2010

This question has been bugging me for a few days now: How do you mount, say, 3 HDDs to a single partition. From what I've heard, it's possible, but I'd like to know how. I'm running Crunchbang! Linux, based on Ubuntu, in case you're wondering.

View 11 Replies View Related

Debian :: Mount Multiple External Hard Drives ?

Dec 20, 2010

How to mount multiple external HDD's. I'd like to link or mount the music, torrents, and general files from several external hard drives and apply permissions (in some cases I only want the mount or link to be read only).

My setup:
- Seagate Dockstar running Debian squeeze (it's headless so I don't have a gui running)
- Two external HDD's with one partition on each (250GB and 400GB)

What I'd like to accomplish:
1. Mount the external HDD's to /media/HDDs as read/write (this is already working using udev and autofs and it's available in samba)
2. I'd like the MUSIC directories on both external HDD's to show up under the same mount point. In other words I want the MUSIC folders (from both HDD's) to appear as one large library of music. And I only want this to be readonly. It will be used as the library for mpd and/or squeezebox.
3. Mount a directory used to download torrents to. I'll probably pick on HDD as the target for torrent dowloads. But let me know if you have any other ideas regarding this.

Since I have the first one done, how would I accomplish 2 & 3?

View 1 Replies View Related

Debian :: Mount The Multiple Partitions Of A Pendrive - Flashcard?

Dec 27, 2009

I did this with :

Code:

I made two partitions as below

Code:

3. Partition Compact Flash

Make two partitions on CF (use linux fdisk or anything else that is able to make linux filesystem)

1. at least 8MB FAT

2. rest ext2 (recommended) or ext3 - at least 50MB

Copy vmlinuz, initrd, linexec and params.txt to FAT partition.
Uncompress rootfs.tar.bz2 to ext2 partition. (command details at ref. [1])

But :

fdisk -l says only one /dev/sdd1

not sdd1a
not sdd1a

How can I mount those 2 created partitions, since they are hidden under /dev/sdd1 ?

Is it a bug of the kernel?

View 4 Replies View Related

OpenSUSE Install :: Mount Multiple Directories From Two Archive Drives In One Folder?

Jan 21, 2011

I have two non-system drives with archive files. Each drive is formatted with one primary partition only, occupying all the drive space. In each drive there will be a number of directories with files in them, like this:

Drive 1:
/directory1/directoryXXX/files
/directory2/directoryXXX/files
/directory3/directoryXXX/files
Drive 2:
/directory4/directoryXXX/files

[Code]...

View 2 Replies View Related







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