offline to online question

M

minimus

I would like to ask the following question:

1. Suppose I keep my ON files on a USB stick.
2. Suppose that I see my ON icon on the taskbar near the volume control (in
vista ultimate). That is, suppose that I have just turned my computer on,
and ON starts automatically as I ordered windows to start it automatically
at the start up.
3. Then suppose I click on the ON icon and my notebook opens and that I am
offline (because my USB stick is not plugged in)


Here is my question: Suppose that I open a ON page and it is offline. While
the page is open in the offline mode, would there be any problem if I plug
in my usb stick?
Actually I did it once and ON automatically becomes online. Well that is
fine but I want to make it sure that this is OK.
I mean I would like to ask if it is completely fine if I insert my usb stick
when ON is in the offline mode?

Otherwise I thought I should close all ON pages, insert my usb stick , and
then open a ON page.... Thinking that I should let ON finish recording
anything I just did and then order it to see the notebook from my usb stick
and do the sync.

So, dear MVPs, can you confirm me if it is completely OK to insert my usb
stick while working offfline?

Thanks in advance.
 
R

Rainald Taesler

minimus said:
Here is my question: Suppose that I open a ON page and it is
offline. While the page is open in the offline mode, would there be
any problem if I plug in my usb stick?

No, not at all.
Actually I did it once and ON automatically becomes online. Well
that is fine but I want to make it sure that this is OK.
I mean I would like to ask if it is completely fine if I insert my
usb stick when ON is in the offline mode?

Yes, for sure.
Otherwise I thought I should close all ON pages, insert my usb
stick , and then open a ON page.... Thinking that I should let ON
finish recording anything I just did and then order it to see the
notebook from my usb stick and do the sync.

No, this would be really unnecessary as unnecessary can be.
So, dear MVPs, can you confirm me if it is completely OK to insert
my usb stick while working offfline?

Altough I am no MVP (AFAICS we inly have eine at present), O can confirm
this.

Rainald
 
M

minimus

Rainald sorry another question:

Suppose I am working online (while my usb stick is plugged in) and suppose I
unplug the USB stick while the ON pages are open.
Now this is not OK right?
 
R

Rainald Taesler

minimus said:
Rainald sorry another question:

Suppose I am working online (while my usb stick is plugged in) and
suppose I unplug the USB stick while the ON pages are open.
Now this is not OK right?

Why shoiuld this not be OK?
As long as the stick is inserted, ON will sync automatically.
If it's unplugged, ON can no longer sync but it works from the cache.
It will sync again once the stick is re-inserted.

Rainald
P.S. The stick should be removed "safely", i.e. only after having used
"Eject" from the context-menu of the stick's properties and/or with
"Remve Hardware …" applet (icon in the TaskTray).
 
M

minimus

Rainald Taesler said:
Why shoiuld this not be OK?
As long as the stick is inserted, ON will sync automatically.
If it's unplugged, ON can no longer sync but it works from the cache.
It will sync again once the stick is re-inserted.

Rainald
P.S. The stick should be removed "safely", i.e. only after having used
"Eject" from the context-menu of the stick's properties and/or with
"Remve Hardware …" applet (icon in the TaskTray).

But you cannot "eject" while ON is still in use (by in use I mean while the
pages are open).
So what I mean is: Suppose you work online and all of a sudden you unplug
the stick without using the eject (well using the eject windows will not
allow and give the message that the hardware is still in use, I guess.)
 
B

Bernd

-------- Original-Nachricht --------
But you cannot "eject" while ON is still in use (by in use I mean while the
pages are open).
So what I mean is: Suppose you work online and all of a sudden you unplug
the stick without using the eject (well using the eject windows will not
allow and give the message that the hardware is still in use, I guess.)
To be save, close ON (not the notebooks), eject the USB-stick and reopen
ON.

Bernd
 
R

Rainald Taesler

minimus said:
This is what I am doing.

And you say that you can not "Eject" the stick, nor "remove … safely"
after having closed ON?
Sounds strange.

Rainald
 
E

Erik Sojka

Absolutely. The operations against the visible pages in the main program's
UI to the cache and the subsequent syncing from the cache to the "real"
home of the data on the USB key are separate operations. OneNote is
designed to recover gracefully if the storage location disappears and
reappears frequently (whether because of network issues or the sudden
appearance of the USB key).
 
M

minimus

Rainald Taesler said:
minimus schrieb:

And you say that you can not "Eject" the stick, nor "remove … safely"
after having closed ON?

I did not say anything like that. I can ofcourse eject after I close the ON
pages.
Hey please read the messages carefully.
I am not stupid and I know what I am doing.
 
M

minimus

Erik Sojka said:
You're still OK.

/next pizza? Still 4 bucks!

Really?
So I am online and many On pages are open.
Without eject I unplug the usb stick all of a sudden.
And you say that I am fine....

What if ON was just writing things on the usb stick?
Would not I loose the data if I unplug it mistakenly or on intention while
ON is busy with the usb stick...

Well for me I should not unplug while ON is working online.
But I am just trying to understand to what extent I am free to do things
 
M

minimus

* The operations against the visible pages in the main program's UI to the
cache and
* The subsequent syncing from the cache to the "real" home of the data on
the USB key
are separate operations.


ups...
This is vital information. But I did not get what you mean.
Could you please explain this in more simple terms.
Either my English is not good enough or I do not quite get the technical
side.
But don’t worry I am not stupid. I am quite familiar with the computer
terms, as cache and so on.
But please explain me once more.
I would like to understand how my lovely ON works....
 
M

minimus


* The operations against the visible pages in the main program's UI to the
cache and
* The subsequent syncing from the cache to the "real" home of the data on
the USB key
are separate operations.

Or wait I will give it a try:

So suppose we have
1. a screen,
2. a cache, and
3. a usb stick.

What you say is:

* From 1 to 2 and
* From 2 to 3
are separate processes.

So:
* When I am doing 1 (writing on the screen to ON) ON is busy with 2 and at
this moment it does not matter what happens to 3.
But then I do not understand because if 1 affects 2, and if 2 affects 3,
then 1 will affect 3 right?
So there is something wrong here. I do not understand....

Ok I gave it a try and did not succeed.
 
R

Rainald Taesler

minimus schrieb:

I did not say anything like that. I can ofcourse eject after I
close the ON pages.
Hey please read the messages carefully.
I am not stupid and I know what I am doing.

Why so aggressive?
Be assured that I read all of your postings (although it's getting a bit
biring by the time) very carefully.

If you re-read yourself, you might see that you just had been
complaining about the fact that you could not eject the stick.
Only later you said that you were doing, what Bernd had suggested
(closing ON prior to ejecting).
So I asked back.
Before that, no word that "ofcourse" ejecting works after closing ON!!

BTW: just to the terminology: not "closing pages" (no such feature),
"closing ON" which means that ON is not running in the system anymore.

Anyway: It's a very basic thing for working with a stick to
- close applications using the stick (the same when working under Word
in a document stored in the stick);
- use "Ejcet" and/or "Remove hardware safely";
- plug off the stick only thereafter.

Rainald



Rainald
 
R

Rainald Taesler

minimus said:
* The operations against the visible pages in the main program's UI
to the cache and
* The subsequent syncing from the cache to the "real" home of the
data on the USB key
are separate operations.

Or wait I will give it a try:

So suppose we have
1. a screen,
2. a cache, and
3. a usb stick.

What you say is:

* From 1 to 2 and
* From 2 to 3
are separate processes.

So:
* When I am doing 1 (writing on the screen to ON) ON is busy with 2
and at this moment it does not matter what happens to 3.
But then I do not understand because if 1 affects 2, and if 2
affects 3, then 1 will affect 3 right?
So there is something wrong here. I do not understand....

Ok I gave it a try and did not succeed.

What did you try??
Which steps?
And what was not successful?

Rainald
 
I

Ilya Koulchin

minimus said:
Really?
So I am online and many On pages are open.
Without eject I unplug the usb stick all of a sudden.
And you say that I am fine....

What if ON was just writing things on the usb stick?
Would not I loose the data if I unplug it mistakenly or on intention
while ON is busy with the usb stick...

No. OneNote is designed to be robust against scenarios where the
notebook becomes unavailable in the middle of a read or a write. OneNote
will update its cache saying that it saved a particular bit of data to
your section only after it's completely sure that it really did save
that particular bit of data. If the stick is unplugged too early, it'll
just try to save that data again the next time the stick is plugged back
in (it might discover that it had actually managed to save the data
earlier, but it's prepared to deal with that too).
 
I

Ilya Koulchin

minimus said:
* The operations against the visible pages in the main program's UI to
the cache and
* The subsequent syncing from the cache to the "real" home of the data
on the USB key
are separate operations.

Or wait I will give it a try:

So suppose we have
1. a screen,
2. a cache, and
3. a usb stick.

A more accurate description would be:
1. Your computer's memory
2. The cache
3. The usb stick
So:
* When I am doing 1 (writing on the screen to ON) ON is busy with 2 and
at this moment it does not matter what happens to 3.
But then I do not understand because if 1 affects 2, and if 2 affects 3,
then 1 will affect 3 right?
So there is something wrong here. I do not understand....

When you type, your notes are stored in your computer's memory (1).
Every few seconds your notes are saved to the cache (2). Then every once
in a while OneNote attempts to sync changes between the cache and the
USB stick (3). This will typically happen once every 30 seconds, or
whenever you manually trigger a sync (F9, or "Sync Now"). If OneNote
tries to sync and the USB stick is not there it'll keep working with the
cache and try to sync again 30 seconds later.
 
E

Erik Sojka

OK. There's a cache behind the scenes where ON does all of its storage and
file management. All of the data in all of the the Notebooks is also
stored in the cache. Every operation done in OneNote (make a new Notebook,
delete a Page, add a new container, write/type, etc.) is stored in the
cache. Changes to ON content are written first to the cache and then later
to the "real" storage location. If the network location or USB key where
the "real" data is stored is unavailable, the changes are still written to
the cache until they can be synced to the network/USB.

Think of it sort of like a SQL or Oracle database. The ON cache is like
the transaction logs, and the USB key is like the raw database files.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top