Results 1 to 6 of 6

Thread: Mounted external drives keep changing designation

  1. #1
    Join Date
    Mar 2006
    Location
    The Beach (Oceanside, CA)
    Beans
    145
    Distro
    Ubuntu 12.04 Precise Pangolin

    Mounted external drives keep changing designation

    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. After a long wait, I get a bunch of error messages like:
    Code:
    cp: cannot stat `Backup/Donny/website.zip': Input/output error
    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!)
    r e l a x . . . 8)

  2. #2
    Join Date
    Mar 2006
    Location
    The Beach (Oceanside, CA)
    Beans
    145
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Mounted external drives keep changing designation

    UPDATE

    I unmounted and physically disconnected both drives, rebooted the server, reconnected and remounted the drives. The rsync operation seems to be running perfectly. Would still love to know what I might have done wrong the first time... or if this is typical of external drives attached to a server.
    r e l a x . . . 8)

  3. #3
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Mounted external drives keep changing designation

    The "Input/output error" usually means that the drive is going bad. As for it switching designation, I am not sure why it would be doing that. I know mine switch sometimes (usually when I add another external drive, but for the most part they stay the same), but since I use the UUID to mount the drives that isn't a problem.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  4. #4
    Join Date
    Mar 2006
    Location
    The Beach (Oceanside, CA)
    Beans
    145
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Mounted external drives keep changing designation

    Quote Originally Posted by CharlesA View Post
    The "Input/output error" usually means that the drive is going bad.
    I'm pretty sure they gave that error just because they had unmounted themselves (and switched designations.) No way to write a file when the mount point is gone.
    As for it switching designation, I am not sure why it would be doing that. I know mine switch sometimes (usually when I add another external drive, but for the most part they stay the same), but since I use the UUID to mount the drives that isn't a problem.
    Didn't know you could do that. I'll have to look into that. I assume that's in the man page?

    Thanks very much for the response!
    r e l a x . . . 8)

  5. #5
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Mounted external drives keep changing designation

    I am not sure if it's in the man page or not, but the syntax to mount it by UUID is:

    mount -t ext3 UUID=uuid-goes-here /mountpoint/goes/here

    Basically you are just using the UUID instead of /dev/sdxx
    Last edited by CharlesA; March 8th, 2010 at 01:59 PM.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  6. #6
    Join Date
    Nov 2007
    Location
    Newry, Northern Ireland
    Beans
    1,258

    Re: Mounted external drives keep changing designation

    That is very useful, thanks!
    Can't think of anything profound or witty.
    My Blog: http://gonzothegeek.blogspot.co.uk/

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •