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
38 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 ...
2
votes
3answers
119 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 ...
2
votes
1answer
27 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.
3
votes
1answer
98 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 ...
4
votes
0answers
136 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 ...
1
vote
1answer
656 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 ...
2
votes
1answer
70 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
0answers
106 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 ...
2
votes
0answers
86 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 ...
3
votes
1answer
1k 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
votes
1answer
44 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 ...
0
votes
1answer
193 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
3answers
413 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
478 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
106 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] ...
0
votes
1answer
745 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 ...
0
votes
1answer
89 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 ...
1
vote
1answer
92 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 ...
1
vote
1answer
87 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
314 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 ...
3
votes
1answer
1k 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
1answer
571 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 ...
6
votes
3answers
192 views

Which command to force a drive to spin up?

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 arguments to control the power saving features, such as -S ...
1
vote
1answer
166 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
109 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
71 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 ...
4
votes
0answers
126 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
116 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
1answer
42 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
486 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
100 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
133 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
2answers
2k 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 ...
5
votes
1answer
246 views

How to use an SSD for caching, so my hard disks can spin down?

I've got a file server with a bunch of disks running together in a BTRFS pool and want to add an SSD for caching. I'm not mainly after speeding up things, but want to catch the regular small accesses ...
1
vote
1answer
370 views

ioctl: invalid argument for HDIO_GET_IDENTITY

I wrote a program to get the details of hard disk drive using HDIO_ ioctl calls. For writing program, I'm referring Documentation/ioctl/hdio.txt in kernel source(2.6.32). Here is my main part of ...
3
votes
1answer
388 views

how to check health of hard drives?

How do I check the health of my hard drives? I know that you can do it with system rescue, but is there a way to do it from root without booting onto system rescue?
0
votes
1answer
52 views

Checking HDD health

I have a set of old Seagate SATA HDDs that are part of an LVM on Raid setup in a NetGear ReadyNAS. The ReadyNas no longer boots (it hangs on checking FS). I tried reinstalling the OS which did not fix ...
2
votes
2answers
207 views

lvm: what's the purpose of a Volume Group?

Each Volume Group can have many resizeable Logical Volumes. each of Logical Volume can have different filesystem, encryption options etc. that means having a single Volume Groups is enough. so why LVM ...
1
vote
1answer
620 views

Run smartctl on all disks of a server

My question is a quite simple , I want to run the command smartctl -i -A on all disks that the server have. Think that I've too much server with different number of disks and RAID Controllers, then I ...
0
votes
2answers
667 views

Harddisk serial number from terminal?

I have multiple harddisks which get connected to my server and I'm not sure which one is what in the view of sdXY . If I can see the serial numbers of my harddisks from terminal, I can easily identify ...
3
votes
2answers
434 views

dumpe2fs - lifetime writes - what is it

For example, if I run: sudo dumpe2fs /dev/sda1 I get detailed information about the partition. I'm confused about this part, Lifetime writes, returns the following for my boot partition: Lifetime ...
0
votes
0answers
28 views

Execute script when hard-disk's standby state changes (i.e. it spins up/down)

How can I execute a shell script when the standby state of a hard-disk (as reported by hdparm -C /dev/sdx) changes? If possible, I would like to avoid polling hdparm for changes.
0
votes
1answer
41 views

Two HDD installation [closed]

Is there any easy tutorial or guide how can I setup Debian (amd64 v. 7 + xface) on my server, but using this separation ? Separation: SSD (32GB) for system Normal HDD (1TB) for data like /var ...
3
votes
1answer
766 views

Using LVM with SSD and SATA drives

I saw in this question that it is possible to place both a SSD and a standard SATA hard drive into a single LVM volume group (VG). How does this affect performance? Is there a way to force the OS ...
13
votes
4answers
4k views

GPT or MBR: How do I know?

How can I tell whether my harddrive is laid out using an MBR or GPT format?
2
votes
2answers
79 views

Script to Recognize HDDs and run Smartctl

I'm thinking to do a script to recognize which HDDs are in use (sda, sdb, etc) and run a Smartctl on each one that's are in use, but I don't know how can I start, anyone can help me?
2
votes
1answer
604 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
129 views

Problems mounting a disk

I have a disk that has failed to mount on start up. I have commented out the line in fstab to try to diagnose the issue: # /dev/sdc /media/bigdrive ext4 auto,exec,rw,user,async 0 0 Then rebooted. I ...
7
votes
3answers
417 views

Harddrive I/O per Pid

is there any way to see the disk I/O per pid/process ? Monitorix shows me the following and correct me if I´m wrong, but it looks like that the harddrive is slowing down the whole system: UPDATE #1 ...
0
votes
1answer
547 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 ...