Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Linux Administration on Azure

You're reading from   Hands-On Linux Administration on Azure Explore the essential Linux administration skills you need to deploy and manage Azure-based workloads

Arrow left icon
Product type Paperback
Published in Aug 2018
Publisher Packt
ISBN-13 9781789130966
Length 410 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Frederik Vos Frederik Vos
Author Profile Icon Frederik Vos
Frederik Vos
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Exploring the Azure Cloud FREE CHAPTER 2. Getting Started with the Azure Cloud 3. Basic Linux Administration 4. Managing Azure 5. Advanced Linux Administration 6. Managing Linux Security and Identities 7. Deploying Your Virtual Machines 8. Exploring Continuous Configuration Automation 9. Container Virtualization in Azure 10. Working with Azure Kubernetes Service 11. Troubleshooting and Monitoring Your Workloads 12. Assessments 13. Other Books You May Enjoy

Chapter 5: Advanced Linux Administration

  1. The Linux kernel.
  2. Systemd-udevd.
  3. ls /sys/class/net and ip link show.
  4. The Azure agent for Linux.
  5. ls /sys/class/net and lsblk. The lsscsi command can be helpful as well.
  6. It is a good idea to use RAID0 to improve performance and allow improved throughput compared to using just a single disk.
  7. At the filesystem level using BTRFS or ZFS, or at the block level using Linux Software Raid (mdadm) or LVM (not covered in this chapter).
  8. Create the raid, format it, and make a mount point:
mdadm --create /dev/md127 --level 0 --raid-devices 3 \
/dev/sd{c,d,e}
mkfs.xfs -L myraid /dev/md127

mkdir /mnt/myraid

Create a unit file, /etc/systemd/system/mnt-myraid.mount:

[Unit]
Description = myRaid volume

[Mount]
Where = /mnt/myraid
What = /dev/md127
Type = xfs

[Install]
WantedBy = local-fs.mount

Start and enable it at boot:

systemctl enable --now mnt-myraid.mount...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image