Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2013 08:13:30 +0100 (CET)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        Andre Goree <andre@drenet.info>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Bash history empty on login
Message-ID:  <alpine.BSF.2.00.1301090805200.41917@mail.fig.ol.no>
In-Reply-To: <50ECB07C.6050603@drenet.info>
References:  <op.wqkfn7omqdqf40@desktop.drenet.local> <201301080759.52247.dyioulos@onpointfc.com> <op.wqlircacqdqf40@localhost.localdomain> <alpine.BSF.2.00.1301081507260.41917@mail.fig.ol.no> <50ECADFF.6080003@drenet.info> <50ECB07C.6050603@drenet.info>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--2055831798-1503361858-1357715611=:41917
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: 8BIT

On Tue, 8 Jan 2013 18:49-0500, Andre Goree wrote:

> 
> > I think I've found the culprit, however:
> > [agoree@desktop ~]$ echo $HISTFILESIZE
> > 1024000
> > [agoree@desktop ~]$ echo $HISTFILE
> > /home/agoree/.bash_history
> > [agoree@desktop ~]$ ll /home/agoree/.bash_history
> > -rw-------  1 agoree  agoree    12k Jan  5 14:09 /home/agoree/.bash_history
> > [agoree@desktop ~]$ cat /home/agoree/.bash_history
> > cat: /home/agoree/.bash_history: Input/output error
> > [agoree@desktop ~]$ file /home/agoree/.bash_history
> > /home/agoree/.bash_history: ERROR: cannot read
> > `/home/agoree/.bash_history' (Input/output error)
> > 
> > I suppose I'm in need of a scrub, eh?  Or perhaps just a tweak to
> > $HISTFILE until I have the time (or energy) to deal with the scrub --
> > probably not a good idea, but sense all my important data is kept on a
> > NAS...  :p
> > 
> > 
> 	
> 
> So, yeahhh...:
> 
>         NAME        STATE     READ WRITE CKSUM
>         zroot       ONLINE       0     0   586
>           ad4s1d    ONLINE       0     0     0
>           ad8s1d    ONLINE       0     0   586

I don't know if this was intentional, but your zroot pool is 
configured with absolutely no redundancy unless you have set the 
zfs copies property to a value greater than 1 on selected file 
systems if not all file systems. The text quoted below does not 
indicate any of this.

You should at the very least mirror your zroot pool between no less 
than 2 drives/partitions, shouldn't raidz{1,2,3} with the appropriate 
number of drives/partitions prove tempting or possible hardwarewise.

> errors: Permanent errors have been detected in the following files:
> 
>         /usr/local/share/icons/hicolor/128x128/apps/vlc.png
>         zroot/usr:<0x11ae0a>
>         zroot/usr:<0x109118>
>         zroot/usr:<0x11ae18>
>         zroot/usr:<0x11ae19>
>         zroot/usr:<0x11ae1d>
>         zroot/usr:<0x11ae1e>
>         zroot/usr:<0x18b61e>
>         zroot/usr:<0x18b622>
>         zroot/usr:<0x18b62e>
>         zroot/usr:<0x18b637>
> 
> /usr/ports/sysutils/e2fsprogs/work/e2fsprogs-1.42.6/e2fsck/e2fsck.c.bak
>         zroot/usr:<0x18b63c>
>         zroot/usr:<0x18b63d>
>         zroot/usr:<0x18b641>
>         zroot/usr:<0x18b642>
>         zroot/usr:<0x109256>
>         /usr/home/agoree/.opera.bak/icons/www.google.com.idx
>         /usr/home/agoree/.opera.bak/download.dat
>         /usr/home/agoree/.cache/chromium/Default/Cache/data_1
>         /usr/home/agoree/.opera.bak/typed_history.xml
>         /usr/home/agoree/.bash_history
>         zroot/usr:<0x109199>
>         zroot/usr:<0x11ad9b>
>         /usr/local/share/locale/fo/LC_MESSAGES/cairo-dock.mo
>         /usr/local/lib/qt4/plugins/script/libqtscript_core.so.1.0.0
>         zroot/var:<0x98bf>

I'm very sorry for your loss, but apparently these files aren't 
critical user data.

> I'll probably just go ahead and reinstall -- I've been wanting to give
> 9.1 a try anyways.

Good luck and don't forget about redundancy! :D

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+
--2055831798-1503361858-1357715611=:41917--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1301090805200.41917>