Is corrupt, and you might try running e2fsck with an alternate superblock: If the device is valid and it really contains an ext2/ext3/ext4įilesystem (and not swap or ufs or something else), then the superblock The superblock could not be read or does not describe a valid ext2/ext3/ext4įilesystem. I then tried to let fsck have a go at it, and got this: # fsck.ext4 /dev/sdcĮxt2fs_open2: Bad magic number in super-blockįsck.ext4: Superblock invalid, trying backup blocks.įsck.ext4: Bad magic number in super-block while trying to open /dev/sdc Number Start End Size File system Name Flags Sector size (logical/physical): 512B/4096B Welcome to GNU Parted! Type 'help' to view a list of commands. Running parted also seems to confirm that the partition is the correct size: # parted /dev/sdc Sector size (logical/physical): 512 bytes / 4096 bytes The output of fdisk shows that the partition is the expected size: # fdisk -l /dev/sdcĭisk /dev/sdc: 10.9 TiB, 12000105070592 bytes, 23437705216 sectors This is the case when the disk is first mounted it's not like any existing operation is holding a file open.
However, df now shows the two drives as being identical: # df -hįilesystem Size Used Avail Use% Mounted on Since this was a clone, I then created a new UUID for this partition with uuidgen, and used this to mount the disk in /etc/fstab. I copied the original onto the new drive with pv /dev/sdc1. I then mounted this filesystem, and df -h showed me the expected result: The original disk was 9.1T, the new one was 11T.
#PARTITION FIND AND MOUNT DISK SIZE IS INCORRECT FREE#
I used parted to create a new partition, using up the entire free space, and then mkfs.ext4 to create a filesystem on it. Eventually I will remove the first backup, to offsite storage.
I have a 10TB backup drive on my Debian system at /dev/sda, and added a 12TB drive to serve as an additional backup at /dev/sdc. tl dr: I cloned an existing disk onto a larger disk, but df is only showing this at the size of the original disk, even though the partition table looks OK. I know this type of question has been asked frequently, but I cannot seem to figure out what is happening.