Created
November 2, 2014 04:38
-
-
Save solarce/7e6f5b8fc4d307893503 to your computer and use it in GitHub Desktop.
output show md raid1 boot, zfs raid1 /, and btrfs raid1 for docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### mounts | |
| [root@digderidoo ~]# mount | |
| proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) | |
| sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) | |
| dev on /dev type devtmpfs (rw,nosuid,relatime,size=16022440k,nr_inodes=4005610,mode=755) | |
| run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755) | |
| zroot on / type zfs (rw,relatime,xattr,noacl) | |
| securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) | |
| tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) | |
| devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) | |
| tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755) | |
| cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd) | |
| pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) | |
| cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) | |
| cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) | |
| cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) | |
| cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) | |
| cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) | |
| cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls) | |
| cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) | |
| systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=21,pgrp=1,timeout=300,minproto=5,maxproto=5,direct) | |
| debugfs on /sys/kernel/debug type debugfs (rw,relatime) | |
| hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime) | |
| tmpfs on /tmp type tmpfs (rw) | |
| mqueue on /dev/mqueue type mqueue (rw,relatime) | |
| configfs on /sys/kernel/config type configfs (rw,relatime) | |
| /dev/md0 on /boot type ext4 (rw,relatime,data=ordered) | |
| tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=3205260k,mode=700) | |
| /dev/sda6 on /data/docker type btrfs (rw,noatime,compress=lzo,ssd,discard,space_cache,autodefrag) | |
| ### disk space usage | |
| [root@digderidoo ~]# df -h | |
| Filesystem Size Used Avail Use% Mounted on | |
| zroot 126G 1.5G 124G 2% / | |
| dev 16G 0 16G 0% /dev | |
| run 16G 588K 16G 1% /run | |
| tmpfs 16G 0 16G 0% /dev/shm | |
| tmpfs 16G 0 16G 0% /sys/fs/cgroup | |
| tmpfs 16G 0 16G 0% /tmp | |
| /dev/md0 488M 64M 395M 14% /boot | |
| tmpfs 3.1G 0 3.1G 0% /run/user/0 | |
| /dev/sda6 102G 17M 102G 1% /data/docker | |
| ### /boot md raid1 | |
| [root@digderidoo ~]# mdadm --detail /dev/md0 | |
| /dev/md0: | |
| Version : 1.2 | |
| Creation Time : Sat Nov 1 20:18:39 2014 | |
| Raid Level : raid1 | |
| Array Size : 523712 (511.52 MiB 536.28 MB) | |
| Used Dev Size : 523712 (511.52 MiB 536.28 MB) | |
| Raid Devices : 2 | |
| Total Devices : 2 | |
| Persistence : Superblock is persistent | |
| Update Time : Sat Nov 1 21:17:19 2014 | |
| State : clean | |
| Active Devices : 2 | |
| Working Devices : 2 | |
| Failed Devices : 0 | |
| Spare Devices : 0 | |
| Name : digderidoo.home.inatree.org:0 (local to host digderidoo.home.inatree.org) | |
| UUID : cbb1f9b2:513fe1ad:97d6854a:2708eee0 | |
| Events : 21 | |
| Number Major Minor RaidDevice State | |
| 0 8 1 0 active sync /dev/sda1 | |
| 1 8 17 1 active sync /dev/sdb1 | |
| ### / zpool raid1 | |
| [root@digderidoo ~]# zpool list -v | |
| NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT | |
| zroot 127G 1.44G 126G - 0% 1% 1.00x ONLINE - | |
| mirror 127G 1.44G 126G - 0% 1% | |
| sda2 - - - - - - | |
| sdb2 - - - - - - | |
| ### /data/docker btrfs raid1 | |
| [root@digderidoo ~]# btrfs filesystem show /dev/sda6 | |
| Label: 'docker_btrfs_raid1' uuid: 61dbfe05-fc91-4bf3-99fe-c7972490a751 | |
| Total devices 2 FS bytes used 640.00KiB | |
| devid 1 size 101.97GiB used 2.03GiB path /dev/sda6 | |
| devid 2 size 101.97GiB used 2.01GiB path /dev/sdb6 | |
| Btrfs v3.17 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment