Questions tagged [disk]

For questions regarding disk storage devices such as hard disk drives, floppy disk drives, and optical disk drives.

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

Black screen after passphrase LUKS encryption

I have a problem with ubuntu 22.04. when i put passphrase to LUKS disk the screen becomes all black and I can't do anything. I am completely stuck. What should I do? Thanks for your consideration and ...
0 votes
0 answers
35 views

Created Partition in SD card is not detecting after rebooting

In Ubuntu 18, I inserted an SD card, and create a new partition using fdisk, then when executed the command lsblk, I got this NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 ...
55 votes
2 answers
82k views

disk space used up

I have upgraded to 13.04 and lose disk space, ... I have a 3 TB hard disk, and had yesterday still 890 GB free, ... today all is gone! Disk Usage Analyzer does not give me a clue and says that it ...
1 vote
2 answers
167 views

Changing the location of Trash to a different disk?

In a computer with Ubuntu 22.04, I have the OS installed in a SSD (first disk) and I have a 10Tb Hard Drive (second disk) for large storage. I am trying to find what is the best way to have the Trash ...
1 vote
1 answer
174 views

Why does my external hard drive read and write speed drop to 0

I recently got a new external hard drive and have noticed that the write speeds are very slow. When I used "Benchmark Partition" from the Disks utility, I got a very strange result: Why are the hard ...
2 votes
1 answer
437 views

How to erase one partition not all of the disk in a safe way on ubuntu

I have 2 partitions, my system file, swap.. every thing is on the partition which named now (free space) because I clicked the [-] button. The second partition is the partition where I usually store ...
-1 votes
2 answers
1k views

disk is likely to fail soon, read error rate problem

Hi i get this error on my very old pc with ubuntu I have to change the disk or there is something i can do? I already readed this: DISK IS LIKELY TO FAIL SOON - failing now
0 votes
0 answers
87 views

(Ubuntu Budgie) - Stuck in login loop - Ran out of disk space

I'm an amateur user of Linux with no idea whatsoever on terminals and command lines. A year back I was looking to switch over to FOSS and installed Ubuntu Budgie because I felt at ease with its ...
0 votes
0 answers
39 views

Low Disk Space on "Filesystem Root" in Ubuntu

I keep getting this message (Low Disk Space on "Filesystem Root") every time I open Ubuntu. I run Ubuntu on VMware Workstation. I installed some packages for a simulator that I want to use ...
1 vote
0 answers
144 views

(fio test) disk very slow with any service but normally if straight to disk

OS details: PRETTY_NAME="Ubuntu 22.04.2 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.2 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=...
36 votes
4 answers
54k views

How can I monitor the TBW on my Samsung SSD?

As is common knowledge, SSDs have a limited number of PE (Program-Erase) cycles before the NAND cells die. Therefore, it is very helpful to know how much data has been written to your SSD, in order ...
0 votes
0 answers
63 views

My ubuntu 20.04 LTS Freeze many times a day. Keyboard and mouse is unresponisve at this time. only soultion is power on button means hard reset

enter image description here df -h command output is: bhaveshk@linux:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 7.7G 0 7.7G 0% /dev tmpfs 1.6G 2.3M 1....
1 vote
4 answers
6k views

No bootable device

I know this isn't exactly a Linux problem but I'm getting no help anywhere else. I'm trying to reinstall ubuntu onto my laptop but I keep getting the error "No bootable device -- insert boot disk and ...
0 votes
0 answers
29 views

./etc/opt/OS is taking the 49GB of my space while it's not a dir

du -cha --max-depth=1 /etc/opt/OS | grep -E "M|G" 49G /etc/opt/OS 49G total root:/etc/opt# cd /etc/opt/OS bash: cd: /etc/opt/OS: Not a directory root:/etc/opt# dir OS what is the ...
2 votes
0 answers
615 views

Ubuntu Disks Reports DISK IS LIKELY TO FAIL SOON but Hard Disk Sentinel Health is 85% with Just 8 bad Sectors: What is going on?

I am getting this cryptic message "DISK IS LIKELY TO FAIL SOON" from the Ubuntu Disks SMART Data & Self-Tests. However, when I inspect the self-test Results Window, I find that there ...
0 votes
0 answers
44 views

How can I change my busy disk?

I need to change my disk type, but my disk is busy and I am using Ubuntu 23.04. Note: I am new to Ubuntu.
0 votes
0 answers
696 views

Poor NTFS performance

I'm getting very poor write performance on an external USB HDD that has an NTFS partition. I know that the sync option can slow down NTFS quite a lot, but that option isn't on for me: rw,nosuid,nodev,...
0 votes
1 answer
55 views

Red icon for automounted disk / partition in nautilus (why?)

i've recently reinstalled ubuntu a few times because i had issues with nvidia drivers. But after a recent reinstall, i now have a red icon in nautilus for a partition i enabled automount for via the ...
1 vote
1 answer
161 views

How to find attached disks are internal or external?

I used below command but it does not state whether the disk is internal or external. $ lshw -C disk Basically what I want to find out is whether the disk is coming from any external sources like ...
0 votes
0 answers
59 views

low space disk on file root system

I had created root file system partition of 30 GB and almost 3 swap partitions. Now it say low space disk.I have tried to delete the swap partition and increase the root file system and it shows that ...
0 votes
0 answers
138 views

Only One Drive (Partition) is Showing in Ubuntu

**I recently set up a dual boot system with Windows and Ubuntu. When I'm in Windows, I can see all of the drives (partitions) that I have on my computer. However, when I boot into Ubuntu, it only ...
2 votes
1 answer
255 views

Change "Disks" tools "User Session Defaults"

In disks tool there is a toggle for "User Session Defaults." How do I change what these defaults are?
0 votes
0 answers
96 views

gparted operation failed after almost 10 hours

Finally after being patient for 10 hours, Gparted came back and performed one of two tasks: It succeeded in resizing a 300 GiB NTFS partition to 270 GiB after moving 270 GiB to the right side. It ...
0 votes
0 answers
911 views

Is that okay to have the Disk type "Microsoft basic data" in Ubuntu

I was having Windows 11 and now I'm using Linux Ubuntu only. I have two disks (SSD - HDD). My first SSD /dev/sdb disk has 2 partitions 1 with Name " EFI System Partition" ( FAT (32-bit ...
0 votes
0 answers
194 views

Why does the Size increase but not Free space in cfdisk?

I'm running ubuntu in a VM on Unraid. I have increased the VM's capacity with: qemu-img resize path/to/raw/img/vdisk.img +100G After restarting I can see in the UI that the space has been allocated, ...
5 votes
2 answers
2k views

Safely removing eSATA disks

Is there any way to safely remove any external disk connected via eSATA? Disks make an ugly noise when unplugged, even if there are no mounted partitions I found this little command somewhere, and it ...
0 votes
0 answers
493 views

Get rid of lingering file found with `lsof +L1`

Ubuntu 20.04.4 LTS Hi, I had a large database file that filled up my disk space and I deleted it with rm big-file. Then when I wanted to install something (the CLion backend via SSH) I got the prompt ...
0 votes
1 answer
3k views

How to see the volume group name of an LVM logical volume on an external Hard Drive?

I'm trying to follow this guide, in order to shrink an encrypted partition on an external hard drive. I think I've successfully resized the file system on that partition, and now I want to reduce the ...
0 votes
1 answer
301 views

Unable to auto mount a data disk from /etc/fstab but mounts with mount -a command

Here are the commands I ran: ~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 63.3M 1 loop /snap/core20/1852 loop1 7:1 0 49.9M 1 loop /snap/snapd/18596 loop2 7:2 ...
1 vote
0 answers
224 views

How to edit files on other NTFS partitions

So I just dual boot the latest version of Ubuntu 23.04 with Windows 10 And I have a total of 4 partitions 1 for Windows 2 other and 1 for Ubuntu I can't edit files on the two other 2 partitions like ...
0 votes
1 answer
150 views

"According to smartctl, there's nothing wrong with this drive." appearing on system shutdown

I installed a fresh copy of Kubuntu 22.04 on a brand new 500Gb PNY CS900 SSD. I've been noticing a bunch of the following errors on system shutdown, and they're a bit worrying: ...Apr 22 15:34:07 ...
0 votes
1 answer
82 views

Cannot Use Whole Disk after Disk Upgrade

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% ...
0 votes
1 answer
298 views

zfs managed disks are completely gone after upgrading ubuntu 20.04 to ubuntu 22.04

I installed ubuntu 20.04 on Supermicro X9DRW-3LN4F+/X9DRW-3TF+ with 2 NMVe drive and 4 SATA drive. I setup zfs pool on the 4 SATA drive like below: $ sudo zpool status [sudo] password for igdvs: ...
14 votes
3 answers
54k views

External harddisk detected but not mounting

I have a WD MyPassport that is NTFS formatted with only 1 partition, and works perfectly fine on Windows. It was working well with Ubuntu until a few days ago (points 3 and 4 explains what changes I ...
1 vote
1 answer
131 views

ubuntu--vg-ubuntu--lv and vgdisplay give different sizes for different commands

Even though the disk size is 221.57 GiB and there is no unallocated disk space and /dev/mapper/ubuntu--vg-ubuntu--lv gives only 98G where did the rest go? output of: fdisk -l /dev/sda Disk /dev/sda: ...
200 votes
9 answers
596k views

How to find out how much disk space is remaining?

What is the command to find out how much disk space is being used/remaining?
1 vote
0 answers
17k views

Filesystem corruption / Remounted as read-only

Issue Ubuntu-14.04-LTS (Server) installed. It worked fine in the past year. Now, whenever I try to install a package file-system crashes and remounts as read-only. Working on it Trying to install a ...
0 votes
0 answers
33 views

Unbuntu 18.04 full disk does not boot

I downloaded a docker file using sudo and the file filled my disk. Obviously I made a mistake. Now ubuntu does not boot. I only have a dark screen with a message saying : "UBUNTU: clean 3232039/...
0 votes
0 answers
483 views

Deleting files does not free up the space

I am getting No space left on device error when I run git pull. This is output of my df command: $ df -h Filesystem Size Used Avail Use% Mounted on udev 7.8G 0 7.8G 0% /dev ...
0 votes
1 answer
101 views

Problems with re-sizing a partition in 20.04

I'm running an Ubuntu 20.04 LTS VM in Hyper-V. I recently resized a VHDX disk from 15GB to 100GB. Then I tried to use parted and resizepart 1 100%. After that nothing had really change. df -h: ...
35 votes
3 answers
208k views

How to add an entry to fstab?

I unmounted a disk (/dev/vdc1) on my server machine (it doesn't have a graphical environment) and then formatted it as an xfs file system. I forgot to mount it again and also didn't add the respective ...
1 vote
2 answers
3k views

how should I understand 'seek' and 'count' of dd command?

Please see the dd command and the output below. dd if=/dev/null of=./VirtualDisk.img bs=1M count=1024 0+0 records in 0+0 records out 0 bytes copied, 0.000281296 s, 0.0 kB/s I expected 1024 ...
0 votes
0 answers
98 views

How can I kill a formatting operation launched by the Disks application?

I launched a formatting operation on a drive, asking the Disks application to overwrite all content on the drive. This process is taking too long. How should I kill the process? Closing the Disks ...
0 votes
0 answers
109 views

I messed up and made my /boot partition laughably small over 4 years ago. Resizing it will not be straightforward. What can I do?

Ubuntu version is 22.04 LTS Desktop My boot disk is /dev/sda, and it has three partitions. Here are the relevant mounts: ~$ df -h Filesystem Size Used Avail Use% Mounted on tmpfs ...
0 votes
0 answers
374 views

disk usage full 100% but there is 112M available

I already delete the large record backup but my disk is still full. this image directory is /datadrive/backups/project_name# when I run df -h Filesystem Size Used Avail Use% Mounted on /dev/...
1 vote
5 answers
2k views

How can I print the breakdown of disk usage by directory?

My cloud instance (running a web app) disk usage went up inexplicably, I suspect there is something like a storage leak there. Is there any way to the breakdown of disk usage by directory, in order ...
1 vote
1 answer
2k views

Getting a lot of identical disk errors: blk_update_request: critical medium error

On my home server I'm getting a lot of identical errors: blk_update_request: critical medium error, dev nvme0n1, sector 1416772496 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 As far as I ...
0 votes
0 answers
219 views

huge kern.log and syslog files:

Ubuntu 22.04, when I analyzed the disk space, just realized that my kern.log and syslog files are getting huge, taking gigabytes of my disk space. When I opened the files, I saw a similar pattern in ...
3 votes
0 answers
647 views

How to deploy ramdisk image on to disk less nodes using MAAS?

I am using MAAS version 1.7.6 with ubuntu 14.04. Currently MAAS can deploy ubuntu/centos images on to the nodes by installing into local disk. I want to deploy my disk less nodes with ramdisk image. ...
0 votes
2 answers
94 views

Disk naming clash. Disk name mysteriously changed from Global-Docs-Ext4 to Global-Docs-Ext41, now different from volume name Global-Docs-Ext4

HP ProBook 6360b, Memory 3.8 GB, Intel core i5, Intel HD graphics 3500, Disk 1TB, OS Ubuntu 20.04.5 LTS, 64 bit, Gnome 3.36.8, Window Sys X11 I have a separate partition on my Ubuntu laptop for ...

1
2
3 4 5
25