gnuWorldOrder_12x17 episode artwork

EPISODE · Apr 23, 2018

gnuWorldOrder_12x17

from GNU World Order Linux Cast · host Klaatu

Klaatu continues his tour of all the little packages that are installed on your Linux box. In this episode: JFS, kbd utils, kmod, less, lha and lrzip compression showdown, libcgroup, libgudev, lilo, logrotate, and LVM. Since setting up an array of drives often happens when you are installing an OS, it's worth noting up front that I recommend not attempting to use your installer's LVM setup tool, since, as far as I have seen, they are generally unholy messes. What I do is install the OS on a single LVM-enabled drive, and then add more drives with LVM post facto. Therefore, the starting point of this tutorial is: You have Linux installed on a drive, which is a single LVM volume group. If you have that, boot into your OS, and begin: 1. Partition your un-used hard drive. Assuming you have only two drives in your machine, let's call the first /dev/sdX and the second /dev/sdY (in reality, the values are probably sda and sdb, but to protect you from copy-paste disasters, I use placeholders). First, find out how big your disk is: ` # parted /dev/sdY print | grep Disk ` 2. For the sake of this example, let's say your drive is 1200100MB (1TB) in size. Create a partition that spans the whole drive: ` # parted /dev/sdY mkpart primary 1 1200100 ` 3. Flag it as an available entity in your storage pool. ` # pvcreate /dev/sdY1 ` 4. OK, now you have a drive prepped for use, but we should pause and look at our imaginary setup. In order to add this new drive to an LVM volume group, we need to know what volume groups we have. Your OS installer might have created this for you, or it might be something you very consciously designed yourself. Either way, you can see what you have available: ` # vgdisplay storage ` 5. OK, so we have a volume group called storage. Currently, we happen to know that storage contains only your first drive; the one that you installed your OS onto. But you want to make that bigger by adding a second drive to it. This is called extending your volume group. ` # vgextend storage /dev/sdY1 ` 6. Now we have a pool that has access to two partitions, but we are still not actually using the second partition. A volume group contains logical volumes, and it is to those volumes that you can add disk space by drawing from the available disks in the group. To check what logical volumes you have: ` # lvdisplay ` To check physical volumes for size: ` # pvdisplay ` 7. Armed with a mental map of how your partitions and system are each laid out, you can now extend the logical volume. Let's say that your installer placed /home into its own partition. You would see it as a logical volume, and you can extend its size: ` # lvextend -L +999G /dev/storage/home ` That would, as you can probably guess from the command itself, extend the logical volume containing your home folders by 999Gb. 8. Well, almost anyway. It has extended the space available to the logical volume, but it has not actually stretched the file system across all that new space yet. To make all that extra space readable and writable, you must resize it: ` # resize2fs /dev/storage/home ` Verify what you have just done: ` # df -h /home 1889T ` Your home directory is now nearly 2TB in size, and the fact that the file system spans two separate physical volumes is entirely transparent to the OS. shasum -a256=27e164d61163394c5db669002b14237a87a58f8dfbe01e5b8dfcbc36f265a341

NOW PLAYING

gnuWorldOrder_12x17

0:00 0:00

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

Eat to Live Jenna Fuhrman, Dr. Fuhrman Our health is our most precious gift and smart nutrition can change your life. Each month, join Dr. Fuhrman and his daughter, Jenna Fuhrman as they discuss important topics in the world of nutrition. Eat to Live will change the way you eat and think about food. French Your Way Jessica: Native French teacher founder of French Your Way Boost your French listening skills and test your comprehension with this one of a kind series of podcasts. Get the chance to listen to a real conversation between native speakers talking at normal speed AND customise your learning experience through carefully designed sets of questions (2 levels of difficulty) available for download at www.frenchvoicespodcast.com. All interviews also come with the transcript. French teacher Jessica interviews native speakers of French from around the world who share a bit of their life and passion. Where else would you meet in one same place a French yoga teacher based in Melbourne, a soap manufacturer from Provence, or a couple cycling around the world? HOMELAND HOMELAND The Church is a body not a building. It's the bride of Jesus Christ! Jesus is coming back for a mature bride. That means it's time for the church of Jesus Christ to move from milk to meat. This is the hour of maturity!HOMELAND is an announcement that the church is being set free. Only the church has the ability to transform the world. The kingdom's of this world will become the kingdoms of our Lord and Savior!All of creation has been waiting for this moment! Sons and daughters of God are rising up and taking their seat! XXX Tech by SOVRYN Dr. Brian Sovryn The crossroads between technology, sensuality, and metaphysics - and the longest running anarchist podcast in the world! Brought to you by Dr. Brian Sovryn.

Frequently Asked Questions

How long is this episode of GNU World Order Linux Cast?

Episode duration information is not available.

When was this GNU World Order Linux Cast episode published?

This episode was published on April 23, 2018.

What is this episode about?

Klaatu continues his tour of all the little packages that are installed on your Linux box. In this episode: JFS, kbd utils, kmod, less, lha and lrzip compression showdown, libcgroup, libgudev, lilo, logrotate, and LVM. Since setting up an array of...

Can I download this GNU World Order Linux Cast episode?

Yes, you can download this episode by clicking the download button on the episode player, or subscribe to the podcast in your preferred podcast app for automatic downloads.
URL copied to clipboard!