The tag has no usage guidance.

learn more… | top users | synonyms

18
votes
3answers
15k views

smartctl on external hdd inside ide-to-usb enclosure

I have a very old 2.5" IDE drive inside a USB enclosure that gives some buffer I/O error. I tried to use smartctl to see what SMART says about it, but I can't manage to make it work. Being root, if I ...
11
votes
4answers
9k views

External hard drive permissions - ext4

I have an external USB 3 disk drive (2TB capacity) that is most likely going to be moved from machine to machine. The disk has a GUID partition table and an ext4 partition. I am unable to write to the ...
6
votes
4answers
707 views

Listing all devices as non-superuser

I'm trying to mount external hard drive. As I know, to mount manually, I should use fdisk -l to determine which device refers to the drive. When I'm doing so without sudo I have next output: user@...
6
votes
1answer
23k views

access external hard drive to delete folder on terminal Mac

I want to delete a folder of portable hard drive on terminal in Mac. Are there any command line ?
6
votes
5answers
13k views

Mounting external drive does not work anymore

~$ dmesg | tail [ 479.558062] usb 1-1: SerialNumber: S07F1601A00000090095 [ 479.559231] scsi7 : usb-storage 1-1:1.0 [ 480.557093] scsi 7:0:0:0: Direct-Access Ext Hard Disk PQ: ...
6
votes
1answer
942 views

Is btrfs suitable as backup filesystem?

Right now I have a pretty traditional backup filesystem structure on top of ext4. Every time a backup is made, a new folder backup-DATE is created to which files are rsync'ed (with hardlinks made ...
5
votes
2answers
284 views

Is it possible to install a program onto an external drive?

I run Ubuntu 14.04 on a Toshiba chromebook using crouton. The drive my OS is installed on is small, with only 3.6 GB of free space. I'd like to install sage on my system but sage requires 6 GB of free ...
5
votes
2answers
588 views

How to get smartd to ignore an HDD?

I have an external HDD which does not report SMART information properly (it gives nonsense results). As such, the smartd daemon (part of smartmontools) keeps giving false alarms on how the device ...
5
votes
3answers
1k views

USB HDD not working on linux

I have a WD My Passport 1 TB external hard drive which is giving me some problems on different linux machines: When I plug it in, nothing happens Gparted when detecting connected devices says "Error ...
5
votes
0answers
840 views

Connection problem with usb3 external storage on linux (UAS driver problem)

On Ubuntu 15.10, when i want to format into NTFS file format an external 4TO disk connected by USB3 (on a Starteck USB/ESata HDD dock), i have a lot of I/O Error, and format fail... I try GParted v ...
5
votes
1answer
1k views

Mounting ExFAT on Linux

I've been trying to set up my Raspberry Pi B+ as a HTPC that also shares a USB HDD over Samba and AFP. The latter is working just fine, and the Samba share seemed to be working too for a moment. ...
5
votes
1answer
177 views

How do I temporarily extract a flash drive or HDD in Linux?

Suppose I mounted a disk in this way: mount /dev/sdb /mnt/tmp I have some files opened on this filesystem and don't want to unmount it. However I want to temporarily extract the device, then ...
5
votes
1answer
988 views

Preventing access blocking while external HDD spins up? [closed]

I have an old laptop where I installed Debian along with a samba server which I am using to share read-write access to 4 external hard drives, which I use to stream my media from. All works fine, ...
5
votes
3answers
1k views

Can't access USB HDD

I just bought a WD 1TB Caviar Blue drive, and a Bytecc HD-35SU enclosure for it. Snapped the drive in, went to plug it in on my laptop, nothing happened. I figured that probably meant I needed to ...
4
votes
3answers
820 views

When is it safe to disconnect my external HDD?

In Windows, there's an option to "safely remove hardware". Ignoring the fact that it almost always fails, and that most of the time I simply have to plug the device out, I get the initiative behind ...
4
votes
1answer
212 views

rsync move files, leave directories?

I'm using rsync to copy data between my internal and external hard drives. It's done what I need, but I'm running out of room on my internal hard drive. So, is there any way to get rsync to function ...
4
votes
2answers
154 views

Why is dd reading from and writing to the same disk?

I've been using dd in Linux to overwrite an external USB hard drive. When I use the default block size of 512 bytes, with this command: # dd if=/dev/zero of=/dev/sdb throughout the whole operation,...
4
votes
1answer
141 views

Adding efficient storage to a laptop-based system

I've recently asked an as-yet-unanswered related question. My question here is a bit different: I want to know the best way to add storage to a laptop-based system without sacrificing power ...
4
votes
0answers
228 views

automatic disconnection of RAID array

A RAID array connected to my system (Debian 7) via USB frequently disconnects itself for no apparent reason. Upon initial connection to the system, the device is detected, and the array can be ...
3
votes
3answers
6k views

Locate disk in SAS enclosure

I want to blink the failing device in my 24-disk SAS enclosure. I have found sg_ses --index 7 --set=locate /dev/sg24 which is supposed to identify slot 7. But how do I figure out which slot/index /...
3
votes
3answers
799 views

Using a unix filesystem on an external hard drive?

After repeated trouble with my NTFS formatted backup/media hard drive (undeletable files, etc.), I decided to reformat it with a unix file system (ext4 preferred). I do not intend to use it from a ...
3
votes
3answers
3k views

Fixed mount point of external usb hdd

I'm doing a backup script and need to have a fixed mount point for an external usb drive. If it is the first usb connected it will mount in /media/usb0/, however if it is the second, third... it will ...
3
votes
1answer
2k views

Ubuntu 11.04 and large external drives

I have a Hitachi USB external 3 terabyte drive attached to a Dell Precision T1500. When connected to the computer running Ubuntu 11.04 (2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011 ...
3
votes
1answer
31 views

Can I use Clonezilla to backup and restore a bootable USB volume?

I have this external USB HDD that I've installed Lubuntu 16.04 and Windows 10 on as a dual boot. They are portable installations that I can take around with me and use on a variety of computers and ...
3
votes
0answers
71 views

Which 'smartctl -d' option should I use on this hard-disk: 'scsi' or 'ata'? [duplicate]

On the back of How to repair a corrupted HFS+ partition?, I have separate question. I'd like to run smartctl tests on a hard disk, but I'm not sure which option I should use to correctly initialize ...
3
votes
1answer
63 views

Customize Drive Mount Location

I'm running Crunchbang Linux (a variant of Debian) Whenever I plug in a drive, it gets mounted to /media/username/UUID-or-Name. Is there a way to instead mount it to /media/UUID-or-Name? Crunchbang ...
3
votes
0answers
1k views

Seagate external hard disk creating problems

I've bought a new hard disk, a Seagate (Backup Plus), but I'm having problems with it. Firstly, it doesn't mounts every time I plug it in. In such cases, I've got to restart the machine to work with ...
2
votes
4answers
667 views

USB 500GB external drive mounted with undetermined permissions, missing data

Note: This situation is evolving. Please see the output at the end of this question for the current situation. I'm using Linux Mint 14. Recently, I repartitioned one of my hard drives, and I backed ...
2
votes
2answers
150 views

Shredding an external HDD

How do I shred the data on an external HDD? I am trying shred "/media/me/New Volume/" but I get failed to open for writing: Is a directory. Why?
2
votes
2answers
2k views

Can't mount EXT4 hard drive after mounting it in windows

I have a 2TB Western external HDD. Its original filesystem was NTFS but I formatted it to EXT4. I had no problem in Linux; But today after I mounted it using ext2fsd in a windows box, I cant mount it ...
2
votes
1answer
568 views

Formatting LUKS encrypted disk

How do I format LUKS encrypted disk if I don't know the passphrase? I recently switched my HDD for a new SSD disk in my laptop and now when I connect the old HDD externally I can't mount disk event ...
2
votes
3answers
2k views

How to clone linux installation onto an external harddisk?

I see a lot of dd related questions, but could not find answers to the following. If question/answers already exist, please point to them, then flag to close, delete or merge. Can a working linux ...
2
votes
2answers
2k views

How Do I use autofs to map a USB drive by its ID?

Goal I have a USB drive -- let's say the drive's ID is /dev/disk/by-id/thediskid I would like to mount the drive -- by ID -- to a folder (let's call it /MOUNT_FOLDER) Question What is the best ...
2
votes
3answers
1k views

Loss of disk access on external USB system/boot drive

I'm running ubuntu 10.10 on a Dell D400 laptop. I'm booting and running the system from LVM volumes on a WD Scorpio Blue 2.5" drive mounted in a NexStar3 USB enclosure. For the most part, this works ...
2
votes
2answers
1k views

Install mandriva in USB HDD

I want to install Mandriva 2010.2 in my external USB HDD using the image file. The laptop's cd/dvd drive doesn't work, so I don't have the option of making a Live CD and starting the installation from ...
2
votes
1answer
91 views

Is it possible to make Linux immediately save changes made to external harddisk files?

I have recently installed Linux Mint on an old laptop. I wasn't a Linux user before. Using MS Windows, I have developed a bad habit of unplugging the external hard drive without ever safely removing ...
2
votes
1answer
109 views

Recover data from HDD

This Monday I wanted to make a boot-able USB-Stick with a Knoppix .iso on Linux. I used the "dd" command to do this. Situation: 1. Laptop with Linux Mint on it 2. HDD mounted to System (.iso File ...
2
votes
1answer
179 views

why 2TB external HDD is recognized as 800 GB only in Ubuntu 8.10

I had a 2 TB external HDD which I formatted as below. fdisk /dev/sdb After issuing the above command, I did the following steps. Then selected option p. (To print the partition table). Then ...
2
votes
1answer
991 views

Permissions in Ext4 Truecrypt Drive

I just used the Truecrypt GUI to encrypt my entire USB hard drive (currently /dev/sdb). I formatted it to ext4. Now, I can mount it in my home directory with the command truecrypt --mount /dev/...
2
votes
3answers
603 views

Seagate external drive freeze problem [closed]

I've recently bought a Seagate STBU1000200 1TB external usb hard drive. The first thing I did was to delete the NTFS partition and create an ext4 one with Gparted. Ever since, I'm facing strange ...
2
votes
1answer
412 views

Gnome on an external hard drive?

I have a GuruPlug computer with an external HDD mounted. I would like to set up Gnome and try to access it via remote desktop. My first roadblock is installing Gnome. I tried running sudo apt-get ...
2
votes
0answers
27 views

External HDD won't Mount during Boot

I've got a Cubox-i4Pro running Debian Jessie hooked up to an external USB3/eSATA dual HDD dock (via eSATA). It originally only had one WD Green 2TB drive installed. Via UUID in fstab this auto mounted ...
2
votes
1answer
263 views

Prevent USB hard drive enclosure from powering off after inactivity

I have successfully used 'hdparm' to disable APM (Advanced Power Management) on external USB hard drives. Now I've come across a USB hard drive enclosure that itself turns the installed hard drive ...
2
votes
0answers
102 views

Making External Hard Drive OS Portable

What I'm trying to Accomplish: I would like to install Arch linux on an encrypted (lvm on luks) external USB hard drive and have it boot and run with the widest array of machines possible and before I ...
2
votes
0answers
527 views

The proper way to turn off an external sata encolsure?

I have an e-sata external enclosure with a port expander and 4 sata disks in it that I use for periodic backups. I have what I think is a sound method for powering it off, but not sure if it is the ...
2
votes
0answers
303 views

Connected external HDD slows down system

I need to connect large external hard disks (with many many files) to a system running Ubuntu. I have no idea how the Linux kernel is treating the inodes for the external drives, but attaching huge ...
2
votes
0answers
1k views

power management of USB-enclosed hard drives [closed]

With a typical USB hard drive enclosure, is the full range of drive power management functionality available? edit: moved this into a separate question: In what may be an unrelated matter: is it ...
1
vote
1answer
586 views

How to stop Western Digital External HDD from Sleeping

I have one Western Digital External HDD(2TB) connected to Redhat Server with the Partition type Ext3. But I noticed that it goes to 'sleep' mode if no one is accessing it. So if I try to access it, ...
1
vote
1answer
5k views

No permission on external drive [duplicate]

Possible Duplicate: can't change file permission On my hard drive everything is fine, but when I go onto my external drive I can't chmod. I get no error message but the changing simply ...
1
vote
1answer
593 views

External drive chmod does nothing

Why is it that I can do chmod on my files when they are on my laptops hard drive, but when i make files on my external drive, i can't change their access rights. I do: chmod 755 somefile, and on my ...