CCTV TECH
Nassau, Bahamas
Search this site Search Help
Default
Newest
Oldest
CCTV Forum News
Use our miniPSS tool to get
enhanced hotkeys in PSS.
miniPSS is an EXE wrapper
for PSS on Windows XP/7.
Visit the Forum Post
All CCTV Pages
All Visual Basic
Real Estate in The Bahamas from $25,000
All Categories
Partners
 
 
 
Using Drive SnapShot to Grow Partition
October 4th, 2008

Alternative to using Partitioning Software like Partition Magic.

Download Drive Snapshot
Trial Download with all working features.
It grows the partition "on the fly" and its a self executable.

GUI Option:

Back up the first partition or just grab a .sna file from somewhere else. (wont actually use it in this case)
Click restore and select a valid .sna file and click next.
Highlite the first partition by selecting it. (dont restore to it)
Right click over the partition info area then select grow partition.
Type in the max disk size as it shows and click grow.
Done.

Command Line Options:

Using command options with Drive SnapShot to grow the partition, without having to use the GUI and load a valid .sna file.

snapshot --resizepart X: (show actual partition size of X: and max available size to grow to )
snapshot --resizepart X: 1000  (grow partition and filesystem to 1000 MB)
http://www.drivesnapshot.de/en/commandline.htm

if its a 160GB hard drive then one could just do the following and it will resize it to the max available size
(by using a size larger then the disk size, eg. 200GB):

snapshot --resizepart X: 200000

Dont want to open a command prompt window and search for snapshot.exe with DOS commands?
Just right click on SnapShot, Create Shortcut, then right click properties on the shortcut.
Enter the command "--resizepart X: 200000" after the target and a space, in the target box, eg.
C:\snapshot.exe --resizepart X: 200000 (where X is the partition to grow)
Then click on that shortcut to run the command.

And for reference purposes the following will get max available size and resize X: partition to that size:
(put in a command file, .cmd)

      
@echo off
SET drive=X:
ECHO Resizing Partition ..

FOR /F "tokens=5 delims= " %%A IN ('snapshot --resizepart %drive%') DO SET max=%%A
snapshot --resizepart %drive% %max%

ECHO Partition Resized to %max%
PAUSE


CCTV | DVR | Video Surveillance | CCTV Cameras | Remote Video | Tech Support | Software | Scripts | Articles | Burglar Alarms | Alarm Monitoring | Real Estate
Copyright © 2001/2012 BahamasSecurity.com
 
Website hosted in Nassau, The Bahamas