Cannot mount external USB drive

During a recent update I remember pacman asking about replacing some package with another package to handle disk mounting.  I think the added package was "gnome-volume-manager" or "gnome-disk-utility" (or both).  I didn't see any postings describing problems with doing this, so went ahead and allowed the change.  Now it's a few days later and I find I cannot mount an external USB hard drive anymore.  It has an entry in fstab, and although I have tried mutiple edits of the device to associate the drive with, nothing works. 
The disk used to associate with /dev/sdb1.  Now this device no longer exists.  Here is what has happened to my /dev/sd* entries:
brw-rw---- 1 root disk    8,  0 2009-10-27 11:08 /dev/sda
brw-rw---- 1 root disk    8,  3 2009-10-27 11:08 /dev/sda3
brw-rw---- 1 root disk    8,  1 2009-10-27 11:08 /dev/sda1
brw-rw---- 1 root disk    8,  2 2009-10-27 11:08 /dev/sda2
brw-rw---- 1 root disk    8,  4 2009-10-27 11:08 /dev/sda4
brw-rw---- 1 root storage 8, 16 2009-11-04 13:00 /dev/sdb
Trying to force association with "/dev/sdb"  "/dev/sda5" (or some other number not in use) or "sdb1" (or 2,3,4, whatever)  just yields "special device ... does not exist".
Does anybody know how to deal with this?
Does anybody know what package(s) I replaced when the update in question took place?  I think I'd like to reverse whatever happened.
And on another note, I think another gnome-based package also recently replaced a package relating to printing.  Yesterday I discovered I have printing problems too:
At first there were no printers found.  Although cups is supposed to start according to rc.conf, cupsd was not running.  I started it manually and then all the printers showed up again, though I cannot print duplex (again, worked fine before).  What is going on with these gnome packages?!?  Anyone know which package(s) I need to remove (and then what to put back) to make printing work like it used to also?
thanks much.

oddly, fdisk -l shows nothing, even for disks which are mounted (eg. /dev/sda4).  when I insert a standard USB thumb drive, the following show up properly:
brw-rw---- 1 root storage 8, 32 2009-11-05 10:50 /dev/sdc
brw-rw---- 1 root storage 8, 33 2009-11-05 10:50 /dev/sdc1
and I am able to mount and use the drive as usual.
The external drive I've been struggling with has xfs for filesystem type.  After using the thumb drive, /dev/sdb showed up spontaneously, but no /dev/sdb1.  attempting to mount gives:
mount: /dev/sdb is not a valid block device 
or
mount: special device /dev/sdb1 does not exist
depending on which device is specified in fstab.
I am thinking that either a) my ability to mount xfs filesystems has somehow been hosed, or b) there is something wrong with drive, which must have spontaneously failed very recently (it is less than 1 yr old, but this happens from time to time).
If the drive is okay, any ideas about how mounting xfs filesystems could have been broken by recent upgrades?
btw, the fstab entry (which worked fine until a couple days ago) is:  /dev/sdb1 /mnt/external_1 xfs rw,noauto,user,exec 0 0

Similar Messages

  • Cannot mount external USB drive with FDisk_partition_scheme

    Due to some recent mac issues in my lab, we updated one of the computers to Maverick 10.9.4 from Snow Leopard 10.6.8 yesterday. Anyhow, this seems to have erased the ability of the mac to read or mount several identical USB drives with the NTFS format (WD My Passport Ultra 500GB USB3.0). It could do it yesterday when it was OSX 10.6.8, but not today (OSX 10.9.4). The drives still work fine on other OSX 10.6.8, Windows 8.1 and Ubuntu 14.04 computers (this is appears to be a problem with the Maverick 10.9.4 operating system itself, rather than the flash drives which work flawlessly with every other computer I've tried). I want to remove data from the computer to create backups on the USB drives (no, I don't want to create an online backup or buy a new set of USB drives).
    diskutil can see the drives, but cannot verify or repair them as they lack a GUID (GPT) partition scheme. I'm assuming this is the root of the problem. Manually mounting the drives does not work. Installing the ntfs-3g driver also did not work (I was using this to write to the NTFS drives until we upgraded OS's). Installing the WD Passport drivers for OSX also did not work. How do I get the mac to mount these drives?
    I could reformat one USB drive and then copy to the others, but this would be extremely inconvenient and take days of copying files back and forth (and would prefer to fix the mac rather than go through this with every NTFS drive I own). If I did this, the FAT32 hard drive format would not be suitable, as format is unable to handle the extremely large sequencing datasets I need to transfer. I'm not super familiar with hard drive formats, but in the event we cannot get Maverick to actually work could someone possibly suggest a format able to handle large file sizes (the largest file I need to move is ~60GB) and be compatible with Windows 8.1 / OSX 10.9.4 / Ubuntu 14.04 as well?
    Another workaround I thought of would be just to install an Ubuntu partition on the mac and get the files off through the Linux install. Which is also inconvenient, but would probably be faster than trying to reformat the drives and copy everything over onto them again given the amount of data I want to transfer.
    Unrelated, but is there any way to view files and folders in the OSX root directory besides through Terminal? It seems like this functionality was also removed when we "upgraded" from Snow Leopard. (At this point, if it were up to me I would wipe all of the macs we own and replace them with Ubuntu... even the most minor of tasks always require some sort of workaround with them... at my wits end here ).

    Yeah this definitely appears to be a problem specifically with this mac. It's been having all sorts of weird problems lately, and we figured that upgrading to Maverick might fix them (but instead we got new problems).
    To give an update on this, I ended up reformatting one of the drives to HFS+ and disabled journaling. It now recognizes the drive again, and I'm pulling the files off that way. I looked at exFAT, but it looks like HFS+ has much better Linux support (Windows is read-only but that's only a minor annoyance, as the algorithms to process the data only run on UNIX machines anyways). It's a shame I couldn't keep using NTFS (had to copy over literally EVERYTHING again...) but whatever. Again, no solution for the issue (where this mac can't read NTFS drives).
    @rkaufmann87 - To give a bit more explanation, we recently had to disable online backups because apparently the sheer amount of data causes Time Machine to freeze the computer and fail every time it has a scheduled backup (original issue we thought that upgrading to Maverick would solve... didn't work). The hard drive has been having a lot of issues when it begins to reach max capacity as well. So I am pulling off all of my files to external hard drives and deleting the local copy before we attempt to back up online again. And the data would probably take me a year and a lot of money to recreate (for the curious, it's high throughput sequencing data). I'm choosing not to take any chances as a result.

  • [SOLVED]failure to mount external usb drive, possible hardware malfu

    Please excuse me for posting this in the Arch forums, but I'd appreciate at least a point in the right direction. Every Google hit I came up with had a dubious solution like "reinstall USB drivers". I've never had an external drive fail on me yet, and I think this might be a sign of one. I recently moved and set up a 750gb WD external drive connected to this laptop running Arch and WinXP. Drive was working fine until this morning. I see it's entry in Thunar, but when I try to mount it:
    Failed to mount "xxx".
    WARNING: Couldn't set locale to 'en_PH.utf8' thus some file names may not
    be correct or visible. Please see the potential solution at
    http://ntfs-3g.org/support.html#locale
    Error opening '/dev/sdb1': Permission denied
    Failed to mount '/dev/sdb1': Permission denied
    Please check '/dev/sdb1' and the ntfs-3g binary permissions,
    and the mounting user ID. More explanation is provided at
    http://ntfs-3g.org/support.html#unprivileged.
    I got an entirely different error msg in Arch before, suggesting a chkdsk but I don't remember beyond that.
    In Windows, I get USB device not recognized. I've tried turning the thing off and back on, making sure it's connected and swiping cables, rebooting Arch, nothing. Is it fried? Also, how does one even run a chkdsk on a drive that can't be mounted in Windows?
    Thanks for the assistance.
    Last edited by elephantos (2008-07-11 04:59:28)

    Thunar is saying it's a permission problem... have you tried manually mounting it?

  • Terminal/Unix Command to Mount External USB Drive?

    I am having a probelm with the directory on an external HDD. The "device" is showing up in the utility software (DRIVE GENIUS/DISK UTILITY) but not the "volume," so it can't affect any repairs except INTIALIZE. So, I'm presuming the drive is physically okay - just the directory is fouled up. Is there some unix command to run that will repair the directory in some manner? Thanks!

    Hi Metroxing,
       What you presume is not a given but yes, the existence of the device file greatly decreases the relative probability of your having a hardware problem. However, I have a question. I'm not sure of what you mean by the term "directory".
       In "UNIX" jargon a directory is that which in "Mac" jargon would be a filesystem "folder". However, there is another data structure in the filesystem that I think is called a "directory". I assume that's simply an abstraction of the Catalog B-Tree and related files. I know about this use of the term "directory" from discussions and readings on Alsoft's DiskWarrior. That is supposed to do exactly what you want, "rebuild the directory structure", and is a relatively inexpensive "best-of-breed" solution.
    Gary
    ~~~~
       Imitation is the sincerest form of television.
             -- Fred Allen

  • Cannot mount external TM drive

    This may be a general drive-related question.
    TM was in a loop saying "waiting for index" or something similar. This went on for over two hours.
    I thought a repair might solve the problem. Turned backups off in preferences.
    Tried to eject the drive. Failed with "in use." Tried unmounting. Same result.
    Did a restart. Got message that "a device" was not ejected properly. TM drive is no longer on desktop.
    TM drive is connected via FireWire. Tried unplugging, then reconnecting the drive. Nothing. Tried power off, then power on. Nothing.
    Suggestions please?
    Thanks,
    harv47

    Pondini wrote:
    harv47 wrote:
    Well, I guess I can try those substitutions. But the power and FireWire cables that don't work now are the same ones that worked fine before.
    You'd be surprised how often a new cable fixes that sort of problem.
    That point about disabling virus checking of the backup drive is a good one.
    Yes, and you might also want to exclude it from Spotlight indexing, at least temporarily, via +System Preferences > Spotlight > Privacy.+ For some odd reason, Spotlight sometimes interferes with TM backups, especially the big initial one.
    Virus checker now bypasses the TM volume, as does Spotlight.
    Please define "temporarily". Should it be included again after the initial backup?
    harv47

  • Single-user mode: How to mount and access an external USB drive?

    My MacBook Pro HD is acting up. Cannot boot normally or into "safe mode". Cannot reinstall OS without wiping out the HD. Need to recover some critical files but DiskUtil First Aid and Restore options cannot successfully complete. Problem traced down to "invalid node structure" which means I either have a hardware problem or my filesystem partition directory structure is corrupted. I need to recover some files that are not backed up (timin issue with my regular backup process).
    I can boot into single-user mode, mount the root file system (/sbin/mount -uw /) and can see/navigate the rot filesystem structure via good UNIX command line. Here's what I would like to do (in single-user mode):
    1. Mount an external USB drive (250 GB already formatted as Mac OS X Extended)
    2. Copy various files and/or directories from my HD to the external USB drive (UNIX cp command)
    I realize I could go spend $$ for the Disk Warrior or Data Rescue products (or something similar) that SHOULD help me recover my HD or files, but it seems silly to do this when I can see, touch and taste them from within single-user mode....
    Comments? Suggestions?
    TIA --
    Trent
    P.S. Once I've recovered my files, I'll try to reformat the HD and then reinstall the OS. And THEN go have Apple look at my machine (thank goodness for AppleCare coverage)!

    Resolution:
    1) Boot system in single-user mode (SUM) with external HD attached.
    2) Execute the following UNIX CLI commands once SUM boot process is completed:
    # fsck -fy
    # mount -uw /
    # mkdir /Volumes/target_directory
    # mount -t hfs -w /dev/diskXXX /Volumes/target_directory
    # cp -RXv /source_directory /Volumes/target_directory
    Where XXX is the device-level name for your external HD's data partition. In my case this was /dev/disk1s2. It may take some experimentation to identify this device name if your system has multiple HD's.
    3) Verify contents were successfully copied onto the /Volumes/target_directory.
    Comments and observations:
    - Do NOT use "/" as your source directory - cp will make a second (redundant) copy of /volumes/target_directory
    - I was able to successfully copy ALL files off my HD despite the fsck command's "invalid node structure" error message with this simple procedure. YMMV, depending on the state of your HD.
    - The repeated disk0s2: I/O error warnings displayed during the SUM boot process did not seem to have a negative effect on this procedure. I also received this same error warning intermittently as I navigated the mounted filesystem did not seem to be a problem, either. Again, YMMV.
    Commercial software:
    I downloaded ProSoft Engineering's Data Rescue 3 product (trial version) before spending $99 to attempt to recover my "bad" HD's data via mounting to a good system with FW target mode. It could not successfully complete its "QuickScan" process and immediately hung on block 0 of 390M during its "Deep Scan" process. The product did seem to function properly on an operational system. ProSoft's technical support was responsive and helpful but had no answer for my "Deep Scan" error.
    I did not attempt to use Alsoft's Disk Warrior 4 product. I could not find any trial software available and was reluctant to spend $100 based upon the mixed reviews and comments on this discussion forum as well as other reviews. Alsoft does claim to address the "invalid node structure" error in their marketing materials. Hindsight being 20/20 - I saved $100 by using this simple procedure.
    Final note:
    Neither Leopard nor Snow Leopard's installation DVD could recognize the bad internal HD when trying to do a reinstall. While DiskUtil was able to "see" the bad internal drive it immediately failed when I tried to do an "erase and format". Took the system to my local Apple store and the Genius ran a tool called "SMART Utility" from Volitans Software (www.volitans-software.com). SMART utility confirmed that my HD was bad so it was replaced. AppleCare pays for itself (once again!).

  • External USB drives will not mount under Mountain Lion

    Since upgrading to Mountain Lion, two external USB2 drives that I have will not mount and cannot be viewed in the Finder.  The same occurs on a 2012 MacBook Air, a 2009 iMac 27 and a 2010 MacMini, all running OS X Mountain Lion version 10.8.2.
    Both drives are Samsung Story external USB drives (one is 1.5 GB and the other is 2 GB) and both have been formatted using Mac Disk Utility with a single Mac OS Extended (Journaled) partition, one using Snow Leopard and the other with Lion.
    Both still mount correctly on a friends MacBook Pro that is still running Snow Leopard, and I had no problem with the same drives under Lion.  Interestingly both can also be connected to Time Capsule USB port and show up correctly.
    Both drives mount correctly under Windows 7 on BootCamp partitions that I have on both the 2012 MacBook Air, a 2009 iMac 27. These BootCamp partitions have Paragon HFS+ installed so I can read Mac formated drives.
    Both drives show up in Disk Utility, but when attempt to mount the drives I get the message "The disk could not be mounted.  Try running First Aid on the disk and retry mounting." I can run Repair in First Aid on the disk and get the message that the volume appears OK, but again have the same problem when I attempt to mount the disk.
    I have also tried using Disk Utility 3,2, but still cannot mount the drives, though the program indicates there is no problem with the drives.
    I have other portable USB including a Samsung portable USB2 drive, and two external USB3 drives, and I don't have problems with them.
    There is clearly a problem with Mountain Lion with accessing (mounting) these Samsung Story USB drives, and the problem appears to be with Mountain Lion itself as the problem did not occur on the same Macs with Lion and does not occur with Bootcamp partitions on the machines.
    I have a lot of time searching forums, but I have not found anyone with an identical problem.
    I sure hope someone can help or that Apple come up with a fix for this issue which has only developed since the update to Mountain Lion.

    bj10au wrote:
    Since upgrading to Mountain Lion, two external USB2 drives that I have will not mount and cannot be viewed in the Finder.  The same occurs on a 2012 MacBook Air, a 2009 iMac 27 and a 2010 MacMini, all running OS X Mountain Lion version 10.8.2.
    Both drives are Samsung Story external USB drives (one is 1.5 GB and the other is 2 GB) and both have been formatted using Mac Disk Utility with a single Mac OS Extended (Journaled) partition, one using Snow Leopard and the other with Lion.
    Both still mount correctly on a friends MacBook Pro that is still running Snow Leopard, and I had no problem with the same drives under Lion.  Interestingly both can also be connected to Time Capsule USB port and show up correctly.
    Both drives mount correctly under Windows 7 on BootCamp partitions that I have on both the 2012 MacBook Air, a 2009 iMac 27. These BootCamp partitions have Paragon HFS+ installed so I can read Mac formated drives.
    Both drives show up in Disk Utility, but when attempt to mount the drives I get the message "The disk could not be mounted.  Try running First Aid on the disk and retry mounting." I can run Repair in First Aid on the disk and get the message that the volume appears OK, but again have the same problem when I attempt to mount the disk.
    I have also tried using Disk Utility 3,2, but still cannot mount the drives, though the program indicates there is no problem with the drives.
    I have other portable USB including a Samsung portable USB2 drive, and two external USB3 drives, and I don't have problems with them.
    There is clearly a problem with Mountain Lion with accessing (mounting) these Samsung Story USB drives, and the problem appears to be with Mountain Lion itself as the problem did not occur on the same Macs with Lion and does not occur with Bootcamp partitions on the machines.
    I have a lot of time searching forums, but I have not found anyone with an identical problem.
    I sure hope someone can help or that Apple come up with a fix for this issue which has only developed since the update to Mountain Lion.
    You can start here
    http://support.seagate.com/kbimg/flash/213059/213059_EN.HTML
    Pete

  • External USB drive won't mount after 10.9.5 upgrade

    Is anyone else reporting the following issue?  Immediately after installing OS X update 10.9.5 (13F34) on 09/18, my external USB drive (IOMega 1GB OS X Extended FS) used for Time Machine would no longer mount and isn't recognized.  When I look at the drives in finder, it is missing.  However, it does show up under the USB Hi-Speed Bus device tree:
    USB Mass Storage:
      Product ID:    0x0376
      Vendor ID:    0x059b  (Iomega Corporation)
      Version:     0.00
      Serial Number:    ABCDEF012314E2ED
      Speed:    Up to 480 Mb/sec
      Manufacturer:    Iomega
      Location ID:    0x1a120000 / 3
      Current Available (mA):    500
      Current Required (mA):    0
    Console message when device plugged in:
    10/6/14 3:22:31.000 AM kernel[0]: USBMSC Identifier (non-unique): ABCDEF012314E2ED 0x59b 0x376 0x0, 2
    mount command results:
    devfs on /dev (devfs, local, nobrowse)
    map -hosts on /net (autofs, nosuid, automounted, nobrowse)
    map auto_home on /home (autofs, automounted, nobrowse)
    /dev/disk1s2 on /Volumes/Mac-Mini 2 (hfs, local, nodev, nosuid, noowners)
    System is Mac-Mini (late 2012), 2.5 Ghz i5, 8GB ram, 500GB local storage, 1TB on second Firewire disk for media, 1TB USB disk for Firewire (PROBLEM)
    I have reinstalled the combined 10.9.5 OS upgrade, and verified that the drive works when connected to my other MB Pro (mid-2012 running Yosemite beta 3).  There is no third party software that I'm aware of in use for this drive, as it's only for Time Machine backups.
    Thanks

    Is the drive's icon on the desktop (perhaps behind another icon, which is possible if Finder > View > Cleanup is enabled)?
    If not, is the box Finder > Preferences > General > External Disks checked?
    Is the drive listed in every Finder window's sidebar?
    If not, is the box Finder > Preferences > Sidebar > External Disks checked?
    Are Time Machine backups to the drive happening on schedule?
    If not, does the drive appear in System Preferences > Time Machine > Select Disk?
    Can you open /Volumes/Mac-Mini 2/Backups.backupdb using Finder > Go > Go to Folder...?
    Does the drive appear in Disk Utility? Is it (or can it be) mounted there?
    Have you tried to plug it in to a USB port on the Mini (not a hub) or into a different USB port on the Mini?
    Have you tried this: shut down; unplug the drive; boot the Mac; after you have logged in and the Finder is done populating the desktop and menu bar, plug the drive in?

  • OS refuses to mount external USB flash drive. Says a piece of OS software is missing.

    OS refuses to mount external USB flash drive. Says a piece of OS software is missing. The flash drive (thumb drive) usually lights up but does not go through the flashing on/off that was tyjpical when first inserting it.
    I tried an external hard drive and got the same results; that is, no result, as if it wasn't connected. No icon appears on the desktop and no device shows up in the sidebar. It (10.6.8, Mac Pro Duo) had worked perfectly before this, of course.

    Hmmmmm,,,,
    Disconnected all peripherals. Did a Safe Mode startup and that worked fine. Very limited features, of course.
    Started up with the Snow Leopart (10.6.3) disk. Used disk utility to verify permissions and ran disk repair on all three internal HDs. No repairs needed.
    Ran Drive Genius and did the same things, as a double-check.
    Plugged in the flash drive (thumb drive) and it came up fine (still operating the OS from the Sno-Leop disk). 
    I wanted to re-start with the disk and bring up the Apple Hardware Test as you suggested. I had lots of kernal panics on a previous machine, a G4 desktop, and has used that at that time (with a 10.2 or 10.4 disk). thought I remembered that you hold the D key down when starting up from the disk and it would open the hardware test, but either I remember wrong or it works different in 10.6 because it was just a normal startup.
    How do I get to the Hardware Test on the 10.6 Snow Leopard disk?
    Restarted without the disk and the Mac Pro desktop still showed the gray screen with what Apple calls the "prohibitory" sign, the circle with the diagonal line in it.
    I decided to load the OS disk onto HD 3 and designate that as the startup disk, which I did and it works fine. The USB flash drive loads properly, opens, etc. just as it should. I haven't yet plugged in the peripherals (scanner, printer, second DVD/CD recorder, tablet, an external drive, or connected to ethernet yet. Will do those one at a time and see if any of them casued a problem.)
    Am I right in thinking:
    A) HD One might have bad sections. I didn't defrag with Drive Genius (26% fragged) or look for bad blocks, which I'll probably do tonight.
    or B) the OS has been slightly corrupted and may need reloading
    or C) I have a virus or conflict (though I haven't added anything new lately). I do have the ButtonManager loading problem for Mac. which is talked about on MacRumors site, etc. but the timing of its appearance and this problem don't match.
    Apologies for being so wordy; want to get all information that may be helpful. I appreciate your interest.

  • Automator to mount multiple ISO files on external USB drives

    I have several ISO files on an external USB drive on a Mac mini. Double clicking on any of the ISO mounts it, one at a time.
    I need to have an automator that mounts ALL ISO it can see on a given USB external drive. I have written an Apple script but that hangs up the Mac mini. I need help because I am not familiar with Applescript or Apple automator. I used Unix years ago, butg have a hard time with AppleScript.

    Macs can't normally write to NTFS drives:
    http://discussions.apple.com/click.jspa?searchID=7426620&messageID=4582486
    Your other problem sounds like another computer has the files open or application has the files open simultaneously. Try shutting down your Mac, and isolating your Mac from any network and try rebooting again in safe mode by holding the shift key at startup.

  • I would like to recover my bookmarks from my old hard drive that I now have as an external USB drive. The old OS was Vista; the new is Windows 7.

    I recently had a new hard drive installed on my laptop; this hard drive has the Windows 7 OS on it.
    At the same time, I had my old hard drive mounted in an SATB enclosure so that I could use it as an external USB drive. [I stupidly did not export my bookmarks before doing all of this]
    Everything seems to work fine [I can see all of the files], but I cannot find out where my bookmarks are stored on the old hard drive.
    Is it possible to find them and get them transferred over to the new hard drive??
    Thanks!!

    Bookmarks are stored in a file called places.sqlite inside the profile folder. You can copy that file from the old profile folder into your current profile folder. For details of how to find the profile folder see https://support.mozilla.com/kb/Profiles or http://kb.mozillazine.org/Profile_folder_-_Firefox
    You can recover more than just the bookmarks - https://support.mozilla.com/kb/Recovering+important+data+from+an+old+profile

  • Arch corrupts FS on external USB drive.

    Good day almighty All,
    I have a Dell Latitude E6520 laptop with SSD drive, which is probably unrelated to the problem.
    Recently I decided to install Arch linux on it, but before that, being a bloody smart person, I decided to back up existing windows partition and CentOS filesystem to the external HDD connected with some noname SATA-to-USB connector.
    (Actually it has a name, which is "Bus 002 Device 009: ID 14cd:6116 Super Top M6116 SATA Bridge").
    Enclose has my old 500GB Segate in it with LVM partition.
    So the box was booted with CentOS installed, first 2048 sectors of the drive and windows partitions were dumped with dd to the files on external HDD.
    Could not tell which FS was on the volume, but most probably ext3.
    After that I installed Arch (base, base-devel, grub as per installation manual), changed CentOS GRUB-0.9 to GRUB2, rebooted into arch, was unpleasantly surprised by the missing ifconfig, rebooted back into Arch usb, installed net-tools, rebooted into Arch, installed various small things like vim and KDE minimal, added missing ttf-dejavu, still could not boot into KDM - startx only.
    Everything was going well so far.
    Then it happened.
    I mounted my USB drive from Arch and tried to dump on it CentOS partition.
    Somewhere at the mark of 30-40Gb from the start  I got Input/Output errors and that's it - partition is dead.
    When I tried  to remount it I've got:
    mount: wrong fs type, bad option, bad superblock on /dev/mapper/lenovo01-data,
           missing codepage or helper program, or other error
           In some cases useful info is found in syslog - try
           dmesg | tail or so
    I ran fsck on other laptop (Fedora 17) and got file system fixed but empty (well, lots of errors, everything was linked under lost+found).
    RIP my backup (I have a copy on the storage and this one will be accessed via network only
    I re-created FS (ext3), copied on it couple gigs of test files, connected drive to dell, mounted FS, "ls" the dir, all good.
    Unmounted FS, mounted again - get what is quoted above - I/O errors.
    The same drive on the same laptop works without any problem with installed CentOS and live GRML so it is not a hardware itself.
    So far:
    1. external drive can be mounted without problem when it is just connected to Arch
    2. After some data traffic it starts to produce I/O errors.
    3. When good FS is unmounted and then mounted again the story is the same - I/O errors.
    4. As soon as it happened I cannot change FS on drive, I cannot change partition table and so on. fdisk and mkfs completed without error but FS is not there and attempt to mount produces the error above.
    Below is some info about installation:
    System is installed on encrypted with Luks LVM partition.
    External HDD is not encrypted.
    [root@darkstar ~]# uname -a
    Linux darkstar 3.6.3-1-ARCH #1 SMP PREEMPT Mon Oct 22 10:23:56 CEST 2012 x86_64 GNU/Linux
    [root@darkstar ~]# pacman -Suy
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    :: Starting full system upgrade...
    there is nothing to do
    [root@darkstar ~]#
    # dmesg after connection of USB drive
    [Nov 2 14:08] usb 2-1.1: new high-speed USB device number 8 using ehci_hcd
    [  +0.085473] scsi8 : usb-storage 2-1.1:1.0
    [  +1.002053] scsi 8:0:0:0: Direct-Access        Mass  Storage Device        PQ: 0 ANSI: 0
    [  +0.001279] sd 8:0:0:0: [sdb] 976773166 512-byte logical blocks: (500 GB/465 GiB)
    [  +0.000664] sd 8:0:0:0: [sdb] Write Protect is off
    [  +0.000011] sd 8:0:0:0: [sdb] Mode Sense: 03 00 00 00
    [  +0.000562] sd 8:0:0:0: [sdb] No Caching mode page present
    [  +0.000011] sd 8:0:0:0: [sdb] Assuming drive cache: write through
    [  +0.002354] sd 8:0:0:0: [sdb] No Caching mode page present
    [  +0.000011] sd 8:0:0:0: [sdb] Assuming drive cache: write through
    [  +0.049185]  sdb: sdb1 sdb2 sdb3
    [  +0.003149] sd 8:0:0:0: [sdb] No Caching mode page present
    [  +0.000022] sd 8:0:0:0: [sdb] Assuming drive cache: write through
    [  +0.000006] sd 8:0:0:0: [sdb] Attached SCSI disk
    [Nov 2 14:09] usb 2-1.1: reset high-speed USB device number 8 using ehci_hcd
    And this is dmesg after I tried to mount fs created on other box.
    There was also XFS volume on the same VG.
    [Nov 2 14:15] EXT4-fs (dm-8): mounted filesystem without journal. Opts: (null)
    [Nov 2 14:16] EXT4-fs (dm-8): VFS: Can't find ext4 filesystem
    [  +0.036964] EXT4-fs (dm-8): VFS: Can't find ext4 filesystem
    [  +0.026500] EXT4-fs (dm-8): VFS: Can't find ext4 filesystem
    [  +0.040551] XFS (dm-8): bad magic number
    [  +0.000023] XFS (dm-8): SB validate failed
    Will appreciate any help,
    Thanks,
    Eugene.

    Little bit of testing,  just out of curiousity - do not have time to dig into it, sorry.
    It puts garbage starting with "USBC" in first 32 bytes (the rest of the string varies) and then skips first 4K.
    Tested it with CentOS - at least its 2.6 kernel works as expected.
    [root@darkstar test]# uname -a                                                                             
    Linux darkstar 2.6.32-279.11.1.el6.x86_64 #1 SMP Tue Oct 16 15:57:10 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
    [root@darkstar test]# perl -e 'print "a"x5120' |dd bs=512 count=10 of=/dev/sdb                             
    10+0 records in                                                                                             
    10+0 records out                                                                                           
    5120 bytes (5.1 kB) copied, 0.258486 s, 19.8 kB/s                                                           
    [root@darkstar test]# dd bs=512 count=10 if=/dev/sdb status=noxfer |od -tax1                               
    0000000   a   a   a   a   a   a   a   a   a   a   a   a   a   a   a   a
             61  61  61  61  61  61  61  61  61  61  61  61  61  61  61  61
    0012000
    10+0 records in
    10+0 records out
    [root@darkstar test]# uname -a
    Linux darkstar 2.6.32-279.11.1.el6.x86_64 #1 SMP Tue Oct 16 15:57:10 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
    [root@darkstar test]# uname -a
    Linux darkstar 3.6.7-1.el6.elrepo.x86_64 #1 SMP Sun Nov 18 08:35:06 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
    [root@darkstar test]# perl -e 'print "7"x5120' |dd bs=512 count=10 of=/dev/sdb
    10+0 records in
    10+0 records out
    5120 bytes (5.1 kB) copied, 0.303432 s, 16.9 kB/s
    [root@darkstar test]# dd bs=512 count=10 if=/dev/sdb status=noxfer |od -tax1
    10+0 records in
    10+0 records out
    0000000   U   S   B   C   : soh nul nul nul dc4 nul nul nul nul  nl   *
             55  53  42  43  ba  01  00  00  00  14  00  00  00  00  0a  2a
    0000020 nul nul nul nul nul nul nul  nl nul nul nul nul nul nul nul   ^
             00  00  00  00  00  00  00  0a  00  00  00  00  00  00  00  de
    0000040   a   a   a   a   a   a   a   a   a   a   a   a   a   a   a   a
             61  61  61  61  61  61  61  61  61  61  61  61  61  61  61  61
    0001000   7   7   7   7   7   7   7   7   7   7   7   7   7   7   7   7
             37  37  37  37  37  37  37  37  37  37  37  37  37  37  37  37
    0012000
    [root@darkstar test]# uname -a
    Linux darkstar 3.6.7-1.el6.elrepo.x86_64 #1 SMP Sun Nov 18 08:35:06 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
    [root@darkstar test]#
    Last edited by Eugene (2012-11-26 01:15:46)

  • Can i include external usb drives in Time Machine backups

    Can I include external usb drives and sticks in Time Machine backups?
    This was the question I searched a week for. My machine is a MBAir with Yosemite. I have a bunch of USB HD and sticks. This is a sharing of what it took to solve. I lost a couple of important document revisions lately because of not having differential backups on them, so wanted to include them in Time Machine.
    Yes it can, I found. But it's a wee bit backwards. And apparent inconsistencies drive you crazy. Time Machine is supposed to do this by default, and wants you to tell it what NOT to include. Trouble is, formats create many troubles.
    But the USB sticks and HD's you buy are PC formatted. And you'd like to share, as the Apple does with FAT16, FAT32, and exFAT (to overcome the 4G size limit on the others). Even NTFS can be plugged in and be read-only. Turns out you just can't incorporate into TM backups.
    Open Time Machine Options, and look at the drives listed in the exclusion window. Drives that you know to be plugged in and registered by Finder, may or not be registered in the exclusion window, and if registered and their icons may be bright or dimmed. Bright will NOT be included. Dimmed are excluded. Normally the operation is to use the or to exclude these drives from your next BU operation. (this instruction is lost the next time in manual mode). So if a drive or stick is shown and is bright it WON'T be backed up. If you it from the window, then it will grey out and WILL be backed up. If it's not there to offer you exclusion, you can browse to such a file or device so you can exclude it. TM's exclusion window will show the PC formats: FAT16, FAT32, and exFAT greyed out (as not included). NTFS is bright looking like it might work, but when    doesn't dim, it disappears, and is ignored in the actual BU.
    Sources are supposed to be included in the backup if it isn't shown bright in the exclusion window. In this respect I only use TM manually, and not for programmed BU's, so I cannot speak to that.
    If everything you have is formatted for the Apple disc system (Mac OS Extended) then there are no contradictions or partial equivalences. The mounted disc or stick will show in TM exclusions window, and if you it, you'll see it in the Time Machine pile of calendared directories, with all the files. And of course it will do the differential backups for it that we use TM for in the first place. Just remember to prepare the BU by not excluding.
    BUT NOW THE VARIABLES. It now depends upon the formats. I use the Paragon NTFS program to permit writing NTFS. (Apple can normally read but not write NTFS). Paragon is lovely because for normal computer use, I can read and write both Apple and PC files and disc formats in Finder (for 3 years now). But Time Machine cannot be reached by Paragon so it's NTFS behaviors are outrageous. Paragon reaches Disk Doctor so you can read, write, format and heal both Apple and PC formats. And this really confused things respecting Time Machine. I literally worked through every variable, from stick to disc to prove what did work, and when false appearances of working showed up.
    Respecting that very Time Machine display of Finder windows piled backwards through time there's a confusing bug. When first opened, TM shows NOW as the current setup and works just like a Finder window in present time. And the outboard discs and sticks show as in Finder. BUT working back in time, the left window DOES NOT SHOW THE CONDITIONS AT BACKUP but rather in all left windows shows the present setup. So you need to work from the right hand side dates and times to go back and see when you had that stick or HD plugged in. And then, finally, you will see the files you wanted saved. But if there is a stick on the left than TM doesn't like but Finder likes you'll see it left but nothing will be in the files. Clicking on the pretender just jumps to the root.
    My Disk Doctor provisions (with Paragon) show, Mac OS Extended (Journaled), Mac OS Extended (Case Sensitive Journaled), MS-DOS (FAT), exFAT, Windows NT Filesystem, Windows NT Filesystem (compressed). It's a better utility than in Microsoft and I use it for such maintenance.
    Bottom line, I like TM very much. 2 years ago I lost my air and TM was able to reconstruct my machine many times in the course of the troubleshooting - all the way from the start to the last without ever missing a beat or a file. So I accept this limitation and make copies to another HD formatted in NTFS when I work on PCs.
    Hope's this sorts out being lost in the desert for a few of you.
    Jock
    <Personal Information Edited by Host>

    Storing normal data files on the Time Capsule is unfortunately not as easy as dropping the folder on the Time Capsule.
    Open up Macintosh HD on the Mac
    Look for the SHARED heading on the left
    Click on the Time Capsule icon and a folder named "Data" will appear (unless you have renamed it)
    Double click the "Data" folder to mount the drive on the desktop. You may need to enter the device password for the Time Capsule when you do this the first time
    Once the drive icon is on the desktop, you can drag data to the icon and drop it there. Double click the icon to open up the drive and see the files

  • Installing Leopard on external USB drive

    Hi there,
    I am trying to wipe a drive clean via an external USB drive box. Might somebody explain how I can do this? When I boot on the Leopard DVD I arrive at the drive choice screen and there is a big red "exclamation point" on the external USB drive mount icon. What can I do to get around this problem?
    Cheers,
    Noah

    Noah Wallach wrote:
    Hi there,
    I am trying to wipe a drive clean via an external USB drive box. Might somebody explain how I can do this? When I boot on the Leopard DVD I arrive at the drive choice screen and there is a big red "exclamation point" on the external USB drive mount icon. What can I do to get around this problem?
    Cheers,
    Noah
    Although you can boot some systems via USB, the drive must first and foremost be bootable. Not all external drives are bootable. The firmware must support booting. For example, my Maxtor 160 that I use for TM on my G5 states in the manual that it cannot boot.
    You are having a somewhat different issue, in that you are not yet ready to boot, but the drive cannot be seen by DU.
    I would see if the external drive can first be partitioned and formatted in Leopard directly by running DU in the Leopard Utility folder, not from the DVD.
    I would check for a firmware update for your drive box.

  • Disk Utility Not Formatting External USB Drive

    Hello,
    I recently upgraded to Leopard.  Around this same time, my company purchased two, 1 Terabyte USB External drives for my coworker and I in the graphics/web development department.  They arrived this morning and we were very excited.
    My problem is that I cannot get Disk Utility to erase/format the new, external USB TB drive for use with my MBP.  Disk Utility fails almost immediately with the following message:
    "*Disk Erase Failed*
    Disk Erase failed with the error:
    File system formatter failed."
    The options I'm choosing for the Erase are:
    Volume Format: MAC OS EXTENDED  (i've even tried the 'journaled' version too)
    Name: TB
    As soon as I hit 'Erase' I get the error message I listed above.  The volume never mounts on my desktop and does not exist.  I can see the drive itself in the System Profiler, so my Mac sees it, it just can't format it!  I've also made sure all my permissions were repaired, so I'm just a little confused as to why this simple task keeps failing?
    Is there some additional, esoteric step that I'm missing?
    My coworker was able to get his disk to work because he did NOT have Time Machine turned on yet.  When he connected his new TB drive, Time Machine asked him to format/initialize the disk and he of course said "ok."  I had Time Machine set to use my OLD external USB drive and it's been working great. As of this writing, my coworker is a happy camper. I, however, am not.  I'm not blaming Time Machine, just noting the differences between my coworker's experience and my own. Since the volume is not currently mounted on my machine, I can't format my disk the same way as my coworker has done using Time Machine, since Time Machine doesn't see the volume.
    My fear is that the manufacturer (whom I've also contacted and am awaiting their response) will throw this back to a software problem....and the folks on the forum here will point their fingers and say 'hardware problem.'  Ah, the eternal struggle.....who to blame?
    Any help or additional troubleshooting tips are greatly appreciated.

    This is the best, and only, way to format an external hard drive, which is courtesy of Kappy.
    Extended Hard Drive Preparation
    1. Open Disk Utility in your Utilities folder. If you need to reformat your startup volume, then you must boot from your OS X Installer Disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger or Leopard.)
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area. If it does not say "Verified" then the drive is failing or has failed and will need replacing. SMART info will not be reported on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Click on the Options button, set the partition scheme to GUID (only required for Intel Macs) then click on the OK button. Set the number of partitions from the dropdown menu (use 1 partition unless you wish to make more.) Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the volume(s) mount on the Desktop.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process will take 30 minutes to an hour or more depending upon the drive size.
    Steps 4-6 are optional but should be used on a drive that has never been formatted before, if the format type is not Mac OS Extended, if the partition scheme has been changed, or if a different operating system (not OS X) has been installed on the drive.

Maybe you are looking for