What exactly is a normal lock?
-
- Posts: 52
- Joined: Sat Jul 13, 2019 3:37 pm
- Location: The Netherlands
What exactly is a normal lock?
In IFW settings both under PHYLock settings as well as VSS settings there is an option “Use If Locking Fails” which is explained in the manual with “Attempt a normal lock and only add the partition to the VSS snapshot if locking fails” for VSS and a similar explanation for PHYLock. A normal lock must thus be related to Windows itself, outside VSS. But what exactly is a normal lock then in Windows? The manual does not explain this and I have unfortunately failed to find an explanation when I searched the web.
-
- Posts: 783
- Joined: Fri Aug 12, 2011 5:58 pm
Re: What exactly is a normal lock?
That's an interesting question. I always thought that either PhyLock or VSS is required to obtain a lock, but I agree that language in the manual seems to imply that there is some other "normal lock" and that PhyLock/VSS needs to be used only if this "normal lock" fails. This is, indeed, quite surprising and confusing. I don't understand it either.
-
- Posts: 1635
- Joined: Fri Aug 12, 2011 12:51 am
Re: What exactly is a normal lock?
A normal lock would be one where IFW can obtain exclusive access to the partition. It wouldn't work on a running Windows partition, for example, since it's always being used. It could work on data partitions not being used, no open files, etc. In cases where it can work, an "aggressive lock" may also be necessary (invalidates open handles and forces a dismount).
A normal lock is also the type used in TBWinPE/RE where VSS and PHYLock aren't available. In Windows, it generally easier to just use VSS or PHYLock and not deal with in-use or not situations.
A normal lock is also the type used in TBWinPE/RE where VSS and PHYLock aren't available. In Windows, it generally easier to just use VSS or PHYLock and not deal with in-use or not situations.
-
- Posts: 783
- Joined: Fri Aug 12, 2011 5:58 pm
Re: What exactly is a normal lock?
Which is what I've always done, but thanks for the information.TeraByte Support(PP) wrote: ↑Sun May 07, 2023 12:27 am In Windows, it generally easier to just use VSS or PHYLock and not deal with in-use or not situations.
-
- Posts: 52
- Joined: Sat Jul 13, 2019 3:37 pm
- Location: The Netherlands
Re: What exactly is a normal lock?
Thanks for the informative explanation.TeraByte Support(PP) wrote: ↑Sun May 07, 2023 12:27 am A normal lock would be one where IFW can obtain exclusive access to the partition. It wouldn't work on a running Windows partition, for example, since it's always being used. It could work on data partitions not being used, no open files, etc. In cases where it can work, an "aggressive lock" may also be necessary (invalidates open handles and forces a dismount).
A normal lock is also the type used in TBWinPE/RE where VSS and PHYLock aren't available. In Windows, it generally easier to just use VSS or PHYLock and not deal with in-use or not situations.