Re: how to find source of data loss / corruption

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Dec 15, 2011 at 1:29 PM, John Doe <jdmls@xxxxxxxxx> wrote:
> From: Rudi Ahlers <Rudi@xxxxxxxxxxx>
>
>> For example, a photo would be uploaded last night and today when we
>> checked it, it doesn't show on the website. So we check if the file is
>> on the server, and exists but is 0KB in size. Last night it still
>> worked fine. The photo is 482Kb in size.
>
> Only the size changed to 0 or were some other stats changed too?
> Maybe try something like:
>   inotifywait -m --format "%T %e %f" --timefmt "%D %T" -r /path/to/dir
> At least you would know at what time something happens...
>
> JD
> _______________________________________________



John,

Where do I get inotifywait ?


yum what provides "*/inotifywait" didn't return anything


root@mars:[/]$ yum whatprovides "*/inotifywait"
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.highspeedweb.net
 * extras: centos.omnispring.com
 * updates: mirrors.igsobe.com
Excluding Packages in global exclude list
Finished
extras/filelists_db

| 206 kB     00:00
updates/filelists_db

| 1.7 MB     00:00
No Matches found


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux