搜索列表
-
Linux系统的磁盘管理
【RedHat/Centos】1.fdisk -lDisk /dev/sda: 120.0 GB, 120034123776 bytes =>硬盘容量120G255 heads, 63 sectors/track, 14593 cylinders =>255个磁头,63个扇区,14593个柱面Units = cylinders of 16065 * 512 = 8225280 bytes =>每个柱面的容量
管理磁盘系统 >×容量Linux0%tmpfs -
如何增大swap交换分区
【RedHat/Centos】# dd if=/dev/zero of=/.swapf bs=1024 count=102400 #bs默认为512,count默认单位是KB; # mkswap /.swapf # swapon /.swapf # swapon -s #显示swap挂载情况; 编辑/etc/fstab: /.swapf swap swap defaults 0 0 如果有剩余空间的话,就更简单了: 比如,已经划分/dev/sda7...
分区交换增大如何 /.swapfswapswapon/dev/sda7 -
linux启动时挂载rootfs
【RedHat/Centos】1。linux启动时,经过一系列初始化之后,需要mount 根文件系统,为最后运行init进程等做准备,mount 根文件系统有这么几种方式:1)文件系统已经存在于硬盘(或者类似的设备)的某个分区上了,kernel根据启动的命令行参数(root=/dev/xxx),直接进行mount。 这里有一
启动系统文件initrd设备mount可以kernelramdisk -
出现The file /boot/grub/stage1 not read cor 解决办法
【RedHat/Centos】重装了操作系统,grub也随之被覆盖,为了恢复启动,我拿了一张ubuntu的live cd启动,进入linux后,进入命令行恢复grub。首先要挂载原来的/分区sudo mkdir /mnt/rootsudo mount /dev/sda7 /mnt/rootsudo mount -t proc none /mnt/root/procsudo mou
解决办法出现sudo分区grub进入设备mount/mnt/root -
linux 服务器常用维护命令
命令维护常用服务器安装文件目录export
Warning: Illegal string offset 'id' in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 71
Notice: Uninitialized string offset: 0 in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 71
Warning: Illegal string offset 'classname' in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 72
Notice: Uninitialized string offset: 0 in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 72
【】这里我会把网上看到的、自己平时用到的、和感兴趣的都整理出来,大部分采纳与网络分享的案例 -
linux学习笔记
笔记学习显示系统文件设置quota用户设定使用
Warning: Illegal string offset 'id' in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 71
Notice: Uninitialized string offset: 0 in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 71
Warning: Illegal string offset 'classname' in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 72
Notice: Uninitialized string offset: 0 in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 72
【】linux目录架构/ 根目录/bin 常用的命令 binary file 的目錄/boot 存放系统启动时必须读取的档案,包括核心 (kernel) 在内/boot/grub/menu.lst GRUB设置/boot/vmlinuz 内核/boot/initrd 核心解壓縮所需 RAM Disk/dev 系统周边设备/etc 系统相关 -
llinux fdisk分区工具 使用方法
【RedHat/Centos】一、fdisk 的介绍;fdisk - Partition table manipulator for Linux ,译成中文的意思是磁盘分区表操作工具;本人译的不太好,也没有看中文文档;其实就是分区工具; fdsik 能划分磁盘成为若干个区,同时也能为每个分区指定分区的文件系统,比如linux 、fat32、 linu
工具分区我们fdiskLinuxcylindersCommand硬盘 -
LINUX系统grub常见错误分析
【RedHat/Centos】1 : Filename must be either an absolute filename or blocklist 解释 :1号错误表示文件名格式错误。在 GRUB 中要么是以绝对路径给出文件 例子 : grub> ker
错误分析常见系统解释引用grub>表示Error文件 -
linux下挂载(mount)光盘镜像文件、移动硬盘、U盘、Windows网络共享和NFS网络共享
【RedHat/Centos】挂接命令(mount) 首先,介绍一下挂接(mount)命令的使用方法,mount命令参数非常多,这里主要讲一下今天我们要用到的。 命令格式: mount [-t vfstype] [-o options] device dir
网络共享移动硬盘光盘文件 系统linuxmount -
在Fedora 9中启用ext4文件系统的方法
【RedHat/Centos】提供ext4文件系统的支持,可以说是Fedora 9的最大亮点,但ext4只是可选安装,直接进入安装程序的话,并没有ext4的选项,若要启用ext4,需要在光盘启动后在安装启动选项上按tab键,在命令行上加上内核选项ext4,才能在安装时使用ext4。需要注意的是ext4还在dev阶段,Grub
系统方法文件启用 ext4使用extent索引选项 -
Linux系统下如何挂载U盘,硬盘,光驱
【RedHat/Centos】一.Linux挂载U盘:1、插入u盘到计算机,如果目前只插入了一个u盘而且你的硬盘不是scsi的硬盘接口的话,那它的硬件名称为:sda1。2、在mnt目录下先建立一个usb的目录(如:[root@localhost root]# mkdir /mnt/usb)3、挂载U盘:mount -t vfat /dev/sda1 /mnt/usb4
光驱硬盘如何系统 cp936mount/dev/hda6-t -
linux 系统中软件raid 配置方法
配置方法软件系统RAID成员我们硬盘设备一个
Warning: Illegal string offset 'id' in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 71
Notice: Uninitialized string offset: 0 in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 71
Warning: Illegal string offset 'classname' in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 72
Notice: Uninitialized string offset: 0 in /home/wwwroot/cczh0002/wwwroot/view/search.php on line 72
【】1 什么是RAID,RAID的级别和特点 ;什么是RAID呢?全称是 “A Case for Redundant Arrays of Inexpensive Disks (RAID)”,在1987年,由加州大学伯克利大学发表的论文而来,其实就是这个标题的缩写就是RAID;中译为“磁盘阵列”;RAID就