Tag:Disk partition

  • How to view the remaining space of Linux disk

    Time:2022-7-20

    DF command is to view files by disk partitionsystem, you can add parameters to view the remaining disk space information. The command format is:   df -hl   The display format is:   filesystemCapacity used available used% mount point /dev/hda5 487M 120M 342M 27% / /dev/hda1 981M 21M 911M 3% /boot none 125M 0 125M […]

  • How to scan and repair Linux disk errors

    Time:2022-5-13

    In this article, you will learn how to use fsck and XFS_ The repair command fixes Linux disk errors.What is fsck?Fsck (file system consistency check) is a tool used to check the file system consistency of Linux operating system.List Linux disk partitions and types:First, you need to determine the disk partitions of the Linux system, […]

  • Teach you to completely uninstall Ubuntu dual system, decontamination without residue

    Time:2022-4-27

    We uninstall Ubuntu dual system for the following reasons: 1. Ubuntu system kernel is damaged and cannot be entered normally 2. Ubuntu system allocation space is insufficient, and direct expansion is more complex 3. Don’t use Ubuntu anymore. Clean up and make room For whatever reason, we need to uninstall it. Here’s how to uninstall […]

  • Viewing disk space on Linux system

    Time:2022-3-23

    1、 DF command; DF is from coreutils software package,systeminstallWhen, it comes with its own; Through this command, we can view the usage of the disk and the filessystemMounted position; give an example: [[email protected] beinan]# df -lh Filesystem capacity used% mount point available /dev/hda8 11G 6.0G 4.4G 58% / /dev/shm 236M 0 236M 0% /dev/shm /dev/sda1 […]

  • Method of directory expansion under Linux system

    Time:2022-3-15

    1. Phenomenon: The log server was not well considered at the beginning, and the partition division was not reasonable: 2. Objectives: Reduce the disk space of / home and expand the new disk partition to the / root directory Unmount the / home partition and compress it When uninstalling / home, you will be prompted […]

  • Learn a Linux command every day (78): fdisk

    Time:2022-2-17

    Command introduction The fdisk command is used to view disk usage and disk partitions. It can be used to create, delete and modify disk partitions. Syntax format disk [-uc] [-b sectorsize] [-C cyls] [-H heads] [-S sects] device Option description -B < size > # sector size (512, 1024, 2048 or 4096) -C [= < mode >] # compatibility mode: “Dos” or “nondos” (default) -H […]

  • Learn a Linux command every day (79): parted

    Time:2022-2-16

    Command introduction The parted command is used to create, view, delete and modify disk partitions. It is a disk partition and partition sizing tool. This command is a supplement to the fdisk command, because if the disk size is greater than 2TB, the fdisk command cannot be used for partition operation. Syntax format parted [options] [device [command [options…]…]] Option […]

  • Learn a Linux command every day (81): e2fsck

    Time:2022-2-14

    Recommended reading:Learn a Linux command every day (76): fsck Command introduction The e2fsck command is used to check ext2 / ext3 / ext4 file systems. Syntax format e2fsck [-panyrcdfvtDFV] [-b superblock] [-B blocksize]   [-I inode_buffer_blocks] [-P process_inode_size]   [-l|-L bad_blocks_file] [-C fd] [-j external_journal]   [-E extended-options] device Option description -D # display debug debugging information -T # displays time information -P # without prompting, the file system will be repaired automatically […]

  • Linux note sharing 6: Disk Management

    Time:2022-2-5

    1、 Disk management basic commands 1、df View disk partition usage DF [options] [parameters (used for T and X options)] option -l: Show only local disks (default) -a: Displays the disk usage of all file systems, including, for example, / proc/ -h: Convert to understandable disk capacity in 1024 decimal -H: The disk capacity that can […]

  • Several tools for monitoring disk partition and usage in Linux

    Time:2021-12-9

    In this article, we will discuss the command-line utilities that can be used to monitor disk usage in Linux, providing information about total size, capacity, total used, file system information, partition information, and so on. Let’s see how these tools help retrieve this informationDF commandDF is a Linux command line utility that monitors Linux disk […]

  • How to partition Windows Server? There are three common types of windows server disk partition

    Time:2021-10-27

    Original text from: https://www.sohu.com/a/272133008_ one hundred million two hundred and seventeen thousand one hundred and seventy-eight I’m afraid the link will fail, so reprint this article, the analysis is very thorough and clear at a glance! record. ——————————-START———————————– Windows Servers generally have their own windows disk partition tools, so it is completely unnecessary to use […]

  • Write OS kernel from scratch – simple file system

    Time:2021-9-7

    Series catalog Preface preparation BIOS boot to real mode GDT and protection mode On virtual memory Load and enter the kernel Display and print Global descriptor table GDT Interrupt processing Virtual memory perfection Implement heap and malloc First kernel thread Multithreading operation and switching Lock and multithreading synchronization Enter user status Process implementation system call […]