Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Current status
Password for root@mfsbsd:
Last login: Sun Feb 21 18:47:04 2016
FreeBSD 10.2-RELEASE (GENERIC) #0 r286666: Wed Aug 12 15:26:37 UTC 2015
Welcome to mfsBSD, the memory based FreeBSD distribution.
This is a stripped-down version of FreeBSD without:
- manual pages, info pages, examples
- include files, static library files, development tools
- bind binaries (host, dig, named, etc.)
Feel free to email me with any bug reports or feature suggestions.
Martin Matuska <mm@FreeBSD.org>
http://mfsbsd.vx.sk/
root@mfsbsd:~ # zpool import -R /mnt system
root@mfsbsd:~ # mkdir /mnt/dev
root@mfsbsd:~ # mount -t devfs devfs /mnt/dev
root@mfsbsd:~ # mount -t zfs system/rootfs /mnt
root@mfsbsd:~ # chroot /mnt
root@mfsbsd:/ # zpool set cachefile=/boot/zfs/zpool.cache system
internal error: failed to initialize ZFS library
root@mfsbsd:/ #
root@mfsbsd:~ # zpool import -R /mnt system
root@mfsbsd:~ # mkdir /mnt/dev
root@mfsbsd:~ # mount -t zfs system/rootfs /mnt
root@mfsbsd:~ # ls /mnt/dev/
root@mfsbsd:~ # mount -t devfs devfs /mnt/dev
root@mfsbsd:~ # ls /mnt/dev/
acpi ada0p2 bpf0 da1 da5p2 diskid md0 pass3 stdout ttyv7 ugen3.1
ad0 ada0p3 ch0 da1p1 da5p3 esa0 mdctl pass4 sysmouse ttyv8 ugen4.1
ad0p1 ada1 console da1p2 da6 fd mem pass5 ttyu0 ttyv9 ugen5.1
ad0p2 ada1p1 consolectl da1p3 da6p1 fido midistat pass6 ttyu0.init ttyva ugen6.1
ad0p3 ada1p2 ctty da2 da6p2 geom.ctl mps0 pass7 ttyu0.lock ttyvb urandom
ad1 ada1p3 cuau0 da2p1 da6p3 gpt nfslock pass8 ttyu1 ttyvc usb
ad1p1 ada2 cuau0.init da2p2 da7 gptid nsa0 pass9 ttyu1.init ttyvd usbctl
ad1p2 ada2p1 cuau0.lock da2p3 da7p1 hpet0 null pci ttyu1.lock ttyve xpt0
ad1p3 ada2p2 cuau1 da3 da7p2 io pass0 pts ttyv0 ttyvf zero
ad8 ada2p3 cuau1.init da4 da7p3 kbd0 pass1 random ttyv1 ufssuspend zfs
ad8p1 apm cuau1.lock da4p1 da8 kbd1 pass10 sa0 ttyv2 ugen0.1
ad8p2 apmctl da0 da4p2 da8p1 kbdmux0 pass11 sa0.ctl ttyv3 ugen0.2
ad8p3 atkbd0 da0p1 da4p3 da8p2 klog pass12 sndstat ttyv4 ugen1.1
ada0 audit da0p2 da5 devctl kmem pass13 stderr ttyv5 ugen2.1
ada0p1 bpf da0p3 da5p1 devstat led pass2 stdin ttyv6 ugen2.2
root@mfsbsd:~ # ls /mnt/dev/zfs
/mnt/dev/zfs
root@mfsbsd:~ # chroot /mnt
root@mfsbsd:/ # ls /dev
acpi ada0p2 bpf0 da1 da5p2 diskid md0 pass3 stdout ttyv7 ugen3.1
ad0 ada0p3 ch0 da1p1 da5p3 esa0 mdctl pass4 sysmouse ttyv8 ugen4.1
ad0p1 ada1 console da1p2 da6 fd mem pass5 ttyu0 ttyv9 ugen5.1
ad0p2 ada1p1 consolectl da1p3 da6p1 fido midistat pass6 ttyu0.init ttyva ugen6.1
ad0p3 ada1p2 ctty da2 da6p2 geom.ctl mps0 pass7 ttyu0.lock ttyvb urandom
ad1 ada1p3 cuau0 da2p1 da6p3 gpt nfslock pass8 ttyu1 ttyvc usb
ad1p1 ada2 cuau0.init da2p2 da7 gptid nsa0 pass9 ttyu1.init ttyvd usbctl
ad1p2 ada2p1 cuau0.lock da2p3 da7p1 hpet0 null pci ttyu1.lock ttyve xpt0
ad1p3 ada2p2 cuau1 da3 da7p2 io pass0 pts ttyv0 ttyvf zero
ad8 ada2p3 cuau1.init da4 da7p3 kbd0 pass1 random ttyv1 ufssuspend zfs
ad8p1 apm cuau1.lock da4p1 da8 kbd1 pass10 sa0 ttyv2 ugen0.1
ad8p2 apmctl da0 da4p2 da8p1 kbdmux0 pass11 sa0.ctl ttyv3 ugen0.2
ad8p3 atkbd0 da0p1 da4p3 da8p2 klog pass12 sndstat ttyv4 ugen1.1
ada0 audit da0p2 da5 devctl kmem pass13 stderr ttyv5 ugen2.1
ada0p1 bpf da0p3 da5p1 devstat led pass2 stdin ttyv6 ugen2.2
root@mfsbsd:/ # ls /dev/zfs
/dev/zfs
root@mfsbsd:/ # zpool set cachefile=/boot/zfs/zpool.cache system
root@mfsbsd:/ # exit
exit
root@mfsbsd:~ # zpool status
pool: system
state: ONLINE
scan: resilvered 72K in 0h0m with 0 errors on Sun Feb 21 15:44:32 2016
config:
NAME STATE READ WRITE CKSUM
system ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
gptid/1f65b3e4-efc8-11e2-92b7-00259082215a ONLINE 0 0 0
gptid/21f2788d-efc8-11e2-92b7-00259082215a ONLINE 0 0 0
gptid/2484e4ef-efc8-11e2-92b7-00259082215a ONLINE 0 0 0
diskid/DISK-%20%20%20%20%20%20%20%20%20%20%20Z2U658VGSp3 ONLINE 0 0 0
gptid/29b08a29-efc8-11e2-92b7-00259082215a ONLINE 0 0 0
gptid/2c5b024e-efc8-11e2-92b7-00259082215a ONLINE 0 0 0
gptid/cf46c81a-d6ba-11e5-8298-00259082215a ONLINE 0 0 0
gptid/31e93100-efc8-11e2-92b7-00259082215a ONLINE 0 0 0
gptid/329ad7d7-efc8-11e2-92b7-00259082215a ONLINE 0 0 0
gptid/3412b7e6-efc8-11e2-92b7-00259082215a ONLINE 0 0 0
errors: No known data errors
root@mfsbsd:~ #
root@mfsbsd:/mnt # zfs list
NAME USED AVAIL REFER MOUNTPOINT
system 15.2T 4.72T 329K /mnt
system/backups-by-snapshot 10.0G 4.72T 384K /mnt/usr/home/ansel/snapshots
system/backups-by-snapshot/mailjail 10.0G 4.72T 9.37G /mnt/usr/home/ansel/snapshots/mailjail
system/backups-by-snapshot/mounted 329K 4.72T 329K /mnt/usr/home/ansel/snapshots/mounted
system/backups-by-snapshot/testing 329K 4.72T 329K /mnt/usr/home/ansel/snapshots/testing
system/bootenv 329K 4.72T 329K none
system/data 329K 4.72T 329K none
system/root 1.88M 4.72T 494K /mnt/root
system/rootfs 5.55G 4.72T 4.40G legacy
system/tmp 7.75G 4.72T 7.69G /mnt/tmp
system/usr 15.2T 4.72T 329K /mnt/usr
system/usr/home 3.86G 4.72T 329K /mnt/usr/home
system/usr/home/dan 3.86G 4.72T 3.81G /mnt/usr/home/dan
system/usr/home/dan/pgsql 329K 4.72T 329K /mnt/usr/home/dan/pgsql
system/usr/jails 831G 4.72T 35.4M /mnt/usr/jails
system/usr/jails/ansible 1.39G 4.72T 1.35G /mnt/usr/jails/ansible
system/usr/jails/basejail 2.18G 4.72T 2.15G /mnt/usr/jails/basejail
system/usr/jails/cliff 1.06G 4.72T 1.01G /mnt/usr/jails/cliff
system/usr/jails/crey 1.03G 4.72T 1021M /mnt/usr/jails/crey
system/usr/jails/dbclone 191G 4.72T 113G /mnt/usr/jails/dbclone
system/usr/jails/dbclone.backups 519G 4.72T 90.5G /mnt/usr/jails/dbclone/usr/home/dan/backups
system/usr/jails/empty 4.96G 4.72T 4.69G /mnt/usr/jails/empty
system/usr/jails/ezjail_archives 370M 4.72T 370M /mnt/usr/jails/ezjail_archives
system/usr/jails/hodor 494K 4.72T 420K /mnt/usr/jails/hodor
system/usr/jails/metrics2 85.4G 4.72T 76.4G /mnt/usr/jails/metrics2
system/usr/jails/minion2 1.86G 4.72T 843M /mnt/usr/jails/minion2
system/usr/jails/mtatest 783M 4.72T 612M /mnt/usr/jails/mtatest
system/usr/jails/mysql51 7.19M 4.72T 7.12M /mnt/usr/jails/mysql51
system/usr/jails/mysql55 3.28G 4.72T 2.04G /mnt/usr/jails/mysql55
system/usr/jails/mysql56 2.83G 4.72T 1.42G /mnt/usr/jails/mysql56
system/usr/jails/newjail 6.73M 4.72T 6.33M /mnt/usr/jails/newjail
system/usr/jails/pg91 3.32G 4.72T 1.91G /mnt/usr/jails/pg91
system/usr/jails/pg92 3.60G 4.72T 1.96G /mnt/usr/jails/pg92
system/usr/jails/pg93 3.49G 4.72T 2.05G /mnt/usr/jails/pg93
system/usr/jails/pg94 3.16G 4.72T 1.30G /mnt/usr/jails/pg94
system/usr/jails/pg95 739M 4.72T 732M /mnt/usr/jails/pg95
system/usr/jails/snapshots 613M 4.72T 475M /mnt/usr/jails/snapshots
system/usr/jails/toiler 1.17G 4.72T 882M /mnt/usr/jails/toiler
system/usr/local 14.4T 4.72T 612M /mnt/usr/local
system/usr/local/bacula 14.4T 4.72T 11.5T /mnt/usr/jails/crey/usr/local/bacula
system/usr/local/pgsql 439K 4.72T 329K /mnt/usr/local/pgsql
system/usr/obj 622K 4.72T 512K /mnt/usr/obj
system/usr/ports 1.92G 4.72T 1.80G /mnt/usr/ports
system/usr/ports/distfiles 126M 4.72T 126M /mnt/usr/ports/distfiles
system/usr/src 1.03G 4.72T 1.03G /mnt/usr/src
system/var 68.7M 4.72T 329K /mnt/var
system/var/audit 366K 4.72T 366K /mnt/var/audit
system/var/empty 329K 4.72T 329K /mnt/var/empty
system/var/log 64.4M 4.72T 11.1M /mnt/var/log
system/var/tmp 3.28M 4.72T 420K /mnt/var/tmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.