online: vs. offline: & why volumes are not showing as online:

Discussion related to "Everything" 1.5.
Post Reply
therube
Posts: 5722
Joined: Thu Sep 03, 2009 6:48 pm

online: vs. offline: & why volumes are not showing as online:

Post by therube »

(1409a, x86 portable)

online: vs. offline: & why volumes are not showing as online:


dd -i
  • c:, e:, h:, i:, k:, l:, m:, p:, r:, s:, t:, u:, v:, w:, y:
[NOT o:]

root:
  • C:\, E:\, H:\, I:\, K:\, L:\, M:\, P:\, R:\, S:\, T:\, U:\, V:\, W:\, Y:\

root: online:
  • H:\ I:\ K:\ P:\ R:\ U:\ W:\
root offline:
  • <nada>
root !offline:
== root:
  • C:\, E:\, H:\, I:\, K:\, L:\, M:\, P:\, R:\, S:\, T:\, U:\, V:\, W:\, Y:\
root !online:
  • C:\, E:\, L:\, M:\, S:\, T:\, V:\, Y:\
Indexes | NTFS -> no Volumes show as (Offline), O: is not set to, Include in database


why is online: only returning a limited set of volumes?
what are the nuances between; online: offline: & !offline: ?

i wonder if it is not related to my -instance, MULE-1402 ?
as in, i am /now/ running it live,
rather then with .db from "15"... ?



- wonder what root:... shows for -instance "15" ???


root:
  • C:\, E:\, H:\, I:\, L:\, M:\, R:\, S:\, T:\, U:\, V:\, W:\, X:\, Y:\
[NOT k: NOT o:, NOT p:]
[K: should be removed - Win10-ISO ?] (offline)
[X: should be removed - bad drive, no longer there] (offline)
(all [physical] drives are spinners, except for O: which is an
external SSD in a USB enclosure)

root: online:
  • H:\, I:\, R:\, U:\, W:\
root: offline:
  • <nada>
root: !offline:
== root:
  • C:\, E:\, H:\, I:\, L:\, M:\, R:\, S:\, T:\, U:\, V:\, W:\, X:\, Y:\
root: !online:
  • C:\, E:\, L:\, M:\, S:\, T:\, V:\, X:\, Y:\
- (aside from X:) these are all (volumes) on "internal" HDD
& even though they are "internal", all DO show up as
(potentially ?) available for Safely Remove (which i've never quite understood ???)

(Windows) Device Manager, Disk drives
all ATA Devices are set for Better performance (default)
all USB Devices are set for Quick removal (default)



- wonder what root:... shows for -instance "CLEAN" (a new Instance) ???

root:
  • C:\, E:\, H:\, I:\, L:\, M:\, O:\, R:\, S:\, T:\, U:\, V:\, W:\, Y:\
root: online:
== root: == root !offline:
  • C:\, E:\, H:\, I:\, L:\, M:\, O:\, R:\, S:\, T:\, U:\, V:\, W:\, Y:\
root: offline:
  • <nada>
root !offline:
== root: == root:online
  • C:\, E:\, H:\, I:\, L:\, M:\, O:\, R:\, S:\, T:\, U:\, V:\, W:\, Y:\
root
!online: == root: offline:
  • <nada>
-instance CLEAN, all looks as expected
so why are (OLD) instances different, wrong?

.
Everything - volumes - Safely Remove.png
Everything - volumes - Safely Remove.png (16.53 KiB) Viewed 253 times
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: online: vs. offline: & why volumes are not showing as online:

Post by void »

Online status can be: Online, Offline or Unknown.

The online status is Unknown by default.
Everything will only gather online status if you have monitoring enabled for that drive.
Everything determines if an NTFS drive is online by reading the USN Journal.
Everything determines if an FAT drive is online by calling ReadDirectoryChangesW.

If these fail with specific error codes, like drive not found, then Everything will set the status to offline.
For any other errors, the volume online status is marked as unknown.

I recommend
!offline:
(online is either Offline or Unknown) instead of
online:
for this reason.



From your output, nothing is offline.
However, only some drives have known online status.

As for why Everything is not showing C: and others as online, it could be a service connection issue, what is shown under Help -> Troubleshooting information?
Have you paused updating under the indexing menu? are you in read-only mode?
therube
Posts: 5722
Joined: Thu Sep 03, 2009 6:48 pm

Re: online: vs. offline: & why volumes are not showing as online:

Post by therube »

Have you paused updating under the indexing menu? are you in read-only mode?
No.

(Troubleshooting I'll have to get. But my -instance 15 is my "daily driver", so I'm not likely to do anything odd with that.)
therube
Posts: 5722
Joined: Thu Sep 03, 2009 6:48 pm

Re: online: vs. offline: & why volumes are not showing as online:

Post by therube »

Nothing odd, unusual, IMO.
This is a "typical" Troubleshooting (perhaps not "exact").

I must have been running 1409 when I noticed this.
By the time I got back to it (with 1412), the issue was gone - with the very same Search (from Session Restore)?

I started to test various scenarios, but as I was, I realized Property: was stored in .db, & Volumes are noted both in .db & in .ini, & then with that, realized my testing wasn't accurate...

(I'm going to have to think about this more...)


T1409.v.T1412.diff:

Code: Select all

1c1
< Everything 1.5.0.1409a (x86)
---
> Everything 1.5.0.1412b (x86)
4c4
< Service:	0 (disconnected / not installed)
---
> Service:	6 (connected / partially installed)
9a10
> Base Address:	0x00010000
22a24
> session_store_restore_on_demand=1

troubleshooting1412:

Code: Select all

Everything 1.5.0.1412b (x86)
OS:	Windows NT 6.1 7601 (x64)
Admin:	0
Service:	6 (connected / partially installed)
Command line:	-instance MULE.1402.222
Binary:	C:\DEV\Locate\MULE.1402\X\Everything.exe
Profile:	C:\DEV\Locate\MULE.1402\X\Everything-MULE.1402.222.ini
Database:	C:\DEV\Locate\MULE.1402\X\Everything-MULE.1402.222.db
Instance:	MULE.1402.222
Base Address:	0x00010000

Config:
match_path=1
ignore_punctuation=1
shell_max_path=0
shell_execute_short_parameters=1
show_mouseover=0
dupe_group_colors=1
highlight_max_or_paths=256
zoom=117
select_focus_on_lost_selection=1
window_title_format=$search: - Everything ($instance:) $version:
session_store_restore_on_first_new_window=1
session_store_restore_on_demand=1
context_menu_simple_pidl=1
drag_drop_simple_pidl=1
auto_include_fixed_volumes=0
auto_remove_offline_ntfs_volumes=0
find_first_file_path_not_found_retry_timeout=30000
icon_blend_hidden=1
thumbnail_medium_text_lines=3
thumbnail_large_text_lines=2
filelist_preview=0
filelist_context_menu=0
open_many_files_warning_threshold=9
set_foreground_window_attach_thread_input=0
path_hit_text_only=1
snap_toggle_on_shift=1
rename_overwrite=1
allow_literal_operators=1
convert_forward_slash_to_backslash=1
match_whole_filename_when_using_wildcards=0
operator_precedence=1
size_format=1
size_number_format=4
ellipsis=0
jump_to_timeout=99999
bookmark_remember_case=0
bookmark_remember_wholeword=0
bookmark_remember_path=0
bookmark_remember_diacritic=0
bookmark_remember_prefix=0
bookmark_remember_suffix=0
bookmark_remember_ignore_punctuation=0
bookmark_remember_ignore_whitespace=0
bookmark_remember_regex=0
folder_rescan_timeout=60000
text_plain_extensions=a;ans;asc;ascx;asm;asp;aspx;asx;bas;bat;bcp;btm;c;cc;cd;cls;cmd;cod;contact;cpp;cs;csa;csh;cshader;csproj;css;csv;cxx;dbs;def;dic;dos;dsh;dshader;dsp;dsw;efu;ext;faq;filters;fky;fx;gsh;gshader;h;hh;hhc;hlsl;hlsli;hpp;hpp;hsh;hshader;hta;htm;html;htt;htw;htx;hxx;i;ibq;ics;idl;idq;inc;inf;ini;inl;inx;ipp;jav;java;js;json;jsproj;kci;lgn;log;lst;lua;m3u;mak;map;md;mdp;mk;odc;odh;odl;php;pkgdef;pkgundef;pl;prc;ps1xml;psh;pshader;py;rc;rc2;rct;reg;res;rgs;rul;s;scc;shtm;shtml;sln;slnf;sol;sql;srf;stm;tab;tdl;tlh;tli;trg;tt;txt;udf;udt;url;user;usr;vb;vbproj;vbs;vcp;vcproj;vcw;vcxproj;viw;vsh;vshader;vspscc;vsscc;vssscc;wri;wtx;xml;xsd;xsl;xslt
length_dupe_tolerance=900
find_and_select_clear_selection=0
find_and_select_select_folders=0
find_and_select_select_files=0
context_menu_parent_folder=1
context_menu_search_column_value=3
custom_open_command01=$exec("C:\WLIB\PLAYERS\mpv.net\mpvnet.exe" %*)
custom_open_command02=$exec("C:\BIN\XXhash64.BAT" %*)
custom_open_command03=$exec("C:\BIN\MI_COMPARE.BAT" %*)
custom_open_command04=$exec("C:\BIN\HEX.exe" %*)
custom_open_command05=$exec(C:\BIN\win32pad.exe K:\xfeRRRRRRR\DONE\DONEX\delme.from.K\new.txt")
custom_open_command06=$exec("C:\BIN\chk.4.EVERYTHING.exe" %*)
filter=EVERYTHING
filter_select_focus_search=0
preview_icon=1
search_for_text_when_you_start_typing=1
search_history_always_suggest=1
columns=[{"name":"Name","width":315},{"name":"Path","width":148},{"name":"Size","width":37},{"name":"Extension","width":36},{"name":"Date Modified","width":112}]
ntfs_volumes=[...]
properties=[{"name":"Length","include_only_files":"*.3gp;*.asf;*.asx;*.avi;*.divx;*.f4v;*.flv;*.m2t;*.m2ts;*.m2v;*.m4v;*.mkv;*.mp4;*.mpe;*.mpeg;*.mpg;*.mov;*.mts;*.ogm;*.ogv;*.qt;*.ram;*.rm;*.rmvb;*.smil;*.swf;*.ts;*.vob;*.vp6;*.webm;*.wmv;*.h264;*.srt;*.part","fast_sort":1}]

Policy:

Plugins:
therube
Posts: 5722
Joined: Thu Sep 03, 2009 6:48 pm

Re: online: vs. offline: & why volumes are not showing as online:

Post by therube »

- i'll just note:

when there is no Service (running), !offline: returns all volumes
Indexes | NTFS
, displays a warning: Access denied. Install the Everything service or run as administrator to index this volume

/some/ NTFS volumes ARE indexed - even with no Service ?
  • 0: Include, Enable USN Journal, Monitor
    SSD in USB enclosure
  • W: Include, Enable USN Journal, Monitor
    WD Easystore USB HDD
- both are NTFS, yet are Indexed, even without any Service running ?

you can open, -no-auto-include, & that way nothing will be indexed, but,
Options | Indexes | NTFS
, you can scroll through the volumes to "see"
if something /would/ be indexed - even with no Service
(seems to have been that way since at least 1.4.1.895)

in -read-only mode
nothing is online: nor offline:
everything is !online: & !offline:
;-)
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: online: vs. offline: & why volumes are not showing as online:

Post by void »

when there is no Service (running), !offline: returns all volumes
This is expected.
The online status is set to unknown. (in 1413b or later, earlier versions you might see a stale online status)
The service will need to be running to determine if the volume is online/offline.


/some/ NTFS volumes ARE indexed - even with no Service ?
Only "system" volumes require administrative privileges. (typically C: drive)
non-system volumes and USN Journals can be opened as a standard user. (typically external drives)



read-only mode will not monitor changes to volumes.
The online status will always be unknown.
Basically the Everything online status is:
online == Everything is currently monitoring the volume for changes successfully.
offline == Everything failed to monitor a volume for changes with a specific error code that indicates the volume is offline.
unknown == any other state.

For technical information, a volume is set to offline if monitoring fails with:
ERROR_FILE_NOT_FOUND
ERROR_PATH_NOT_FOUND
FVE_E_LOCKED_VOLUME (bitlocker - locked)
ERROR_NOT_READY (USB drive hub where each drive is shown in explorer, but no flash media is inserted)
ERROR_NO_MEDIA_IN_DRIVE
Post Reply