Skip to Content
Linux Administration Cookbook
book

Linux Administration Cookbook

by Adam K. Dean
December 2018
Beginner
826 pages
22h 54m
English
Packt Publishing
Content preview from Linux Administration Cookbook

Getting ready

For this section, we're going to use the second disk in our system (it will probably be sdc on yours).

Connect to your centos1 VM and check that another disk is available to work with.

If you've come straight from the last section, your lsblk might look like the following:

$ lsblkNAME                    MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTsda                       8:0    0   40G  0 disk ├─sda1                    8:1    0    1M  0 part ├─sda2                    8:2    0    1G  0 part /boot└─sda3                    8:3    0   39G  0 part   ├─VolGroup00-LogVol00 253:0    0 37.5G  0 lvm  /  └─VolGroup00-LogVol01 253:1    0  1.5G  0 lvm  [SWAP]sdb                       8:16   0    2G  0 disk ├─sdb1                    8:17   0    1G  0 part /mnt/home2└─sdb2                    8:18   0 1023M  0 part sdc                       8:32   0    2G  0 disk 

We're going to use sdc here.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Linux Security Cookbook - Second Edition

Practical Linux Security Cookbook - Second Edition

Tajinder Kalsi
Mastering Linux Administration

Mastering Linux Administration

Alexandru Calcatinge, Julian Balog

Publisher Resources

ISBN: 9781789342529Supplemental Content