(parted) mklabel gpt//将MBR磁盘格式化为GPT(parted) mkpart primary0% 100%//将整块磁盘分成一个分区(parted) quit//退出[root@charseki~]# mkfs.ext4 /dev/sda//格式化[root@charseki~]#mkdir/waf[root@charseki~]#mount/dev/sda /waf//挂载[root@yoon~]# blkid /dev/sda/dev/sda: UUID="c4b7546...
[root@yangcan /]# mount -a [root@yangcan /]# cd /ftpdata/ [root@yangcan ftpdata]# ll total 4996 -rw-r--r--. 1 root root 148 Jul 30 19:37 asound.conf -rw-r--r--. 1 root root 21214 Jul 30 19:37 dnsmasq.conf -rw-r--r--. 1 root root 559 Jul 30 19:37 dracut.c...
[root@localhost ~]# fdisk /dev/sdb Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel with disk identifier 0xac7c929b. Changes will remain in memory only, until you decide to write them. After that, of course, the previous ...
[root@www ~]#mkfs -t ext3 /dev/vbirdvg/vbirdlv #格式化 格式有ext2.ext3,ext4,xfs等文件系统,按需格式化[root@www ~]#mkdir /mnt/lvm[root@www ~]#mount /dev/vbirdvg/vbirdlv /mnt/lvm #挂载目录[root@www ~]#dfFilesystem 1K-blocks Used Available Use%Mounted on/dev/hda2 9920624 3858984...
-T :显示文件系统类型, 连同该 partition 的filesystem 名称 (例如 ext3) 也列出; -i :不用硬盘容量,而以 inode 的数量来显示 实例1 将系统内所有的文件系统列出来! [root@www ~]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/hdc2 9920624 3823112 5585444 41% //dev/hdc3 4956316...
[root@centos002~]# fdisk/dev/sdbCommand(mforhelp):n Command action e extended p primarypartition(1-4) p 代码语言:javascript 代码运行次数:0 运行 AI代码解释 Partitionnumber(1-4):1Firstcylinder(1-1305,default1):Usingdefaultvalue1Last cylinder,+cylinders or+size{K,M,G}(1-1305,default1305):...
(root)的权限执行命令"vim"#装个vim方便修改文件"apt-utils"#包管理工具"net-tools"#网络工具的软件包,包含ifconfig、arp、netstat 等"inetutils-ping"#ping 我习惯用了但是好像被遗废掉了"onboard"#虚拟键盘"evtest"#事件工具"udev"#设备管理的子系统"language-pack-zh-hans"#中文语言支持,包括界面、帮助文件...
d delete a partition g create a new empty GPT partition table G create an IRIX(SGI)partition table l list known partition types m print this menu n add a new partition o create a new empty DOS partition table p print the partition table ...
After a disk is expanded on the console, the disk size is enlarged, but the disk partition and file system are not extended. You must log in to the server to extend the p
If the filesystem is the same, both / and /home are on the same partition.If they are different, they are on separate partitions.给我的感觉你的root和home好像真没分区。 收起回复 14楼 2024-11-04 10:13 不知起啥名字: 从存储数据容量看,没分区。从逻辑看,分区了。😵 2024-11-4 10:16...