Last active
June 13, 2016 04:19
-
-
Save abcarroll/aa416d79833c2d30e6302c9902dc2210 to your computer and use it in GitHub Desktop.
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
# root@lighthouse; ~ | |
; fdisk /dev/md0 | |
Welcome to fdisk (util-linux 2.27.1). | |
Changes will remain in memory only, until you decide to write them. | |
Be careful before using the write command. | |
/dev/md0: device contains a valid 'ext3' signature; it is strongly recommended to wipe the device with wipefs(8) if this is unexpected, in order to avoid possible collisions | |
Device does not contain a recognized partition table. | |
Created a new DOS disklabel with disk identifier 0x9826fb5e. | |
Command (m for help): p | |
Disk /dev/md0: 486.7 MiB, 510328832 bytes, 996736 sectors | |
Units: sectors of 1 * 512 = 512 bytes | |
Sector size (logical/physical): 512 bytes / 512 bytes | |
I/O size (minimum/optimal): 512 bytes / 512 bytes | |
Disklabel type: dos | |
Disk identifier: 0x9826fb5e | |
Command (m for help): ^C | |
# root@lighthouse; ~ | |
; fdisk /dev/sd | |
/dev/sda /dev/sda2 /dev/sda6 /dev/sdb1 /dev/sdb5 /dev/sdc /dev/sdc2 /dev/sdc4 /dev/sdd1 /dev/sdd3 /dev/sdi | |
/dev/sda1 /dev/sda5 /dev/sdb /dev/sdb2 /dev/sdb6 /dev/sdc1 /dev/sdc3 /dev/sdd /dev/sdd2 /dev/sdd4 /dev/sdi1 | |
# root@lighthouse; ~ | |
; fdisk /dev/sda | |
Welcome to fdisk (util-linux 2.27.1). | |
Changes will remain in memory only, until you decide to write them. | |
Be careful before using the write command. | |
Command (m for help): p | |
Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors | |
Units: sectors of 1 * 512 = 512 bytes | |
Sector size (logical/physical): 512 bytes / 512 bytes | |
I/O size (minimum/optimal): 512 bytes / 512 bytes | |
Disklabel type: dos | |
Disk identifier: 0x2b6247fd | |
Device Boot Start End Sectors Size Id Type | |
/dev/sda1 * 2048 999423 997376 487M fd Linux raid autodetect | |
/dev/sda2 1001470 234440703 233439234 111.3G 5 Extended | |
/dev/sda5 1001472 225609727 224608256 107.1G fd Linux raid autodetect | |
/dev/sda6 225611776 234440703 8828928 4.2G 82 Linux swap / Solaris | |
Command (m for help): ^C | |
# root@lighthouse; ~ | |
; fdisk /dev/sdb | |
Welcome to fdisk (util-linux 2.27.1). | |
Changes will remain in memory only, until you decide to write them. | |
Be careful before using the write command. | |
Command (m for help): p | |
Disk /dev/sdb: 111.8 GiB, 120034123776 bytes, 234441648 sectors | |
Units: sectors of 1 * 512 = 512 bytes | |
Sector size (logical/physical): 512 bytes / 512 bytes | |
I/O size (minimum/optimal): 512 bytes / 512 bytes | |
Disklabel type: dos | |
Disk identifier: 0xb93672f8 | |
Device Boot Start End Sectors Size Id Type | |
/dev/sdb1 * 2048 999423 997376 487M fd Linux raid autodetect | |
/dev/sdb2 1001470 234440703 233439234 111.3G 5 Extended | |
/dev/sdb5 1001472 225609727 224608256 107.1G fd Linux raid autodetect | |
/dev/sdb6 225611776 234440703 8828928 4.2G 82 Linux swap / Solaris | |
Command (m for help): ^C | |
# root@lighthouse; ~ | |
; fdisk /dev/sdc | |
Welcome to fdisk (util-linux 2.27.1). | |
Changes will remain in memory only, until you decide to write them. | |
Be careful before using the write command. | |
Command (m for help): p | |
Disk /dev/sdc: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors | |
Units: sectors of 1 * 512 = 512 bytes | |
Sector size (logical/physical): 512 bytes / 4096 bytes | |
I/O size (minimum/optimal): 4096 bytes / 4096 bytes | |
Disklabel type: dos | |
Disk identifier: 0xa9d555e6 | |
Device Boot Start End Sectors Size Id Type | |
/dev/sdc1 2048 1050623 1048576 512M fd Linux raid autodetect | |
/dev/sdc2 1050624 210765823 209715200 100G fd Linux raid autodetect | |
/dev/sdc3 1940942848 1953523711 12580864 6G 82 Linux swap / Solaris | |
/dev/sdc4 210765824 1888511999 1677746176 800G 83 Linux | |
Partition table entries are not in disk order. | |
Command (m for help): ^C | |
# root@lighthouse; ~ | |
; fdisk /dev/sdd | |
Welcome to fdisk (util-linux 2.27.1). | |
Changes will remain in memory only, until you decide to write them. | |
Be careful before using the write command. | |
Command (m for help): p | |
Disk /dev/sdd: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors | |
Units: sectors of 1 * 512 = 512 bytes | |
Sector size (logical/physical): 512 bytes / 4096 bytes | |
I/O size (minimum/optimal): 4096 bytes / 4096 bytes | |
Disklabel type: gpt | |
Disk identifier: 2A92461D-11AA-4226-9408-662C78C4DC5A | |
Device Start End Sectors Size Type | |
/dev/sdd1 2048 1050623 1048576 512M BIOS boot | |
/dev/sdd2 1050624 210765823 209715200 100G Linux RAID | |
/dev/sdd3 1940942848 1953523711 12580864 6G Linux swap | |
/dev/sdd4 210765824 1888511999 1677746176 800G Linux filesystem | |
Partition table entries are not in disk order. | |
Command (m for help): ^C | |
# root@lighthouse; ~ | |
; cat /etc/mdadm/mdadm.conf | |
# mdadm.conf | |
# | |
# Please refer to mdadm.conf(5) for information about this file. | |
# | |
# by default (built-in), scan all partitions (/proc/partitions) and all | |
# containers for MD superblocks. alternatively, specify devices to scan, using | |
# wildcards if desired. | |
#DEVICE partitions containers | |
# auto-create devices with Debian standard permissions | |
CREATE owner=root group=disk mode=0660 auto=yes | |
# automatically tag new arrays as belonging to the local system | |
HOMEHOST <system> | |
# instruct the monitoring daemon where to send mail alerts | |
MAILADDR root | |
# definitions of existing MD arrays | |
# This configuration was auto-generated on Mon, 15 Jun 2015 22:32:21 -0400 by mkconf | |
ARRAY /dev/md/0 metadata=1.2 UUID=1f9db108:2a0df020:0fc285e7:dc657d4f name=lighthouse:0 | |
ARRAY /dev/md/1 metadata=1.2 UUID=b18c8802:5e81ab1f:a03cfdcc:589d5bb5 name=lighthouse:1 | |
# This configuration was auto-generated on Sun, 01 Mar 2015 13:47:56 -0500 by mkconf | |
#ARRAY /dev/md/5 metadata=1.2 name=lighthouse:0 UUID=6e4613cd:a59eb2e2:c241830d:d0a0e946 | |
ARRAY /dev/md/6 metadata=1.2 name=lighthouse:1 UUID=471683b6:61a1dba6:7df6dd68:c9b8efa6 | |
ARRAY /dev/md/5 metadata=1.2 name=lighthouse:2 UUID=8f13b561:e4d9f70c:78a941f9:e2abc962 | |
# root@lighthouse; ~ | |
; cat /proc/mdstat | |
Personalities : [raid1] | |
md5 : active raid1 sdd4[2] sdc4[1] | |
838742016 blocks super 1.2 [2/2] [UU] | |
bitmap: 0/7 pages [0KB], 65536KB chunk | |
md6 : active raid1 sdd2[2] sdc2[1] | |
104792064 blocks super 1.2 [2/2] [UU] | |
md1 : active raid1 sda5[0] sdb5[1] | |
112238592 blocks super 1.2 [2/2] [UU] | |
bitmap: 1/1 pages [4KB], 65536KB chunk | |
md0 : active raid1 sda1[2] sdb1[1] | |
498368 blocks super 1.2 [2/2] [UU] | |
unused devices: <none> | |
# root@lighthouse; ~ | |
; mount | |
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) | |
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) | |
udev on /dev type devtmpfs (rw,nosuid,relatime,size=3046816k,nr_inodes=761704,mode=755) | |
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) | |
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=611508k,mode=755) | |
/dev/md1 on / type ext4 (rw,noatime,nodiratime,discard,errors=remount-ro,data=ordered) | |
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) | |
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) | |
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) | |
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=/lib/systemd/systemd-cgroups-agent,name=systemd) | |
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) | |
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) | |
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio) | |
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) | |
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) | |
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids) | |
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event) | |
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) | |
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) | |
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=35,pgrp=1,timeout=0,minproto=5,maxproto=5,direct) | |
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime) | |
mqueue on /dev/mqueue type mqueue (rw,relatime) | |
debugfs on /sys/kernel/debug type debugfs (rw,relatime) | |
/dev/md0 on /boot type ext3 (rw,relatime,data=ordered) | |
/dev/md5 on /media/data type ext4 (rw,relatime,data=ordered) | |
/dev/md6 on /media/old-system type ext4 (rw,relatime,errors=remount-ro,data=ordered) | |
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime) | |
tmpfs on /run/user/117 type tmpfs (rw,nosuid,nodev,relatime,size=611508k,mode=700,uid=117,gid=123) | |
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=611508k,mode=700,uid=1000,gid=1000) | |
/dev/sdi1 on /media/corndog/Debian 8.4.0 amd64 11 type iso9660 (ro,nosuid,nodev,relatime,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500,uhelper=udisks2) | |
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime) | |
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime) | |
# root@lighthouse; ~ | |
; df | |
Filesystem 1K-blocks Used Available Use% Mounted on | |
udev 3046816 0 3046816 0% /dev | |
tmpfs 611508 9132 602376 2% /run | |
/dev/md1 110345048 77405060 27311676 74% / | |
tmpfs 3057520 32080 3025440 2% /dev/shm | |
tmpfs 5120 4 5116 1% /run/lock | |
tmpfs 3057520 0 3057520 0% /sys/fs/cgroup | |
/dev/md0 474410 83763 365729 19% /boot | |
/dev/md5 825448872 664739852 118755536 85% /media/data | |
/dev/md6 103015712 57435264 40324464 59% /media/old-system | |
tmpfs 611508 4 611504 1% /run/user/117 | |
tmpfs 611508 16 611492 1% /run/user/1000 | |
/dev/sdi1 252928 252928 0 100% /media/corndog/Debian 8.4.0 amd64 11 | |
# root@lighthouse; ~ | |
; df -h | |
Filesystem Size Used Avail Use% Mounted on | |
udev 3.0G 0 3.0G 0% /dev | |
tmpfs 598M 9.0M 589M 2% /run | |
/dev/md1 106G 74G 27G 74% / | |
tmpfs 3.0G 32M 2.9G 2% /dev/shm | |
tmpfs 5.0M 4.0K 5.0M 1% /run/lock | |
tmpfs 3.0G 0 3.0G 0% /sys/fs/cgroup | |
/dev/md0 464M 82M 358M 19% /boot | |
/dev/md5 788G 634G 114G 85% /media/data | |
/dev/md6 99G 55G 39G 59% /media/old-system | |
tmpfs 598M 4.0K 598M 1% /run/user/117 | |
tmpfs 598M 16K 598M 1% /run/user/1000 | |
/dev/sdi1 247M 247M 0 100% /media/corndog/Debian 8.4.0 amd64 11 |
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
# /etc/fstab: static file system information. | |
# | |
# Use 'blkid' to print the universally unique identifier for a | |
# device; this may be used with UUID= as a more robust way to name devices | |
# that works even if disks are added and removed. See fstab(5). | |
# | |
# <file system> <mount point> <type> <options> <dump> <pass> | |
# SSD = /dev/sda + /dev/sdb | |
# \_ /boot/ md0 ?? devices | |
# |_ / md1 ?? devices | |
# Mag = /dev/sdc + /dev/sdd | |
# \_ ?? md0 / 5 Used to be boot, I think it's an unformatted partition now, used to be ext3 | |
# |_ (old /) md1 / 6 | |
# |_ /media/b. md2 / 7 | |
# # | |
# SSD # | |
# RAID Devices # | |
# # | |
# / was on /dev/md1 during installation | |
UUID=5efeb1ba-0165-4448-bd42-6e569221b139 / ext4 discard,noatime,nodiratime,errors=remount-ro 0 1 | |
# /boot was on /dev/md0 during installation | |
UUID=eec1b43c-8682-448d-aaf4-45bcf5e26970 /boot ext3 relatime 0 2 | |
# # | |
# Magnetic # | |
# RAID Devices # | |
# # | |
UUID=c42c7cca-2a64-4254-a698-ec748b494d31 /media/old-system ext4 rw,errors=remount-ro 0 1 | |
UUID=cc0a34e7-b5f6-4092-8261-6ddbb1419a3a /media/data/ ext4 rw,relatime,data=ordered 0 0 | |
# # | |
# SSD # | |
# Swap Devices # | |
# # | |
# swap was on /dev/sda6 during installation | |
UUID=e9dbf966-4a23-436f-b49c-fa1b94d36f6f none swap sw 0 0 | |
# swap was on /dev/sdb6 during installation | |
UUID=199f0f29-a2bd-4468-907c-8c39ba7b2bf4 none swap sw 0 0 | |
# # | |
# Magnetic # | |
# Swap Devices # | |
# # | |
# The next 2 devices are the magnetic swap devices | |
UUID=a5ae15cb-0f54-4282-941e-66e83920fae5 none swap sw 0 0 | |
UUID=15c719da-eda0-43fc-a2e8-bafb4b8503de none swap sw 0 0 | |
# # | |
# Other Devices # | |
# # | |
# Zebra USB BRTFS Backup Device | |
UUID=7779b500-1afb-45df-a871-b06ea8e36399 /media/zebra btrfs rw,relatime,space_cache,nofail 0 0 | |
# Desktop CD-ROM | |
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment