文档详情

linux下增加lvm根目录空间(国外英文资料).doc

发布:2017-06-07约6.72千字共16页下载文档
文本预览下载声明
linux下增加lvm根目录空间(国外英文资料) Step 1: add the disk Step 2: use the fdisk tool under Linux to partition Log in with root: When you print the current disk partition table, you can see that the total amount of disk has increased to 30GB, but the partition has only the previous partitions [root @localhost ~] # fdisk - l Type the command: fdisk/dev/sda sda is through expansion of the hard disk, for SCSI hard drives, type of IDE hard disk corresponding to hda, operated on the hard disk Select the primary partition, and type p At this point, fdisk will let you choose the primary partition number, if there has been a primary partition sda1, sda2, then number 3, that is, to create the partition for sda3. Type: 3 At this point, fdisk will allow you to select the Start value of the partition, which is the Start value of the partition. It is best to press enter directly, and if you enter a non-default number, you may cause space waste. For the End cylinder of the partition, also press enter directly. This will show the scope and space of your new partition. Now Ill say w for save all and exit, partition [root @localhost ~] # fdisk/dev/sda The number of cylinders for this disk is set to 3916. There is nothing wrong with that, but this is larger than 1024. And could in certain setups cause problems. 1) software that runs at boot time 2) booting and partitioning software from other OSs (DOS FDISK, OS / 2 FDISK) Command (m for help) : n The Command action E extended P primary partition (1-4) p Partition number (1-4) : 3 First cylinder (1045-3916, default 1045) : Using the default value is 1045 Last cylinder or + sizeM or + sizeK (1045-3916, default 3916) : Using the default value is 3916 Command (m for help) : w The partition table has been altered! Calling ioctl () to re-read partition table. WARNING: re-reading the partition table failed with error 16: equipment or resources are busy. The kernel still USES The old table. The new table will be used at The next reboot. Syncing disks. Ou
显示全部
相似文档