You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anything that does not record changes in version control is harmful
Storage
Partition & format storage devices
To partition a drive, you may use parted utility
parted can list the partition layout of our disks
Any disk that don't have a valid partition will result in error
This can be used to identify new disk
lsblk can also be used to look for a disk of a particular size with no partitions
Other Notes:
Remember to check lsblk in every session before making changes. The /dev/sd* and /dev/hd* disk identifiers will not necessarily be consistent between boots, which means there is some danger of partitioning or formatting the wrong disk if you do not verify the disk identifier correctly. Consider using more persistent disk identifiers like /dev/disk/by-uuid, /dev/disk/by-label, or /dev/disk/by-id
Partitioning Standard
GPT is modern while MBR is supported widely
One the standard (otherwise known as format) is selected you can partition
You can partition the entire drive or part of it
Check the partition(s) using lsblk
Create a FileSystem on New Partition
Once partitioned you can format it e.g. as ext4 filesystem
For above you use mkfs.ext4 utility
Mount this FileSystem now
create a mount directory i.e. /mnt/data
then mount the filesystem on above mount directory
mounting everytime the server boots, use /etc/fstab
If you had not mount the filesystem previously, you can use sudo mount -a
support random access storage devices e.g. hard disks & SSDs
non goals - support for I/O isolation using CFS & blkio cgroups
Distributed systems often use replication to provide fault tolerance, and can therefore tolerate node failures. However, data gravity is preferred for reducing replication traffic and cold startup latencies.
The text was updated successfully, but these errors were encountered:
Design
Storage
Partition & format storage devices
/dev/disk/by-uuid
,/dev/disk/by-label
, or/dev/disk/by-id
Partitioning Standard
Create a FileSystem on New Partition
Mount this FileSystem now
sudo mount -a
Test you mount
df
commandKubernetes
The text was updated successfully, but these errors were encountered: