Missing disk io schedulers

The question is , where are the schedulers ?

# for f in /sys/block/sd?/queue/scheduler; do printf "$  f is "; cat $  f; done /sys/block/sda/queue/scheduler is [mq-deadline] none /sys/block/sdb/queue/scheduler is [mq-deadline] none /sys/block/sdc/queue/scheduler is [mq-deadline] none /sys/block/sdd/queue/scheduler is [mq-deadline] none  # uname -r 5.0.0-25-generic 

i want to set cfq for my hdd disks not deadline

Allocate more disk space to Ubuntu

I have an Ubuntu 16.04 installed on my laptop alongside windows 10. Today I’ve figured that 100GB is not enough space for my new project, that I am planning to be working on under the linux, so I decided to allocate additional 150 GB of space to it. I made 150GB of unallocated space, but I can’t merge it with the linux’s partition from windows.

So the questions are: 1) Do I have to do it using GParted under my Ubuntu? 2) What is this weird 977 MB partition in-between my 95GB and 150GB ones? Do I have to delete / move it? And if I do, how should I do it?

Screenshot of current partitions

How to securely wipe the disk and use Time Machine for backup

I have a question regarding secure wipe of SSD. I read the article (https://www.makeuseof.com/tag/ssd-secure-delete-data/) how to securely erase the SSD with Parted Magic. But I have a question: when I will use on Macbook Pro a Time Machine utility to backup some files, which I want to save and also the system settings, SW etc., but before I will use Parted Magic, I will delete some “secret files” in OSX (or move them to USB), after that I will make a backup (Time Machine) and then I will use Parted Magic for secure SSD wipeout…the SSD should be clean. After this I will restore from backup (where the deleted “secret files” should not be) with Time Machine…is it for sure, that the deleted files won’t appear again? It sounds bit complicated…but for me it means, that I will save my secret files and prevent their recovery after backup-restore of my Macbook Pro (2019, with T2 Security Chipset and Mojave 10.14 OSX) Thanks

Ubuntu show wrong disk sizes, how to solve it?

I have a server with these characteristics:

CPUIntel Core i7-2600
PLUSRAID Controller 4-Port SATA PCI-E – Adaptec 5405

HDD1x SSD SATA 240 GB

HDD2x HDD SATA 3,0 TB Enterprise

RAM2x RAM 8192 MB DDR3

I installed Ubuntu on it, but it shows the space such as this, far less than the true capacity:

 root@ns1 /boot # lsblk NAME    MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT sdb       8:16   1 238.4G  0 disk ├─sdb2    8:18   1   512M  0 part │ └─md1   9:1    0 511.4M  0 raid1 /boot ├─sdb3    8:19   1 229.9G  0 part │ └─md2   9:2    0 229.8G  0 raid1 / └─sdb1    8:17   1     8G  0 part   └─md0   9:0    0     8G  0 raid1 [SWAP] sda       8:0    1   2.7T  0 disk ├─sda2    8:2    1   512M  0 part │ └─md1   9:1    0 511.4M  0 raid1 /boot ├─sda3    8:3    1 229.9G  0 part │ └─md2   9:2    0 229.8G  0 raid1 / └─sda1    8:1    1     8G  0 part   └─md0   9:0    0     8G  0 raid1 [SWAP] 

and

 root@ns1 /boot # df -lh Filesystem      Size  Used Avail Use% Mounted on udev            7.8G     0  7.8G   0% /dev tmpfs           1.6G  5.3M  1.6G   1% /run /dev/md2        226G   17G  198G   8% / tmpfs           7.8G     0  7.8G   0% /dev/shm tmpfs           5.0M     0  5.0M   0% /run/lock tmpfs           7.8G     0  7.8G   0% /sys/fs/cgroup /dev/md1        488M  176M  287M  38% /boot tmpfs           1.6G     0  1.6G   0% /run/user/0  

I don’t seem to be using all the space available on the sda disk at all, the two 3 terabytes disks.

What am I doing wrong?

Thanks!

Ubuntu show wrong disk sizes, how to solve it?

I have a server with these characteristics:

CPUIntel Core i7-2600
PLUSRAID Controller 4-Port SATA PCI-E – Adaptec 5405

HDD1x SSD SATA 240 GB

HDD2x HDD SATA 3,0 TB Enterprise

RAM2x RAM 8192 MB DDR3

I installed Ubuntu on it, but it shows the space such as this, far less than the true capacity:

 root@ns1 /boot # lsblk NAME    MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT sdb       8:16   1 238.4G  0 disk ├─sdb2    8:18   1   512M  0 part │ └─md1   9:1    0 511.4M  0 raid1 /boot ├─sdb3    8:19   1 229.9G  0 part │ └─md2   9:2    0 229.8G  0 raid1 / └─sdb1    8:17   1     8G  0 part   └─md0   9:0    0     8G  0 raid1 [SWAP] sda       8:0    1   2.7T  0 disk ├─sda2    8:2    1   512M  0 part │ └─md1   9:1    0 511.4M  0 raid1 /boot ├─sda3    8:3    1 229.9G  0 part │ └─md2   9:2    0 229.8G  0 raid1 / └─sda1    8:1    1     8G  0 part   └─md0   9:0    0     8G  0 raid1 [SWAP] 

and

 root@ns1 /boot # df -lh Filesystem      Size  Used Avail Use% Mounted on udev            7.8G     0  7.8G   0% /dev tmpfs           1.6G  5.3M  1.6G   1% /run /dev/md2        226G   17G  198G   8% / tmpfs           7.8G     0  7.8G   0% /dev/shm tmpfs           5.0M     0  5.0M   0% /run/lock tmpfs           7.8G     0  7.8G   0% /sys/fs/cgroup /dev/md1        488M  176M  287M  38% /boot tmpfs           1.6G     0  1.6G   0% /run/user/0  

I don’t seem to be using all the space available on the sda disk at all, the two 3 terabytes disks.

What am I doing wrong?

Thanks!

Windows 10 not starting up after resizing its disk space via ubuntu 18.04

I just recently switched to Ubuntu on my laptop but I want to keep Windows 10 for a while for studying/comfort-purposes. Via Disk Manager on Ubuntu I tried resizing the Disk Partition Size of Windows 10. Windows had about 90 GB of free space out of the 167 GB allocated for Windows. The laptop I’m using has 256 GB. Ubuntu has got 60,7 GB from my disk space. In the Disk Manager I selected Windows and resized from 167 GB to 90 GB; that is -77 GB from the free 90 GB. So I thought no problem but it took a while. I now cannot open windows for it tries to repair the disk without success. On Ubuntu I can now see that windows has 167 GB of the disk space where all of a sudden 14 GB is free (it was 90 GB before)… So it looks like it slurped the free space up and corrupted it or something because I can’t reach it. Is there a way to resolve this?

Help with used unused space on disk

Here is the problem, i tried to install phoenix os by this tutorial: https://www.fosslicious.com/2018/07/how-to-install-phoenix-os-on-ubuntu-linux.html and so i created a 30gb .img in /phoenix folder later i decided to delete it, so i deleted the /phoenix folder by moving to trash can and then empty the trash can. The problem is that in Disks they say me that my Ubuntu partition has that 30gb in use. ¿How can i free this space? (sorry my bad english please)