Last active
November 21, 2015 21:24
-
-
Save kasparsd/939b1a6080a80e5b6876 to your computer and use it in GitHub Desktop.
WD MyCloud EX2 RAID1 disk format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[defaults] | |
base_features = sparse_super,filetype,resize_inode,dir_index,ext_attr | |
default_mntopts = acl,user_xattr | |
enable_periodic_fsck = 0 | |
blocksize = 4096 | |
inode_size = 256 | |
inode_ratio = 16384 | |
[fs_types] | |
ext3 = { | |
features = has_journal | |
} | |
ext4 = { | |
features = has_journal,extent,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize,64bit | |
inode_size = 256 | |
lazy_itable_init = 0 | |
} | |
ext4dev = { | |
features = has_journal,extent,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize | |
inode_size = 256 | |
options = test_fs=1 | |
} | |
small = { | |
blocksize = 1024 | |
inode_size = 128 | |
inode_ratio = 4096 | |
} | |
floppy = { | |
blocksize = 1024 | |
inode_size = 128 | |
inode_ratio = 8192 | |
} | |
big = { | |
inode_ratio = 32768 | |
} | |
huge = { | |
inode_ratio = 65536 | |
} | |
news = { | |
inode_ratio = 4096 | |
} | |
largefile = { | |
inode_ratio = 1048576 | |
blocksize = -1 | |
} | |
largefile4 = { | |
inode_ratio = 4194304 | |
blocksize = -1 | |
} | |
hurd = { | |
blocksize = 4096 | |
inode_size = 128 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This command is used by WD EX2 to create a RAID1 volume | |
sh -c MKE2FS_CONFIG=/etc/mke2fs.conf MKE2FS_SYNC=100 mke2fs -m 1 -t ext4 -E stride=32,stripe-width=32 /dev/md1 5719052M |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment