Questions tagged [disk]

Questions about disk drives under the UNIX and Linux systems. See also the "filesystems" tag.

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

Boot error after disk rename

I Installed Debian Buster OS with luks encryption. Stupidly, after the install, I opened-up the gnome disks utility and changed the name of the drive from something like "sda5_crypt" to &...
0
votes
0answers
8 views

Formatting SCSI Disks

I have a vintage Sun Fire V440 running Solaris 9 and recently purchased 8 "refurbished" Seagate ST3300007LC Ultra-320 SCSI 300 GB disk drives for cloning the system's four disks (which are ...
0
votes
0answers
34 views

how to replace non LVM disk that is full, on the fly

we have rhel machine 7.2 version disk sdb size is 3.9G and the following disk ( non LVM disk ) is full /dev/sdb 3997376 3911504 3911504 99% /hadoop we add additional disk - /...
0
votes
0answers
23 views

Linux: DRM: Failed to create kernel channel, -22 Nothing to read on input

When following a youtube video, https://www.youtube.com/watch?v=E3q9S0FkvcA&t=456s I got to install drivers, so I installed NIVIDIA.drm and tried to reset the computer. The problem was after I ...
0
votes
1answer
18 views

Faster Disk side of the HDD

So the internet is saying that the inner part of the disk is FASTER then the outside of it. Now do explain me that this is right and if it is right please tell me how to transfer my data to the ...
0
votes
1answer
14 views

Extended a partition error

I'm trying to extend the main partition to 40G from 30G after modifying the EC2 volume. This is what I have: xvda 202:0 0 40G 0 disk ├─xvda1 202:1 ...
0
votes
2answers
58 views

What does `dd if=/dev/zero of=/dev/null` actually measure?

I was doing some hard drive speed benchmarking and decided to try the following command to see what would happen: dd if=/dev/zero of=/dev/null After I canceled it, I got: (269 GB, 251 GiB) copied, ...
0
votes
1answer
24 views

Question about Disk Partitioning

I'm new to Linux environment and trying to get some clarification on the Disk partitioning. I've installed new RHEL 8 vmware workstation initially with 20GB Disk and later expanded with additional ...
0
votes
2answers
31 views

How can you move an image of a GPT drive to a smaller device?

I have a 64GB SD card with Linux (Debian) installed on it. I want to move it to a smaller SD Card (16 GB). I used resize2fs and cfdisk to resize the filesystem and partitions, so that now, they look ...
5
votes
1answer
866 views

Is my drive failing and is this the same reason my laptop is running slower?

I run Ubuntu-20 and I have scanned my laptop using smartctl. The test results are as follows: SMART Attributes Data Structure revision number: 32 Vendor Specific SMART Attributes with Thresholds: ID# ...
1
vote
1answer
28 views

What is the meaning of “Lifetime_Remaining%” in smartctl?

Recently I had an fsck error on boot, where I had to run fsck manually. So, I did it and the problem disappeared. After that i run smartctl -a /dev/sda and i saw the following attribute ID# ...
1
vote
0answers
29 views

Linux + how to simulate JBOD disks that are out of service in shelf

We have Kafka machines installed with RHEL 7.2 servers on Dell HW and a shelf includes 15 disks. We want to understand what happens when we push out one of the Kafka disks, and see if Kafka is still ...
0
votes
0answers
31 views

Ubuntu 20.04 upgrade killed automount of removable USB disk

When I built my DIY NAS running Ubuntu 18.04, upon connecting my external backup USB disk, it would automount to /databackup. /etc/fstab contains: UUID=c4001f83-8a1b-458d-b1f0-07ed6b481d26 /...
0
votes
0answers
29 views

device-mapper: table: 253:1: multipath: error getting device

I have 2 ProLiant DL380 Gen9 servers. one of them is primary and is giving services. the other one is standby. both are configured to be exactly the same. OS is CentOS 7.5. both have HBA card and 5 ...
1
vote
1answer
176 views

How to create a new encrypted LUKS-partition in GParted?

I want to create a new encrypted LUKS-partition in GParted. I've searched the UI and the help, but the only thing I can find is how to open and close an existing LUKS partition and how to to copy and ...
0
votes
1answer
28 views

Restore ENTIRE system ROOT / (CLARIFICATION)

I recently had to restore the disk with borg. So via live linux, I entered my disk file system, deleted everything (root /), and restored a backup of a specific date. Now I ask myself: do you need to ...
0
votes
0answers
7 views

Mounted network disk, how to determine whether the network disk is dropped

I'm trying to use fuse file operation for control, now I mount the network disk to the local, when cp a file to the inside, the mounted network disk suddenly dropped, in the cp file when the program ...
0
votes
0answers
19 views

Grow Fedora partition after removing Windows dual boot

I have a single 1TB SSD that initially had Windows 10 on it, then had Windows 10 and Fedora 33 configured to dual boot. Now I want to only run Fedora. I have deleted the Windows partitions and wish to ...
0
votes
0answers
18 views

“wrqm/s” vs “w/s” in iostat: which one reflects disk load better?

I have a HDD which should top out around ~90 IOPS. iostat -x shows w/s at 50 and wrqm/s at just 5. Which one more accurately reflects the disk load?
-2
votes
1answer
51 views

My linux server uses less space than ACTUALLY available

I use linux only to run my TF2 server and host some private shit. Today I tried to upload 80gb file but failed several times. I found out the issue. I have 250gb SSD but my linux for whatever reason ...
0
votes
0answers
16 views

How to make the HDD spin down after x seconds permanent (setting fixed in the HDD hardware)?

NB: This is a question about software solution; here I'm looking for a hardware solution. Following this answer, I can set the spindown time of my USB3 external HDD: hdparm -S4 /dev/sda # spin down ...
0
votes
1answer
49 views

Why is the output of free -h different from free --giga?

I am facing a very weird problem. On my Fedora PC I have 12 GB swap file. But when I issue free -h I get : total used free shared buff/cache available Mem: ...
0
votes
0answers
21 views

Discrepancy between file size and disks occupied [duplicate]

I created a file with a single "A" character in it. Ran the stat command and got as part of the information: Size: 2 Blocks: 8 IO Block: 4096 regular file Why does a 2 ...
0
votes
0answers
37 views

Delete corrupted apfs volume when diskutil fails

I'm trying to delete an apfs volume on my MacBook but Disk Utility keeps giving the error "The chosen size is not valid for the chosen file system." I then tried booting into recovery and ...
0
votes
1answer
20 views

change du behaviour not abort but skip

I am running this puppy root# cat /etc/os-release NAME="Ubuntu" VERSION="14.04.6 LTS, Trusty Tahr" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 14.04.6 LTS" VERSION_ID=&...
1
vote
1answer
53 views

Difference between BUFSIZ from stdio.h and block size from blockdev?

I'm reading The Unix Programming Environment (1984). In Chapter 7 (Unix System Calls) the authors note: While the number of bytes to be read or written is not restricted, the most cmmmon values are 1,...
1
vote
1answer
26 views

Disk renamed automatically

One month ago I bought a new SSD disk for my PC, that I connected with the SATA3 port to my motherboard. I created a partition /dev/sda3 on that disk and I named it PatriotSata3. It was working ...
1
vote
1answer
312 views

Disk space is missing

I've been running a program lately that creates about 100-200GB of temp files each time. When this runs I'm often now running out of disk space...but I'm really not. When I run df -h I get: Filesystem ...
0
votes
0answers
33 views

device label is not recognised - pendrive doesn't work

my pendrive doesn't work: device label is not recognised How can I fix it? I don't need the data from it, so it can be formatted. There are some communicates: sudo fdisk -l /dev/sdb Dysk /dev/sdb: 3,...
0
votes
2answers
35 views

How to extend partition for Ubuntu?

I have 128 GB SSD in which 52 GB is allotted to ubuntu and 66 GB is free space. I want to add 66GB space to my ubuntu partition. What is the safest way to do this?
0
votes
1answer
90 views

How to address the error “Your data directory is readable by other users” with ntfs-3g usermap

I use the command ntfsusermap /dev/sda1 in order to generate a mapping file to use a NTFS usb external drive (that has already many files written under Windows in it) with debian based linux distro. ...
0
votes
0answers
17 views

Fedora partition gone after battery drained out

I am on a laptop with Fedora 31 running. I went to the Fedora gnome software center, update the latest firmware and left it running. After sometime when I check the laptop, its battery drained out. I ...
0
votes
0answers
43 views

How do I reconcile the amount of data on my HDD?

I have a 500GB NVMe drive that has my entire filesystem. I am running in to problems where I am getting "low disk space" errors, when I really shouldn't be. I did find that my .xsession-...
0
votes
0answers
12 views

How do I measure hard disk READ latency?

I read on this blogpost that I can measure the hard drive write latency using dd if=/dev/zero of=/root/testfile bs=512 count=1000 oflag=dsync, and by reading dd's manpage I realized I can make it &...
1
vote
0answers
43 views

NGINX directio is not working (O_DIRECT flag in open(2) sys call )

Nginx configuration is location /conent/ { directio 200k; directio_alignment 4k; } Using SSD with ext4 file system with 4k block size, and journaling has been disabled, linux kernal version is 5.4., ...
0
votes
1answer
58 views

why does fdisk add one additional sector when creating partitions?

I'm playing around with fdisk and I tried to create a partition on an empty USB drive. Here's how that went: Command (m for help): n Partition number (1-128, default 1): 1 First sector (34-61187102, ...
1
vote
0answers
62 views

Blinking cursor after checking /dev/sda2 on boot in Ubuntu

A few weeks ago, I installed Ubuntu 20.04 on my Acer C720 (Intel Celeron 2955U, 2GB LPDDR3 RAM). (I used MrChromebox UEFI firmware). No problems, works OK, a bit slow, and some internal GTK errors ...
0
votes
0answers
22 views

Error installing Linux in external hard disk

I was trying to install ubuntu in an external disk, when i make the partitions, it says 'failed to format ext4'. I tried with an older ubuntu version, and another distro and same error. I disabled the ...
2
votes
1answer
83 views

How to free space in /tmp and then move that free space to /usr?

When I install Fedora, I was sure the space I gave to /usr was more than enough, but at the end, after I installed some development packages, I have used about 65%, which is unexpectedly much. When I ...
0
votes
0answers
84 views

Linux (Feren OS) installation does not detect partitions of drive

I currenty have a system with three drives: two SSDs and one HDD. I have Windows 10 installed on the first ssd (C:/) and I want to install a linux distro - Feren OS 64bit JULY 2020 - as a secondary OS ...
0
votes
0answers
19 views

df and du average and send alert

I have nfs share which has mount point from all the container/pods as claim NFS = 50GB and its used by container as Java = 1gb -- mount point as java_data in container postgres = 20GB -- mount ...
0
votes
1answer
13 views

How to log when a directory is no longer being written to

Without going into too many details, we have a situation where files are being written constantly to a drive on a RHEL 6 server. What we need to do is to log when a certain directory hasn't been ...
0
votes
1answer
42 views

how to format a partition of a diskimage?

I made an empty binary image file with fallocate -l 500M sd.img command and then partitioned it using gdisk and now I can see my partitions using gdisk: Command (? for help): i Partition number (1-2): ...
2
votes
0answers
119 views

Mount an existing partition without formatting

I've installed Arch Linux on /dev/sda2 and it is marked as boot. But I have all my old files and documents in /dev/sda1 that is not accessible. When I run sudo mount /dev/sda1 /mnt, there is an error: ...
0
votes
1answer
142 views

Cannot expand file system on CentOS 8

I have partitions in my CentOS 8 machine as below: [root@XXXXX]# fdisk -l Disk /dev/sda: 80 GiB, 85899345920 bytes, 167772160 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/...
0
votes
0answers
32 views

Undo a disk format while disk is still attached

I've been struggling with a disk that's a logical volume. Disk would not work with me and I decided to partion and format the disk.. Then realized that I have de-attached and attached the disk without ...
0
votes
2answers
50 views

Red Hat Enterprise Linux Server release 6.7 - Finding SAS & SSD Disks Info

I have a Red Hat Enterprise Linux Server release 6.7 system. I want to find SAS & SSD disks parts and which parts combine to form which mount points on system or database (Oracle 11gR2) level. For ...
0
votes
1answer
109 views

Add New Disks Using LVM to an Existing Linux System

We want to Add New Disk Using LVM to an Existing Linux System ( according to - How to Add New Disks Using LVM to an Existing Linux System ) We have the following rhel 7.2 server details pvs PV ...
2
votes
3answers
182 views

SATA disk drive behind Adaptec RAID 5405 can't be detected as block device

Due to shortage of free built-in SATA 3.0 plugs (6 totally) on my motherboard (Gigabyte 970A-DS3 rev.3) I've got an Adaptec RAID 5405 (3G SAS/SATA RAID) to move all "slow" SATA 1.0/2.0 ...
2
votes
1answer
327 views

Do docker container cause slow Disk/OS performance

We have 3 servers, each of which are running RHEL 7.6. Each machine has 64G of RAM and 15 CPUs. We are preparing to install a set of services --- kafka, zookeeper, schema registry --- on all of the ...

1
2 3 4 5
14