Disk partitioning, formatting, verification and mounting —- fdisk, mkfs, mount

Disk partitioning, formatting, verification and mounting Disk management is very important. When we want to add a new disk to the system, we should perform the following steps: Divide the disk to create usable hard disk partitions (fdisk/gdisk) Format the hard drive partition to create a system-usable file system (mkfs) Check the newly created file […]

Solved: Error from server (Timeout): timeout expired waiting for volumes to attach or mount for pod pod

Blogger Maotouhu () takes you to Go to New World? Maotouhu recommends a list of necessary technology stacks for programmers: Cloud native technology Cloud Native: Golang Docker Kubernetes ? Helm Serverless ?AWS Lambda Google Cloud Functions Microservices Envoy Istio Prometheus Blog homepage: Maotouhu’s blog “Complete Column of Interview Questions” Articles with pictures and texts Vivid […]

easyexcel parses Excel tables with large amounts of data

Problem description: The project needs to import 100,000-level excel data. When I first started writing, I didn’t consider that the amount of data would be so large. As a result, the application easily reported a memory overflow when importing data. Cause analysis The import requires a collection to store the values of Excel rows and […]

linux cgroup (2)—-mount

kernel: 5.0 The following mount process is the first mount after the initialization is completed. cgroup_mount static struct dentry *cgroup_mount(struct file_system_type *fs_type, int flags, const char *unused_dev_name, void *data) {<!– –> struct cgroup_namespace *ns = current->nsproxy->cgroup_ns; struct dentry *dentry; int ret; get_cgroup_ns(ns); /* Check if the caller has permission to mount. */ if (!ns_capable(ns->user_ns, CAP_SYS_ADMIN)) […]

[MySQL] update batch update of large amounts of data

Article directory Update fields, multiple operations To update a certain field of a piece of data, it is usually written like this: Updating the same field to the same value is also very simple in mysql. Just modify where: To update multiple pieces of data to different values, many people may write like this: So […]

If wages are calculated based on the amount of code, maybe it should be written like this!

Because the official account has changed the push rules, please click “Looking” and add “star” to get exciting technology sharing as soon as possible Click to follow the #InternetArchitect official account and get the full set of architect information here 0,2T architect learning materials dry content Previous article: Sharing of useful learning materials for 2T […]

Docker: Data volume mounting

Docker: Data volume mounting 1. Data volume 2. Data volume command Replenish 1. Data volume Data volume (volume) is a virtual directory, which is the mapping bridge between the directory in the container and the host directory. Nginx containers have their own independent directories (Docker creates an independent container for each image, and each container […]

Windows Tip 02: Automatically mount the vhdx (supports bitlocker encryption) virtual disk with one click after booting and unlock bitlocker directly on the command line, automatically escalate the rights and run the bat script&&vhdx virtual disk file compression code as administrator

Take the script code below. It is recommended to use the third or fifth version of the code. Copy it into Notepad. Change the suffix of Notepad to bat file. Put this file in the same directory as the vhdx file and double-click to run it. Why should I use a virtual disk: 1. Used […]