Disk /dev/loop0: 91 MiB, 95408128 bytes, 186344 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 74.5 GiB, 80000000000 bytes, 156250000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: D7672685-4819-4CED-916D-764793EB65AF
Device Start End Sectors Size Type
/dev/sda1 2048 4095 2048 1M BIOS boot
/dev/sda2 4096 156246015 156241920 74.5G Linux filesystem
Disk /dev/sdb: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x2bef4e2d
Disk /dev/sdc: 55.9 GiB, 60011642880 bytes, 117210240 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00098095
Disk /dev/md126: 55.4 GiB, 59458453504 bytes, 116129792 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes
Disklabel type: dos
Disk identifier: 0x00098095
Disk /dev/md124: 111.3 GiB, 119453777920 bytes, 233308160 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes
Disklabel type: dos
Disk identifier: 0x2bef4e2d
:~$ fstab
fstab: command not found
:~$ clear
:~$ sudo fdisk -l
Disk /dev/loop0: 91 MiB, 95408128 bytes, 186344 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 74.5 GiB, 80000000000 bytes, 156250000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: D7672685-4819-4CED-916D-764793EB65AF
Device Start End Sectors Size Type
/dev/sda1 2048 4095 2048 1M BIOS boot
/dev/sda2 4096 156246015 156241920 74.5G Linux filesystem
Disk /dev/sdb: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x2bef4e2d
Disk /dev/sdc: 55.9 GiB, 60011642880 bytes, 117210240 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00098095
Disk /dev/md126: 55.4 GiB, 59458453504 bytes, 116129792 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes
Disklabel type: dos
Disk identifier: 0x00098095
Disk /dev/md124: 111.3 GiB, 119453777920 bytes, 233308160 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes
Disklabel type: dos
Disk identifier: 0x2bef4e2d
:~$ sudo mkdir /media/120g
:~$ sudo mkdir /media/80g
:~$ sudo fdisk /dev/md124
Welcome to fdisk (util-linux 2.31.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): n
Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-233308159, default 2048):
Last sector, +sectors or +size{K,M,G,T,P} (2048-233308159, default 233308159):
Created a new partition 1 of type 'Linux' and of size 111.3 GiB.
Partition #1 contains a ntfs signature.
Do you want to remove the signature? [Y]es/[N]o: y
The signature will be removed by a write command.
Command (m for help): q
:~$ sudo fdisk /dev/md126
Welcome to fdisk (util-linux 2.31.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): n
Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-116129791, default 2048):
Last sector, +sectors or +size{K,M,G,T,P} (2048-116129791, default 116129791):
Created a new partition 1 of type 'Linux' and of size 55.4 GiB.
Partition #1 contains a ntfs signature.
Do you want to remove the signature? [Y]es/[N]o: y
The signature will be removed by a write command.
Command (m for help): q
:~$ mkfs.ext4 /dev/md124
mke2fs 1.44.1 (24-Mar-2018)
Could not open /dev/md124: Permission denied
:~$ sudo mkfs.ext4 /dev/md124
mke2fs 1.44.1 (24-Mar-2018)
/dev/md124 contains a ext3 file system
last mounted on Sun Feb 20 20:48:58 2000
Proceed anyway? (y,N) y
Creating filesystem with 29163520 4k blocks and 7290880 inodes
Filesystem UUID: c729e49f-fd47-4e44-89ba-3357b3498c45
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872
Allocating group tables: done
Writing inode tables: done
Creating journal (131072 blocks): done
Writing superblocks and filesystem accounting information: done
:~$ sudo mkfs.ext4 /dev/md126
mke2fs 1.44.1 (24-Mar-2018)
Found a dos partition table in /dev/md126
Proceed anyway? (y,N) y
Creating filesystem with 14516224 4k blocks and 3629056 inodes
Filesystem UUID: c01c3722-72e0-47ac-93b2-c22b9d87494f
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424
Allocating group tables: done
Writing inode tables: done
Creating journal (65536 blocks): done
Writing superblocks and filesystem accounting information: done
:~$ sudo mount /dev/md124 /media/120g
:~$ sudo mount /dev/md126 /media/80g
:~$ cd /media
:/media$ ls
120g 80g
:/media$ cd 120g
:/media/120g$ ls
lost+found
:/media/120g$ sudo mkdir hello
:/media/120g$ ls
hello lost+found
:/media/120g$ cd ..
:/media$ ls
120g 80g
:/media$ cd 80g
:/media/80g$ sudo mkdir hello
:/media/80g$ ls
hello lost+found
:/media$ cd ..
:/media$ sudo chmod -R -v 777 *