Ok, I messed something up. I have lost my user home directory (/home/larry) and my root password. I reset the root password but I've lost so many settings, mainly from my home directory. I would have thought I had just accidentally erased my home directory but for the root password being gone as well. It happened on the 25th. At some point I was getting "who are you?" when trying to
From root daily run output (
setup
I know I need to automate snapshots and take them regularly; that is why I created a jail to play with it and get a better understanding. Too late I guess
su or some similar action. I was going to try and fix it before a restart (or backup) but a house-wide power outage overruled me. I had been trying to do several things near then. I had destroyed the swap directory. I only installed it because xmonad would not install without it. I had using make buildworld. I suppose, I might have started installworld on the wrong directory then stopped it (I don't remember). I also destroyed an unused beadm snapshot but it was one I had tried and then reverted back to the older one (it was not active). Anyway, all the programs seem to still be there, even the installs done a couple of days ago. If anybody has any clues what happened or if/how I can recover without a complete reinstall please let me know.From root daily run output (
passwd diffs is very long)
Code:
Removing stale files from /var/preserve:
Cleaning out old system announcements:
Removing stale files from /var/rwho:
Backup passwd and group files:
freebsd.webbrews.com passwd diffs:
3c3
< root:(password):0:0::0:0:Charlie &:/root:/usr/local/bin/zsh
---
> root:(password):0:0::0:0:Charlie &:/root:/bin/csh
27,35d26
< larry:(password):1001:0::0:0:User &:/home/larry:/usr/local/bin/zsh
< messagebus:(password):556:556::0:0:D-BUS Daemon User:/nonexistent:/usr/sbin/nologin
< polkit:(password):562:562::0:0:PolicyKit User:/nonexistent:/usr/sbin/nologin
< haldaemon:(password):560:560::0:0:HAL Daemon User:/nonexistent:/usr/sbin/nologin
< avahi:(password):558:558::0:0:Avahi Daemon User:/nonexistent:/usr/sbin/nologin
< colord:(password):970:970::0:0:colord color management daemon:/nonexistent:/usr/sbin/nologin
< pulse:(password):563:563::0:0:PulseAudio System User:/nonexistent:/usr/sbin/nologin
< git_daemon:(password):964:964::0:0:git daemon:/nonexistent:/usr/sbin/nologin
< saned:(password):194:194::0:0:SANE Scanner Daemon:/nonexistent:/bin/sh
freebsd.webbrews.com group diffs:
34,43d33
< messagebus:*:556:
< polkit:*:562:
< haldaemon:*:560:
< avahi:*:558:
< colord:*:970:
< pulse:*:563:
< pulse-access:*:564:
< pulse-rt:*:557:
< git_daemon:*:964:
< saned:*:194:
setup
Code:
$ zfs list
NAME USED AVAIL REFER MOUNTPOINT
local 221M 39.7G 31K none
local/home 42.1M 39.7G 42.1M /home
local/jails 179M 39.7G 32K /jails
local/jails/fbsd 179M 39.7G 179M /jails/fbsd
sys 11.8G 3.85G 31K none
sys/ROOT 11.8G 3.85G 31K none
sys/ROOT/configure 11.8G 3.85G 8.30G legacy
sys/ROOT/default 128K 3.85G 1016M legacy
$ zpool list
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
local 40.5G 221M 40.3G 0% 1.00x ONLINE -
sys 15.9G 11.8G 4.10G 74% 1.00x ONLINE -
$ beadm list
BE Active Mountpoint Space Created
default - - 628.0K 2014-03-03 21:25
configure NR / 11.8G 2014-03-04 08:28
$ zfs list -t snapshot
NAME USED AVAIL REFER MOUNTPOINT
local/jails/fbsd@10.0 83K - 179M -
sys@save 0 - 31K -
sys/ROOT@save 0 - 31K -
sys/ROOT/configure@install 0 - 931M -
sys/ROOT/configure@2014-03-03-22:34:49 0 - 931M -
sys/ROOT/configure@2014-03-04-08:28:07 500K - 1016M -
sys/ROOT/configure@2014-04-04-19:18:49 260K - 8.86G -
sys/ROOT/configure@save 296K - 8.86G -
sys/ROOT/default@save 0 - 1016M -
$ uname -a
FreeBSD freebsd.webbrews.com 10.0-RELEASE-p1 FreeBSD 10.0-RELEASE-p1 #0: Tue Apr 8 06:45:06 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
I know I need to automate snapshots and take them regularly; that is why I created a jail to play with it and get a better understanding. Too late I guess