Topics:
DVR
nvrec
Mplayer
Links
Misc
Commands
Humor
New user
uploaded files
|
(linux_command_line)-> (Parent)->command for creating filesystem |
submited by Russell Thu 23 Jun 05 Edited Tue 31 Jan 06 |
<pre>
mke2fs -b 4096 -R stride=64 -J size=400 -b 4096 -i 65536 /dev/md2
-b is block size
-R stride=64 sets up blocks to match raid size ( not sure if this is correct)
-J size=400 sets up a 10meg jornal
-b 4096 was clearly a redundant setting ;-0
-i sets the bytes per inode, this gives me 4million inodes for a 300 gig raid drive.
mke2fs 1.37 (21-Mar-2005)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
4884480 inodes, 78144128 blocks
3907206 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=79691776
2385 block groups
32768 blocks per group, 32768 fragments per group
2048 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616
Writing inode tables: done
Creating journal (102400 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 22 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to overide
# tune2fs -m 1 /dev/md2
tune2fs 1.37 (21-Mar-2005)
Setting reserved blocks percentage to 1 (781441 blocks)
</pre>
|
Add comment or question...:
|