This shows that the disk drive represented by /dev/sda is itself divided into 2 partitions, represented by /dev/sda1 and /dev/sda2.Īnother option is to install and run the Hardware Browser. 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 the chapter entitled Adding a New Disk to a Fedora 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 lv_root. 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 lv_root and lv_swap that are used to store the / file system and swap partition respectively.
When Fedora is installed a volume group is created and called vg_ hostname, where hostname is the host name of the Fedora system. This approach will be covered in this chapter of Fedora Linux Essentials.Ī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 Fedora Linux system.