Questions tagged [hard-drive]

Questions about hard disks' performance, issues, tips, and software.

Filter by
Sorted by
Tagged with
1 vote
1 answer
4k views

Can I install SQL Server on an external Hard Disk? [closed]

I have a desktop PC (Windows 7) with 1 TB HDD which has SQL Server 2008 R2 installed. Now it is getting replaced by a laptop with 500G SSD drive. This would be first experience working with a SSD. But ...
23 votes
4 answers
77k views

Would SSD drives benefit from a non-default allocation unit size?

The default allocation unit size recommended when formatting a drive in our current set-up is 4096 bytes. I understand the basics of the pros and cons of larger and smaller sizes (performance boost vs....
3 votes
0 answers
295 views

Determining Linux block path from Redfish

Context: I am trying to automated a preseeded Linux installation on a Redfish-capable server. Ideally I want to keep this as vendor-agnostic as possible so I can support multiple types of servers (i.e....
2 votes
1 answer
321 views

RAID controller detecting SSD as foreign after every reboot

My server, an R610, has been detecting my SSD as foreign after every reboot. It has a PERC 6/i RAID controller, but there's no actual RAID stuff (I just have all the drives as their own VDs). This had ...
0 votes
1 answer
430 views

Can you run SAS drive from SAS backplane to SATA on mobo?

Have an SAS drive plugged into SAS port on the backplane, and it is connected to SATA on the motherboard. Is it possible to use it this way? It is a testing server for cloning another SSD.
0 votes
0 answers
228 views

What's the best means to clone the root linux hard drive to a new drive?

I bought a new enterprise grade SSD to replace my Samsung SSD. It was $500, not cheap. Anyway, the purpose is to have a more reliable and longer-lasting root hard drive, since a non-enterprise drive ...
24 votes
4 answers
74k views

How can I connect a SAS drive to USB?

I have a Dell T710 with Seagate Cheetah 15k.7 SAS disks. If the T710 motherboard dies, I'll need to resort to one of my nightly off-site backups and salvage the journal/logfile from the SAS disk to ...
-1 votes
3 answers
1k views

WD MyCloud NAS - 1 Failed Drive replaced, found another dead one before array was rebuilt [closed]

I have a WD MyCloud 4-bay NAS with 4x 3tb drives in it setup in a RAID10 configuration (with a total RAIDed capacity of 5.5tb). A drive had failed and I got it replaced. When I entered the dashboard ...
3 votes
2 answers
952 views

Not able to get swap partition UUID after creating it with Parted ansible's module

I have to create a new partition in a fresh disk on a VM. I use the parted module in order to create the partition. In a future task (in the same playbook), I need to use the UUID of the device ...
4 votes
1 answer
799 views

Hard drive Incorrect Serial Number

I am trying to get serial number of hard drives in Centos, but for some hard drives I am getting incorrect serial numbers when compared the serial number printed on drive label. I am using lsblk ...
15 votes
6 answers
13k views

SATA Disks that handle write caching properly?

It's pretty common to see advice to disable the write cache on individual disks used for databases because otherwise some disks will acknowledge writes that haven't yet made it to the disk surface. ...
3 votes
1 answer
149 views

Is the sum of IOPS for individual physical disks not equal to the raid0 logical disk?

I have a raid0 set up consisting of 2 physical disks: bash-4.2$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 100G 0 disk `-xvda1 202:1 0 100G 0 part / nvme0n1 259:...
7 votes
1 answer
5k views

Linux - KVM - very slow disk io

The I/O performance of my new server is pretty low. I Googled and tried everything I can imagine. First of all, here are the Hardware Components: AMD Opteron(tm) Processor 6344 4x Seagate ...
5 votes
4 answers
32k views

Cloning LVM partitions

I need to clone a CentOS installation from a 1TB disk partitioned with LVM, to several identical machines. The disk is mostly empty since only the operating system and some software are installed and ...
1 vote
0 answers
193 views

what are the kernel messages about "Disabling DIF Type 2 protection" means

On our RHEL 7.2 server we saw a strange kernel messages with lines as: Disabling DIF Type 2 protection ***10DIGITS*** 512-byte logical blocks: (2.00 TB/1.81 TiB) Above messages are relevant for all ...
1 vote
2 answers
812 views

Why same disk model but different capacity?

I'm trying to replace an old disk on a JBOD that I inherited. I bought exactly the same model but it seems it has a different capacity (resulting from different number of disk sectors), preventing me ...
29 votes
9 answers
11k views

Consumer (or prosumer) SSD's vs. fast HDD in a server environment

What are the pro's and con's of consumer SSDs vs. fast 10-15k spinning drives in a server environment? We cannot use enterprise SSDs in our case as they are prohibitively expensive. Here's some notes ...
0 votes
1 answer
132 views

How to Diagnose Constant ZFS Repairs

I ran a zpool scrub 4 times on my pool today. Each time, it found and fixed errors. Bad drive, right? The pool has 2 drives, and smartctl reports zero Raw_Read_Error_Rate for each. So the drives say ...
0 votes
1 answer
390 views

Force the kernel to unregister a drive and then initialize it again

I had a drive that would seem to be mounted and busy no matter what I did. But since I didn't want to reboot the whole system, I ran echo 1 > /sys/block/sd*/device/delete to force the kernel to ...
0 votes
1 answer
3k views

How to get drive letter attached to a data disk in Azure?

I am trying to get certain details of disks attached to a VM in azure using Azure python SDK. I came to know that: A VM will have two disks attached to it when created: OS disk (OS disks are attached ...
user avatar
-1 votes
2 answers
2k views

Bunch of SAS disk and want to wipe all of them

I have 40 SAS disks. The model number is HUS156060VLS600. 600 GB 15K 3.5 inch SAS disk. It came from a customer. And the customer wants to wipe all data inside of SAS disks. Customer said the disk was ...
2 votes
2 answers
741 views

Failed to Partition a 10TB HD?

Before I tried to partition a 10TB HDD again, parted saw it: # parted /dev/sdb (parted) print list Model: ATA ST10000NM0016-1T (scsi) Disk /dev/...
0 votes
1 answer
421 views

Properly Extend virtual volumes on a CentOS VM, new space in /dev/cl/ not occupied by /dev/mapper

I have a CentOS VM (on a windows host, managed with virtualbox) that ran out of disk space. I extended the virtual disk size, then used gparted to assign the new space to the existing partition Then I ...
0 votes
0 answers
801 views

Drive failed or can be still used?

I've the following WD drive (3TB) that gave me a problem (I was unable to access any file: even an ls command on it caused a never ending wait). Here some details on the disk: Disk /dev/sda: 2.7 TiB, ...
2 votes
3 answers
3k views

NVMe disk problems - smartctl 0x2002 status

My NVMe disk works but it is very slow compared to what it was. I benchmarked it 6 months ago at 2000MB/s using fio, the exact same test now is giving me 350MB/s I ran smartctl but it's giving a ...
7 votes
9 answers
83k views

How to find a not formatted hard disk on Linux

My server has two hard disks. One very limited of around 500 GB and another NOT FORMATTED of more than 1 TB. I need to find this second disk to format it (and eventually mount it to my Red ...
1 vote
3 answers
12k views

mdadm: add new device failed for /dev/xvdl as 2: Invalid argument

I have existing RAID0 setup with two disks. I have to add a new drive to it. But when I try to run the following command: mdadm --add /dev/md/customer_upload /dev/xvdl I get an error: mdadm: add ...
99 votes
17 answers
88k views

Does drilling a hole into a hard drive suffice to make its data unrecoverable?

We have a lot of PCs in the company and nobody wants to wipe a multitude of hard drives. We also have many apprentice toolmakers who really want to destroy things. Thus, every couple of months, our ...
0 votes
1 answer
142 views

Bacula - disc backup GFS-scheme "hole"

I have a question about implementing the GFS-scheme with bacula on a harddrive(the deamons already work fine). What I want to accomplish: Every half year i want a full-backup that should be accessable ...
1 vote
1 answer
1k views

Disk access slow

I have a process running in a CentOS 6.3 server. When logging is turned on, the process slows down drastically. The logs are being written to /tmp [root@localhost src]# hdparm -I /dev/sda /dev/sda: ...
0 votes
0 answers
1k views

VMDK disk became read only & how to avoid such this cases on rhel machines

we have Kafka cluster with RHEL 7.6 , all Kafka are VM machines on one of the Kafka machines , we noticed that sdb disk became read only ( when sda is the OS disk ) mount | grep sdb /dev/sdb on /var/...
0 votes
2 answers
359 views

Disk issues: irq_stat 0x20000000, host bus error

When copying large files (50+GB) from an NVMe disk to a SATA 7200rpm HDD disk I see the following error in the logs on a fully patched Ubuntu 20.04: Aug 08 00:45:59 host kernel: ata6.00: exception ...
1 vote
1 answer
83 views

Cannot Use Whole Disk after Disk Upgrade on my VPS

I upgraded the disk size of my VPS from 20GB to 40GB. I cannot use this newly added 20GB. fdisk -l shows 40GB but du -h shows 20GB! root@ubuntu:~# df -h Filesystem Size Used Avail Use% Mounted ...
1 vote
2 answers
2k views

mdadm - cant read superblock - can I zero the superblocks without erasing data and recreate a raid?

Today I had to fix a Server Fan by disassembling and rebuild it. After booting the server I had the problem that all disks where not at the same location they have been yesterday. So the system ...
-1 votes
1 answer
6k views

HP Proliant DL360p gen8 Unrecoverable Media Error. Amber lights on 3 disks

I have HP Proliant DL360p gen8. 4 disk on RAID 5, 3 of them have amber light on them. I did chkdsk on my virtual machines none reported any error. Am i able to fix it without buying and replacing ...
0 votes
1 answer
500 views

Mounted .img file does not clear up disk space when files are deleted

I have a requirement to use more inodes than normally available on most file systems. Therefore, I create and mount a ext4 filesystem with a custom inode setting: dd if=/dev/zero of=loop0.img bs=1MB ...
0 votes
1 answer
91 views

Recover Linux RAID1 - FAT32 but shows ext2, can't assemble, but shows backup superblocks...I am STUCK

I have 2 physical disks in linux RAID1, I am not sure what happened, I think someone who should not have been in the system partitioned the md0 by mistake while the system was running while trying to ...
0 votes
0 answers
755 views

How do I measure the read/write speed of a hard drive in a RAID5 array?

I have created a 3-drive Linux RAID5 (md) array out of brand new Seagate Barracuda drives. I can measure the performance of the whole array by using: ioping -s 8k -c 10 -D -W ., where the current ...
0 votes
1 answer
5k views

Error 54046 occurred at disk power-on lifetime

I am using Ubuntu 20. Few days ago, OS was failed to boot and giving harddisk error. So I boot Ubuntu from PenDrive and run smartctl to perform health check of the disk. Information of Hard Disk: ...
5 votes
5 answers
1k views

Is it safe to mark a disk ok, in a degraded RAID 5 array?

Intel Matrix Storage Console 8.9 showed a degraded array with one disk failure. Yet it offers the option to mark the disk as ok and rebuild the array? When would it be appropriate to do this? Does it ...
0 votes
0 answers
970 views

mkfs + any solution for “could not read block” or disk replacing

we doing mkfs on the disk sda as the following mkfs.ext4 -j -m 0 /dev/sda -F mke2fs 1.42.9 (28-Dec-2013) Warning: could not erase sector 2: Attempt to write block to filesystem resulted in short ...
0 votes
7 answers
7k views

ZFS - zpool ARC cache plus L2ARC benchmarking

I have been doing lots of I/O testing on a ZFS system I will eventually use to serve virtual machines. I thought I would try adding SSD's for use as cache to see how much faster I can get the read ...
0 votes
0 answers
170 views

linux + how to extend sdd1 partition based on that sdd disk have enough space

We have rhel server 7.2 version ( VM machine ) with sdd disk sdd disk have parted partition sdd1 , and our goal is to increase the sdd1 partition to 10g from current 1K size From lsblk sdd ...
0 votes
3 answers
337 views

Does this hard disk drive support hardware-based full disk encryption? What are some effective interrogation tactics?

I am trying to determine if a particular hard disk drive supports hardware-based full disk encryption. I know I can use the model number and check the manufacturer's website, but that is only feasible ...
-1 votes
1 answer
326 views

Is it possible to "undo" a raid1 configuration

How can I reconfigure a raid1 so that it is not raid1 anymore and without loss of data? I do not want raid. I find myself with a server with predefined images that have a software raid1 setup. My ...
0 votes
0 answers
42 views

Keep track of which parts of the HDD are being accessed?

I'm diagnosing a weird issue and I need to know which sectors of my hard drive are being read and when. Is there a way to make kernel log each access of a block device and ideally, report the offset ...
0 votes
1 answer
330 views

directory listing hangs after directory was flooded with > 5 million files

A misconfigured logrotate produced a lot of files in a directory on my server. ls | wc -l showed 5,387,172 files and according to du -sh this summed up to about 8 GB. dmesg showed many errors like ...
0 votes
1 answer
52 views

where is my hdd space

I am new to linux and installed Centos with default configuration without applying any custom settings, while I have 512 GB SSD drive but on gnome it shows only 75 gb, when I tried to run fdisk ...
1 vote
1 answer
728 views

Email alerts about RAID hard disk errors from HPE ProLiant server with iLO

I am looking for a way to get email alerts about possible RAID hard disk failures from the HPE ProLiant server running the free version of ESXi. Has anyone used iLO successfully for this with the ...
0 votes
0 answers
95 views

Single-disk array full: how to add a spare disk without losing data?

So I rent this server from Hetzner and it was labeled as 2x512gb nvme ssd. Indeed, the server contains two 512 gb nvme ssd but (my fault) I noticed only later that they were in some sort of software ...

1
3 4
5
6 7
50