0

To transfer large amount of data, I used mv from the first HDD called /KRX to other HDD called /data_tmp.

But I interrupted the mv process using Ctrl+C, and I fill /KRX with other data.

Then when I inspect the disk space via df -h I have the following

df -h 
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdb        7.3T  7.2T     0 100% /KRX
/dev/sda1       3.6T  3.4T   46G  99% /data_tmp

When I remove or move some files in /KRX, still it shows Avail 0 whereas Used decreased from 7.2T to 7.1T as follows:

Filesystem      Size  Used Avail Use% Mounted on
/dev/sdb        7.3T  7.1T     0 100% /KRX
/dev/sda1       3.6T  3.4T   46G  99% /data_tmp

So how to resolve the zero Avail?

I used Ubuntu 18.04.5 LTS.

Thanks.

1 Answer 1

0

I found a solution.

I just set zero reserved-blocks as follows:

sudo tune2fs -m 0 /dev/sda

Then df -h shows

Filesystem      Size  Used Avail Use% Mounted on
/dev/sdb        7.3T  7.1T  132G  99% /KRX

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.