LLVM Weekly #620: Strong Typing for C Language? RISC-V Packed-SIMD Support Lands!

LLVM Weekly #620: Strong Typing for C Language? RISC-V Packed-SIMD Support Lands!

LLVM Ecosystem Pulse The LLVM ecosystem is evolving comprehensively at an unprecedented speed. This week, we not only witnessed the vigorous development of community activities but also observed fundamental discussions on the safety of the C language, instruction-level support for emerging hardware like RISC-V, and the redesign of internal optimization passes. What do these seemingly … Read more

Linux Troubleshooting Series 3 – Diagnosing Storage Issues

Linux Troubleshooting Series 3 - Diagnosing Storage Issues

💾 Linux Storage Failure Emergency Guide | File System Crashed? LVM Error? These 5 Tips Will “Resurrect” Your Data! 📖 Introduction: Do You Feel This Way Too? First Paragraph: Pain Point Scenario Have you ever encountered this nightmare scenario? The system suddenly crashes, and after rebooting, it prompts “file system corrupted,” making all data inaccessible. … Read more

Universal Reinstallation Solution for Linux System Boot Issues

Universal Reinstallation Solution for Linux System Boot Issues

Universal Reinstallation Solution for Linux System Boot Issues Author: Wang Xu, with over 10 years of experience in database management. Proficient in mainstream database systems, with extensive practical experience in enterprise database management, performance optimization, architecture design, and high availability solutions. Currently holds certifications such as ORACLE ACE, MYSQL OCP, PG ACE, PGCA, PGCE, PGCM. … Read more

Expanding Server Capacity with Logical Volume Management (LVM) on Linux

Introduction When expanding server capacity, consider whether downtime is necessary. There are solutions for online expansion, but if downtime is possible, it is preferable. Since I have no business operations during the night, I can afford to take the system offline. Online Expansion Plan 1 1. The primary database continues to provide services to the … Read more

Building a Production-Level Automatic Disk Expansion for Linux LVM

In today’s cloud and virtualization environments, dynamically adjusting server resources has become the norm. However, manually expanding disk partitions, especially on Linux systems using LVM (Logical Volume Manager), remains a cumbersome and risky task. A single erroneous command could lead to data loss. So, how can we achieve “plug-and-play” disk expansion, allowing the server to … Read more

Summary of Linux Storage Expansion

Core Concepts 1. Disk: Underlying Storage Hardware A disk is a general term for physical storage devices, forming the basis of all storage management, corresponding to actual hardware (such as mechanical hard drives HDD, solid-state drives SSD) or virtual disks in a virtualization environment (such as VMware’s VMDK, KVM’s QCOW2, cloud server’s cloud disk). Device … Read more

Linux Basic Practice Multiple Choice Questions – 16

76. Question: Which command would you use in Linux to monitor I/O statistics and disk activity in real-time? Option 1: iostat Option 2: top Option 3: df Option 4: du Correct Answer: 1 Explanation: To monitor I/O statistics and disk activity in real-time on Linux, you would use the iostat command. It provides detailed information … Read more

Expanding the Linux LVM File Management System

The Linux system typically has a root directory capacity of around 50G with the default installation, which is not suitable for the installation and use of large engineering software. The installation method for physical Linux systems is now very convenient, but there are very few cases of expansion operations. The method used in practice is … Read more

A Lesson Learned: You Can No Longer Allocate Just a Few GB for the /var Partition in Production Linux Environments!

A Lesson Learned: You Can No Longer Allocate Just a Few GB for the /var Partition in Production Linux Environments!

In the late hours of operations, the worst fear is a disk alert. The culprit is often the underestimated /var partition. Many Linux beginners, and even some veterans, make the same mistake during system installation: underestimating the importance of the <span>/var</span> partition and only allocating a few GB of space by default. The result is … Read more

A Comprehensive Guide to Disk and Partition Management in Linux Systems, Covering Core Operations like Viewing, Managing, and Optimizing

A Comprehensive Guide to Disk and Partition Management in Linux Systems, Covering Core Operations like Viewing, Managing, and Optimizing

1. Viewing Basic Disk Information 1. List All Disk Devices lsblk # Tree view of disks and partitions lsblk -o NAME,SIZE,FSTYPE,MOUNTPOINT # Custom columns sudo fdisk -l # Detailed partition table information (requires root) Example Output: NAME SIZE FSTYPE MOUNTPOINT sda 100G ├─sda1 512M vfat /boot └─sda2 99.5G ext4 / nvme0n1 500G ├─nvme0n1p1 100G ext4 … Read more