Skip to content

Instantly share code, notes, and snippets.

@smoser
Last active October 19, 2015 13:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smoser/7a07d9f8929dc11b4ed9 to your computer and use it in GitHub Desktop.
Save smoser/7a07d9f8929dc11b4ed9 to your computer and use it in GitHub Desktop.
boot ppc64el cloud image
#!/bin/bash
## this is an attempt to run ppc64le (ppc64el) guest on intel host
##
## there is a bootlog of this script working top to bottom
## including qemu kernel boot output and verification of network
## and disk device from initramfs
## http://paste.ubuntu.com/12255929/
# get boot-kernel and boot-initrd from maas-images (not required)
# see http://maas.ubuntu.com/images/ephemeral-v2/daily/wily/ppc64el/
# or use sstream-query
serial="20150825"
rel="wily"
burl="http://maas.ubuntu.com/images/ephemeral-v2/daily/$rel/ppc64el/$serial"
cloudimg_url="http://cloud-images.ubuntu.com/daily/server/$rel/current/$rel-server-cloudimg-ppc64el-disk1.img"
fail() { echo "$@" 1>&2; exit 1; }
## get files from maas ephemeral images
for kfpath in $rel/generic/boot-initrd $rel/generic/boot-kernel root-image.gz; do
kfile="${kfpath##*/}"
[ -f "$kfile" ] && continue
wget --progress=dot:mega "$burl/$kfpath" -O "$kfile.tmp" &&
mv "$kfile.tmp" "$kfile" ||
{ rm -f "$kfile.tmp"; fail "failed get $kfile from $burl/$kfpath"; }
done
cloudimg=${cloudimg_url##*/}
if [ ! -f "${cloudimg}.dist" ]; then
wget --progress=dot:mega "$cloudimg_url" -O "$cloudimg.tmp" &&
mv "$cloudimg.tmp" "$cloudimg.dist" ||
fail "failed download $cloudimg_url"
fi
if [ ! -f "$cloudimg.raw" ]; then
echo "creating $cloudimg.raw from $cloudimg.dist"
qemu-img convert -O raw "$cloudimg.dist" "$cloudimg.raw" ||
fail "failed convert $cloudimg.dist -> $cloudimg.raw"
fi
## check for packages and install any needed.
pkgs=""
if ! which qemu-system-ppc64 &>/dev/null; then
pkgs="$pkgs qemu-system-ppc"
fi
if ! which cloud-localds &>/dev/null; then
pkgs="$pkgs cloud-image-utils"
sudo sh -c "apt-get -q update && apt-get install -qy $pkgs" ||
fail "failed get packages [$pkgs]"
fi
## create user-data, meta-data and then seed.img from that
cat > user-data <<EOF
#cloud-config
password: passw0rd
chpasswd: { expire: False }
ssh_pwauth: True
EOF
cat > meta-data <<EOF
instance-id: $(uuidgen || echo i-abcdefg)
EOF
cloud-localds seed.img user-data meta-data ||
fail "failed create seed.img"
if ! [ -f extra.img ]; then
qemu-img create -f qcow2 extra.img 8G ||
fail "failed create extra.img"
fi
if ! [ -f disk1.img ]; then
qemu-img create -f qcow2 -b "${cloudimg}.raw" disk1.img ||
fail "failed create disk1.img from $cloudimg"
fi
if [ ! -f root-image ]; then
echo "uncompressing root-image.gz"
zcat root-image.gz > root-image.tmp &&
mv "root-image.tmp" "root-image" ||
fail "failed uncompress root-image.gz"
fi
kparms=(
console=hvc0 root=LABEL=cloudimg-rootfs
#overlayroot=tmpfs
)
cmd=(
qemu-system-ppc64le
-echr 0x05 -machine pseries,usb=off -m 768
-device spapr-vscsi
-nographic -vga none
-device virtio-net-pci,netdev=net00 -netdev type=user,id=net00
# -drive if=virtio,file=root-image
-drive file=virtio,file=disk1.img,format=qcow2
-drive if=virtio,file=seed.img,format=raw
# -drive if=virtio,file=extra.img
# -kernel boot-kernel -initrd boot-initrd -append "${kparms[*]}"
)
echo "${cmd[@]}" "${cmd[@]}"
"${cmd[@]}"
$ bash notes.txt
Formatting 'disk1.img', fmt=qcow2 size=8589934592 backing_file='wily-server-cloudimg-ppc64el-disk1.img.raw' encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16
qemu-system-ppc64le -echr 0x05 -machine pseries,usb=off -m 768 -device spapr-vscsi -nographic -vga none -device virtio-net-pci,netdev=net00 -netdev type=user,id=net00 -drive file=virtio,file=disk1.img,format=qcow2 -drive if=virtio,file=seed.img,format=raw qemu-system-ppc64le -echr 0x05 -machine pseries,usb=off -m 768 -device spapr-vscsi -nographic -vga none -device virtio-net-pci,netdev=net00 -netdev type=user,id=net00 -drive file=virtio,file=disk1.img,format=qcow2 -drive if=virtio,file=seed.img,format=raw
SLOF **********************************************************************
QEMU Starting
Build Date = Oct 16 2014 08:49:16
FW Version = buildd@ release 20140630
Press "s" to enter Open Firmware.
Populating /vdevice methods
Populating /vdevice/vty@71000000
Populating /vdevice/nvram@71000001
Populating /vdevice/v-scsi@71000002
SCSI: Looking for devices
8000000000000000 DISK : "QEMU QEMU HARDDISK 2.3."
8200000000000000 CD-ROM : "QEMU QEMU CD-ROM 2.3."
Populating /vdevice/v-scsi@71000003
SCSI: Looking for devices
Populating /pci@800000020000000
Warning: 64-bit PCI space not supported yet! 100000000 10120000000
Adapters on 0800000020000000
00 0000 (D) : 1af4 1000 virtio [ net ]
00 0800 (D) : 1af4 1001 virtio [ block ]
No NVRAM common partition, re-initializing...
Scanning USB
Using default console: /vdevice/vty@71000000
Welcome to Open Firmware
Copyright (c) 2004, 2011 IBM Corporation All rights reserved.
This program and the accompanying materials are made available
under the terms of the BSD License available at
http://www.opensource.org/licenses/bsd-license.php
Trying to load: from: disk ...
No DOS disk-label found.
Successfully loaded
error: no suitable video mode found.
GNU GRUB version 2.02~beta2-26ubuntu5
+----------------------------------------------------------------------------+
|*Ubuntu
| Advanced options for Ubuntu |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|
+----------------------------------------------------------------------------+
Use the ^ and v keys to select which entry is highlighted.
Press enter to boot the selected OS, `e' to edit the commands
before booting or `c' for a command-line.
Loading Linux 4.1.0-3-generic ...
Loading initial ramdisk ...
OF stdout device is: /vdevice/vty@71000000
Preparing to boot Linux version 4.1.0-3-generic (buildd@fisher03) (gcc version 4.9.3 (Ubuntu 4.9.3-2ubuntu1) ) #3-Ubuntu SMP Tue Jul 28 12:23:44 UTC 2015 (Ubuntu 4.1.0-3.3-generic 4.1.3)
Detected machine type: 0000000000000101
Max number of cores passed to firmware: 2048 (NR_CPUS = 2048)
Calling ibm,client-architecture-support... done
command line: BOOT_IMAGE=/boot/vmlinux-4.1.0-3-generic root=UUID=cecd258c-8d67-435c-8f38-73ef7eef5a65 ro console=hvc0 earlyprintk
memory layout at init:
memory_limit : 0000000000000000 (16 MB aligned)
alloc_bottom : 0000000003e60000
alloc_top : 0000000030000000
alloc_top_hi : 0000000030000000
rmo_top : 0000000030000000
ram_top : 0000000030000000
instantiating rtas at 0x000000002dbf0000... done
prom_hold_cpus: skipped
copying OF device tree...
Building dt strings...
Building dt structure...
Device tree strings 0x0000000003e70000 -> 0x0000000003e708b0
Device tree struct 0x0000000003e80000 -> 0x0000000003e90000
Quiescing Open Firmware ...
Booting Linux via __start() ...
[ 0.000000] Using pSeries machine description
[ 0.000000] Page sizes from device-tree:
[ 0.000000] base_shift=12: shift=12, sllp=0x0000, avpnm=0x00000000, tlbiel=1, penc=0
[ 0.000000] base_shift=24: shift=24, sllp=0x0100, avpnm=0x00000001, tlbiel=0, penc=0
[ 0.000000] Using 1TB segments
[ 0.000000] Found initrd at 0xc000000003900000:0xc000000003e54fc0
[ 0.000000] bootconsole [udbg0] enabled
[ 0.000000] CPU maps initialized for 1 thread per core
-> smp_release_cpus()
spinning_secondaries = 0
<- smp_release_cpus()
[ 0.000000] Starting Linux PPC64 #3-Ubuntu SMP Tue Jul 28 12:23:44 UTC 2015
[ 0.000000] -----------------------------------------------------
[ 0.000000] ppc64_pft_size = 0x17
[ 0.000000] phys_mem_size = 0x30000000
[ 0.000000] cpu_features = 0x0b7e7a6418500049
[ 0.000000] possible = 0x1fffffef18500649
[ 0.000000] always = 0x0000000018100040
[ 0.000000] cpu_user_features = 0xdc0065c2 0x20000000
[ 0.000000] mmu_features = 0x5c000001
[ 0.000000] firmware_features = 0x00000001405a440b
[ 0.000000] htab_hash_mask = 0xffff
[ 0.000000] -----------------------------------------------------
<- setup_system()
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.1.0-3-generic (buildd@fisher03) (gcc version 4.9.3 (Ubuntu 4.9.3-2ubuntu1) ) #3-Ubuntu SMP Tue Jul 28 12:23:44 UTC 2015 (Ubuntu 4.1.0-3.3-generic 4.1.3)
[ 0.000000] numa: Initmem setup node 0 [mem 0x00000000-0x2fffffff]
[ 0.000000] numa: NODE_DATA [mem 0x2ffc9000-0x2ffd3fff]
[ 0.000000] PCI host bridge /pci@800000020000000 ranges:
[ 0.000000] IO 0x0000010080000000..0x000001008000ffff -> 0x0000000000000000
[ 0.000000] MEM 0x00000100a0000000..0x000001101fffffff -> 0x0000000080000000
[ 0.000000] PPC64 nvram contains 65536 bytes
[ 0.000000] Relocation on exceptions not supported
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x000000002fffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000002fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000002fffffff]
[ 0.000000] PERCPU: Embedded 3 pages/cpu @c00000002fe00000 s127768 r0 d68840 u1048576
[ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 12276
[ 0.000000] Policy zone: DMA
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinux-4.1.0-3-generic root=UUID=cecd258c-8d67-435c-8f38-73ef7eef5a65 ro console=hvc0 earlyprintk
[ 0.000000] PID hash table entries: 4096 (order: -1, 32768 bytes)
[ 0.000000] Sorting __ex_table...
[ 0.000000] Memory: 688384K/786432K available (10752K kernel code, 1408K rwdata, 3488K rodata, 5888K init, 2815K bss, 98048K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=128, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=2048 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS:512 nr_irqs:512 16
[ 0.000508] clocksource timebase: mask: 0xffffffffffffffff max_cycles: 0x761537d007, max_idle_ns: 440795202126 ns
[ 0.001796] clocksource: timebase mult[1f40000] shift[24] registered
[ 0.018115] Console: colour dummy device 80x25
[ 0.019515] console [hvc0] enabled
[ 0.019515] console [hvc0] enabled
[ 0.020320] bootconsole [udbg0] disabled
[ 0.020320] bootconsole [udbg0] disabled
[ 0.023811] pid_max: default: 32768 minimum: 301
[ 0.026205] Security Framework initialized
[ 0.034971] AppArmor: AppArmor initialized
[ 0.035133] Yama: becoming mindful.
[ 0.047771] Dentry cache hash table entries: 131072 (order: 4, 1048576 bytes)
[ 0.062663] Inode-cache hash table entries: 65536 (order: 3, 524288 bytes)
[ 0.069546] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes)
[ 0.069815] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes)
[ 0.094073] Initializing cgroup subsys blkio
[ 0.094682] Initializing cgroup subsys memory
[ 0.095682] Initializing cgroup subsys devices
[ 0.096738] Initializing cgroup subsys freezer
[ 0.097034] Initializing cgroup subsys net_cls
[ 0.097250] Initializing cgroup subsys perf_event
[ 0.097518] Initializing cgroup subsys net_prio
[ 0.097747] Initializing cgroup subsys hugetlb
[ 0.098674] ftrace: allocating 27908 entries in 11 pages
[ 0.303664] EEH: pSeries platform initialized
[ 0.305440] POWER7 performance monitor hardware support registered
[ 0.347113] Brought up 1 CPUs
[ 0.350542] Enabling Asymmetric SMT scheduling
[ 0.391208] devtmpfs: initialized
[ 0.761790] evm: security.selinux
[ 0.761932] evm: security.SMACK64
[ 0.761995] evm: security.SMACK64EXEC
[ 0.762055] evm: security.SMACK64TRANSMUTE
[ 0.762114] evm: security.SMACK64MMAP
[ 0.762171] evm: security.ima
[ 0.762230] evm: security.capability
[ 0.766358] EEH: devices created
[ 0.769013] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.797599] NET: Registered protocol family 16
[ 0.804144] EEH: No capable adapters found
[ 0.806285] IBM eBus Device Driver
[ 0.816111] cpuidle: using governor ladder
[ 0.816536] cpuidle: using governor menu
[ 0.822078] pstore: Registered nvram as persistent store backend
Linux ppc64le
#3-Ubuntu SMP Tu[ 0.841429] PCI: Probing PCI hardware
[ 0.848401] PCI host bridge to bus 0000:00
[ 0.850123] pci_bus 0000:00: root bus resource [io 0x10000-0x1ffff] (bus address [0x0000-0xffff])
[ 0.851930] pci_bus 0000:00: root bus resource [mem 0x100a0000000-0x1101fffffff] (bus address [0x80000000-0xfffffffff])
[ 0.854606] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.873400] IOMMU table initialized, virtual merging enabled
[ 0.946969] vgaarb: loaded
[ 0.957199] SCSI subsystem initialized
[ 0.961812] usbcore: registered new interface driver usbfs
[ 0.963116] usbcore: registered new interface driver hub
[ 0.963828] usbcore: registered new device driver usb
[ 0.965387] pps_core: LinuxPPS API ver. 1 registered
[ 0.965518] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.965852] PTP clock support registered
[ 0.985334] NetLabel: Initializing
[ 0.985465] NetLabel: domain hash size = 128
[ 0.985557] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.988441] NetLabel: unlabeled traffic allowed by default
[ 0.993279] Switched to clocksource timebase
[ 1.253434] AppArmor: AppArmor Filesystem Enabled
[ 1.314491] NET: Registered protocol family 2
[ 1.328021] TCP established hash table entries: 8192 (order: 0, 65536 bytes)
[ 1.329733] TCP bind hash table entries: 8192 (order: 1, 131072 bytes)
[ 1.331764] TCP: Hash tables configured (established 8192 bind 8192)
[ 1.333248] UDP hash table entries: 2048 (order: 0, 65536 bytes)
[ 1.334545] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes)
[ 1.338833] NET: Registered protocol family 1
[ 1.351505] Trying to unpack rootfs image as initramfs...
[ 12.613976] Freeing initrd memory: 5440K (c000000003900000 - c000000003e50000)
[ 12.617690] rtasd: No event-scan on system
[ 12.635141] futex hash table entries: 256 (order: -1, 32768 bytes)
[ 12.637195] Initialise system trusted keyring
[ 12.639163] audit: initializing netlink subsys (disabled)
[ 12.641264] audit: type=2000 audit(1441224798.528:1): initialized
[ 12.663196] HugeTLB registered 16 MB page size, pre-allocated 0 pages
[ 12.722690] zpool: loaded
[ 12.722856] zbud: loaded
[ 12.730170] VFS: Disk quotas dquot_6.6.0
[ 12.731624] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
[ 12.752864] fuse init (API version 7.23)
[ 12.759203] Key type big_key registered
[ 12.778567] Key type asymmetric registered
[ 12.778825] Asymmetric key parser 'x509' registered
[ 12.781911] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 12.783504] io scheduler noop registered
[ 12.783778] io scheduler deadline registered (default)
[ 12.786499] io scheduler cfq registered
[ 12.790739] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 12.795387] virtio-pci 0000:00:00.0: enabling device (0100 -> 0103)
[ 12.798042] virtio-pci 0000:00:00.0: virtio_pci: leaving for legacy driver
[ 12.801653] virtio-pci 0000:00:01.0: enabling device (0100 -> 0103)
[ 12.802971] virtio-pci 0000:00:01.0: virtio_pci: leaving for legacy driver
[ 12.815949] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[ 12.864776] Linux agpgart interface v0.103
[ 12.963894] brd: module loaded
[ 12.999492] loop: module loaded
[ 13.045958] ibmvscsi 71000002: SRP_VERSION: 16.a
[ 13.047426] scsi host0: IBM POWER Virtual SCSI Adapter 1.5.9
[ 13.054309] ibmvscsi 71000002: partner initialization complete
[ 13.055268] ibmvscsi 71000002: host srp version: 16.a, host partition qemu (0), OS 2, max io 2097152
[ 13.055780] ibmvscsi 71000002: sent SRP login
[ 13.056206] ibmvscsi 71000002: SRP_LOGIN succeeded
[ 13.073437] ibmvscsi 71000003: SRP_VERSION: 16.a
[ 13.074098] scsi host1: IBM POWER Virtual SCSI Adapter 1.5.9
[ 13.077276] ibmvscsi 71000003: partner initialization complete
[ 13.077468] ibmvscsi 71000003: host srp version: 16.a, host partition qemu (0), OS 2, max io 2097152
[ 13.077620] ibmvscsi 71000003: sent SRP login
[ 13.077708] ibmvscsi 71000003: SRP_LOGIN succeeded
[ 13.086882] scsi 0:0:0:0: Direct-Access QEMU QEMU HARDDISK 2.3. PQ: 0 ANSI: 5
[ 13.091691] libphy: Fixed MDIO Bus: probed
[ 13.091915] tun: Universal TUN/TAP device driver, 1.6
[ 13.092002] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 13.125996] scsi 0:0:2:0: CD-ROM QEMU QEMU CD-ROM 2.3. PQ: 0 ANSI: 5
[ 13.143859] ehea: IBM eHEA ethernet device driver (Release EHEA_0107)
[ 13.149110] PPP generic driver version 2.4.2
[ 13.156355] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 13.161364] ehci-pci: EHCI PCI platform driver
[ 13.162035] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 13.162374] ohci-pci: OHCI PCI platform driver
[ 13.162922] uhci_hcd: USB Universal Host Controller Interface driver
[ 13.182051] mousedev: PS/2 mouse device common for all mice
[ 13.186970] i2c /dev entries driver
[ 13.196119] device-mapper: uevent: version 1.0.3
[ 13.214101] device-mapper: ioctl: 4.31.0-ioctl (2015-3-12) initialised: dm-devel@redhat.com
[ 13.223461] ledtrig-cpu: registered to indicate activity on CPUs
[ 13.255775] NET: Registered protocol family 10
[ 13.307590] NET: Registered protocol family 17
[ 13.318567] Key type dns_resolver registered
[ 13.339888] Loading compiled-in X.509 certificates
[ 13.399635] Loaded X.509 cert 'Build time autogenerated kernel key: f749d6edc49f44a40910dc189b71585191fe6f3f'
[ 13.405454] registered taskstats version 1
[ 14.618023] Key type trusted registered
[ 15.775675] sd 0:0:0:0: [sda] 16777216 512-byte logical blocks: (8.58 GB/8.00 GiB)
[ 15.783455] sd 0:0:0:0: [sda] Write Protect is off
[ 15.788812] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 15.793455] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 15.798599] sr 0:0:2:0: [sr0] scsi3-mmc drive: 16x/50x cd/rw xa/form2 cdda tray
[ 15.799095] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 15.824785] sr 0:0:2:0: Attached scsi generic sg1 type 5
[ 15.839692] GPT:Primary header thinks Alt. header is not at the end of the disk.
[ 15.839869] GPT:4210687 != 16777215
[ 15.839962] GPT:Alternate GPT header not at the end of the disk.
[ 15.840056] GPT:4210687 != 16777215
[ 15.840124] GPT: Use GNU Parted to correct GPT errors.
[ 15.841583] sda: sda1 sda2
[ 15.871543] sd 0:0:0:0: [sda] Attached SCSI disk
[ 16.060924] Key type encrypted registered
[ 16.061270] AppArmor: AppArmor sha1 policy hashing enabled
[ 16.061853] ima: No TPM chip found, activating TPM-bypass!
[ 16.066073] evm: HMAC attrs: 0x1
[ 16.070795] hctosys: unable to open rtc device (rtc0)
[ 16.135892] Freeing unused kernel memory: 5888K (c000000000df0000 - c0000000013b0000)
Loading, please wait...
starting version 224
[ 18.139332] random: systemd-udevd urandom read with 39 bits of entropy available
[ 26.991027] random: nonblocking pool is initialized
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Checking root file system ... fsck from util-linux 2.26.2
fsck: error 2 (No such file or directory) while executing fsck.ext4 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[ 42.809349] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... Warning: overlayroot: debug is busted
done.
[ 47.689134] systemd[1]: Inserted module 'autofs4'
[ 47.716008] systemd[1]: Failed to insert module 'kdbus': Function not implemented
[ 47.957586] systemd[1]: systemd 224 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
[ 47.965868] systemd[1]: Detected architecture ppc64-le.
Welcome to Ubuntu Wily Werewolf (development branch)!
[ 47.992794] systemd[1]: Set hostname to <ubuntu>.
[ 48.005795] systemd[1]: Initializing machine ID from random generator.
[ 48.013483] systemd[1]: Installed transient /etc/machine-id file.
etc-machine\x2did.mount
-.mount
[ 52.509258] systemd[1]: sshd-keygen.service: Cannot add dependency job, ignoring: Unit sshd-keygen.service failed to load: No such file or directory.
[ 52.514529] systemd[1]: display-manager.service: Cannot add dependency job, ignoring: Unit display-manager.service failed to load: No such file or directory.
[ 52.554064] systemd[1]: Reached target Swap.
[[ 52.571543] systemd[1]: Reached target Encrypted Volumes.
OK ] Reached target Swap.
[ OK ] Reached target Encrypted Volumes.
[ 52.589634] systemd[1]: Created slice Root Slice.
[ OK ] Created slice Root Slice.
[ 52.599893] systemd[1]: Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket (/dev/log).
[ 52.612895] systemd[1]: Listening on udev Control Socket.
[ OK ] Listening on udev Control Socket.
[ 52.621317] systemd[1]: Reached target User and Group Name Lookups.
[ OK ] Reached target User and Group Name Lookups.
[ 52.663433] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ OK ] Set up automount Arbitrary Executab...ats File System Automount Point.
[ 52.674065] systemd[1]: Reached target Remote File Systems (Pre).
[ OK ] Reached target Remote File Systems (Pre).
[ 52.689931] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ 52.698153] systemd[1]: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ 52.714494] systemd[1]: Listening on Journal Audit Socket.
[ OK ] Listening on Journal Audit Socket.
[ 52.723990] systemd[1]: Listening on Journal Socket.
[ OK ] Listening on Journal Socket.
[ 52.738476] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ 52.759710] systemd[1]: Created slice User and Session Slice.
[ OK ] Created slice User and Session Slice.
[ 52.771782] systemd[1]: Created slice System Slice.
[ OK ] Created slice System Slice.
[ 52.879226] systemd[1]: Starting Remount Root and Kernel File Systems...
Starting Remount Root and Kernel File Systems...
[ 53.006370] systemd[1]: Mounting POSIX Message Queue File System...
Mounting POSIX Message Queue File System...
[ 53.231559] systemd[1]: Starting Create list of required static device nodes for the current kernel...
Starting Create list of required st... nodes for the current kernel...
[ 53.536975] systemd[1]: Mounting Huge Pages File System...
Mounting Huge Pages File System...
[ 53.892491] EXT4-fs (sda1): re-mounted. Opts: (null)
[ 53.909591] systemd[1]: Starting Increase datagram queue length...
Starting Increase datagram queue length...
[ 54.458653] systemd[1]: Starting Load Kernel Modules...
Starting Load Kernel Modules...
[ 54.840049] systemd[1]: Mounting Debug File System...
Mounting Debug File System...
[ 54.993741] systemd[1]: Created slice system-getty.slice.
[ OK ] Created slice system-getty.slice.
[ 55.028878] systemd[1]: Reached target Slices.
[ OK ] Reached target Slices.
[ 55.294788] systemd[1]: Starting Uncomplicated firewall...
Starting Uncomplicated firewall...
[ 55.675389] systemd[1]: Starting Setup Virtual Console...
Starting Setup Virtual Console...
[ 56.124047] systemd[1]: Started Read required files in advance.
[ OK ] Started Read required files in advance.
ureadahead.service
[ 56.374428] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ 56.628924] systemd[1]: Starting udev Coldplug all Devices...
Starting udev Coldplug all Devices...
sys-kernel-debug-tracing.mount
[ 57.037356] systemd[1]: Mounted Debug File System.
[ OK ] Mounted Debug File System.
sys-kernel-debug.mount
[ 57.058818] systemd[1]: Mounted Huge Pages File System.
[ OK ] Mounted Huge Pages File System.
dev-hugepages.mount
[ 57.079547] systemd[1]: Mounted POSIX Message Queue File System.
[ OK ] Mounted POSIX Message Queue File System.
dev-mqueue.mount
[ 57.199105] systemd[1]: Started Remount Root and Kernel File Systems.
[ OK ] Started Remount Root and Kernel File Systems.
systemd-remount-fs.service
[ 57.269788] systemd[1]: Started Create list of required static device nodes for the current kernel.
[ OK ] Started Create list of required sta...ce nodes for the current kernel.
kmod-static-nodes.service
[ 57.325325] systemd[1]: Started Increase datagram queue length.
[ OK ] Started Increase datagram queue length.
systemd-setup-dgram-qlen.service
[ 57.372958] systemd[1]: Started Load Kernel Modules.
[ OK ] Started Load Kernel Modules.
systemd-modules-load.service
[ 57.424012] systemd[1]: Started Uncomplicated firewall.
[ OK ] Started Uncomplicated firewall.
ufw.service
[ 57.468052] systemd[1]: Started Setup Virtual Console.
[ OK ] Started Setup Virtual Console.
systemd-vconsole-setup.service
[ 58.637373] systemd[1]: Mounting FUSE Control File System...
Mounting FUSE Control File System...
[ 58.831574] systemd[1]: Starting Apply Kernel Variables...
Starting Apply Kernel Variables...
[ 58.871275] systemd[1]: Listening on Syslog Socket.
[ OK ] Listening on Syslog Socket.
[ 59.136625] systemd[1]: Starting Journal Service...
Starting Journal Service...
[ 59.473383] systemd[1]: Starting Create Static Device Nodes in /dev...
Starting Create Static Device Nodes in /dev...
Starting Various fixups to make systemd work better on Debian...
Starting Load/Save Random Seed...
[ OK ] Mounted FUSE Control File System.
sys-fs-fuse-connections.mount
[ OK ] Started Apply Kernel Variables.
systemd-sysctl.service
[ OK ] Started Create Static Device Nodes in /dev.
systemd-tmpfiles-setup-dev.service
[ OK ] Started Various fixups to make systemd work better on Debian.
debian-fixup.service
[ OK ] Started Load/Save Random Seed.
systemd-random-seed.service
[ OK ] Started Journal Service.
systemd-journald.service
Starting Flush Journal to Persistent Storage...
Starting udev Kernel Device Manager...
[ OK ] Started Flush Journal to Persistent Storage.
systemd-journal-flush.service
[ OK ] Started udev Kernel Device Manager.
systemd-udevd.service
Starting Copy rules generated while the root was ro...
[ OK ] Reached target Local File Systems (Pre).
[ OK ] Reached target Local File Systems.
Starting Clean up any mess left by 0dns-up...
Starting Set console keymap...
Starting LSB: AppArmor initialization...
Starting Commit a transient machine-id on disk...
Starting Create Volatile Files and Directories...
[ OK ] Reached target Remote File Systems.
Starting Tell Plymouth To Write Out Runtime Data...
Starting Wait for all "auto" /etc/n... up for network-online.target...
[ OK ] Started Copy rules generated while the root was ro.
udev-finish.service
[FAILED] Failed to start Set console keymap.
See 'systemctl status console-setup.service' for details.
[ OK ] Started Commit a transient machine-id on disk.
systemd-machine-id-commit.service
[ OK ] Started Tell Plymouth To Write Out Runtime Data.
[ OK ] Started Clean up any mess left by 0dns-up.
[ OK ] Started udev Coldplug all Devices.
systemd-udev-trigger.service
[ OK ] Started Create Volatile Files and Directories.
systemd-tmpfiles-setup.service
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Reached target Paths.
Starting Nameserver information manager...
[ OK ] Started Update UTMP about System Boot/Shutdown.
systemd-update-utmp.service
[ OK ] Started Nameserver information manager.
resolvconf.service
[ OK ] Started Network Time Synchronization.
systemd-timesyncd.service
[ OK ] Reached target System Time Synchronized.
[ OK ] Created slice system-ifup.slice.
[ OK ] Found device /dev/hvc0.
[ OK ] Started LSB: AppArmor initialization.
apparmor.service
Starting LSB: Raise network interfaces....
[ OK ] Started ifup for eth0.
ifup@eth0.service
[ OK ] Found device Virtio network device.
[ OK ] Started Wait for all "auto" /etc/ne...be up for network-online.target.
ifup-wait-all-auto.service
[ OK ] Started LSB: Raise network interfaces..
networking.service
[ OK ] Reached target System Initialization.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Listening on ACPID Listen Socket.
Starting Seed the pseudo random number generator on first boot...
[ OK ] Listening on UUID daemon activation socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
[ OK ] Started Deferred execution scheduler.
atd.service
Starting LSB: daemon to balance interrupts for SMP systems...
Starting LSB: Landscape client daemons...
Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
Starting Restore /etc/resolv.conf i...e the ppp link was shut down....
Starting System Logging Service...
Starting LSB: automatic crash report generation...
Starting Accounts Service...
Starting Initial cloud-init job (pre-networking)...
[ OK ] Started D-Bus System Message Bus.
dbus.service
Starting Login Service...
[ OK ] Started Regular background program processing daemon.
cron.service
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timers.
[ OK ] Reached target Network.
[ OK ] Reached target Network is Online.
Starting /etc/rc.local Compatibility...
[ OK ] Started System Logging Service.
rsyslog.service
[ OK ] Started LSB: daemon to balance interrupts for SMP systems.
irqbalance.service
[ OK ] Started LSB: Landscape client daemons.
landscape-client.service
[ OK ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
ondemand.service
[ OK ] Started Restore /etc/resolv.conf if...ore the ppp link was shut down..
[ OK ] Started LSB: automatic crash report generation.
apport.service
[ OK ] Started /etc/rc.local Compatibility.
rc-local.service
Starting Authenticate and Authorize Users to Run Privileged Tasks...
[ OK ] Started Login Service.
systemd-logind.service
[ OK ] Started Authenticate and Authorize Users to Run Privileged Tasks.
polkitd.service
[ OK ] Started Accounts Service.
accounts-daemon.service
[ OK ] Started Seed the pseudo random number generator on first boot.
tmp-tmpx82v67es.mount
tmp-tmpzrs78661.mount
tmp-tmpdl92o11n.mount
[ 217.246358] cloud-init[789]: Cloud-init v. 0.7.7 running 'init-local' at Wed, 02 Sep 2015 20:16:26 +0000. Up 199.42 seconds.
[ OK ] Started Initial cloud-init job (pre-networking).
cloud-init-local.service
Starting Initial cloud-init job (metadata service crawler)...
tmp-tmpcdga04v9.mount
[ 284.712610] cloud-init[920]: Cloud-init v. 0.7.7 running 'init' at Wed, 02 Sep 2015 20:16:59 +0000. Up 232.76 seconds.
[ 284.796537] cloud-init[920]: ci-info: +++++++++++++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++++++++++++
[ 284.843389] cloud-init[920]: ci-info: +--------+------+----------------------------+---------------+-------+-------------------+
[ 284.900355] cloud-init[920]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
[ 284.935898] cloud-init[920]: ci-info: +--------+------+----------------------------+---------------+-------+-------------------+
[ 284.980587] cloud-init[920]: ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | . | . |
[ 285.022007] cloud-init[920]: ci-info: | lo | True | ::1/128 | . | host | . |
[ 285.061103] cloud-init[920]: ci-info: | eth0 | True | 10.0.2.15 | 255.255.255.0 | . | 52:54:00:12:34:56 |
[ 285.100558] cloud-init[920]: ci-info: | eth0 | True | fe80::5054:ff:fe12:3456/64 | . | link | 52:54:00:12:34:56 |
[ 285.136566] cloud-init[920]: ci-info: +--------+------+----------------------------+---------------+-------+-------------------+
[ 285.173207] cloud-init[920]: ci-info: +++++++++++++++++++++++++++Route IPv4 info++++++++++++++++++++++++++++
[ 285.213308] cloud-init[920]: ci-info: +-------+-------------+----------+---------------+-----------+-------+
[ 285.252606] cloud-init[920]: ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
[ 285.292691] cloud-init[920]: ci-info: +-------+-------------+----------+---------------+-----------+-------+
[ 285.331602] cloud-init[920]: ci-info: | 0 | 0.0.0.0 | 10.0.2.2 | 0.0.0.0 | eth0 | UG |
[ 285.368629] cloud-init[920]: ci-info: | 1 | 10.0.2.0 | 0.0.0.0 | 255.255.255.0 | eth0 | U |
[ 285.410444] cloud-init[920]: ci-info: +-------+-------------+----------+---------------+-----------+-------+
[ 285.451172] cloud-init[920]: Generating public/private rsa key pair.
[ 285.491304] cloud-init[920]: Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
[ 285.530463] cloud-init[920]: Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
[ 285.568657] cloud-init[920]: The key fingerprint is:
[ 285.608633] cloud-init[920]: SHA256:Y51VF6KZd5GSCZVNfeFxCb78ptX0ywP9PuG0tiHiHvE root@ubuntu
[ 285.644667] cloud-init[920]: The key's randomart image is:
[ 285.683664] cloud-init[920]: +---[RSA 2048]----+
[ 285.725087] cloud-init[920]: | .o+O*O|
[ 285.760669] cloud-init[920]: | =*o=*|
[ 285.801396] cloud-init[920]: | +.o.o.|
[ 285.841540] cloud-init[920]: | . oo o |
[ 285.880635] cloud-init[920]: | S o. o. .|
[ 285.920668] cloud-init[920]: | . . o..=o|
[ 285.962841] cloud-init[920]: | o E+=*|
[ 286.004647] cloud-init[920]: | . o **+|
[ 286.044654] cloud-init[920]: | .o ..==|
[ 286.084891] cloud-init[920]: +----[SHA256]-----+
[ 286.122453] cloud-init[920]: Generating public/private dsa key pair.
[ 286.160680] cloud-init[920]: Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
[ 286.200625] cloud-init[920]: Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
[ 286.237395] cloud-init[920]: The key fingerprint is:
[ 286.276690] cloud-init[920]: SHA256:HB6/hHHEx0mR/Vs315RdcfcIr7Mf//l03Q9W0T3Jqsw root@ubuntu
[ 286.323306] cloud-init[920]: The key's randomart image is:
[ 286.364513] cloud-init[920]: +---[DSA 1024]----+
[ 286.400737] cloud-init[920]: | ..o+= .O|
[ 286.439550] cloud-init[920]: | .. =oooX|
[ 286.480686] cloud-init[920]: | + .. oB=|
[ 286.517357] cloud-init[920]: | o B ...O|
[ 286.555367] cloud-init[920]: | S o o. B|
[ 286.596604] cloud-init[920]: | .o..o oo|
[ 286.635260] cloud-init[920]: | .E. + =|
[ 286.672672] cloud-init[920]: | o =+|
[ 286.708669] cloud-init[920]: | ..B|
[ 286.748908] cloud-init[920]: +----[SHA256]-----+
[ 286.786601] cloud-init[920]: Generating public/private ecdsa key pair.
[ 286.829319] cloud-init[920]: Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key.
[ 286.872615] cloud-init[920]: Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub.
[ 286.911871] cloud-init[920]: The key fingerprint is:
[ 286.957561] cloud-init[920]: SHA256:ZOpx11PG0+9Db6i3u34mk3T5soPB2WtOqVRUKlTzG3U root@ubuntu
[ 287.000643] cloud-init[920]: The key's randomart image is:
[ 287.040663] cloud-init[920]: +---[ECDSA 256]---+
[ 287.084935] cloud-init[920]: | ..o E|
[ 287.121674] cloud-init[920]: | . . *o|
[ 287.164522] cloud-init[920]: | o . B.o|
[ 287.199172] cloud-init[920]: | + . = .+|
[ 287.240655] cloud-init[920]: | o S ..oo.oo|
[ 287.279381] cloud-init[920]: | . o . +o+=o|
[ 287.319877] cloud-init[920]: | . .++==|
[ 287.360637] cloud-init[920]: | ..+X.=|
[ 287.395690] cloud-init[920]: | o=B% |
[ 287.443413] cloud-init[920]: +----[SHA256]-----+
[ 287.481984] cloud-init[920]: Generating public/private ed25519 key pair.
[ 287.517128] cloud-init[920]: Your identification has been saved in /etc/ssh/ssh_host_ed25519_key.
[ 287.564628] cloud-init[920]: Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub.
[ 287.627492] cloud-init[920]: The key fingerprint is:
[ 287.684650] cloud-init[920]: SHA256:RS/TaN163Lzrjt/V6Wi+K+dDmWkKeFj1raq7mDYaBhU root@ubuntu
[ OK ] Started Initial cloud-init job (metadata service crawler).
[ 287.764700] cloud-init[920]: The key's randomart image is:
cloud-init.service
[ 287.820866] cloud-init[920]: +--[ED25519 256]--+
[ 287.864717] cloud-init[920]: | E . |
[ 287.899555] cloud-init[920]: | . . * . |
[ 287.928572] cloud-init[920]: | . B = o |
[ 287.952072] cloud-init[920]: | . + o + + |
[ OK ] Reached target Cloud-config availability.
[ 287.992558] cloud-init[920]: | . S . B o|
[ 288.008714] cloud-init[920]: | . o o O +|
[ 288.031980] cloud-init[920]: | o . . = oo|
[ 288.060477] cloud-init[920]: | . .oo + ++ +|
[ 288.080583] cloud-init[920]: | .oo.++ *BB*.|
[ 288.104704] cloud-init[920]: +----[SHA256]-----+
Starting Apply the settings specified in cloud-config...
[ OK ] Started OpenBSD Secure Shell server.
ssh.service
Starting Permit User Sessions...
[ OK ] Started Permit User Sessions.
systemd-user-sessions.service
Starting Terminate Plymouth Boot Screen...
Starting Wait for Plymouth Boot Screen to Quit...
Ubuntu Wily Werewolf (development branch) ubuntu hvc0
ubuntu login: [ 317.372992] cloud-init[1039]: Generating locales...
[ 322.488771] cloud-init[1039]: en_US.UTF-8... up-to-date
[ 323.370432] cloud-init[1039]: Generation complete.
[ 344.292548] cloud-init[1039]: Cloud-init v. 0.7.7 running 'modules:config' at Wed, 02 Sep 2015 20:18:13 +0000. Up 306.57 seconds.
ci-info: no authorized ssh keys fingerprints found for user ubuntu.
<14>Sep 2 20:19:12 ec2:
<14>Sep 2 20:19:12 ec2: #############################################################
<14>Sep 2 20:19:12 ec2: -----BEGIN SSH HOST KEY FINGERPRINTS-----
<14>Sep 2 20:19:12 ec2: 1024 SHA256:HB6/hHHEx0mR/Vs315RdcfcIr7Mf//l03Q9W0T3Jqsw root@ubuntu (DSA)
<14>Sep 2 20:19:12 ec2: 256 SHA256:ZOpx11PG0+9Db6i3u34mk3T5soPB2WtOqVRUKlTzG3U root@ubuntu (ECDSA)
<14>Sep 2 20:19:12 ec2: 256 SHA256:RS/TaN163Lzrjt/V6Wi+K+dDmWkKeFj1raq7mDYaBhU root@ubuntu (ED25519)
<14>Sep 2 20:19:12 ec2: 2048 SHA256:Y51VF6KZd5GSCZVNfeFxCb78ptX0ywP9PuG0tiHiHvE root@ubuntu (RSA)
<14>Sep 2 20:19:12 ec2: -----END SSH HOST KEY FINGERPRINTS-----
<14>Sep 2 20:19:12 ec2: #############################################################
-----BEGIN SSH HOST KEY KEYS-----
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBAu2grmZUogWmazqRI4c2Gp7qb4p+8GTQ3yPq7LosV2I304Ol+L3d66AWdnQ9s6N+0qIF1dhsy4XLeArnExEUos= root@ubuntu
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIGgOcax/NpqdFIzu2sjy3RqTtWXAzFZ+Ne4Xq7UuQte root@ubuntu
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD28vY70iZUqv6VVyF13I5EEHbvaoWnwwgP1SAunjKzeDXsjvJUs9k9n0zD8cniVSx/UychdGMEmXWpoXBKI5TUpHf8b3pbXh6e6AzIl/WYLnoRYuvbr//WTXFfmtK6inN7UTR3qzt0XjBh+fHOS8sXZb+frJfKMcanrP9OUH3LqRI1SOr8V65IBrnbGjutPMvD62c9g0SV0GoaraiVZWT7vwdLdiDUA+SxFigfb+OkGc+EKl24IZWKGTrZSjBu0jsccqXX7YhY05zuhPISw/2OlCfK0nic6MB+BcQh0RnKNhPR8p9+9+3wWaXY6OmSAnBjJVXv3jhN3M3+XWtFAMJx root@ubuntu
-----END SSH HOST KEY KEYS-----
[ 368.591652] cloud-init[1132]: Cloud-init v. 0.7.7 running 'modules:final' at Wed, 02 Sep 2015 20:19:06 +0000. Up 359.31 seconds.
[ 368.623000] cloud-init[1132]: ci-info: no authorized ssh keys fingerprints found for user ubuntu.
[ 368.656499] cloud-init[1132]: Cloud-init v. 0.7.7 finished at Wed, 02 Sep 2015 20:19:14 +0000. Datasource DataSourceNoCloudNet [seed=/dev/vda][dsmode=net]. Up 367.78 seconds
Ubuntu Wily Werewolf (development branch) ubuntu hvc0
ubuntu login: ubuntu
Password:
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ uptime
20:21:33 up 8 min, 1 user, load average: 1.38, 2.00, 1.26
ubuntu@ubuntu:~$ cat /proc/uptime
510.30 47.48
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 344192 0 344192 0% /dev
tmpfs 76672 12096 64576 16% /run
/dev/sda1 8100216 1288000 6795832 16% /
tmpfs 383296 0 383296 0% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 383296 0 383296 0% /sys/fs/cgroup
tmpfs 76672 0 76672 0% /run/user/1000
ubuntu@ubuntu:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 344192 0 344192 0% /dev
tmpfs 76672 12096 64576 16% /run
/dev/sda1 8100216 1288000 6795832 16% /
tmpfs 383296 0 383296 0% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 383296 0 383296 0% /sys/fs/cgroup
tmpfs 76672 0 76672 0% /run/user/1000
ubuntu@ubuntu:~$ cat /proc/partitions
major minor #blocks name
1 0 65536 ram0
1 1 65536 ram1
1 2 65536 ram2
1 3 65536 ram3
1 4 65536 ram4
1 5 65536 ram5
1 6 65536 ram6
1 7 65536 ram7
1 8 65536 ram8
1 9 65536 ram9
1 10 65536 ram10
1 11 65536 ram11
1 12 65536 ram12
1 13 65536 ram13
1 14 65536 ram14
1 15 65536 ram15
253 0 366 vda
8 0 8388608 sda
8 1 8379375 sda1
8 2 8192 sda2
11 0 1048575 sr0
ubuntu@ubuntu:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 337M 0 337M 0% /dev
tmpfs 75M 12M 64M 16% /run
/dev/sda1 7.8G 1.3G 6.5G 16% /
tmpfs 375M 0 375M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 375M 0 375M 0% /sys/fs/cgroup
tmpfs 75M 0 75M 0% /run/user/1000
ubuntu@ubuntu:~$ df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 7.8G 1.3G 6.5G 16% /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment