After ordering your Big Disk you'll need to add a filesystem to your Big Disk. You can follow the steps below to add a filesystem.
Linux based OS EXT4 partition:
If necessary install parted.
yum install parted
Or
apt-get install parted
Use parted to list existing partitions and find your unpartitioned Big Disk.
parted -l
Create a partition label.
parted /dev/vdc mklabel gpt
Create a partition.
parted -a opt /dev/vdc mkpart primary ext4 4MB 100%
Use the lsblk tool to view your newly created partition.
lsblk
The final step is to create a file system and add it to your fstab.
mkfs.ext4 -L bigdisk /dev/vdc1
blkid /dev/vdc1
Create a mount point.
mkdir /mnt/MyBigDisk
Now go ahead and add your new fstab entry.
vi /etc/fstab
Manually mount your Big Disk.
mount -a
df -h
Linux based OS LVM:
Install parted and lvm2 if necessary.
Or
apt-get install lvm2 parted
List your partitions to find your unpartitioned Big Disk.
parted -l
Next step is to create a Physical Volume.
pvcreate /dev/vdc
Next step is to create a Volume Group.
vgcreate MyVolumeGroup /dev/vdc
Now we are going to create a Logical Volume.
lvcreate -n MyLogicalVolume -l 100%FREE MyVolumeGroup
The final step is to create a file system and add it to your fstab.
mkfs.ext4 /dev/MyVolumeGroup/MyLogicalVolume
blkid /dev/MyVolumeGroup/MyLogicalVolume
mkdir /mnt/MyBigDisk
Now go ahead and add your new fstab entry.
vi /etc/fstab
Manually mount your Big Disk.
mount -a
df -h
Windows based OS:
Open the Windows Disk Management utility and initialise your Big Disk. Make sure you choose GPT to overcome MBR limitations such as a maximum addressable storage space of a disk to 2 TB.
The next step is to select your new un-configured disk and create one or more partitions.
0 Opmerkingen