Linux Server Administration -
Create a Virtual Machine with two additional disks devices (excluding the operating system).
On the first disk partition it to have 4 partitions of approximately 5GB in size each – these will be mounted on /mnt/a, /mnt/b, /mnt/c, /mnt/d. On the second disk create two partitions of 10GB in size which will be mounted in /mnt/e, /mnt/f. Once created impose a file system and make them mount at boot time.
What commands did you use to do all this?
Please provide screenshot. Thank you.
$sudo parted -l
[sudo] password for user:
Model:
Disk /dev/vdc: 1 TB
Sector size (logical / physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File System Flags
1 1049KB 500MB 500MB primary ext4 boot
2 501MB 149.51GB 149.51GB primary lvm
$sudo parted /dev/vdc
GNU Parted 3.2
Using /dev/vdc
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted)
$dd if =/dev/vdc of= 5GB_HDD.img bs=1M count=5120
$sudo losetup -Pf -show 5GB_HDD.img
$lsblk
$mkfs.ext2

Linux Server Administration - Create a Virtual Machine with two additional disks devices (excluding the operating...