I just de-installed a 12TB disk and replaced it with a 20TB disk. I can apply an ext4 filesystem on it, but I cannot mount it and LibreElec is not automounting as I expected.
Have I hit a 32bit architecture limitation?
I thought, well, perhaps if I partition it, but all attempts at using parted to manually create labels and partitions have utterly failed..
I have two of these sort of "all in one" systems, a case, SATA controller, and big SATA disk with a RPi3 - I have one for SURE that is working with a 16TB disk without issue.. I just sort of assumed that an increment to 20TB under ext4 would be just as straight forward?
Any ideas?
Thanks!
TrailerTrash:/var/media/foo # mkfs.ext4 /dev/sda
mke2fs 1.45.3 (14-Jul-2019)
/dev/sda contains a ext4 file system
created on Tue Nov 8 21:51:12 2022
Proceed anyway? (y,N) y
Creating filesystem with 4882956288 4k blocks and 305184768 inodes
Filesystem UUID: 4266251d-b844-4777-97a4-64fb56440636
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000, 214990848, 512000000, 550731776, 644972544, 1934917632,
2560000000, 3855122432
Allocating group tables: done
Writing inode tables: done
Creating journal (262144 blocks): done
Writing superblocks and filesystem accounting information: done
TrailerTrash:/var/media/foo #
TrailerTrash:/var/media/foo # cd ..
TrailerTrash:/var/media # mount /dev/sda /media/foo/
mount: mounting /dev/sda on /media/foo/ failed: Invalid argument
TrailerTrash:/var/media # reboot
TrailerTrash:/var/media # Connection to trailertrash closed by remote host.
Connection to trailertrash closed.
TrailerTrash:/ # file /dev/sda
/dev/sda: block special (8/0)
TrailerTrash:/ # parted
GNU Parted 3.4
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
print
Model: ASMT 2115 (scsi)
Disk /dev/sda: 20.0TB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 20.0TB 20.0TB ext4
(parted) q
q
TrailerTrash:/ #
TrailerTrash:/ # mkdir /var/media/foo
TrailerTrash:/ # mount /dev/sda /var/media/foo
mount: mounting /dev/sda on /var/media/foo failed: Invalid argument
TrailerTrash:/ #
Display More
And, now that I've upgraded from 9.2.8 to 10.0.3, I can't relable the drive as mkfs.ext4 thinks the drive is mounted, which it is not..
TrailerTrash:~ # mkfs.ext4 -F -I 128 -i 67108864 /dev/sda
mke2fs 1.45.6 (20-Mar-2020)
/dev/sda is apparently in use by the system; will not make a filesystem here!
TrailerTrash:~ # mkfs.ext4 /dev/sda
mke2fs 1.45.6 (20-Mar-2020)
/dev/sda is apparently in use by the system; will not make a filesystem here!
TrailerTrash:~ #
I am utterly baffled at this point. The upgrade to 10.0.3 broke my ability to, say, jack with number of inodes or up the block size to perhaps bring things back within limits..
Thanks for any thoughts!
-ET-