[SFS] When was this server "born"?
Will
will.sterling@gmail.com
Wed, 5 Aug 2015 22:26:36 -0600
--047d7bd76788cea8a9051c9cec9c
Content-Type: text/plain; charset=UTF-8
I have used the anaconda.ks file mostly in the past. last|tail is also
good.
On Wed, Aug 5, 2015 at 2:13 PM, David L. Willson <dlwillson@sofree.us>
wrote:
> BCC: LPIC-1 Study Group
>
> "Born On Date"
>
> Sometimes it's useful to know when this server was "born", when it was
> built. Usually, you also want to know who built it, so you know who to
> question or kick, but that's a topic for another day.
>
> The root filesystem was usually created on the same day, so that is the
> date I use. To get that date, if your root filesystem is ext2/3/4, run
> dumpe2fs and look for 'created'.
>
> Here's an example:
>
> [dwills003c@wdv-logecoll nagios]$ sudo df -hT /
> Filesystem Type Size Used Avail Use% Mounted on
> /dev/sdi6 ext3 70G 32G 35G 48% /
> [dwills003c@wdv-logecoll nagios]$ sudo /sbin/dumpe2fs /dev/sdi6 | grep
> -iC 3 created
> dumpe2fs 1.39 (29-May-2006)
> Fragments per group: 32768
> Inodes per group: 32736
> Inode blocks per group: 1023
> Filesystem created: Tue Jan 25 06:44:25 2011
> Last mount time: Fri Jul 31 09:02:54 2015
> Last write time: Fri Jul 31 09:02:54 2015
> Mount count: 10
>
> Now, Fedora Server 22 and Enterprise Linux 7 have moved to xfs. How do you
> get the same information from it? I don't know... yet.
> _______________________________________________
> SFS mailing list
> SFS@thegeek.nu
> http://mailman.thegeek.nu/mailman/listinfo/sfs
>
--047d7bd76788cea8a9051c9cec9c
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">I have used the anaconda.ks file mostly in the past. =C2=
=A0last|tail is also good.</div><div class=3D"gmail_extra"><br><div class=
=3D"gmail_quote">On Wed, Aug 5, 2015 at 2:13 PM, David L. Willson <span dir=
=3D"ltr"><<a href=3D"mailto:dlwillson@sofree.us" target=3D"_blank">dlwil=
lson@sofree.us</a>></span> wrote:<br><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">BCC:=
LPIC-1 Study Group<br>
<br>
"Born On Date"<br>
<br>
Sometimes it's useful to know when this server was "born", wh=
en it was built. Usually, you also want to know who built it, so you know w=
ho to question or kick, but that's a topic for another day.<br>
<br>
The root filesystem was usually created on the same day, so that is the dat=
e I use. To get that date, if your root filesystem is ext2/3/4, run dumpe2f=
s and look for 'created'.<br>
<br>
Here's an example:<br>
<br>
[dwills003c@wdv-logecoll nagios]$ sudo df -hT /<br>
Filesystem=C2=A0 =C2=A0 Type=C2=A0 =C2=A0 Size=C2=A0 Used Avail Use% Mounte=
d on<br>
/dev/sdi6=C2=A0 =C2=A0 =C2=A0ext3=C2=A0 =C2=A0 =C2=A070G=C2=A0 =C2=A032G=C2=
=A0 =C2=A035G=C2=A0 48% /<br>
[dwills003c@wdv-logecoll nagios]$ sudo /sbin/dumpe2fs /dev/sdi6 | grep -iC =
3 created<br>
dumpe2fs 1.39 (29-May-2006)<br>
Fragments per group:=C2=A0 =C2=A0 =C2=A0 32768<br>
Inodes per group:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A032736<br>
Inode blocks per group:=C2=A0 =C2=A01023<br>
Filesystem created:=C2=A0 =C2=A0 =C2=A0 =C2=A0Tue Jan 25 06:44:25 2011<br>
Last mount time:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Fri Jul 31 09:02:54 2015=
<br>
Last write time:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Fri Jul 31 09:02:54 2015=
<br>
Mount count:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 10<br>
<br>
Now, Fedora Server 22 and Enterprise Linux 7 have moved to xfs. How do you =
get the same information from it? I don't know... yet.<br>
_______________________________________________<br>
SFS mailing list<br>
<a href=3D"mailto:SFS@thegeek.nu">SFS@thegeek.nu</a><br>
<a href=3D"http://mailman.thegeek.nu/mailman/listinfo/sfs" rel=3D"noreferre=
r" target=3D"_blank">http://mailman.thegeek.nu/mailman/listinfo/sfs</a><br>
</blockquote></div><br></div>
--047d7bd76788cea8a9051c9cec9c--