Using large file systems with several terabytes of data is quite common. Usually system administrators use well-known file systems like ext4, xfs, zfs or newcomers like btrfs. Even ext4, the more or less standard Linux file system, supports up to 10 EiB of data and is marked as stable since Kernel 2.6.28 (release in December 2008). Increasing volumes beyond 16 TiB shouldn’t be a problem.
- download and compile e2fsprogs, at least version 1.43
$ git clone -b v1.43 https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git e2fsprogs $ cd e2fsprogs $ ./configure $ make $ cd resize2fs $ ./resize2fs
- unmount the file system
- run fsck and repair your file system
- run resize2fs with the -b flag to enable the 64bit feature
$ resize2fs -b /dev/my-block-device
- check if 64bit feature is enabled
$ tune2fs -l /dev/my-block-device
Depending on your number of inodes the file system check and the conversion to 64-bit can took a lot of time. For resizing or running a file system check you should use at least the latest minor release of e2fsprogs of 1.42.x
0 Kommentare
Trackbacks/Pingbacks