Tags: file system

How to find out which files are open on my disk?

I am on Private Disk v 2.09. I close my files and every time I try to disconnect a drive letter I get the message:

There are files currently opened on disk Z:\

I feel that my data is not closing correctly. My question is how do I find out what file(s) are still open and how do I close them?

Quite often a volume can be used by a service, or another process that is running in the background - which makes it difficult to detect. In such cases, the best approach is to use a tool that monitors all the file activity that goes on in the system, and examine the list of processes that interfere with files located on the specific volume.

One such tool is Process Monitor; among many things, it can show which programs are working with data on a specific volume.

  • Start Process Monitor and make sure the File System Activity monitor is enabled
  • To simplify the task, create a new filter that will only show the activity that involves the volume you are interested in. The screenshot below illustrates how to add a rule that will only show which files are open on disk D:\
  • As you can see, in this example the non-system programs that are using files on disk D:\ are TheBat, Trillian.

proc-mon-add-filter

All you have to do is close these programs, and try to dismount the volume again.

If you see an unknown program accessing the volume, and you don't know how to close it (or you are not sure whether "killing the process" will have any serious consequences or not), look up the name of the program in a search engine and that will give you enough details to make a correct decision.

Share/Save/Bookmark

How to get over the 4GB limit on FAT32

Private Disk’s manual says that I can create virtual encrypted drives of terabytes in size, but when I try to create one, I am limited to 4 GB, why?

The problem is caused by the fact that the file system of the drive on which you intend to create the encrypted image is FAT32. This file system has a 'natural' limitation for the maximum file size it can handle, which is 4GB. Note that the partition itself can have a greater size, but you will not be able to create files greater than 4GB. Most often this pops up when you play with video editing software (as uncompressed video files are pretty large), or when you try to backup a DVD. Of course, the same applies to encrypted partitions created by Private Disk, since they are “just a file” that resides on your drive.

So, how to exceed the 4GB file size limit?

There is no solution to this problem, because FAT32 imposes this limitation by design. Now that you understand that, here's a workaround that is good enough for practical purposes.

You can solve the problem by converting the partition on which you intend to create the image to NTFS. NTFS is a progressive file-system, which is fault-tolerant and more efficient than FAT32, it also allows you to handle files of a greater size and provides many other improvements. Those other improvements are beyond the scope of this story, however I will make a little sub-story that explains why people are afraid of NTFS.

My observations have shown that the #1 ‘excuse’ is “but if my Windows crashes, and I boot from a floppy, I will not see my partitions and my data cannot be backed up”. That is a reasonable argument, but here’s a counter argument – since I’ve switched to Windows 2000 and then to Windows XP (to which NTFS is native), I have NEVER had the need to boot from a floppy to recover from a disaster, because there were NO disasters.

How to convert a partition to NTFS?

There are several ways to do that, for instance, you can apply third-party utilities that promise to do it without a hassle. But why pay for a program if Windows comes with a nice little tool that does the trick in no time?

Windows' native conversion utility is called convert. It works from the command prompt (don’t let that scare you), here is an example [assuming the drive letter is G:]

convert G: /FS:NTFS

press enter and watch the magic happen. If the drive you try to convert is your system drive, i.e. the disk on which the currently loaded Windows resides, you will be told that you need to restart the computer and let the conversion happen before the system loads. This is a fully automatic process, so there will be no hi-tech questions you won’t be able to handle. Just make sure that you have sufficient free space on the partition, so that there’s room for temporary files that are created during the process; note that Windows will warn you if there is not enough space on the partition.

The conversion procedure is a safe one, I have never seen it fail, but still - extra security measures will never hurt. I advise you to backup your critical data, so that in case something goes wrong during the conversion process - you will not lose any files. Either way, regular backups are a wise thing to do, and if they aren’t a part of your practice, take a look at this guide – the importance of backups: don’t wait until disaster strikes.

The screenshot illustrates the process:
1. press start\run
2. type cmd (then press enter; this will open the command prompt)
3. type convert d: /fs:ntfs (substitute d: with the letter of the partition you wish to convert, then press enter)

Share/Save/Bookmark

Special offer for Lazybit readers

PC/SC compliant smart card reader, compatible with SIM and USIM cards (2G, 3G), as well as CDMA and Nextel cards
  • Edit SIM phonebook
  • Backup and restore SIM cards
  • Erase SIM cards
  • Lifetime warranty
  • many other features...

Follow Dekart on Twitter Lazybit subscription via RSS

Reading material

powered by b2evolution free blog software