General :: Mounting 2 Usb Drives In To 2 Different Locations?

Mar 27, 2011

I am writing a c program in linux and in the program I am mounting 2 usb devices attached to 2 specific ports in the computer. (eg : I have to mount the usb attached to the left port in to /mnt/left and the right port to /mnt/right) and the attachment order of those devices may differ (eg: left port usb may or may not be attached before the right.) In this case what should i do?

View 4 Replies


ADVERTISEMENT

General :: Mounting 2 Usb Drives In To 2 Different Locations

Mar 27, 2011

I am writing a c program in linux and in the program I am mounting 2 usb devices attached to 2 specific ports in the computer. (eg : I have to mount the usb attached to the left port in to /mnt/left and the right port to /mnt/right) and the attachment order of those devices may differ (eg: left port usb may or may not be attached before the right.) In this case what should i do?

View 1 Replies View Related

General :: USB (Removable) Drives Not Mounting

Sep 29, 2009

I just started using openSUSE 11.1 with xfce and my problem is that I cannot mount my external USBs, I get the following message:

org.freedesktop.hal.storage.mount-removable auth_admin_keep_always <-- (action, result).

It seems hal does not give me permission to do this. Am I able to mount using the command line? If so, how?

View 14 Replies View Related

Fedora :: Prevent Mounting Of External Drives & CD / DVD Drives

Oct 18, 2010

I suspect this is not new but I just can't find where it was treated. Maybe someone can give me a good lead.I just want to prevent certain users from accessing CD/DVD drives and all external drives. They should be able to mount their home directories and move around within the OS but they shouldn't be able to move data away from the PC. Any Clues?

View 2 Replies View Related

General :: Rsync - Mounting Network Drives And The DLink DNS-321?

Jan 27, 2010

I recently built a small Intel Atom 330 based server for my home. I'm using the Vortexbox Fedora-based OS to run the server (primarily used as a media server). So far everything is working great. In addition to my media server, I've got a DLink DNS-321 NAS. I would like to setup a scheduled, incremental backup of my main server to the DLink NAS. I understand rsync is an excellent option, and am willing to undertake the task of setting it up on my server, but I am uncertain how to make it all happen with the DLink NAS. The NAS is very barebones, and I don't know if I can even install rsync on it. I don't even know if I can get to any kind of command line on the NAS box. 1. Can I mount the NAS drive on my main Linux server and then just run rsync on the server?

View 7 Replies View Related

General :: Windows - Preserve Diacritics When Cross-mounting Drives To Windows7

Sep 5, 2011

A friend backed up an in accessible Windows 7 partition to a big (close to 1TB) external USB drive using KNOPIX. Unfortunately the umlauts and accents in the file names of his extensive music collection now appear garbled (UTF8 vs ISO xxx, I guess) when he accesses that drive from Windows. My guess is he needs to mount the two drives in a 'special way,' that takes the diacritics translation into account, on KNOPIX? Or do you have another idea what went wrong? This is the second part of a windows/linux problem I'm having. See how-does-one-mount-a-partition-in-windows-7 for the other part

View 1 Replies View Related

Ubuntu :: Drives Not Mounting?

Apr 28, 2010

I've been Ubuntu 8.10 along with Windows from abt 3-4 monthsFor automatically mounting of NTFS drives that I has which were created by WIndows, I uses NTFS Configuration tool Everything was working fine in both OS's.But how come of a sudden today I'm not able to open any drive that I have which were happening till now.Not only this,at least if we press F9 then we get sidebar,from where we could have opened the drive .even that is not happening.

View 4 Replies View Related

OpenSUSE :: Mounting Some Hard Drives?

Oct 24, 2010

I have a few hard drives that I connect to my system with an usb to ide cord. some of the drives mount right away but some others don't below example.

Oct 24 11:10:04 linux-b21t kernel: usb 1-3: new high speed USB device using ehci_hcd and address 14
Oct 24 11:10:04 linux-b21t kernel: usb 1-3: configuration #1 chosen from 1 choice
Oct 24 11:10:04 linux-b21t kernel: scsi15 : SCSI emulation for USB Mass Storage devices
Oct 24 11:10:04 linux-b21t kernel: usb-storage: device found at 14

[Code]...

View 4 Replies View Related

Ubuntu :: Automaticly Mounting Drives?

Apr 9, 2011

Is there anyway to make so of my hard drives I have which are being used to share over a network automaticly mount themselves when my pc boots up?

View 2 Replies View Related

SUSE :: Command For Mounting Other Drives (XP And USB)

Jan 10, 2009

I have installed suse linux on my desktop pc. I cant see the disk drives on which windows xp is load. How can I mount those drives so that I can see those drives in suse also. Also when I connect my usb drive, it is also not shown. I am new to linux. What are these commands to mount the other drives.

View 3 Replies View Related

Hardware :: Mounting Hard Drives

Mar 21, 2009

I know this is an easy task, especially using cPanel. However I want to do this without formatting the drive, since there is sensitive data already on the hard drives. So how would I mount a hard drive, but not format/lose any of the data already on it?I've looked and everything seems to lead me to believe that I'll lose data if I do it that way.

View 7 Replies View Related

Fedora :: Auto Mounting Hard Drives?

Aug 10, 2009

I have a fresh installation of Fedora 11 and I am having a hard time figuring out how to automount my storage drives. Each time I login, I try to access my various storage drives and gnome makes me authenticate asroot before mounting it. FSTAB lists only logical volumes but not my storage drives. What can I do to make sure these automount when I login?

View 3 Replies View Related

Fedora :: USB Drives No Longer Auto Mounting?

Sep 16, 2010

I know this problem was mentioned here before but because I could not find a straight forward solution anywhere I am reposting this here. So here goes.As of today, my Fedora 13 64-bit has ceased to auto-mount USB drives completely. I have made absolutely no changes to the system and I am completely baffled and frustrated by this sudden development. I desperately need this system to function properly as I use it for school and this really put a wrench in my works, especially since I have done nothing to cause this. I assume that one of the many recent updates that have been released must have done this, but I have absolutely no idea how to fix this. Why do Fedora developers release updates that cripple a perfectly functioning system is beyond me and crap like this really makes me consider switching back to Ubuntu.

View 9 Replies View Related

OpenSUSE :: Mounting Hard Drives As User?

Aug 4, 2010

OpenSuse 11.2 64bit When I select a hard drive in Dolphin file manager it asks for the root password. I would like to gain easier access to the drives. The Yast Partition Manager lists all of the drives and has a dialog box to change this i.e. user can mount the drive. Can we change this feature on the run, while the system is running ? The Fstab file is not listing all of the drives, so I cannot just edit the config here.

View 4 Replies View Related

OpenSUSE :: How To Get Dolphin Mounting Partitions / Drives

Aug 10, 2010

Is there a way that I can get Dolphin to mount partitions? When I try to, it gives me an error on the bottom of the window saying I don't have permission to. I also can't mount partitions in other programs like Amarok, because of the same issue.

Error Message:
An error occurred while accessing 'Windows 7', the system responded: org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freeDesktop.hal.storage.mount-fixed auth_admin_keep_always <-- (action, result)

View 6 Replies View Related

OpenSUSE Hardware :: USB Drives Not Auto Mounting?

Sep 11, 2010

my opensuse is not auto mounting USB drives anymore. It was working a few weeks ago! I have an external 500GB HDD and also an 16GB Kingston USB flash disk, both are not being auto mounted.If i do lsusb i get

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 006: ID 0930:6545 Toshiba Corp. Kingston DataTraveler 2.0 Stick (4GB) / PNY Attache 4GB Stick
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

[code]....

View 9 Replies View Related

Ubuntu :: Mounting Ext4 Drives/partitions In 6.06?

Apr 5, 2010

I just recently found an iso for 6.06 and installed it on an old pc of mine that already had 8.04 and crunchbang on it. crunchbang is on an ext4 formatted partition.

When I setup 6.06, it asked me what i wanted to mount my drives as, so i told it to mount the ext4 system as hda1.

whenever 6.06 boots, it tries to mount hda1 but can't because it doesn't recognize ext4.

What I am asking is this: is there a deb or a package out there I can install to make 6.06 recognize ext4? if not, how can i make it so that 6.06 does not want to mount hda1?

I can get past the initial error message and into the desktop, so 6.06 does work.

View 5 Replies View Related

Ubuntu :: USB Flash Drives Not Mounting Automatically?

Apr 24, 2010

I have Ubuntu 9.10 and when i plug in my usb drive it wont mount it automatically and is not shown in the nautilus browser also, but if i search in /dev its visible(its detected) and i can mount using mount /dev/sdc /mnt But if i do this i can only copy files from browser and for all other times i need to use terminal again

View 1 Replies View Related

Ubuntu Installation :: Mounting Ext3 Drives In 10.10?

Nov 18, 2010

It seems to be (we have experienced) that 10.10 can't handle having an older ext3 drive mounted to a folder on the 1010 ext4 drive. The files get "corrupted", but afterwards, putting the drive back into the original older 9.04 system, the files are perfectly fine again.

View 3 Replies View Related

Ubuntu :: Disable Automatic Mounting Of USB Drives?

Jan 9, 2011

Update: Solution posted below. Distro: Kubuntu 10.04 AMD 64. My system automatically mounts USB devices when attached to the system. I have explicitly disabled this function in (KDE) System Settings --> Advanced --> Removable devices. It doesn't matter - as soon as a USB device is plugged in the system mounts it as root.

View 4 Replies View Related

Hardware :: Mounting Hard Drives With Partitions

Dec 27, 2009

I've been struggling with this one for a while - I have three SATA hard drives installed on my system:
/dev/sda - an 80 GB disk with three partitions, one NTFS for WinXP, one ext4 for Fedora 11 x86_64, and a boot partition
/dev/sdb - a 250 GB disk with one partition, ext4
/dev/sdc - a 250 GB disk with one partition, ntfs

I can mount any partition on /dev/sda without problems - everything works exactly as expected. Attempting to mount a partition from one of the other disks results in something like the following (this is for sdc1):

Code:
[User@machine ~]$ sudo mount -t ntfs /dev/sdc1 /mnt/shared
[sudo] password for User:
ntfs-3g: Failed to access volume '/dev/sdc1': No such file or directory
ntfs-3g 2009.11.14 integrated FUSE 27 - Third Generation NTFS Driver
XATTRS are on, POSIX ACLS are off

Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2009 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson

Usage: ntfs-3g [-o option[,...]] <device|image_file> <mount_point>
Options: ro (read-only mount), remove_hiberfile, uid=, gid=,
umask=, fmask=, dmask=, streams_interface=.
Please see the details in the manual (type: man ntfs-3g).
Example: ntfs-3g /dev/sda1 /mnt/windows
Ntfs-3g news, support and information: http://ntfs-3g.org
The /mnt/shared directory is created; the failed to access error is related to the disk.

Here is the output from fdisk:
Code:
[User@machine ~]$ sudo fdisk -l
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0f970f96

Device Boot Start End Blocks Id System
/dev/sdb1 1 30401 244196001 8e Linux LVM
Disk /dev/sdc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1050104f

Device Boot Start End Blocks Id System
/dev/sdc1 1 30401 244196001 7 HPFS/NTFS
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x8e538e53

Device Boot Start End Blocks Id System
/dev/sda1 1 6375 51200000 7 HPFS/NTFS
/dev/sda2 * 6375 6400 204800 83 Linux
/dev/sda3 6400 9729 26743361 8e Linux LVM

Disk /dev/dm-0: 21.4 GB, 21428699136 bytes
255 heads, 63 sectors/track, 2605 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 5955 MB, 5955911680 bytes
255 heads, 63 sectors/track, 724 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/dm-2: 250.0 GB, 250059348992 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0f970f96

Device Boot Start End Blocks Id System
/dev/dm-2p1 1 30401 244196001 8e Linux LVM
Disk /dev/dm-3: 250.0 GB, 250056705024 bytes
255 heads, 63 sectors/track, 30400 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-3 doesn't contain a valid partition table

And also from blkid (this does not match the output from above - but I don't know if this is actually related to the problem or how to fix it):
Code:
[User@machine ~]$ sudo blkid
/dev/sda1: UUID="506412E06412C91C" TYPE="ntfs"
/dev/sda2: UUID="811bf259-33d5-4db2-9851-e93b47dcbcc8" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda3: UUID="U3AJLH-Lhm1-b0lf-HDX9-ZK1V-ezqU-sb0YGQ" TYPE="lvm2pv"
/dev/dm-0: UUID="f5733171-0753-4f53-834b-cc693ffb0aed" TYPE="ext4"
/dev/dm-1: TYPE="swap"
/dev/mapper/vg_machine-lv_root: UUID="f5733171-0753-4f53-834b-cc693ffb0aed" TYPE="ext4"
/dev/mapper/vg_machine-lv_swap: TYPE="swap"

View 14 Replies View Related

Fedora :: Mounting External Drives Using Lshw Info?

Sep 7, 2009

After a bit of searching, I haven't found a discussion on how to mount an external device using hardware attributes, though I am almost certain I have seen discussions on this in the past. The objective is to consistently mount an external USB drive at the same mount point regardless of the order in which a user attaches other external USB drives. For instance, if I run lshw, I can find harware properties of the device:

Code:

*-usb:1
description: Mass storage device
...
physical id: 6

[code]...

I'd like to identify this device by the serial number and mount to a pre-defined mount point (e.g. /mnt/extUSB). I can write a script involving lshw,dmesg, and mount but I vaguely recall a more clean/ preferred method.

View 2 Replies View Related

Ubuntu :: Mounting Windows Drives With Different Filenames When Boot

Feb 4, 2010

i reboot, windows drives are mounted with different filenames (eg:first time d: was /media/disk and e: was /media/disk-1 but after reboot they got interchanged - e: was mounted in /media/disk). I cannot afford this as several apps use files from these drives and their path keeps changing after every fresh boot.

View 1 Replies View Related

Ubuntu :: Change The Mounting Location Of Hard Drives?

Mar 30, 2011

is their any way to change the mounting location of your hard drives so when you click a certain hard drive in nautilus, it'll go to that location instead of the default one?

View 2 Replies View Related

Debian :: Mounting External Drives - Unexpected Inconsistency

Jan 28, 2010

This question is an extension of previous posts in relation to my removable drives. I have an external usb/ide drives and cowon iAduio7 music player. The former is always connected and latter occasionally. The first drive to be recognized gets allocated /dev/sdc1 and /dev/hdd respectively. Until ten days ago I would simply mount them manually after each boot. Recently I added them to my fstab file. It's fine only for this error message on boot.

Code:
/dev/sdc1 unexpected inconsistency.
fsck died with exit status 4
failed (code 4)
Control-D to continue

I found the following on the net
Code:
If a device is not being mounted during boot, it may be b/c the driver for that device has not been loaded yet at the time that /etc/fstab is read (and thus the device is not active yet and doesn't get mounted). If you want to make sure it gets mounted during boot, you may need to take a look at the boot sequence for your distro and make changes as needed. Another thing you could try is adding a "mount" command of your own to one of your boot scripts. Most distros provide a file with a name like "rc.local" which gets executed late in the boot process and can be used to add your own custom commands to execute during boot. Firstly I want to know which script do you edit and does that mean I have to re-edit the fstab after creating the script.?

Here is my fstab:
Code:
[sudo] password for siawacsh:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sdd /home/siawacsh/cowon vfat defaults
/dev/sdc1 /home/siawacsh/myhome ext3 defaults 0 3
/dev/sdb2 / ext3 errors=remount-ro 0 1
/dev/sdb1 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
siawacsh@debian:~$
Remember sdc1 is the external drive, and sdd the music player.

I have attached the removable drives to directories mhyome and cowon.

View 7 Replies View Related

Software :: Mounting NTFS Windows Hard Drives?

Sep 26, 2009

I have brought an ipod of my friends with a lot of movies and i was then running on windows. The Whole sys was infected and I reloaded the windows operating system but it worked fine only upto two restarts. Then I started and completely successfully installed fedora core 10 i386. I Have very much important information in the windows hard drives. Please tell me anyone how to mount these partitions from the beginning.

View 2 Replies View Related

Debian Hardware :: Mounting Drives As Normal User - GUI Apps

May 13, 2015

I have two internal partitions that I auto-mount at startup using fstab. This works fine & I can unmount/mount as a normal user no problem in the terminal (umount /dev/sdb1) but using thunar (or nautilus) I receive a message saying "not authorised to perform operation" (I use the DWM window manager, in gnome it pops up with a password prompt).

If I open thunar as root then I can mount/unmount.

The strange thing is I can mount/unmount usb sticks or mtp devices as a normal user no probs from thunar! So, I'm assuming it must be my fstab that's the problem?

Code:

Select allLABEL="DebianLive"             /                ext4    errors=remount-ro    0      1
/dev/sda6                      none             swap    sw                   0      0
/dev/disk/by-label/Vault       /media/Vault     ext4    users,auto,exec      0      0
/dev/disk/by-label/LiveJob     /media/LiveJob   ext4    users,auto,exec      0      0

This used to work fine on my wheezy install, only started having problems when I switched to Jessie ....

View 4 Replies View Related

OpenSUSE Hardware :: Soft Or Fixed Mounting Of Hard Drives?

Dec 17, 2009

There is a question I cannot find answer to.Should hard drives be mounted in the computer's case hard (screwed to wall) or soft (suspended by means of rubber washers)? And the same question about DVD drive which vibrates far more than a hard drive.

View 6 Replies View Related

OpenSUSE Network :: Fundamental Difference In Using NFSv4 Instead Of NFS While Mounting Drives?

Jan 19, 2010

Is there are fundamental difference in using NFSv4 instead of NFS while mounting drives?What advantages NFSv4 has versus NFS mounting?

View 1 Replies View Related

Ubuntu :: /var/log Files Are Huge; Mounting Large Hard Drives?

Oct 9, 2010

syslog, messages and kern.log are incredibly huge files that are taking up a lot of space on my hard drive. Is it safe to remove them and/or to reduce logging so it doesn't take such an enormous amount of hard disk memory? If so, how can I reduce the logging so it doesn't produce logs that are 10s of GB in size?Also, mounting a drive places it into the folder /media. Will it become problematic if the size of the mounted drive exceeds the amount of free space available on my Ubuntu partition?

View 4 Replies View Related







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