Scott Moser
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    --- tags: storage, curtin --- # OSS Austin Storage Talk * [OSS Summit Austin](https://events.linuxfoundation.org/open-source-summit-north-america/) * [CFP](https://events.linuxfoundation.org/open-source-summit-north-america/program/cfp/) ends 11:59 PM PST on Sunday, February 16. [Submit here](https://linuxfoundation.smapply.io/prog/oss_elc_na_2020/) * CFP Notifications: March 23, 2020 * Conference Mon June 22 - Wed June 24, 2020. ## Info for Proposal * **Speaker smoser** * Full Name: Scott Moser * Job Title: Software Engineer * Company: Cisco * Email: ssmoser@gmail.com * Biography (provide a biography that includes your employer (if any), ongoing projects and your previous speaking experience).* Scott Moser is a software engineer working for Cisco Systems. Scott started Cloud-init, and Curtin, and the CirrOS operating system. Scott has spoken at OSS Summit and OpenStack Developer Summits about cloud-init and containers. * **Speaker rharper** * Full Name: Ryan Harper * Job Title: Staff Software Engineer * Company: Canonical * Email: rharper@gmail.com * Biography (provide a biography that includes your employer (if any), ongoing projects and your previous speaking experience).* Ryan Harper is a Staff Software Engineer at Canonical as a member of the Ubuntu Server team. Ryan currently maintains the Curtin and Cloud-init opensource projects. Ryan has presented on Virtualization topics at OpenStack Developer Summits and KVM Forums. * Abstract Title (*will be the Title shown in the conference schedule, often what attendees use as a starting point to determine if they will be interested in the talk*): * Abstract: *Provide an abstract that briefly summarizes your proposal. Provide as much information as possible about what the content will include. Do not be vague.* *This is the description that will be posted on the website schedule if your talk is selected, so be sure to spell check, use complete sentences (and not just bullet points) and to write it in the third person (use your name instead of I).* *Remember that this description is what will make an attendee decide whether your session would be a good fit for them. Be sure to provide enough information to help attendees make the right choice. Be clear and concise.* *The presentation selection process is very competitive, with many proposals rejected. A well written abstract will greatly increase the possibility of the proposal being accepted.* * Key Topic Area (select one): * **Linux Systems** * **Filesystems and Storage** * Linux Kernel Development (Advanced & Beginner) * Mission-Critical, Real-Time Operating Systems, Real-Time, and Long Life Systems, Scientific & Medical * Programming Languages and Toolchains * Networking * RISC-V * Tracing * Scheduler * VFIO/IOMMU/PCI * Testing & Fuzzing * System Boot and Security * Live Patching * BPF * RDMA * Power Management * Containers and Checkpoint/Restore * Distribution Kernels & Distros Considerations for Servers, Desktops, etc. * Linux on the Desktop * Open Source Databases * Embedded Linux Conference (ELC) * IoT * Open Source Dependability * Cloud Infrastructure * Cloud App Developer Experience * AI/ML/DL * Introductory/101 Level - Embedded Essentials * Introductory/101 Level - Linux Administration Essentials * Introductory/101 Level - Cloud Administration Essentials * Diversity Empowerment Summit * Community & Business Leadership * Open Source Program Office Management * Wildcard * Submission Type: * **Session Presentation (40-50 minutes in length)** * Panel Discussion (40-50 minutes in length) * Birds of a Feather Session (BoFs are typically held in the evenings, 45 minutes to 1 hour in length) * Tutorial (1.5- 2 hours in length) * Lightning Talk (5-10 minutes in length; lightning talks are not a valid option for the Embedded Linux Conference or Introductory/101 Levels)) * Technical Talk: yes * Have you or anyone else given this presentation before? * If your session is accepted, would you be open to our PR team contacting you about speaking with media & press onsite? * **Additional Resources** The Program Committee reviews many proposals, and having extra resources helps to gauge the speaker's experience and expertise. If you have not given this talk before, and have any links to previous talks showcasing you or any of your speakers, please share below. Other resources, like links to published books, LinkedIn profiles, or relevant blog posts, are also appreciated. We welcome applications from new speakers, so don't worry if you don't have previous talk recordings to submit here. Even a YouTube video of yourself speaking for a couple of minutes could help the reviewers. *there are options for Resource 1 and Resource 2. Each has two boxes, 'Type of Resoruce' and 'Details Links, Etc'. We'll ust use Scott as 1 andRyan as 2* * Resource 1: * Type of Resource: Previous Talks Scott. * Details, Links, Etc: * 2018 OSS Europe talk https://osseu18.sched.com/event/FxX8/ * 2016 Openstack Summit talk: https://youtu.be/SEZI-uw6A9Q * Resource 2: * Type of Resource: Previous Talks Ryan. * Details, Links, Etc: * 2016 Container Summit talk: https://youtu.be/UZZwP93GwvU * 2015 Openstack Summit talk: https://youtu.be/90oxad2r8_E * 2011 KVM Forum talk: https://youtu.be/bhdtvucvZ-4 ## Notes * General Goal of curtin: Go from one layout to another. * Pain * Linux has all kinds of magic discover that occurs when block devices are discovered. (multipath Partitions are type=disk block devices. * lvm * bcache * systemd fsck * dm-cache * This is generally wonderful when that is what you want. Its not so wonderful if you * udev discovery * https://systemd.io/BLOCK_DEVICE_LOCKING/ * buried metadata * partitioning tools (sgdisk, parted) * uuids are not unique when you snapshot and re-attach. this goes for partition uuids, and fs uuids. What is a good way to find the right path to this thing. [fstab](https://wiki.ubuntu.com/FSTAB) * try to make a ~~cloud~~ image that does the right thing... just have it boot and find / (how do you do that) * ssd/nvme wipe * Notes: * `udevadm settle` often used like `sleep(1)`. would be better if udevadm settle could be done recursively. * lsof/fuser doesn't work.... why can't I open this exclusively * different kernel versions * git log of curtin will provide many bug links, a signifcant portion of those are related to block deivce. * * sysfs holders/slaves * improvements * masking devices that are held (dm-1 masks /dev/sdg) * exclusive open failure returns the current exclusive owner * udevadm settle --all-events-related-to = /dev/sda * consistency in sysfs for stopping/releasing devices * investigate other paas installers * coreos ignition * current fedora/anaconda installer * atomic * ironic * Some mention of using ATA secure erase, which may take over 2 hours (it says that.. but it doesn't, my experience is maybe 2 minutes) * https://ata.wiki.kernel.org/index.php/ATA_Secure_Erase * wipe_disk.sh (trival) * https://github.com/RHsyseng/hci/commit/9962912333d44ef43d6c67d7f3dae8771fc6523e#diff-9a6d8e921ad44cb885f3b3f126a9718a * shred * * others * create dirty disks and throw them to installer. what happens (cause errors in other installers). * curtin A -> B, B -> C. * curtin block-meta --config a.yaml # print storage tree * curtin block-meta --config b.yaml * Title/Summary (1200 chars for summary) * IAAS/PAAS Storage Recyclying: Mastering linux block layer dependencies * *Block Master: Stacking and unstacking the Linux storage layers.* A. Even a "standard" linux installation now combines disks, partitions, logical volumes, and encryption before providing a simple /home directory. Stacking these layers is often non-trivial, and unstacking them can make unstacking ~~those tiny~~ LEGO pieces look easy. Come listen to developers of Curtin, the Ubuntu Server installer. They will share stacking and unstacking techniques, a war story or two, and some ideas to improve the situation from developers of Ubuntu Server's installer Curtin. B. Not too long ago block and filesystem layer provisioning was both simple and rare. Hardware was set up once according to a guide and subsequently left untouched. Now we expect to enlist hardware, and stack disks, partitions, logical volumes, encryption, caching and file systems in minutes. The magic that makes all this stacking "just work" can be difficult to untangle when you need to repurpose disks in a system. A simple "Can I please have my disk back, dear linux?" request is anything but simple. During development of Curtin (The curt installer for Ubuntu Server), Scott and Ryan have learned to stack and unstack and have the gray hair\^H\^H\^H\^H\^H\^H battle wounds to prove it. The IAAS/PAAS landscape is ever changing requiring server storage configurations to be recycled from layout to the next. Optimizing storage configurations in a price per IOP involves layering caches over layers of aggregated storage. Separating these layers to be reused for the next configuration is complicated and typically involves hours of zeroing.

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully