Creating and Permanently Mounting Logical Volumes with LVM in Linux

Creating and Permanently Mounting Logical Volumes with LVM in Linux

1.LVM Principles To understand the principles of LVM, we must first grasp four basic concepts of logical volumes. ① PE (Physical Extend) – Physical Extend ② PV (Physical Volume) – Physical Volume ③ VG (Volume Group) – Volume Group ④ LV (Logical Volume) – Logical Volume PV (Physical Volume) A physical volume is the basic … Read more

Exploring the Future: The Pinnacle Showdown Between GCC and LLVM in Rust Code Compilation

Exploring the Future: The Pinnacle Showdown Between GCC and LLVM in Rust Code Compilation

The Rust compiler is renowned for its ability to optimize code performance and manage memory, thanks to its borrow checkers. Rust code is compiled using the official compiler <span>rustc</span>, which utilizes LLVM as its backend to optimize and convert high-level Rust code into low-level machine code. However, a recent alternative has emerged called gccrs, which … Read more

Linux Not Recognizing Disk Expansion in VMware? Here’s How to Easily Solve It!

Linux Not Recognizing Disk Expansion in VMware? Here's How to Easily Solve It!

Problem Analysis Due to selecting standard partitioning instead of LVM (Logical Volume Management) when installing the system in VMware, the vgextend command cannot be used to dynamically extend the root partition (/). The created partition disk is sdax. At this point, entering the system and typing vgdisplay will yield no response, as there is currently … Read more

Intel Fully Adopts LLVM for Its C/C++ Compiler

Intel Fully Adopts LLVM for Its C/C++ Compiler

Author | Bai KaishuiProduced by | OSC Open Source Community (ID: oschina2013)Intel’s long-time compiler expert James Reinders revealed in a blog that they will use the LLVM open-source infrastructure in the next generation of Intel C/C++ compilers; and shared some related information.“LLVM helps us achieve our goal of providing the best C/C++ compiler for Intel … Read more

Managing Physical Volumes (PV), Logical Volumes (LV), and Volume Groups (VG) in Linux

Managing Physical Volumes (PV), Logical Volumes (LV), and Volume Groups (VG) in Linux

padluo Reading time required: 4 minutes Quick read only takes 2 minutes Related Concepts Let’s first look at several concepts of LVM (Logical Volume Manager): In LVM (Logical Volume Manager), the relationships between various components can be summarized as follows: Physical Volume (PV): This is an actual disk partition or an entire disk that, after … Read more

Common Operations of Linux LVM

Common Operations of Linux LVM

Common Operations of Linux LVM LVM (Logical Volume Manager) is a logical volume manager in Linux used for managing disk storage. It abstracts physical hard disk partitions into Physical Volumes (PV), combines them into Volume Groups (VG), and then divides them into Logical Volumes (LV). LVM supports dynamic resizing of volumes, snapshots, striping, and other … Read more

Summary of Linux File Directories, Disk File Systems, and Compression Commands

Summary of Linux File Directories, Disk File Systems, and Compression Commands

Summary of Linux File Directories, Disk File Systems, and Compression Commands File and Directory Management Basic Commands • ls – List directory contents ls # List files and directories in the current directory ls -l # Long format to display detailed information ls -a # Show all files (including hidden files) ls -la # Show … Read more

Advanced File System Management in Linux

Advanced File System Management in Linux

Table of Contents Check if the kernel supports quotas Check if the mount properties of the specified partition meet the conditions quotacheck generates configuration files for users and groups edquota edits the quota file to set specified limit sizes Start quota management Stop quota management quota view quota information for specified users and groups repquota … Read more

Mojo: A Revolutionary Programming Language Announced by the Creator of LLVM and Swift, 35000 Times Faster than Python

Mojo: A Revolutionary Programming Language Announced by the Creator of LLVM and Swift, 35000 Times Faster than Python

Compilation | Nuclear Cola, Tina “Mojo may be the biggest advancement in programming languages in decades.” Recently, a new programming language called Mojo was launched by Modular AI, a company founded by Chris Lattner, co-creator of the LLVM and Swift programming languages. Mojo combines the beloved features of Python with the system programming capabilities of … Read more

Comprehensive Guide to Disk Expansion in Linux Systems

Comprehensive Guide to Disk Expansion in Linux Systems

Click the blue “Most Programmer” to follow me! Add a “star“, every day at 18:03 to learn technology together Disk Expansion in Linux Systems After adding the disk in the console, Add Partition After restarting the system, perform the following operations Disk Partitioning [root@oracle ~]# fdisk /dev/sda Welcome to fdisk (util-linux 2.23.2). Changes will remain … Read more