[PATCH 2/4] Update the fs size limit for ext3/ext4 from 8TB to 16TB.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This depends only on the block size, which can only be overridden
by someone selecting an fsprofile with a smaller block size.

Related: rhbz#767727
---
 pyanaconda/storage/formats/fs.py |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/storage/formats/fs.py b/pyanaconda/storage/formats/fs.py
index 591187a..f2ed935 100644
--- a/pyanaconda/storage/formats/fs.py
+++ b/pyanaconda/storage/formats/fs.py
@@ -1060,6 +1060,12 @@ class Ext3FS(Ext2FS):
     _defaultMigrateOptions = ["-O", "extents"]
     partedSystem = fileSystemType["ext3"]
 
+    # It is possible for a user to specify an fsprofile that defines a blocksize
+    # smaller than the default of 4096 bytes and therefore to make liars of us
+    # with regard to this maximum filesystem size, but if they're doing such
+    # things they should know the implications of their chosen block size.
+    _maxSize = 16 * 1024 * 1024
+
 register_device_format(Ext3FS)
 
 
-- 
1.7.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux