![]() ![]() At this point the drive has no partitions shown (because we have yet to create any).Īt this point we have a choice of creating partitions and file systems on the new drive and mounting them for access or adding the disk as a physical volume as part of a volume group. dev/hda /dev/hda1 /dev/hda2 /dev/hdb /dev/hdcĪs shown above, the new hard drive has been assigned to the device file /dev/hdb. ![]() ![]() The following output is from the same system after a second hard disk drive has been installed: ls /dev/hd* In the following figure the new hard disk has been assigned to /dev/hdb: ![]() Select the new disk device and click on the Advanced tab to identify the device name. In the Hardware Browser scroll down the list of devices until the disk drives become visible. If this option is not available it may be installed as follows: su. If this is already installed it may be launched by selecting Hardware from the System -> Administration menu. In all likelihood, when a second disk drive is detected by the system it will be assigned to /dev/hdb.Īnother option is to install and run the Hardware Browser. This shows that the disk drive represented by /dev/hda is itself divided into 2 partitions, represented by /dev/hda1 and /dev/hda2. The following is output from a system with only one physical disk drive: ls /dev/sd* For example, the first device might be /dev/sda, the second /dev/sdb and so on. Typically, the disk drives in a system are assigned device names beginning hd or sd followed by a letter to indicate the device number. This topic will be discussed in detail in Adding a New Disk to a CentOS Volume Group and Logical Volume.Īssuming the drive is visible to the BIOS it should automatically be detected by the operating system. Using this approach we are able, therefore, to increase the size of the / file system by allocating some or all of the space on the new disk to LogVol00. By configuring the new disk as part of a volume group we are able to increase the disk space available to the existing logical volumes. Within this volume group are two logical volumes named LogVol00 and LogVol01 that are used to store the / file system and swap partition respectively. When CentOS is installed using the default disk configuration layout, a volume group is created and called VolGroup00. This is the approach that will be covered in this chapter.Īnother approach is to add the new space to an existing volume group or create a new volume group. One very simple method is to create one or more Linux partitions on the new drive, create Linux file systems on those partitions and then mount them at specific mount points so that they can be accessed. There are two ways to configure a new disk drive into a CentOS system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |