We can verify that the new partition has been created by running fdisk -l again: We now need to write these changes by hitting w: Please note that we left everything as default, which makes this partition primary, partition number is 1 and whatever sectors it provides as default, this results in a new partition which in this case is 50gb. Once inside fdisk we can view available options or command by hitting m, in this case we'll go ahead and hit n to create a new partition: Now let's go ahead and create a partition on this /dev/vdb drive using fdisk by running: ![]() Here we can identify 2 drives, the main one which is 30gb (dev/vda) and the additional one which is 50gb (/dev/vdb) which is the one we want to format. Let's first list the existing partitions to identify the hard drive we want to partition, for this we'll use fdisk -l: ![]() On this guide we'll go through the process of creating a new partition with the assumption that you've added a new hard drive (whether physical or virtual) and that you have root (or a user with sudo access) access to the system. ![]() Some of its features includes Large file system, Extents, Backward compatibility, Persistent pre-allocation, Delayed allocation, Unlimited numbers of subdirectories, Journal checksums and the list goes on and on. The ext4 journaling file system or fourth extended filesystem is a journaling file system for Linux, developed as the successor to ext3.
0 Comments
Leave a Reply. |