Article 6QM1A Disk running out of space

Disk running out of space

by
mfoley
from LinuxQuestions.org on (#6QM1A)
I have an interesting problem. I have a RAID-5 array with 7.2T capacity. I also have a Seagate ST8000VN004 8T drive formatted ext4, formatted size 7.3T.
Code:# df
/dev/md0 7.2T 6.4T 851G 89% /mnt/RAID
/dev/sdd1 7.3T 7.2T 0 100% /mnt/RAIDmirrorI rsync the RAID array to this Seagate drive daily. The problem is that even though the RAID drive is only 89% full, there is not enough space on the 8T drive to copy the entire contents of the RAID. I run out of space on the 8T drive and get an rsync status 11, "No space left on device".

Since the Seagate actually has 0.1T more available space, I don't get why it runs out of space copying the RAID which is only 89% full.

One thought is the issue has to do with sector/block allocation when the drive was partitioned. Here is the hdparm -I for the Seagate:
Code: Logical Sector size: 512 bytes [ Supported: 512 4096 ]
Physical Sector size: 4096 bytes
Logical Sector-0 offset: 0 bytes
device size with M = 1024*1024: 7630885 MBytes
device size with M = 1000*1000: 8001563 MBytes (8001 GB)Examining with gdisk shows both drive virtually the same in terms of sector and drive size:
Code:(RAID)
# gdisk -l /dev/md0
GPT fdisk (gdisk) version 1.0.8

Disk /dev/md0: 15624470528 sectors, 7.3 TiB
Sector size (logical/physical): 512/4096 bytes
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 15624470494
Partitions will be aligned on 2048-sector boundaries
Total free space is 15624470461 sectors (7.3 TiB)

(Seagate)
# gdisk -l /dev/sdd1
GPT fdisk (gdisk) version 1.0.8

Disk /dev/sdd1: 15628051087 sectors, 7.3 TiB
Sector size (logical/physical): 512/4096 bytes
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 15628051053
Partitions will be aligned on 2048-sector boundaries
Total free space is 15628051020 sectors (7.3 TiB)Is there any disk magic I can do to get the RAID contents to fit on the Seagate?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments