File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes General Computing and the fly likes Reclaiming Disk space in Vista Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "Reclaiming Disk space in Vista" Watch "Reclaiming Disk space in Vista" New topic
Author

Reclaiming Disk space in Vista

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9243
    
    1

Guys,

I do not know if this is the right forum for this question. But I would like to know how I can reclaim the disk space from a partition. When I right click on it the Expand Volume option appears disabled. Any idea on how to get this done. Thanks in advance!


SCJP 1.4, SCWCD 1.4 - Hints for you, SCBCD Hints - Demnachst, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5772
    
    7

In Disk Management, if you right-click on a partition of a disk, the Extend Volume option is enabled only if you have free, unallocated space on the disk.

I would like to know how I can reclaim the disk space from a partition.[/close]

This sounds to me like you want to shrink the size of the partition and thus free up some unallocated disk space. Use the Shrink Partition option to do that. But before you do, defragment your drive. The Vista defragmenter is horrible (no visual clues as to disk usage), so I use Defraggler


JBoss In Action
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9243
    
    1

Thanks for the reply. Could you also please let me know if 80 GB for Vista would be enough? I just partitioned my drives and had a dual boot of Windows and Ubuntu. I have another 40 GB partition where I have planned to install all the softwares that I would ever be using on my Windows partition. Apart from this I would install Maven which would inturn will create a repository of jar files on my Windows user directory. So is this enough space for what I'm trying to do?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5772
    
    7

My Vista partition on my desktop is only 50GB and I have a lot of stuff installed. Of course, I have a very large second partition where I have all the stuff I am working on (Java stuff, music, videos, etc.) So 80GB should be plenty of room for Vista and the typical apps. But for just the Java stuff (including the local Maven repository), 40GB should be fine.
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9243
    
    1

You are really helpful. Thank you very much. Bug you in the Linux Forum as I'm beginning to get a hold of the Linux OS!
Pranav Bhatt
Ranch Hand

Joined: Mar 20, 2006
Posts: 284
Jothi,

If you will try with the default Vista Device Management you might not get all the space you want to shrink. I mean if you have some 120GB for a drive and you want to shrink it to 40GB and remaining 80GB as a new drive, then while using the default Management it may not allow you to free all that space.

I faced the same problem as the data gets stored in the disk in different sectors not at same place. I mean it dont get accumulated at the very next place which is unoccupied. You can run diskfragmentor to pile up all the data, this may help to free more space. Or you can download some partition tool to work out with.

I have used EASEUS Partition Master, try it out after downloading.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reclaiming Disk space in Vista
 
Similar Threads
Trouble with Orion Server
How to find the free space on hard disk
Java Memory
Interacting with Windows API
Java Memory