Re: disk problems
From: LeopoldSA (image_f_at_dsuper.net)
Date: 06/24/05
- Previous message: DoN. Nichols: "Re: NFS server OpenBSD 3.5"
- In reply to: Dave Uhring: "Re: disk problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 24 Jun 2005 15:15:57 -0400
thanks dave, it is very appreciated
Leopold SA
Dave Uhring wrote:
> On Tue, 21 Jun 2005 22:54:39 -0400, LeopoldSA wrote:
>
>
>>Hello
>>
>>There is my situation: I had a disk crash and after the repair I have
>>found out that some directories are missing.
>>
>>syslogd is telling me that the following files/directories are missing
>>var/log/messages
>>var/log/messages
>>var/log/authlog
>>var/log/secure
>>var/log/deamon
>>var/log/xferlog
>>var/loglpd-errs
>>var/log/maillog
>>
>>Questions:
>>
>>Is there a way to find out the group owner, file owner and file
>>permissions for those files/directories?
>
>
> -rw-r----- 1 root wheel 565 Jun 21 17:38 authlog
> -rw-r----- 1 root wheel 956 Jun 21 02:00 authlog.0.gz
> -rw-r----- 1 root wheel 1253 Jun 14 02:00 authlog.1.gz
> -rw-r----- 1 root wheel 1482 Jun 7 02:00 authlog.2.gz
> -rw-r----- 1 root wheel 1131 May 31 02:00 authlog.3.gz
> -rw-r----- 1 root wheel 1039 May 24 02:00 authlog.4.gz
> -rw-r----- 1 root wheel 1354 May 17 02:00 authlog.5.gz
> -rw-r----- 1 root wheel 1602 May 10 02:00 authlog.6.gz
> -rw-r----- 1 root wheel 1769 May 3 02:00 authlog.7.gz
> -rw-r----- 1 root wheel 18447 Jun 21 22:04 daemon
> -rw-r----- 1 root wheel 3570 Jun 21 19:00 daemon.0.gz
> -rw-r----- 1 root wheel 4390 Jun 21 15:00 daemon.1.gz
> -rw-r----- 1 root wheel 4297 Jun 21 10:00 daemon.2.gz
> -rw-r----- 1 root wheel 3406 Jun 21 07:00 daemon.3.gz
> -rw-r----- 1 root wheel 4289 Jun 20 23:00 daemon.4.gz
> -rw-r----- 1 root wheel 3581 Jun 20 18:00 daemon.5.gz
> -rw-r--r-- 1 root wheel 2440 Jun 21 01:30 daily.out
> -rw------- 1 root wheel 304 Dec 27 10:10 failedlogin
> -rw-r----- 1 root wheel 0 Mar 19 2004 ftpd
> -rw-r--r-- 1 root wheel 284348 Jun 21 09:02 lastlog
> -rw-r----- 1 root wheel 0 Mar 19 2004 lpd-errs
> -rw------- 1 root wheel 343236 Jun 21 22:04 maillog
> -rw------- 1 root wheel 229513 Jun 21 15:00 maillog.0.gz
> -rw------- 1 root wheel 200168 Jun 20 15:00 maillog.1.gz
> -rw------- 1 root wheel 169431 Jun 19 15:00 maillog.2.gz
> -rw------- 1 root wheel 194071 Jun 18 15:00 maillog.3.gz
> -rw------- 1 root wheel 210996 Jun 17 15:00 maillog.4.gz
> -rw------- 1 root wheel 214168 Jun 16 15:00 maillog.5.gz
> -rw------- 1 root wheel 220538 Jun 15 15:00 maillog.6.gz
> -rw------- 1 root wheel 225263 Jun 14 15:00 maillog.7.gz
> -rw-r--r-- 1 root wheel 477 Jun 21 19:00 messages
> -rw-r--r-- 1 root wheel 4753 Jun 19 22:00 messages.0.gz
> -rw-r--r-- 1 root wheel 4872 May 6 12:00 messages.1.gz
> -rw-r--r-- 1 root wheel 4759 Apr 7 21:00 messages.2.gz
> -rw-r--r-- 1 root wheel 3916 Feb 15 22:00 messages.3.gz
> -rw-r--r-- 1 root wheel 5157 Jan 17 16:00 messages.4.gz
> -rw-r--r-- 1 root wheel 5299 Dec 19 2004 messages.5.gz
> -rw-r--r-- 1 root wheel 15 Jun 1 05:30 monthly.out
> -rw------- 1 root wheel 21080 Jun 21 17:37 pflog
> drwxr-xr-x 2 root wheel 512 Mar 20 00:44 rdist
> -rw------- 1 root wheel 58 Jun 15 12:00 secure
> -rw------- 1 root wheel 232 Jun 15 12:00 secure.0.gz
> -rw------- 1 root wheel 200 May 31 14:00 secure.1.gz
> -rw------- 1 root wheel 383 May 17 11:00 secure.2.gz
> -rw------- 1 root wheel 201 May 10 11:00 secure.3.gz
> -rw------- 1 root wheel 237 May 3 10:00 secure.4.gz
> -rw------- 1 root wheel 196 Apr 26 10:00 secure.5.gz
> -rw------- 1 root wheel 200 Apr 11 17:00 secure.6.gz
> -rw------- 1 root wheel 210 Apr 4 17:00 secure.7.gz
> -rw-rw-r-- 1 root wheel 728 Jun 21 22:04 sendmail.st
> -rw-r--r-- 1 root wheel 59 Jun 18 03:31 weekly.out
> -rw-r--r-- 1 root wheel 600 Jun 21 13:10 wtmp
> -rw-r--r-- 1 root wheel 421 Jun 21 04:37 wtmp.0.gz
> -rw-r--r-- 1 root wheel 537 Jun 14 04:52 wtmp.1.gz
> -rw-r--r-- 1 root wheel 603 Jun 7 04:48 wtmp.2.gz
> -rw-r--r-- 1 root wheel 448 May 31 04:35 wtmp.3.gz
> -rw-r--r-- 1 root wheel 495 May 24 06:05 wtmp.4.gz
> -rw-r--r-- 1 root wheel 425 May 17 08:50 wtmp.5.gz
> -rw-r--r-- 1 root wheel 736 May 10 08:59 wtmp.6.gz
> -rw-r--r-- 1 root wheel 663 May 3 08:51 wtmp.7.gz
> -rw-r----- 1 root wheel 0 Mar 19 2004 xferlog
>
>
>>Is there a way to find out if there are any other files/directories missing?
>
>
> Not really, but you could perform an upgrade.
>
>
>>Is there a tree of my actual hard drive stored someplace? (i dont have a
>>backup)
>
>
> Some files are backed up in /var/backups.
>
>
>>If I slap OpenBSD 3.5 CD in the drive will it recreate the missing
>>files/directories without having to reinstall my accounts?
>
>
> It is time to upgrade to 3.7; 3.5 is no longer being supported with
> patches.
>
>
>>Is there an option that I am not aware that would solve my problem?
>
>
> DDS-2 tape drives are quite inexpensive on ebay.com.
>
- Previous message: DoN. Nichols: "Re: NFS server OpenBSD 3.5"
- In reply to: Dave Uhring: "Re: disk problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]