Hardware :: External HDD Changes Locations In /dev While Mounted?

Feb 23, 2010

I've got an external HDD from Iomega that I've been using for over a year and lately it's been doing this thing where it suddenly changes from /dev/sdg to /dev/sdh while the partition on it is still mounted, seemingly at random. I'm often (not always) able to look at the contents of the partition, but it gives me I/O errors followed by a list of files and directories.

I am using slackware64 13.0 running kernel 2.6.29.6. Below I've provided the relevant lines from dmesg (edited out irrelevant lines to keep post under max character limit.) I'm beginning to suspect NFS has something to do with this, but I can't even begin to imagine how.

When this happens I'm able to umount -l the partition and remount it using the new /dev/sdh1 but eventually the same thing just happens and the whole drive switches back to /dev/sdg. This problem persists between reboots. It's also happened with an ext3 filesystem, in fact I switched to ext2 because it kept telling me "Aborting journal" and I was afraid I would get a corrupted journal and perhaps a destroyed file system.

About 8 months ago I was doing some work at my brother's place and while down on the floor fiddling with cables I yanked this whole drive off the desk and it smashed into the floor (while spinning probably, I'm pretty sure this model is disk based.) I've been expecting to see some strange behavior since that happened, but it took a while and I can be certain this is related to that incident, although I'm rather convinced it is.

Code:
sd 5:0:0:0: [sdg] 976773168 512-byte hardware sectors: (500 GB/465 GiB)
sd 5:0:0:0: [sdg] Write Protect is off
sd 5:0:0:0: [sdg] Mode Sense: 34 00 00 00
sd 5:0:0:0: [sdg] Assuming drive cache: write through

[code]....

View 5 Replies


ADVERTISEMENT

Hardware :: External HDD Won't Stay Mounted ?

May 14, 2011

My external hard drive randomly unmounts in the middle of file transfers.

The system is Debian Wheezy with sda as single-partition ext4. I have an INEO I-NA212-J USB 2.0 enclosure with 2xHDD single-partition ext2 which are recognized as sdb & sdc.

When files are transferred from the external to sda, the system will unmount the external drive at random times. When that happens, "fdisk -l" no longer reports sdb & sdc, but does show the drives as sdd & sde and they can be mounted. I have to reboot the machine to have it see the drives as sdb & sdc again.

When transferring from sda to the external, the unmounting is less frequent but I get file corruption. For example, a large directory seemed to transfer successfully, but the result showed as a single executable file and the displayed file properties were just long strings of numbers. Deleting the file did not reclaim the space.

There seems to be no pattern to the failure. I have checked for file size, number of files, system uptime, transfer time, etc. I have so far not seen it happen while there is no activity. The problem is the same whether there are 1 or 2 drives in the enclosure. However, I have used USB thumb drives and microdrives (both vfat) without problems.

For mounting, I have tried both "mount" and "pmount", and for file management both Xfe and Midnight Commander.

View 3 Replies View Related

General :: Can't Execute A Script On A Mounted External Drive?

Jan 23, 2010

The /mnt/ext is mounted to an ext2 filesystem, an external hard drive. For some reason I can't run scripts from there. Please see the session below.

luntain@plato /mnt/ext $ echo "echo success" > k.sh
luntain@plato /mnt/ext $ chmod 777 k.sh
luntain@plato /mnt/ext $ ./k.sh

[code]....

View 2 Replies View Related

Ubuntu Installation :: External Harddisk Is Not Mounted - Not Visible?

Apr 7, 2010

I use dual booting, vista ubuntu 9.10. I have just bought a new 1T external harddisk i have used it on windows to backup some files. Now I want to backup some documents in ubuntu, but the harddisk is not visible, I can't see it, ok I think the term in Linux is that it is not mounted. Is there something else one should do ?

Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf959a599

[Code]...

View 4 Replies View Related

Ubuntu Installation :: USB Keys Or External Harddisk Can Not Be Mounted?

Apr 8, 2010

I tough that my computer could not mount external harddisk.Here is my mail about that subject.I use dual booting, vista ubuntu 9.10.I have just bought a new 1T external harddisk i have used it on windows to backup some files.Now I want to backup some documents in ubuntu, but the harddisk is not visible, I can't see it, ok I think the term in Linux is that it is not mounted..Disk /dev/sda: 640.1 GB, 640135028736 bytes255 heads, 63 sectors/track, 77825 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesDisk identifier: 0xf959a599

Device Boot Start End Blocks Id System
/dev/sda1 1 1176 9437184 27 Unknown
/dev/sda2 * 1176 52188 409761792 7 HPFS/NTFS
/dev/sda3 52188 77826 205930496 7 HPFS/NTFS

View 1 Replies View Related

General :: External Hard Drive Mounted As Read-only

Mar 16, 2011

I administer a remote server via SSH that runs CentOS 5.5. I have been unsuccessful in all my attempts to write to two different external USB hard drives with a single ext3 partition when logged in as root.

When attempting to create a "test" directory I get one of two messages:

Quote:

Both drives *appear* to have filesystem issues. When I run an fsck on either drive, I get:

Quote:

Keep in mind this is a newly-formatted, empty drive.

Not putting stock in the odds that I've had two hard drives (different sizes and brands) with the exact same hardware problem, I'm going to assume this is a software issue, although maybe it isn't. Hence, my post in "Linux - General". I've heard talk elsewhere of controller (chipset) issues coming into play. Is this valid?

Okay, here's the information you'll need to make a diagnosis....

Here's the output of a "df -h" command:

Quote:

Here's the contents of my /etc/fstab:


Quote:

Here's the output of "cat /etc/mtab":

Quote:

Here's the output of a mount command:

Quote:

Here's the output of fdisk on the device in question:

Quote:

The number of cylinders for this disk is set to 48641.

There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with:

1) software that runs at boot time (e.g., old versions of LILO)

2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help):

I've got someone with access to the box if necessary. But it might take days to implement solutions since this isn't his full-time job. Remote solutions are, therefore, preferable.

View 13 Replies View Related

OpenSUSE Hardware :: USB Weirdness - Mounted External Drive Changes Device IDs

Jun 5, 2010

[openSUSE 11.1, kernel 2.6.27.45-0.1-Default, Gnome 2.26.3] I have a problem where I have an external USB drive which mounts at boot, with /home aboard it along with several data-only partitions, and if I try to add another USB drive *after* boot, the system changes the device IDs previously given to the original drive. The already running sdb now becomes sdc. If a user or processes are attached to /home when this occurs they are left in the twilight zone and stuff starts crashing. An added weirdness is the newly added drive isn't stealing the sdb ID, the added drive becomes sdd instead, and nothing at all is left at the sdb ID.

Note:

- System boots from sda, a non-USB drive with the system as well as /swap onboard, that should be uninvolved with the problem.

- Among the 4 partitions of the boot-mounted USB drive there are 2 lux-encrypted partitions (ext3). One is /home (originally encrypted under 10.3 and added back after machine upgraded to 11.1) and another being a data directory (later encrypted under 11.1).

- The problem _may_ occur only when the additional added drive is also lux-encrypted, but this may or may not be always true as I have limited other USB stuff to test with, most of it is also lux-encrypted.

View 1 Replies View Related

OpenSUSE Hardware :: How To Get 2 TB MYbook Essential External HD Mounted And Readable?

Jul 24, 2011

Is there anyway to get a 2 terabyte NTFS partition mounted in Suse Linux? Would be better to just mount if possible so I could use the storage for both my Linux and windows pcs.

View 2 Replies View Related

OpenSUSE Install :: 11.2 External Encrypted Harddrive Not Correctly Mounted?

Nov 14, 2009

i have an external harddrive which i encrypted scince opensuse 10.2 with luks. Now i installed opensuse 11.2 its impossible to me to mount this drive correctly.

the harddrive was recocnized in my former opensuse 11.0 correctly as luks encrypted and during installation yast installed the kernel module and encrypted the harddrive so that i regulay could mount it on boot by giving the password for that harddrive. Scince opensuse 11.2 however yast thinks this is an dmcrypted partitoon and tries to unlock the harddrive using dmcrypt which of course fails.

does somebody know how i can encrypt and mount the externeal drive automaticly?

i have made a backup of /etc before i made a new installation of opensuse 11.2. is the possible to use the old fstab entries for that after installing luks?

View 8 Replies View Related

Ubuntu Servers :: Mounted External Drives Keep Changing Designation

Mar 7, 2010

I have a headless 8.04 server with 2 USB drives attached. I'm trying to move everything off the 1.5TB drive onto a few 300GB drives (so I can then use LVM on the 1.5TB drive and move everything back onto LVs.)I check the drives using 'fdisk -l'. They show up as sdc1 and sdd1. I mount them and start a cp operation.When I run fdisk again, the drives are no longer sdc1 and sdd1. Now they are sde1 and sdf1 (and of course, they are no longer mounted.

What could be causing this and how do I fix it?I need to fix this ASAP because the 1.5 TB drive seems to be going bad. Every few seconds I hear a big "click" as though the head arms are smacking against a stop. (This is the 2nd brand new 1.5TB drive that has started doing this!)

View 5 Replies View Related

Ubuntu :: External Hard Drive Connected But Not Shown Mounted

Aug 12, 2010

Hard drive is connected to my Inspiron 1525 via USB, plugged in and I'm not seeing the new drive mounted. Restart doesn't fix things and manually trying to mount /dev/sdb1 doesn't work either. The drive I got is preformatted as NTFS and I've been using a logical partition formatted as NTFS as a sort of share drive between my Windows partition and Ubuntu partition, so I know I have NTFS set up properly. This is the hard drive I'm working with for reference.

View 3 Replies View Related

Ubuntu Servers :: Cron Job Backup - External HD No Longer Mounted

Dec 23, 2010

I'm running a cron job every night to dump a MySQL database to an external hard drive. It works, however when I check on it the following morning the external is no longer mounted and the XFS log file is corrupted. If I run

Code:
xfs_repair -L /dev/sdf1
It works, but then I get these issues:
Code:
XFS: Filesystem sdf1 has duplicate UUID - can't mount
I can reset the UUID, but it's difficult to have to do this every day.

View 2 Replies View Related

Debian :: External Mounted Harddisk Safely Umount Automatically?

Jun 1, 2010

Debian if I suspend the PC, will the external mounted harddisk safely umount automatically? I want to make sure that the integrity of my external HDD is not compromised while the PC goes in the suspend mode.

View 4 Replies View Related

Debian Configuration :: External NTFS Drive Not Mounted Writable By Default?

Feb 20, 2010

When I plug in my external USB Hard drive which is formatted as a single NTFS partition, it is recognized and mounted automatically, a nautilus window pops open. Unfortunately it is not writable. The reason is: the partition is mounted "ntfs" (which lacks write support) instead of "ntfs-3g". This is the output of mount after plugging in the drive:

$ mount | grep sdc1
/dev/sdc1 on /media/4EBC5FB82435B0EE type ntfs (rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000,dmask=0077)

I want this partition to be writable by just plugging it in.

The partition should not have any errors because a) I fsck'ed it windows and b) mounting it manually works:

$ sudo mount -t ntfs-3g /dev/sdc1 /media/disk_/
$ mount | grep sdc1
/dev/sdc1 on /media/disk_ type fuseblk (rw,allow_other,blksize=4096)
$ devkit-disks --mount-fstype ntfs-3g --mount /dev/sdc1
Mounted /org/freedesktop/DeviceKit/Disks/devices/sdc1 at /media/4EBC5FB82435B0EE
$ mount | grep sdc1
/dev/sdc1 on /media/4EBC5FB82435B0EE type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
$ gnome-mount -nbtd /dev/sdc1
$ mount | grep sdc1
/dev/sdc1 on /media/disk type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)

How can I get ntfs drives to be mounted as writable by default, preferrably without having to modify fstab?

View 1 Replies View Related

Ubuntu :: External Hard Drives Won't Be Automatically Mounted After Upgrading Some Packages

Sep 8, 2010

1) Environment:
Ubuntu 10.04

2) Phenomenon:
External hard drives won't be automatically mounted after upgrading some packages...

I have a "not good" habit: I'd love to upgrade whatever suggested by Ubuntu upgrading center every morning.
However, after upgrading some packages for today, my computer won't be able to automatically mount external harddrives, including file systems ext4 and ntfs.

My question is:
1) How can I check what packages have been upgraded just within today?
2) How to make my Ubuntu be able to automatically mount external hard drives whenever I plug in a harddrive as before?

View 3 Replies View Related

General :: External Drive Read Only - WARNING! Running E2fsck On A Mounted Filesystem May Cause SEVERE Filesystem Damage

Mar 24, 2010

I've had a look at some similar threads but as I'm very new to linux they're already a bit technical for me. Sorry, this calls for someone with patience. I gather from other threads that disconnecting an external drive without unmounting is a no-no, and this seems to be the likely cause. Now the disk is read only and I'm unable to change any settings through the usual control panel on ubuntu. I'm just not familiar with the terminal instructions. I tried to cut and past a few command lines from other threads but I got some warnings that proceding could damage data. Like this one: WARNING! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage.

View 5 Replies View Related

CentOS 5 :: Can External Sun UltraSCSI Ufs Disk Be Mounted On CentOS

Jun 26, 2011

I need to read information from SUN hard disks which are about a decade old. My CentOS 5.6 mount command comes from util-linux 2.13-pre7."mount -t ufs -o ufstype=sun /dev/sdb2 /New" reports "mount: unknown filesystem type 'ufs'", though its man page describes such settings.How could I read an external UltraSCSI hard disk (yes: high pitch noise and only 9 GB capacity) on a current CentOS? Is that possible at all?

View 1 Replies View Related

Ubuntu :: PGP Key Locations In Gnome?

Feb 2, 2010

When running MintLinux a year or so ago, I encrypted a load of sensitive documents. This was done using a PGP tool for Nautilus. (Something like right clicking on the file, and then encrypt). I made the keys, and obtained an encrypted file. Everyone knows what's coming up now. Since then, I have lost the key I retained for opening this file. I understand that I have no chance at all of getting the data out without the secret key. My question is, where would the secret key have been put? It was a Gnome program which did the work, and also guided me through making the keys. I cannot find this program in Gnome under Ubuntu 9.10.

Would I be silly in thinking that the same program with exactly the same parameters would make the same secret key file? I know the passphrase exactly, just lost the secret key.

View 1 Replies View Related

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

General :: Dealing With Locations Of Libraries

Mar 7, 2010

What can you do when your linux system "can't find" dynamically linked libraries that are indeed installed in their correct locations? Case in point, I'm trying to run a program called 'ucanvcam':

oliver@human ~/installed/ucanvcam-0.1.6/bin $ ./ucanvcam
./ucanvcam: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory
oliver@human ~/installed/ucanvcam-0.1.6/bin $ locate libgd.so.2
/usr/lib64/libgd.so.2.0.0
/usr/lib64/libgd.so.2

oliver@human ~/installed/ucanvcam-0.1.6/bin $ ldd ./ucanvcam
linux-gate.so.1 => (0xf7706000)
[...]
libgd.so.2 => not found
[...]
librt.so.1 => /lib32/librt.so.1 (0xf6b1e000)

How can I tell it to look for libgd.so.2 in /usr/lib64? And more importantly, why isn't it looking there, and where is it looking?

View 1 Replies View Related

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

Programming :: Generated With The GPS Locations Of Certain Sites?

Aug 21, 2010

I am sitting here at my computer at 2:30am on a saturday morning with no idea what the hell im doing. But here's my goal I have a KML File for Google Earth. This file is generated with the GPS locations of certain sites.

I have a text file with extra information about certain sites. What i'm trying to figure out how to do is by using perl I want to open the text file grab the first location on line one and search for it in the KML file. When that line is found I want to edit the Description field in that KML file and add something to the description and change the placemark from Yellow to Blue.

Can anyone give me advice on the best way to handle this and where I can start. I can understand if nobody wants to give me the answer directly but I would like to be pointed in the right direction

View 2 Replies View Related

Networking :: Setup Ip Tunnel In Different Locations

Apr 18, 2011

I have 2 linux servers in different locations. I need to setup a ip tunnel. I follow this steps on both servers:

Server1: ip tunnel add tun0 mode ipip local IP_Server1 remote IP_Server2 dev ethX ip l s tun0 up ip a a 10.10.10.1 peer 10.10.10.2 dev tun0

Server2: ip tunnel add tun0 mode ipip local IP_Server2 remote IP_Server1 dev ethX ip l s tun0 up ip a a 10.10.10.2 peer 10.10.10.1 dev tun0

After creating the tunnel everything is ok, but after a time(maybe some hours), I can't ping the other end of the tunnel (ping to IP_Server1 and IP_Server2 is ok all the time; the connection to internet is very reliable). I have tried "ipip" and "gre" mode, but same result. If I ping from two servers the other end of the tunnel, the connection is again established for some hours and ping is working in both directions.(if I ping only from one side the ping is not working) How can I resolve this issue for no longer having to log on both servers to ping the other end of the tunnel? If I use an crondjob to ping the other end of the tunnel at 2 hours everything is working fine for weeks, but I need other solution.

View 5 Replies View Related

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 View Related

Server :: Pass A Directive To All But One Or Two Locations

Jul 22, 2010

I want to pass a directive to all but one or two locations. How do I do that?

Like:

<Location /1>
xxx
</Location>
<Location /2>

[code]...

View 2 Replies View Related

Debian :: Compiling Kernel - File Locations?

Aug 1, 2011

I am completely new to compiling the kernel. Trying to compile on an old Dell C610 laptop that has Debian 6.01 installed and working. Here is what I have done so far:

Downloaded linux-3.0.tar.bz2 to home directory Also downloaded patch-3.0-git13 to home directory tar xjfv linux-3.0.tar.bz2 which uncompressed the tar ball in the created the linux-3.0 directory in my home directory

[Code]...

View 9 Replies View Related

OpenSUSE :: Starting Applications In Specific Locations In KDE?

Jun 15, 2011

I have a workstation dedicated to monitoring. The goal is to have multiple web sessions and other applications running across dual screens on multiple virtual desktops. I have a nice Perl/TK/wmctrl script that will automatically rotate the desktops. All is working great.

The problem is, I need a solution to automatically start the applications on the correct desktop, with the correct window size, in the correct location on the desktop. That way we can start the monitor boxes in the morning and have everything start in the correct place. It is a really cool effect to have wall mounted monitors with cube rotation showing off multiple graphs and more.

Do any of you pros know how to start an application with a specific window size and define where on the desktop it is placed? The box is running OpenSUSE 11.4 KDE. Is that kind of control possible?

View 1 Replies View Related

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 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 :: Nautilus Cannot Handle Network Locations?

Apr 24, 2010

I am trying to view a share I have on a windows computer but nautilus claims it can't handle that. I tried it in dolphin and found the file but when I tried to open it gedit claims it cannot handle smb locations either!

View 8 Replies View Related







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