A permanent data storage device used for storing and retrieving digital information using rapidly rotating discs (platters) coated with magnetic material in a rigid form factor (as opposed to floppy disks).

learn more… | top users | synonyms (1)

0
votes
0answers
20 views

LVM not coming up after reboot, couldn't find device with uuid

Had a VM that was, up until recently working without issue, but needed to be rebooted after some configuration changes. However after rebooting the VM didn't come back up, saying it couldn't find the ...
3
votes
4answers
3k views

External hard drive fails to mount

I have an external 2.5" 1TB Samsung hard drive, and it fails mount. Here's what palimpsest says about it: It's even able to do a benchmark on it: When I try to mount it normally, it fails: $ ...
2
votes
3answers
88 views

Why is dd running forever on a 8 GB drive

I have a filesystem handled by ZFS and it's about 8 GB. I tried to zero out the filesystem by running: dd if=/dev/zero of=/EMPTY bs=1M | true rm -f /EMPTY And normally on an ext4 filesystem, it ...
0
votes
0answers
18 views

Internal secondary hard disk suddenly failing to mount

In RHEL5, my internal secondary hard disk (1TB) suddenly fails to mount after some unexpected power failure and after my system got off. But it's showing in BIOS and while Booting checking as sdb ...
1
vote
1answer
41 views

External disk partitions with identical UUIDs

I have two external USB drives of the same make and model, and one of them is driving me slightly nuts by never being assigned a UUID (or, at least, it doesn't show up in /dev/disk/by-uuid). What ...
0
votes
0answers
57 views

USB HDD Enclosure works with Ubuntu, but not Raspbian

SOLVED: Even though the enclosure came with its own power supply, it required a powered USB hub, probably for some internal components that don't draw power from the main supply. I have this dual HDD ...
13
votes
4answers
1k views

GPT or MBR: How do I know?

How can I tell whether my harddrive is laid out using an MBR or GPT format?
3
votes
1answer
31 views

Error creating ext4 file system

Recently I purchased a Cubietruck Cubieboard 3, and I'm trying to copy Lubuntu server from the builtin NAND memory to a hard disk. I can create a partition successfully, but when I go to format the ...
2
votes
1answer
19 views

Track HDD access?

How can I track HDD access? Not in a monitoring sense of MB/s like iotop. My internal mass storage HDD gets permanently woken up and I want to find the evil process with an absolute list of accesses.
4
votes
1answer
376 views

Gentoo Live CD from Hard Drive: No Mountable Filesystems on root after modules loaded

I am attempting to install Gentoo on my PowerPC Mac. I have reached the point where I can boot the Live CD (I have no functional CD Drive, so it is from a spare Hard Drive), but after the kernel is ...
3
votes
2answers
4k views

How to repair a corrupted HFS+ partition from a damaged hard-disk?

I have a friend's Mac OS X disk that comes with an HFS+ partition. I am supposed to recover the personal data from this disk, and I'm not yet sure if the filesystem is corrupted or the disk is dying). ...
5
votes
4answers
2k views

Finding out what is spinning up harddrive

I am the owner of a NAS, running some Linux distribution. It comes with a web administration frontend, where I can manage several services, user rights and also when it should go to sleep. My problem ...
4
votes
2answers
11k views

Can I fix bad blocks on my hard disk with a single command?

I'm working on fixing the errors in my Hard Disk, It's possible to do that manually but it might take hours. After typing this command sudo badblocks -b 512 /dev/sda, I got hundreds of results and I ...
1
vote
1answer
63 views

Problem with former RAID hard drive settings in Linux Mint 17

I'm new to Linux, just installed Linux Mint for the first time. I have two hard drives which were previously in a RAID configuration. Now before I have installed Linux I've changed them to individual ...
4
votes
0answers
40 views

Why does hdparm see two different values for the size of a drive?

I have a 1 TB drive attached via USB. It contains an LVM physical volume filling the entire device (without any partition table). When I tried to extend a logical volume by using the entire PV, the ...
2
votes
1answer
44 views

I/O schedulers for normal harddisks

For me figuring out what is the best choice for I/O in kernel was a challenge. First I learned that it is subjective then it is depend upon the File-System you use. I know you should use No-op for ...
0
votes
1answer
64 views

How to increase size of /dev/sda2 in suse running on vmware

how to increase the partition /dev/sda2 partition. df -h : Filesystem Size Used Avail Use% Mounted on /dev/sda2 7.0G 3.7G 3.0G 56% / devtmpfs 432M 172K 432M 1% /dev tmpfs ...
13
votes
5answers
15k views

How to see disk details like manufacturer in Linux

With sfdisk -s I can see the disk capacity as follows: $ sfdisk -s /dev/cciss/c0d0: 143338560 total: 143338560 blocks How do I see disk details like disk manufacturer? I tried hdparm, but got an ...
4
votes
4answers
419 views

How can I benchmark my HDD?

I've seen commands to benchmark one's HDD such as this using dd: $ time sh -c "dd if=/dev/zero of=ddfile bs=8k count=250000 && sync" Are there better methods to do so than this?
-1
votes
1answer
24 views

How turn external HD visible in Virtualbox Debian VM?

I want to clone my Virtualbox VM to a another/external HD in my computer. My VM is a Debian 7, and I want to use the dd command on an external HD. Is this possible? When I use # fdisk -l only ...
3
votes
1answer
717 views

Fedora installer doesn't see my Windows 7 partitions

I tried to install Fedora 17 on the same disk I have Windows 7. First I got the message, that there are no free space to create partition, even in Windows part of disk was marked as unallocated. I ...
2
votes
1answer
41 views

Is no caching mode page a serious error?

My server log displays the following error messages in RED: kernel: sda: sda1 sda2 kernel: sd 0:1:0:0: [sda] No Caching mode page found kernel: sd 0:1:0:0: [sda] Assuming drive cache: write through ...
1
vote
0answers
37 views

Installing Arch Linux on empty eee pc's hard drive

I have a problem with the installation of Arch Linux on an Asus 1000HD eee pc. The fact is, it had a Windows XP home basic installation, and it was still very very slow with that. So I formatted the ...
0
votes
1answer
58 views

Could not boot from an external hard drive [duplicate]

I burned a live session of Linux Mint 17 Cinnamon to a USB stick. Then I installed LM17C into an external hard drive by using this USB stick. I managed to do it and even successfully started on my ...
1
vote
0answers
40 views

Mount a seriously damaged NTFS partition on an HDD with a lot of bad sectors?

I have a situation where I haven't deleted anything, even the partition table looks fine, the real problem, apparently, is the partition itself, upon further investigation I have verified that this ...
1
vote
3answers
377 views

1:1 copy with dd

I need to get a copy of an HDD that is a real 1:1, I mean not just the filesystem but also the geometry and the partition table and everything in between. if I'll just use dd if=/dev/sdb ...
3
votes
2answers
57 views

Mounting Disk Image in Raw format [duplicate]

While Trying to mount a disk image in Raw(dd) format using the following command mount nps-2010-emails.dd /media/manu/ I get the following error message mount: you must specify the filesystem ...
1
vote
1answer
56 views

Clunking hard drive, some info appears in dmesg but none in fdisk -l, what are my options?

I've been backing up old IDE hard drives onto a new USB drive this afternoon. One, a 2002 120gb Western Digital, has been a bit of a problem. I have connected it (as with the other hard drives) to ...
1
vote
1answer
24 views

How to display disk capacity via Samba?

I have a Raspberry Pi running Raspbian with a Samba 3.6.6 server. The config file: [global] encrypt passwords = yes log level = 1 max log size = 1000 read only = no security = user [A] ...
43
votes
8answers
21k views

How do I know if dd is still working?

I've not used dd all that much, but so far it's not failed me yet. Right now, I've had a dd going for over 12 hours - I'm writing an image back to the disk it came from - and I'm getting a little ...
0
votes
1answer
292 views

How to change hard disk spin-down time on my WD MyBook Live?

I have a 2TB Western Digital MyBook Live. It works quite well and provides a web-based administration interface. There is an option to either enable or disable power saving mode, which spins down the ...
2
votes
1answer
286 views

jdb2 keeps Hard Disk busy all the time

My system became too slow last few days. The hard disk indicator is on all the time. To discover which process is keeping the disk busy i run this command: # while true; do date; ps auxf | awk ...
1
vote
1answer
65 views

How can I resize my encrypted root and home partitions, to give root more space?

I need to enlarge my / (root) partition, I have a lot of space on my /home partition so how can I do this? The drive is encrypted with LUKS. My system is Fedora 20. I have another thread here which ...
0
votes
1answer
35 views

Is the free space of unmounted partitions and hard disks used in the background when the OS needs some more space?

I have two hard disks on a computer and I intend to recover the data in one of the them (Had Disk 1). An Ubuntu OS is installed in the other(Hard Disk 2). Both Hard Disks are connected to the ...
3
votes
1answer
86 views

How to use SSH to make a dd copy of disk A from host B and save on disk B?

I want to make remote backups from disk A at will using SSH from computer B. I want to save the backups to disk B. How can I do this? I've tried using $ ssh hostname@my.ip.add.ress "sudo dd ...
2
votes
0answers
25 views

Is there anything with having locked drives in the BIOS that Linux can't handle?

I have a sata disk which is not part of the available pool of disks I set in the BIOS (dmidecode --type 0 confirms AMI 1403 - 09/10/2009 - on Asus) when I boot. Therefore the disk is online but ...
2
votes
1answer
114 views

Why can't I write on External Hard disk?

I am using Arch Linux. I am not able to write on my external hard disk. I have tried to change the permission manually through properties but not allowed to do so. How can I fix this problem? Here is ...
0
votes
3answers
3k views

Create swap partition after install

I already have parititon contain data under lvm enviroment with centos 5.8 output of fdisk -l root@server [~]# fdisk -l Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, ...
4
votes
2answers
62 views

Force a drive to spin up

What is the best way to spin up SATA HDDs in GNU/Linux? I've looked through the manual for hdparm, sdparm. I know there are arguments to spin DOWN the drive, with -y and -Y. I also know there are ...
1
vote
1answer
81 views

Access or recover files from Apple hdd with bad S.M.A.R.T. and 05-reallocating sector bad

I have a Macintosh HD (hfsPlus) [/dev/sdc2 on /media/ubuntu/Macintosh HD type hfsplus(ro,nosuid,nodev,uhelper=udisks2)] WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk ...
4
votes
3answers
66 views

Can I overwrite LUKS partition with it's decrypted content?

I have HDD with my data (partial backup of most important data available on other HDD), currently it's formatted as Ext4 over LVM over LUKS. I want to remove LUKS layer, but reformatting and data ...
1
vote
1answer
40 views

Shrink /home partition to two partitions

I have one hard disk on my server [root@CentOS dev]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 4.9G 722M 3.9G 16% / tmpfs 246M 0 246M 0% /dev/shm ...
3
votes
0answers
78 views

How to prevent the Linux kernel from waking a secondary HDD from sleep

Is there a way to instruct the (Linux) kernel not to wake up a secondary hdd after a system sleep/wake-up cycle? I'm asking because in my laptop I have an SSD as a primary drive containing the system ...
2
votes
1answer
55 views

Slow hard drive?

Some time ago I noticed, that my desktop has become slower, than usual. It looks like a source of troubles is the hard drive (there is no such issue with Live USB) - but I don't understand the reason ...
2
votes
2answers
2k views

How to check the life left in SSD or the medium's wear level?

We all know that SSDs have a limited predetermined life span. How do I check in Linux what the current health status of an SSD is? Most Google search results would ask you to look up S.M.A.R.T. ...
2
votes
1answer
33 views

Where does dd start when copying a partition?

I'm copying an entire HDD using the dd tool, and I'm considering stopping part of the backup due to space limitations. Does the dd tool begin at the front of a partition when copying? The first ~90 ...
1
vote
4answers
124 views

How to check physical device contents

I got a server with 2 hard drives. I would like to know what is on 2nd drive. How would I list all contents on physical device ? lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 ...
1
vote
1answer
59 views

How to find out Hard disk first & last sector ID's?

Is that possible to find Hard disk sector's ID? If we can, how to find out Hard disk 1st & last sector ID's in windows & LINUX? As I tried to Google it, I found only hard disk sector size. ...
1
vote
1answer
65 views

How to make an unallocated space “exist”?

I have Ubuntu and Windows installed together. I'm going to install Arch also along with them. For now, I what them to live there all together in my computer. I have the following: I'd like to ...
4
votes
1answer
203 views

Problem mounting GPT disk partition

I am trying to mount a partition on a GPT disk, but I get the following error: $ sudo mount -t ext4 /dev/sda1 disk/ mount: special device /dev/sda1 does not exist Looking at dmesg, I don't see any ...