Home
Mobile
Internet
Server
Language
Enterprise
Database
News
Others
Search
Linux record - partition (df/fdisk/mount/umount)
Others
2022-04-22 02:41:20
views: 0
1. View the disk mount (df -TH)
2. Unmount umount /dev/vdb1
3. Kill the user process (fuser -m -v -i -k /dev/vdb1)
4. Unmount umount /dev/vdb1 again, and view the mount information df -TH
5. Delete the partition (fdisk /dev/vdb md 1 dw)
6. View the partition (fdisk -l, no Start-End disk partition means available)
7. Add a partition (fdisk /dev/vdb np press enter w)
8. View the newly created partition (fdisk -l)
8. Format the partition: mkfs.ext4 /dev/vdb1
9. Create a new directory mkdir /data and mount the partition (mount /dev/vdb1 /data)
10. Permanently write to disk: write partition information to /etc/fstab: echo '/dev/vdb1 /data ext4 defaults 0 0' >> /etc/fstab
Guess you like
Origin
http://43.154.161.224:23101/article/api/json?id=324769003&siteId=291194637
Linux record - partition (df/fdisk/mount/umount)
[Command] Linux disk partition, format, mount command, create a swap partition (fdisk, mkfs, mount, umount)
Fdisk partition in Linux
Disk partition fdisk, mount
Disk partition fdisk, mount
Mount Linux partition
linux disk mount partition
Linux command - fdisk disk partition
Linux fdisk partition calculation method
20, linux- disk management commands df, du, mount, fdisk
Linux disk partition, format, mount
Under linux partition the disk using fdisk
Linux fdisk create partition primary process detailed
Detailed explanation of Linux disk partition (fdisk)
Detailed explanation of fdisk command of linux disk partition
Linux hard disk format, partition, mount, unmount, delete partition
Disk Management | df, du | partition fdisk | Format
When using fdisk partition, a partition is indeed created, but this partition does not seem to be recognized by the Linux system. Solution
fdisk disk partition, format and automatically mount the boot
Linux empty hard disk from partition to mount
Linux empty hard disk from partition to mount
linux mount new hard disk and partition it
Linux: linux system disk (fdisk, partprobe, mkfs, mount, df, sort, swap, inode, block)
partition, mount partition
[Linux Five] Use fdisk command in Linux to realize disk partition
Hard disk partition fdisk \ gdisk, mount mount \ swapon
Linux directory structure, the size of the Linux partition, mount point and how partitions
Linux fdisk command to create an extended partition process detailed
Linux partition command -fdisk & mkfs, disk configuration steps
Mount (mount) and unmount (umount) commands in linux
Recommended
LFOSSA Yuanlaisusu Open Course | Mastering the Cloud Native Future: Comprehensive Guide to CNCF Certification and Exam Preparation Tips
Ranking
C++ Basic Syntax
bootstrapTable hides a column based on a condition
Why is reentrant lock recommended instead of Synchronized when dynamic high concurrency?
hexo create a blog
[Fully open source and non-encrypted version] Imitation of the eighth district distribution/online signature/multiple sets of download templates/APP distribution hosting/APP packaging and packaging
Polymerization combination
https://www.flysnow.org/2017/05/06/go-in-action-go-log.html
From the perspective of Flutter and the front-end, talk about how to ensure UI fluency under the single-threaded model
nginx-301, 302 redirect
Geolocation by IP Address in ASP.NET
Daily
More
2024-04-26(22)
2024-04-25(32)
2024-04-24(30)
2024-04-23(30)
2024-04-22(5)
2024-04-21(0)
2024-04-20(6)
2024-04-19(5)
2024-04-18(0)
2024-04-17(31)