Vincent Yang's Blog Archive

医疗信息系统、思维导图、职场规划、创新生命周期管理
欢迎光临 Vincent Yang's Blog Archive 登录 | 注册 | 帮助
位于 搜索

VincentYang Blog Archive

Windows 用户:如何控制硬盘系统还原占用的空间?

Vista (包括其他Windows版本),硬盘的系统恢复还原功能可能用掉了非常多的空间。如果你硬盘空间不够了,你可以查一下。

在我家的一个机子150G的C盘上,就用了36G。如果仔细查,可以用TreeSize Professional软件(强烈推荐这款软件)发现“System Volume Information”目录用了36G,且不能打开看。

但是大家可以用Windows 的vssadmin命令行来控制或释放:

1) 查一下用掉多少空间:

C:\>vssadmin list shadowstorage

vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool

(C) Copyright 2001-2005 Microsoft Corp.

Shadow Copy Storage association

For volume: (C:)\\?\Volume{96bdb307-7b54-11dc-b7c8-806e6f6e6963}\

Shadow Copy Storage volume: (C:)\\?\Volume{96bdb307-7b54-11dc-b7c8-806e6f6e69

63}\

Used Shadow Copy Storage space: 36.946 GB

Allocated Shadow Copy Storage space: 38.404 GB

Maximum Shadow Copy Storage space: 33.695 GB

2) 查一下resize参数,用最后一条例句该为你认为合适的大小:

C:\>vssadmin resize shadowstorage

vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool

(C) Copyright 2001-2005 Microsoft Corp.

Error: A required option is missing.

Resize ShadowStorage /For=ForVolumeSpec /On=OnVolumeSpec [/MaxSize=MaxSizeSpec]

- Resizes the maximum size for a shadow copy storage association between

ForVolumeSpec and OnVolumeSpec. Resizing the storage association may

cause shadow copies to disappear. If MaxSizeSpec is not

specified, there no limit to the amount of space it may use. As certain

shadow copies are deleted, the shadow copy storage space will then

shrink. MaxSizeSpec must be 300MB or greater and accepts the following

suffixes: KB, MB, GB, TB, PB and EB. Also, B, K, M, G, T, P, and E are

acceptable suffixes. If a suffix is not supplied, MaxSizeSpec is in

bytes.

Example Usage: vssadmin Resize ShadowStorage /For=C: /On=D: /MaxSize=900MB

3)我改为还原空间上限5G

C:\>vssadmin Resize ShadowStorage /For=C: /On=C: /MaxSize=5120MB

vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool

(C) Copyright 2001-2005 Microsoft Corp.

Successfully resized the shadow copy storage association

C:\Downloads>vssadmin list shadowstorage

vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool

(C) Copyright 2001-2005 Microsoft Corp.

Shadow Copy Storage association

For volume: (C:)\\?\Volume{96bdb307-7b54-11dc-b7c8-806e6f6e6963}\

Shadow Copy Storage volume: (C:)\\?\Volume{96bdb307-7b54-11dc-b7c8-806e6f6e69

63}\

Used Shadow Copy Storage space: 0 B

Allocated Shadow Copy Storage space: 0 B

Maximum Shadow Copy Storage space: 5 GB

申明:普通用户慎用,请查阅相关指令说明了解实际功能用途

评论

尚无任何评论

About vincent

软通艾康(北京)科技有限公司,VP,CTO ☆1989年毕业于清华无线电系。1996年加入微软总部,曾任职于 Windows NT International、SBS、OLEDB/ADO、MSN、BI Platform、中国技术中心、平台及开发技术部等部门;同时兼有项目经理、研发、测试的产品开发团队经验,和市场与行业经验。曾参与MSN超大规模用户数据库,微软BizSharp商业智能平台的开发;曾担任Microsoft Business Scorecard V1的主要研发人员。对超大规模高效能数据库及网络开发,企业级商业智能及解决方案有丰富经验。2005年回国,曾创建微软中国RFID创新实验室。曾任微软中国软件架构首席顾问,致力于推广微软新技术与企业应用软件架构理念。 ☆2008年12月创立诺金永信(北京)科技有限公司,重点在医疗信息系统软件行业的咨询、研发、实施,结合国外先进经验与国内市场特色,开拓第三代医疗信息软件市场。 ☆2011年2月并入软通动力集团公司,更名软通艾康(北京)科技有限公司,开拓健康服务平台。 ☆同时对医疗行业应用,个人职场规划、企业创新生命周期管理有独到研究,曾在一些院校与单位培训演讲。部分讲稿被收录在个人网页http://www.vincentfengyang.com

链接

聚合

Powered by Community Server (Non-Commercial Edition), by Telligent Systems