Why did you do this to me?!

Size: px
Start display at page:

Download "Why did you do this to me?!"

Transcription

1

2 Systemd

3 Why did you do this to me?! 3

4 1996: Linux Distros adopt SysV-init 2001: LSB standardizes init scripts 2010: Mobile Distros and Parallel Boot : Still in Good Shape? 4

5 What's wrong with sysvinit? Nothing But it could do many things better It's slow It's hard to parallelize Too coarse synchronization points LSB dependencies only do what you need 50% of the time Have you ever tried to kill all processes spawned by a user session? No automatic restart of services No unified logging No unified resource limit handling 5

6 Why systemd? Considered several alternatives, systemd was selected for several reasons It certainly polarizes the users today Some of that is certainly because it's new It seems to be the solution most distros are standardizing on 6

7 Hard to like systemd, then? It isn't, once you get to know to it better It changes a lot of things You need to learn a lot of new commands Let's be honest, many of them do things you cant do with sysvinit Some time-honored features (like inittab) are gone It is an intrusive change, and fixing up the fallout has been a significant amount of work Backward compatibility is not high on the list of development priorities We provide some level of backward compatibility 7

8 Systemd Concepts

9 Generic concepts systemd replaces the traditional init process It's not one, but a collection of DBus services Activate services on demand rather than up-front One-stop for boot, shutdown and power management integrated logging unified command line tools for almost everything automatic restart of services cgroups and security compartments for everything multi-seat hosts handling of ACPI power management events 9

10 Unit files Unit files describe targets (i.e. synchonization points) and services (what used to be init scripts) Runlevels are replaced by targets Runlevel 3: multi-user.target Runlevel 5: graphical.target Many of what LSB standard used is done in unit files Plus a few more, for instance with LSB you could never say my service needs to be started before kdm 10

11 Sessions and Seats A seat is the set of hardware available at one work place (graphics card, keyboard, mouse, usb devices) A session is created once a user is logged on, using a specific seat Only one session can be active per seat Default seat (for Linux consoles) is seat0 Hardware is assigned to seats This replaces ConsoleKit 11

12 Sample service unit file: sshd.service # This is a comment! [Unit] Description=OpenSSH Daemon After=network.target LSB Analogs/Equivalents [Unit] # Description:... # Required-Start: $network [Service] EnvironmentFile=/etc/sysconfig/ssh ExecStartPre=/usr/sbin/sshd-gen-keysstart ExecStart=/usr/sbin/sshd -D $SSHD_OPTS ExecReload=/bin/kill -HUP $MAINPID KillMode=process Restart=always [Service] # <- All of these used to be # <- open coded in the init script # <# <# <Automated Restart: didn't exist previously [Install] WantedBy=multi-user.target [Install] # Default-Start:

13 Cgroups for Everything Systemd puts each service and each session into a separate cgroup Sessions also get assigned an audit ID matching their cgroup ID You can restrict these cgroups in all the way the kernel supports IO bandwidth, memory or CPU consumption, etc 13

14 Getting Started with Systemd Tools

15 Very Rough Cheat Sheet The following overview is far from exhaustive This is just meant as a starting point to help you exploring systemd and its tools 15

16 Service status You want a list of all started services and their status systemctl You want the status of service foobar: systemctl status foobar.service $ systemctl status icecream.service Loaded: Active: CGroup: icecream.service LSB: icecc loaded (/etc/init.d/icecream) active (running) since Fri, :27:31 CEST; 4 days ago name=systemd:/system/icecream.service 4786 /usr/sbin/icecc-scheduler -d -l /var/log/icecc_sch /usr/sbin/iceccd -d -l /var/log/iceccd --nice 5 -u... Apr 19 09:27:31 foobar systemd[1]: Starting LSB: icecc... Apr 19 09:27:31 foobar icecream[4777]: Starting Distribut... Apr 19 09:27:31 foobar systemd[1]: Started LSB: icecc. 16

17 Start / Stop / Enable Services systemctl <verb> foobar.service Where <verb> is one of start, stop, restart, tryrestart, reload systemctl kill foobar.service Kill all processes in the cgroup of this service systemctl <verb> foobar.service Where <verb> is one of enable, disable 17

18 We'll still be friends, pstree # systemd-cgls system 1 /sbin/init showopts icecream.service 4786 /usr/sbin/icecc-scheduler -d -l /var/log/icecc_scheduler 4791 /usr/sbin/iceccd -d -l /var/log/iceccd --nice 5 -u icecream -b /... colord.service 1677 /usr/lib/colord udisks2.service 1498 /usr/lib/udisks2/udisksd --no-debug rtkit-daemon.service 1353 /usr/lib/rtkit/rtkit-daemon upower.service 1161 /usr/lib/upower/upowerd accounts-daemon.service 1125 /usr/lib/accounts-daemon xdm.service 964 /usr/sbin/gdm 966 /usr/lib/gdm/gdm-simple-slave --display-id /org/gnome/displayman /usr/bin/xorg :0 -background none -verbose -auth /run/gdm/auth-f gdm-session-worker [pam/gdm-password] 18

19 Session Handling List all sessions: loginctl [list sessions] Show session details: loginctl session status <session number> Forcefully terminate a session: loginctl kill session kill user terminate seat <name> 19

20 Session Handling, continued 3 mkraft (7025) Since: Thu :37:59 CEST; 56min ago Leader: 2303 (sddm helper) Seat: seat0; vc7 Display: :0 Service: sddm; type x11; class user Desktop: KDE State: active Unit: session 3.scope 2303 /usr/lib/sddm/sddm helper socket /tmp/sddm authb22d1e /bin/sh /usr/bin/startkde 2358 /usr/bin/dbus launch sh syntax exit with session /usr /bin/dbus daemon fork print pid 5 print address /usr/bin/ssh agent /usr/bin/gpg agent sh daemon kee /usr/bin/gpg agent sh daemon keep display write e /usr/lib64/libexec/kf5/start_kdeinit kded +kcminit_star kdeinit5: Running klauncher [kdeinit5] fd= kded5 [kdeinit5] 2407 /usr/bin/kaccess 2415 kwrapper5 /usr/bin/ksmserver 2416 /usr/bin/ksmserver 2422 /usr/bin/kactivitymanagerd start daemon 2424 /usr/bin/kglobalaccel /usr/lib/dconf service 2437 kwin_x /usr/bin/baloo_file 20

21 And it comes with lots more stuff See how your configuration differs from the vendor defaults systemd delta Analyze boot times and bottlenecks systemd analyze 21

22 SUSE backward compatibility insserv, chkconfig and /sbin/service will still be supported Old style rcfoobar start redirected to new systemd tools automatically LSB compatibility for targets like $network... still available And of course init scripts are still supported! 22

23 References Systemd on SLE12 : Check our official documentation systemd Upstream: Check manpages, they are extremely verbose If something is missing there, please report a bug! 23

24 BTRFS

25 Why Btrfs? Features! Scalability (16 EiB) including effective shrink Supports offline in-place migration from ext2, ext3 Support for Copy on Write Powerful Snapshot capabilities Other Capabilities: SSD optimization (TRIM support) Data integrity (checksums) 25

26 Btrfs Functionality Maturity Today Future Copy on Write Inode Cache Snapshots Auto Defrag Subvolumes RAID Metadata Integrity Compression Data Integrity Send / Receive Online metadata scrubbing Hot add / remove Manual Defragmentation Seeding devices Manual Deduplication Multiple Devices Quota Groups Big Metadata 26

27

28 Btrfs Disk Space And Extents # btrfs filesystem df / Data: total=14.50gb, used=12.20gb System, DUP: total=8.00mb, used=12.00kb System: total=4.00mb, used=0.00 Metadata, DUP: total=1.75gb, used=904.11mb # df h / Filesystem /dev/sda7 # Size 20G Used Avail Use% Mounted on 14G 4.3G 77% / Disk utilization 12,2GB + 2x 0,9GB + = 14 GB 29

29 Technology Overview Subvolume Normal Filesystem With Subvolumes FSTREE FSTREE / /usr /opt SubVols / / opt / usr 30

30 Technology Overview Subvolume A complete filesystem tree Usually appears as a sub-directory in the parent fs Can be mounted separately Not just a subdirectory Simliar to two foreign filesystems, which are using the same pool of data blocks (and other infrastructure) Benefits different parts (subvolumes) of a filesystem can have different attributes, such as quotas or snapshotting rules Copy on Write is possible across volumes Basic commandline management btrfs subvolume 31

31 Technology Overview Snapshots Copy on Write on a full subvolume tree instead of a single file only Every snapshot is again a subvolume of its own Snapshots (as subvolumes) can be mounted and accessed as every other subvolume Snapshots can be created read-only Basic commandline management btrfs subvolume snapshot 32

32 Requirements Single file rollback ( undochange ) Subvolume based rollback User interface: cmdline and YaST2 integration Snapshots for YaST2 and zypper activities Automated snapshots (time based) Automated snapshot cleanup (time/number based) Allow to work with several kernels 33

33 Snapshotting / Challenges Multiple Kernels separate /boot zypper integration System integrity and Compliance Don't allow to roll back certain log-files etc. Solution: subvolumes instead of directories for /tmp /opt /srv /var/spool /var/log /var/run /var/tmp 34

34 Snapshots in SUSE Linux Enterprise 11 SP2 Snapshotting / We have decided to go the way of / in a subvolume Disadvantages of this model are mitigated by Support from the YaST2 Partitioner to install and configure Using set-default for the root filesystem to make migration as smooth as possible enable use of normal rescue systems 35

35 Snapshotting / Partitions / Subvolumes 36

36 snapper (1) cmdline tool to manage snapshots Commands snapper list-configs snapper create-config <subvolume> snapper list snapper create snapper modify <number> snapper delete <number> snapper status <number1>..<number2> snapper diff <number1>..<number2> [files] snapper undochange <number1>..<number2> [files] snapper cleanup <cleanup-algorithm> 37

37 snapper (2) Configuration files: /etc/snapper/configs/<per subvol> /etc/sysconfig/snapper Time based snapshots Rules for deleting snapshots automatically 38

38 snapper example :33 (0) ~ ios root (0) # snapper list Type # Pre # Date Cleanup Description single 0 current single 1 Wed 17 Aug :30:01 PM CEST timeline timeline pre 2 Wed 17 Aug :31:54 PM CEST number yast lan post 3 2 Wed 17 Aug :32:46 PM CEST number pre 4 Wed 17 Aug :32:48 PM CEST number yast lan post 5 4 Wed 17 Aug :32:59 PM CEST number pre 6 Wed 17 Aug :36:10 PM CEST number zypp(zypper) post 7 6 Wed 17 Aug :36:11 PM CEST number pre 8 Wed 17 Aug :36:16 PM CEST number zypp(zypper) post 9 8 Wed 17 Aug :36:19 PM CEST number pre 10 Wed 17 Aug :36:26 PM CEST number yast printer post Wed 17 Aug :37:21 PM CEST number single 12 Wed 17 Aug :30:01 PM CEST timeline timeline single 13 Wed 17 Aug :30:01 PM CEST timeline timeline single 14 Wed 17 Aug :30:01 PM CEST timeline timeline single 15 Wed 17 Aug :30:01 PM CEST timeline timeline single 16 Wed 17 Aug :30:01 PM CEST timeline timeline single 17 Wed 17 Aug :30:01 PM CEST timeline timeline single 18 Wed 17 Aug :30:01 PM CEST timeline timeline single 19 Thu 18 Aug :30:02 AM CEST timeline timeline single 20 Thu 18 Aug :30:01 PM CEST timeline timeline 39

39 snapper configuration :45 (0) ~ #... ios root # cat /etc/snapper/configs/root # cleanup hourly snapshots after some time TIMELINE_CLEANUP="yes" # subvolume to snapshot SUBVOLUME="/" # limits for timeline cleanup TIMELINE_MIN_AGE="1800" # filesystem type TIMELINE_LIMIT_HOURLY="10" FSTYPE="btrfs" TIMELINE_LIMIT_DAILY="10" TIMELINE_LIMIT_MONTHLY="10" # run daily number cleanup TIMELINE_LIMIT_YEARLY="10" NUMBER_CLEANUP="yes" # limit for number cleanup # cleanup empty pre post pairs NUMBER_MIN_AGE="1800" EMPTY_PRE_POST_CLEANUP="yes" NUMBER_LIMIT="100" # limits for empty pre post pair cleanup # create hourly snapshots TIMELINE_CREATE="yes" EMPTY_PRE_POST_MIN_AGE="1800" #... 40

40 ZYpp Integration ZYpp plugin for calling snapper on specific actions Uses pairs of snapshots: one snapshot on ZYpp transaction start one snapshot on ZYpp transaction stop Knowledge about pairs is stored in the snapshot metadata :34 (0) ~ ios root (0) # cat /.snapshots/8/info.xml <?xml version="1.0"?> <snapshot> <type>pre</type> <num>8</num> <date> :36:16</date> <description>zypp(zypper)</description> <cleanup>number</cleanup> </snapshot> :34 (0) ~ ios root (0) # cat /.snapshots/9/info.xml <?xml version="1.0"?> <snapshot> <type>post</type> <num>9</num> <date> :36:19</date> <pre_num>8</pre_num> <cleanup>number</cleanup> </snapshot> 41

41 YaST2 integration Similar to ZYpp Snapshot-Pair with every start of a YaST module Description covers the name of the module :32 (0) ~ ios root (0) # cat /.snapshots/10/info.xml <?xml version="1.0"?> <snapshot> <type>pre</type> <num>10</num> <date> :36:26</date> <description>yast printer</description> <cleanup>number</cleanup> </snapshot> :32 (0) ~ ios root (0) # cat /.snapshots/11/info.xml <?xml version="1.0"?> <snapshot> <type>post</type> <num>11</num> <date> :37:21</date> <pre_num>10</pre_num> <cleanup>number</cleanup> </snapshot> 42

42 Managing Difference With YaST2 43

43 Time for Questions

44

45 Appendix

46 Overriding defaults for a service With sysvinit, if you want to do anything more advanced that enable/disable a service, you need to edit the init script This doesn't go well with security updates Systemd supports that nicely Assume you want to modify settings for foobar.service Create /etc/systemd/system/foobar.service.d Drop a file named mysettings.conf in there: [Service] InaccessibleDirectories=/precious MemoryLimit=1G 47

47 Improved Security for Everything Restrict services and sessions using namespaces Linux kernel namespaces are the technology underlying Linux containers blacklist directories require private /tmp directory whitelist devices to which access is granted Specify user/group to run as Assign Linux kernel capabilities (CAP_FOOBAR) Set ulimit values 48

48

init rides the rocket: systemd is here Olaf Kirch

init rides the rocket: systemd is here Olaf Kirch init rides the rocket: systemd is here Olaf Kirch Director SUSE Linux Enterprise okir@suse.com 2 Love it or hate it? 3 1996: Linux Distros adopt SysV-init 4 2001: LSB standardizes init scripts 5 2010:

More information

Linux Bootloaders on System z Current and Future Implementations

Linux Bootloaders on System z Current and Future Implementations Linux Bootloaders on System z Current and Future Implementations Session 16432 Marcus Kraft Product Manager mkraft@suse,com Agenda Boot Process on System Z Initial Program Load (IPL) zipl and limitations

More information

Hands-on with Btrfs. Course ATT1800 Version Lecture Manual September 6,2012

Hands-on with Btrfs. Course ATT1800 Version Lecture Manual September 6,2012 Course ATT1800 Version 1.0.0 Lecture Manual September 6,2012 Proprietary Statement Copyright 2012 Novell, Inc. All rights reserved. Novell, Inc., has intellectual property rights relating to technology

More information

Alternatives to Solaris Containers and ZFS for Linux on System z

Alternatives to Solaris Containers and ZFS for Linux on System z Alternatives to Solaris Containers and ZFS for Linux on System z Cameron Seader (cs@suse.com) SUSE Tuesday, March 11, 2014 Session Number 14540 Agenda Quick Overview of Solaris Containers and ZFS Linux

More information

systemd: Converting sysvinit scripts

systemd: Converting sysvinit scripts systemd: Converting sysvinit scripts Welcome back for another installment of the systemd series. Throughout this series, we discuss ways to use systemd to understand and manage your system. This article

More information

Before We Start... 1

Before We Start... 1 1 Before We Start... Isn't One Type of Car Enough? Functionality Efficiency Performance Emotions Reliability? MgE Functionality Efficiency Performance Emotions C. Nocke 2 Isn't One Type of filesystem Enough?

More information

systemd: What to Know and How to Transition

systemd: What to Know and How to Transition systemd: What to Know and How to Transition Tom Sorensen Solutions Architect, Red Hat 2 Agenda 4 What is systemd? What does systemd offer? How does this affect me? How do I transition to systemd? What

More information

Upgrading to SUSE Linux Enterprise 12 SLE11 to SLE12 Migration. Thorsten Kukuk Senior Architect SLES

Upgrading to SUSE Linux Enterprise 12 SLE11 to SLE12 Migration. Thorsten Kukuk Senior Architect SLES Upgrading to SUSE Linux Enterprise 12 SLE11 to SLE12 Migration Thorsten Kukuk Senior Architect SLES kukuk@suse.com Overview General - Customer Dreams and Reality Supported Upgrade Scenarios Upgrade or

More information

Course 55187B Linux System Administration

Course 55187B Linux System Administration Course Outline Module 1: System Startup and Shutdown This module explains how to manage startup and shutdown processes in Linux. Understanding the Boot Sequence The Grand Unified Boot Loader GRUB Configuration

More information

Exam LFCS/Course 55187B Linux System Administration

Exam LFCS/Course 55187B Linux System Administration Exam LFCS/Course 55187B Linux System Administration About this course This four-day instructor-led course is designed to provide students with the necessary skills and abilities to work as a professional

More information

What's New with SUSE Linux Enterprise Server for z Systems

What's New with SUSE Linux Enterprise Server for z Systems What's New with SUSE Linux Enterprise Server for z Systems Ihno Krumreich Projectmanager Ihno@suse.de August 10th, 2015 Session 17484 SUSE Linux Enterprise A highly reliable, scalable and secure server

More information

At course completion. Overview. Audience profile. Course Outline. : 55187B: Linux System Administration. Course Outline :: 55187B::

At course completion. Overview. Audience profile. Course Outline. : 55187B: Linux System Administration. Course Outline :: 55187B:: Module Title Duration : 55187B: Linux System Administration : 4 days Overview This four-day instructor-led course is designed to provide students with the necessary skills and abilities to work as a professional

More information

"Charting the Course... MOC B: Linux System Administration. Course Summary

Charting the Course... MOC B: Linux System Administration. Course Summary Description Course Summary This four-day instructor-led course is designed to provide students with the necessary skills and abilities to work as a professional Linux system administrator. The course covers

More information

An Introduction to systemd. Erik Johnson

An Introduction to systemd. Erik Johnson An Introduction to systemd Erik Johnson What is systemd? Replacement for sysvinit Manages your services/daemons Integrated logging (journal) Easy-to-write service files (units) Aims to standardize management

More information

<Insert Picture Here> Btrfs Filesystem

<Insert Picture Here> Btrfs Filesystem Btrfs Filesystem Chris Mason Btrfs Goals General purpose filesystem that scales to very large storage Feature focused, providing features other Linux filesystems cannot Administration

More information

<Insert Picture Here> Filesystem Features and Performance

<Insert Picture Here> Filesystem Features and Performance Filesystem Features and Performance Chris Mason Filesystems XFS Well established and stable Highly scalable under many workloads Can be slower in metadata intensive workloads Often

More information

Singularity CRI User Documentation

Singularity CRI User Documentation Singularity CRI User Documentation Release 1.0 Sylabs Apr 02, 2019 CONTENTS 1 Installation 1 1.1 Overview................................................. 1 1.2 Before you begin.............................................

More information

1 LINUX KERNEL & DEVICES

1 LINUX KERNEL & DEVICES GL-250: Red Hat Linux Systems Administration Course Length: 5 days Course Description: The GL250 is an in-depth course that explores installation, configuration and maintenance of Linux systems. The course

More information

Beyond Init: systemd

Beyond Init: systemd LinuxKongress 2010 lennart@poettering.net September 2010 Who Am I? Software Engineer at Red Hat, Inc. Developer of PulseAudio, Avahi and a few other Free Software projects http://0pointer.de/lennart/ lennart@poettering.net

More information

RED HAT ENTERPRISE LINUX 7 BETA

RED HAT ENTERPRISE LINUX 7 BETA ENTERPRISE LINUX 7 BETA Michael Lessard, RHCA Senior Solutions Architect michaellessard March, 2014 1 Agenda 2 Red Hat Enterprise Linux 7 Key facts What s changed? Enhancements Summary Red Hat Enterprise

More information

systemd our next-generation init system PABLO N. HESS Instructor Red Hat São Paulo December 2011

systemd our next-generation init system PABLO N. HESS Instructor Red Hat São Paulo December 2011 systemd our next-generation init system PABLO N. HESS Instructor Red Hat São Paulo December 2011 General info & History Authors: Lennart Poettering (Red Hat) Pulseaudio, Avahi Kay Sievers (opensuse) Udev

More information

The failure of Operating Systems,

The failure of Operating Systems, The failure of Operating Systems, and how we can fix it. Glauber Costa Lead Software Engineer August 30th, 2012 Linuxcon Opening Notes I'll be doing Hypervisors vs Containers here. But: 2 2 Opening Notes

More information

The Linux IPL Procedure

The Linux IPL Procedure The Linux IPL Procedure SHARE - Tampa February 13, 2007 Session 9274 Edmund MacKenty Rocket Software, Inc. Purpose De-mystify the Linux boot sequence Explain what happens each step of the way Describe

More information

Systemd. The giant monster that ate Linux

Systemd. The giant monster that ate Linux Systemd The giant monster that ate Linux SysV Init is comfy Dates back to AT&T System III from 1982 Modified up until AT&T Sys V in 1983 systemd is Easy Systemd Managing The System System Service Management

More information

Open Source Storage. Ric Wheeler Architect & Senior Manager April 30, 2012

Open Source Storage. Ric Wheeler Architect & Senior Manager April 30, 2012 Open Source Storage Architect & Senior Manager rwheeler@redhat.com April 30, 2012 1 Linux Based Systems are Everywhere Used as the base for commercial appliances Enterprise class appliances Consumer home

More information

Ubuntu Manual Fsck Must Performed Debian

Ubuntu Manual Fsck Must Performed Debian Ubuntu Manual Fsck Must Performed Debian Nearly all well established filesystem types have their fsck tool. have the option to press ^D (Ctrl + D) to continue with an unchecked filesystem or run fsck manually.

More information

FUT20719 SUSE Linux Enterprise Server for System z. Building enterprise IT with SUSE on IBM Mainframes

FUT20719 SUSE Linux Enterprise Server for System z. Building enterprise IT with SUSE on IBM Mainframes FUT20719 SUSE Linux Enterprise Server for System z Building enterprise IT with SUSE on IBM Mainframes Marcus Kraft Senior Product Manager mkraft@suse.com 2015-10-16 SUSE Linux Enterprise A highly reliable,

More information

More on file systems, Booting Todd Kelley CST8177 Todd Kelley 1

More on file systems, Booting Todd Kelley CST8177 Todd Kelley 1 More on file systems, Booting Todd Kelley kelleyt@algonquincollege.com CST8177 Todd Kelley 1 bind mounts quotas Booting process and SysVinit Installation Disk rescue mode 2 A bind mount is used to mount

More information

Vmware Workstation Delete Snapshot Cleaning Up Deleted Files

Vmware Workstation Delete Snapshot Cleaning Up Deleted Files Vmware Workstation Delete Snapshot Cleaning Up Deleted Files When deleting snapshots, you see the warning: Unable to clean up deleted files. There is not enough space on the file system for the selected

More information

Linux File Systems: Challenges and Futures Ric Wheeler Red Hat

Linux File Systems: Challenges and Futures Ric Wheeler Red Hat Linux File Systems: Challenges and Futures Ric Wheeler Red Hat Overview The Linux Kernel Process What Linux Does Well Today New Features in Linux File Systems Ongoing Challenges 2 What is Linux? A set

More information

More on file systems, Booting Todd Kelley CST8177 Todd Kelley 1

More on file systems, Booting Todd Kelley CST8177 Todd Kelley 1 More on file systems, Booting Todd Kelley kelleyt@algonquincollege.com CST8177 Todd Kelley 1 bind mounts quotas Booting process and SysVinit Installation Disk rescue mode 2 A bind mount is used to mount

More information

systemd unit le basics

systemd unit le basics systemd unit le basics Welcome back to the systemd series, where we explore more about how this central part of your Fedora system works. This installment talks about unit les. As a long-time Fedora user,

More information

Advanced Unix System Administration

Advanced Unix System Administration Advanced Unix System Administration Lecture 5 February 14, 2007 Steven Luo Shared Libraries The dynamic linker Binaries have a symbol table containing functions, etc. and

More information

OVERDRIVE Quick Start Guide. v.1.0

OVERDRIVE Quick Start Guide. v.1.0 OVERDRIVE 1000 Quick Start Guide v.1.0 TABLE OF CONTENTS 1. Introduction 3 2. Connections 3 3. Console Connection 4 3.1 Windows 4 3.2 Linux 5 3.3 Mac OS X 6 3.4 Power-up Procedure 6 3.5 Logging In 9 4.

More information

Advanced SUSE Linux Enterprise Server Administration (Course 3038) Chapter 8 Perform a Health Check and Performance Tuning

Advanced SUSE Linux Enterprise Server Administration (Course 3038) Chapter 8 Perform a Health Check and Performance Tuning Advanced SUSE Linux Enterprise Server Administration (Course 3038) Chapter 8 Perform a Health Check and Performance Tuning Objectives Find Performance Bottlenecks Reduce System and Memory Load Optimize

More information

SUSE Linux Enterprise Server for System z SUSE Update for CAVMEN 2016

SUSE Linux Enterprise Server for System z SUSE Update for CAVMEN 2016 SUSE Linux Enterprise Server for System z SUSE Update for CAVMEN 2016 Don Vosburg Systems Engineer dvosburg@suse.com SUSE and IBM z Systems 15 Years! 2 Open Mainframe Project https://www.openmainframeproject.org/

More information

"Charting the Course... Enterprise Linux System Administration Course Summary

Charting the Course... Enterprise Linux System Administration Course Summary Course Summary Description This is an in-depth course that explores installation, configuration and maintenance of Linux systems. The course focuses on issues universal to every workstation and server.

More information

Oracle 1Z Enterprise Linux System Administration. Download Full Version :

Oracle 1Z Enterprise Linux System Administration. Download Full Version : Oracle 1Z0-403 Enterprise Linux System Administration Download Full Version : http://killexams.com/pass4sure/exam-detail/1z0-403 B. It does not provide any protection to remote X connections. C. It allows

More information

How To Resize ext3 Partitions Without Losing Data

How To Resize ext3 Partitions Without Losing Data By Falko Timme Published: 2007-01-07 17:12 How To Resize ext3 Partitions Without Losing Data Version 1.0 Author: Falko Timme Last edited 12/31/2006 This article is about

More information

GL-280: Red Hat Linux 7 Update. Course Description. Course Outline

GL-280: Red Hat Linux 7 Update. Course Description. Course Outline GL-280: Red Hat Linux 7 Update Course Description This is a differences course that focuses on the new technologies and features that made their appearance in Red Hat Enterprise Linux v7. It is intended

More information

8 ISSUE 02 SPECIAL EDITION. Installing opensuse Ready to get started? This article shows you how to install opensuse from the disc

8 ISSUE 02 SPECIAL EDITION. Installing opensuse Ready to get started? This article shows you how to install opensuse from the disc Installing opensuse 11.0 Ready to get started? This article shows you how to install opensuse from the disc included with this special edition. BY MARCEL HILZINGER he two-sided DVD included with this special

More information

MODERN FILESYSTEM PERFORMANCE IN LOCAL MULTI-DISK STORAGE SPACE CONFIGURATION

MODERN FILESYSTEM PERFORMANCE IN LOCAL MULTI-DISK STORAGE SPACE CONFIGURATION INFORMATION SYSTEMS IN MANAGEMENT Information Systems in Management (2014) Vol. 3 (4) 273 283 MODERN FILESYSTEM PERFORMANCE IN LOCAL MULTI-DISK STORAGE SPACE CONFIGURATION MATEUSZ SMOLIŃSKI Institute of

More information

SUSE Linux Enterprise 12 Service-Pack Migration What is possible and what supported

SUSE Linux Enterprise 12 Service-Pack Migration What is possible and what supported SUSE Linux Enterprise 12 Service-Pack Migration What is possible and what supported Thorsten Kukuk Senior Architect SUSE Linux Enterprise Server kukuk@suse.com Overview The plan What is supported Definitions

More information

Linux Mint Error Mounting Mount Exited With Exit Code 13

Linux Mint Error Mounting Mount Exited With Exit Code 13 Linux Mint Error Mounting Mount Exited With Exit Code 13 "Error mounting /dev/sdb1 at /media/fuzzy27/my Book: Command-line 'mount -t "ntfs" -o "/dev/sdb1" "/media/fuzzy27/my Book"' exited with non-zero

More information

Services, logging, accounting Todd Kelley CST8177 Todd Kelley 1

Services, logging, accounting Todd Kelley CST8177 Todd Kelley 1 Services, logging, accounting Todd Kelley kelleyt@algonquincollege.com CST8177 Todd Kelley 1 services syslog logger command line utility psacct lastcomm ac, last, lastlog 2 chkconfig vs service (review)

More information

minit Felix von Leitner September 2004 minit

minit Felix von Leitner September 2004 minit minit Felix von Leitner felix-minit@fefe.de September 2004 minit What is this all about? This talk is about a new init program called minit. Several itches needed scratching: 1. Typical Linux distributions

More information

exam.30q. Number: Passing Score: 800 Time Limit: 120 min File Version: 1 LPI

exam.30q. Number: Passing Score: 800 Time Limit: 120 min File Version: 1 LPI 201-450.exam.30q Number: 201-450 Passing Score: 800 Time Limit: 120 min File Version: 1 LPI 201-450 LPIC-2 Exam 201, Part 1 of 2, version 4.5 Exam D QUESTION 1 Which of the following commands creates a

More information

So, why am I talking about Btrfs?

So, why am I talking about Btrfs? So, why am I talking about Btrfs? I've been using linux and its different filesystems since 1993 I've have been using ext2/ext3/ext4 for 20 years. But I worked at Network Appliance in 1997, and I've grown

More information

Manual File System Check Linux Command Line

Manual File System Check Linux Command Line Manual File System Check Linux Command Line The traditional Unix environment is a CLI (command line interface), where you To move around the file system you will use cd. Nearly every command and application

More information

Exam Linux-Praxis - 1 ( From )

Exam Linux-Praxis - 1 ( From  ) Exam Linux-Praxis - 1 ( From http://www.linux-praxis.de ) (1)Which of the following commands results in mailing the content of the current directory to Bob? A. mail Bob < ls B. ls > mail Bob C. ls mail

More information

Enterprise Linux System Administration

Enterprise Linux System Administration Enterprise Linux System Administration Course GL250, 5 Days, Hands-On, Instructor-Led Introduction The GL250 is an in-depth course that explores installation, configuration and maintenance of Linux systems.

More information

Enterprise Filesystems

Enterprise Filesystems Enterprise Filesystems Eric Sandeen Principal Software Engineer, Red Hat Feb 21, 2013 1 What We'll Cover Local Enterprise-ready Linux filesystems Ext3 Ext4 XFS BTRFS Use cases, features, pros & cons of

More information

Linux Files and the File System

Linux Files and the File System Linux Files and the File System 1. Files a. Overview A simple description of the UNIX system, also applicable to Linux, is this: "On a UNIX system, everything is a file; if something is not a file, it

More information

INTRODUCTION TO LINUX

INTRODUCTION TO LINUX INTRODUCTION TO LINUX REALLY SHORT HISTORY Before GNU/Linux there were DOS, MAC and UNIX. All systems were proprietary. The GNU project started in the early 80s by Richard Stallman Goal to make a free

More information

Please choose the best answer. More than one answer might be true, but choose the one that is best.

Please choose the best answer. More than one answer might be true, but choose the one that is best. Introduction to Linux and Unix - endterm Please choose the best answer. More than one answer might be true, but choose the one that is best. SYSTEM STARTUP 1. A hard disk master boot record is located:

More information

Automating Linux App Startup

Automating Linux App Startup Automating Linux App Startup David Boyes Session L55 2006 Sine Nomine Associates Agenda Runlevels, init, and symlinks, oh, my! Sequence of events during startup A sample application startup script Separating

More information

The Btrfs Filesystem. Chris Mason

The Btrfs Filesystem. Chris Mason The Btrfs Filesystem Chris Mason The Btrfs Filesystem Jointly developed by a number of companies Oracle, Redhat, Fujitsu, Intel, SUSE, many others All data and metadata is written via copy-on-write CRCs

More information

ENTERPRISE LINUX SYSTEM ADMINISTRATION

ENTERPRISE LINUX SYSTEM ADMINISTRATION ENTERPRISE LINUX SYSTEM ADMINISTRATION COURSE DESCRIPTION: The GL250 is an in-depth course that explores installation, configuration and maintenance of Linux systems. The course focuses on issues universal

More information

The Btrfs Filesystem. Chris Mason

The Btrfs Filesystem. Chris Mason The Btrfs Filesystem Chris Mason Btrfs Design Goals Broad development community General purpose filesystem that scales to very large storage Extents for large files Small files packed in as metadata Flexible

More information

Linux. An introduction. Aurélien Villani 01/2018

Linux. An introduction. Aurélien Villani 01/2018 Linux An introduction Aurélien Villani 01/2018 Linux? 2 References Somewhere on the baie-lgf, are some Linux books. 3 Linux? A kernel... 1991: released by Linus Torvalds, for fun 1993: 100 developers working

More information

Oracle Linux 7: System Administration Ed 2 Duration: 5 Days

Oracle Linux 7: System Administration Ed 2 Duration: 5 Days Oracle Linux 7: System Administration Ed 2 Duration: 5 Days The Oracle Linux 7: System Administration course covers a range of skills including installation, using the Unbreakable Enterprise Kernel, configuring

More information

Outline. Cgroup hierarchies

Outline. Cgroup hierarchies Outline 15 Cgroups 15-1 15.1 Introduction to cgroups v1 and v2 15-3 15.2 Cgroups v1: hierarchies and controllers 15-17 15.3 Cgroups v1: populating a cgroup 15-24 15.4 Cgroups v1: a survey of the controllers

More information

Quick Start Guide for Intel FPGA Development Tools on the Microsoft* Azure* Platform

Quick Start Guide for Intel FPGA Development Tools on the Microsoft* Azure* Platform Quick Start Guide for Intel FPGA Development Tools on the Microsoft* Azure* Platform Updated for Intel Quartus Prime Design Suite: 17.1 Subscribe Send Feedback Latest document on the web: PDF HTML Contents

More information

So, why am I talking about Btrfs?

So, why am I talking about Btrfs? So, why am I talking about Btrfs? I've been using linux and its different filesystems since 1993 I've have been using ext2/ext3/ext4 for 20 years. But I worked at Network Appliance in 1997, and I've grown

More information

Exam Name: Red Hat Certified Engineer on Redhat

Exam Name: Red Hat Certified Engineer on Redhat Vendor: Red Hat Exam Code: RH302 Exam Name: Red Hat Certified Engineer on Redhat Version: DEMO QUESTION 1 One Logical Volume is created named as myvol under vo volume group and is mounted. The Initial

More information

Btrfs Current Status and Future Prospects

Btrfs Current Status and Future Prospects Btrfs Current Status and Future Prospects Oct 13 2014 Satoru Takeuchi Linux Development Div. Fujitsu LTD. Agenda Background Core Features Developments statistics Future Prospects 1 Agenda Background Core

More information

BTREE FILE SYSTEM (BTRFS)

BTREE FILE SYSTEM (BTRFS) BTREE FILE SYSTEM (BTRFS) What is a file system? It can be defined in different ways A method of organizing blocks on a storage device into files and directories. A data structure that translates the physical

More information

Flatpak a technical walk-through. Alexander Larsson, Red Hat

Flatpak a technical walk-through. Alexander Larsson, Red Hat Flatpak a technical walk-through Alexander Larsson, Red Hat What is Flatpak? apps for the Linux Desktop Distribute your app Run it anywhere Build in anywhere Run it sandboxed How is this different from

More information

Certification. System Initialization and Services

Certification. System Initialization and Services Certification System Initialization and Services UNIT 3 System Initialization and Services UNIT 3: Objectives Upon completion of this unit the student should be able to: Describe BIOS functions with respect

More information

Virtual Data Center (vdc) Manual

Virtual Data Center (vdc) Manual Virtual Data Center (vdc) Manual English Version 1.0 Page 1 of 43 Content 1 HOW TO USE CLOUD PORTAL (VMWARE VIRTUAL DATA CENTER)... 3 2 VMWARE SYSTEM DETAILS... 5 3 HOW TO MANAGE VIRTUAL MACHINE... 6 Edit

More information

Arm Licence Server User Guide. Version 18.0

Arm Licence Server User Guide. Version 18.0 Arm Licence Server User Guide Version 18.0 Contents Contents 1 1 Introduction 2 1.1 Online resources...................................... 2 1.2 Obtaining help....................................... 2

More information

"Charting the Course... Enterprise Linux System Administration. Course Summary

Charting the Course... Enterprise Linux System Administration. Course Summary Course Summary Description This is an in-depth course that explores installation, configuration and maintenance of Linux systems. The course focuses on issues universal to every workstation and server.

More information

SUSE Linux Enterprise Server 11 SP4

SUSE Linux Enterprise Server 11 SP4 SUSE Linux Enterprise Server 11 SP4 www.suse.com May 12, 2015 Storage Administration Guide Storage Administration Guide Legal Notices Copyright 2006 2015 SUSE Linux GmbH. and contributors. All rights reserved.

More information

ECE 598 Advanced Operating Systems Lecture 19

ECE 598 Advanced Operating Systems Lecture 19 ECE 598 Advanced Operating Systems Lecture 19 Vince Weaver http://web.eece.maine.edu/~vweaver vincent.weaver@maine.edu 7 April 2016 Homework #7 was due Announcements Homework #8 will be posted 1 Why use

More information

Manage Directories and Files in Linux. Objectives. Understand the Filesystem Hierarchy Standard (FHS)

Manage Directories and Files in Linux. Objectives. Understand the Filesystem Hierarchy Standard (FHS) Manage Directories and Files in Linux Objectives Understand the Filesystem Hierarchy Standard (FHS) Identify File Types in the Linux System Change Directories and List Directory Contents Create and View

More information

Lightweight Containerization at Facebook

Lightweight Containerization at Facebook Lightweight Containerization at Facebook Zoltan Puskas (zpuskas@fb.com) Production Engineer on Infrastructure Agenda What is Tupperware? Why use Btrfs? Building layered images Launching with systemd Results

More information

University of Pennsylvania Zachary Goldberg. CIS c. More Kernel Bits. 10/03/09 Slide 1

University of Pennsylvania Zachary Goldberg. CIS c. More Kernel Bits. 10/03/09 Slide 1 More Kernel Bits 10/03/09 Slide 1 Rebooting Why would one ever need to reboot on Linux? Installing new driver?... (No) Installing new applications?... (No) Installing new... Anything?... (No) Reconfiguring...

More information

client X11 Linux workstation

client X11 Linux workstation LPIC1 LPIC Linux: System Administrator LPIC 1 LPI command line LPIC-1 Linux LPIC-1 client X11 Linux workstation Unix GNU Linux Fundamentals Unix and its Design Principles FSF and GNU GPL - General Public

More information

Managing Configuration Drift and Auditing with Salt. Duncan Mac-Vicar P. Director, Data Center Management R&D, SUSE

Managing Configuration Drift and Auditing with Salt. Duncan Mac-Vicar P. Director, Data Center Management R&D, SUSE Managing Configuration Drift and Auditing with Salt Duncan Mac-Vicar P. Director, Data Center Management R&D, SUSE dmacvicar@suse.com How to manage infrastructure? 2 Sysadmin Alexis #!/bin/bash cat

More information

Automating Linux App Startup

Automating Linux App Startup Automating Linux App Startup David Boyes Sine Nomine Associates Agenda Runlevels, init, and symlinks, oh, my! Sequence of events during startup A sample application startup script Caveats on insserv, yast

More information

Outline. Cgroup hierarchies

Outline. Cgroup hierarchies Outline 4 Cgroups 4-1 4.1 Introduction 4-3 4.2 Cgroups v1: hierarchies and controllers 4-16 4.3 Cgroups v1: populating a cgroup 4-24 4.4 Cgroups v1: a survey of the controllers 4-38 4.5 Cgroups /proc files

More information

Oracle Linux 7: System Administration Ed 1

Oracle Linux 7: System Administration Ed 1 Oracle University Contact Us: +603 2299 3600, 1 800 80 6277 Oracle Linux 7: System Administration Ed 1 Duration: 5 Days What you will learn The Oracle Linux 7: System Administration training helps you

More information

Exam : 1Z Title : Enterprise Linux System Administration. Version : DEMO

Exam : 1Z Title : Enterprise Linux System Administration. Version : DEMO Exam : 1Z0-403 Title : Enterprise Linux System Administration Version : DEMO 1. You are logged in to server1 and want to allow remote connections to server1 through X Display Manager Control Protocol (XDMCP).

More information

RHCE BOOT CAMP. The Boot Process. Wednesday, November 28, 12

RHCE BOOT CAMP. The Boot Process. Wednesday, November 28, 12 RHCE BOOT CAMP The Boot Process OVERVIEW The boot process gets a machine from the useless off state to the feature rich operating system we all know and love Requires cooperation between hardware and software

More information

LPI201 LPIC-2 Exam Prep (Course 1) (LPI201) HL965S

LPI201 LPIC-2 Exam Prep (Course 1) (LPI201) HL965S Course data sheet HPE course number Course length Delivery mode View schedule, local pricing, and register View related courses HL965S 4 days ILT,VILT View now View now LPI201 LPIC-2 Exam Prep (Course

More information

Error Creating Partition Table Helper Exited With Exit Code 1

Error Creating Partition Table Helper Exited With Exit Code 1 Error Creating Partition Table Helper Exited With Exit Code 1 So I try to create MSDOS partition table but it says: every option, its showing some error like: Error creating partition table: helper exited

More information

ULTEO OPEN VIRTUAL DESKTOP SUSE LINUX ENTERPRISE SERVER (SLES) 11 SP1 SUPPORT

ULTEO OPEN VIRTUAL DESKTOP SUSE LINUX ENTERPRISE SERVER (SLES) 11 SP1 SUPPORT ULTEO OPEN VIRTUAL DESKTOP V4.0.2 SUSE LINUX ENTERPRISE SERVER (SLES) 11 SP1 SUPPORT Contents 1 Prerequisites: SUSE Linux Enterprise Server (SLES) 11 SP1 3 1.1 System Requirements..............................

More information

ECE 550D Fundamentals of Computer Systems and Engineering. Fall 2017

ECE 550D Fundamentals of Computer Systems and Engineering. Fall 2017 ECE 550D Fundamentals of Computer Systems and Engineering Fall 2017 The Operating System (OS) Prof. John Board Duke University Slides are derived from work by Profs. Tyler Bletsch and Andrew Hilton (Duke)

More information

System Hardening From concepts into details

System Hardening From concepts into details System Hardening From concepts into details Marcus Meissner Technical Project Manager Security meissner@suse.com Craig Gardner Engineering Lead Storage cgardner@suse.com Hardening Top Down 2 What is Security?

More information

Client TM 2.0 SP2 for Linux

Client TM 2.0 SP2 for Linux Novell Client 2.0 SP2 for Linux Installation Quick Start Novell Client TM 2.0 SP2 for Linux 03/18/2009 2.0 SP2 QUICK START www.novell.com Installing the Novell Client for Linux This document explains how

More information

An introduction to Logical Volume Management

An introduction to Logical Volume Management An introduction to Logical Volume Management http://distrowatch.com/weekly.php?issue=20090309 For users new to Linux, the task of switching operating systems can be quite daunting. While it is quite similar

More information

Thousands of Linux Installations (and only one administrator)

Thousands of Linux Installations (and only one administrator) Thousands of Linux Installations (and only one administrator) A Linux cluster client for the University of Manchester A V Le Blanc I T Services University of Manchester LeBlanc@man.ac.uk Overview Environment

More information

MYSQL TROUBLESHOOTING. Or, what to do when MySQL starts throwing a fit

MYSQL TROUBLESHOOTING. Or, what to do when MySQL starts throwing a fit MYSQL TROUBLESHOOTING Or, what to do when MySQL starts throwing a fit ABOUT THE CLASS 24 hours over three days Very Short Lecture and Lots of Labs Hours: 8:30am - 5:00pm Lunch: 11:45am - 1:00pm ABOUT THE

More information

Oracle Linux 7: System Administration Ed 1

Oracle Linux 7: System Administration Ed 1 Oracle University Contact Us: Local: 1800 103 4775 Intl: +91 80 67863102 Oracle Linux 7: System Administration Ed 1 Duration: 5 Days What you will learn The Oracle Linux 7: System Administration training

More information

Disks, Filesystems 1

Disks, Filesystems 1 Disks, Filesystems 1 sudo and PATH (environment) disks partitioning formatting file systems: mkfs command checking file system integrity: fsck command /etc/fstab mounting file systems: mount command unmounting

More information

How To Manually Install Software In Linux Mint 13 From Usb

How To Manually Install Software In Linux Mint 13 From Usb How To Manually Install Software In Linux Mint 13 From Usb Hi there, I am a newbie and am having a bit of trouble installing.rpm packages. The system says Alien is installed but I can't find it and do

More information

CST8177 Linux II. Linux Boot Process

CST8177 Linux II. Linux Boot Process CST8177 Linux II Linux Boot Process Reference information from the text, http://www.linuxdoc.org and several other web sites Linux Boot Process Topics covered in this slide-set Basic definition of the

More information

Oracle Linux 7: System Administration Ed 1 LVC

Oracle Linux 7: System Administration Ed 1 LVC Oracle University Contact Us: +27 (0)11 319-4111 Oracle Linux 7: System Administration Ed 1 LVC Duration: 5 Days What you will learn The Oracle Linux 7: System Administration training helps you develop

More information

System Administration. Startup Process

System Administration. Startup Process System Administration Startup Process Why Care? Every process on your system comes about by following a specific chain of events from the machine startup You may want to disable processes You may want

More information

Managing and Maintaining a Microsoft Windows Server 2003 Environment

Managing and Maintaining a Microsoft Windows Server 2003 Environment COURSE OVERVIEW This course combines five days of instructor-led training with additional e-learning content to provide students with the knowledge and skills that are required to manage accounts and resources,

More information