Questions tagged [defrag]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
2k views

NTFS Defrag fails - master file table is too fragmented. (0x89000023)

Issue: MFT is to fragmented to be defragmented OS: Windows Server 2016 The goal was to shrink a volume/partition to make room for a separate data section, but the question comes down to: any known ...
NiKiZe's user avatar
  • 1,306
1 vote
1 answer
671 views

xfs_fsr reports insufficient freespace on large VM images

I have several systems using glusterfs and xfs partitions. Some of these systems are hosts for VMs (using libvirt and with qcow2 for storage). I noticed that there was some substantial fragmentation ...
user3889271's user avatar
5 votes
1 answer
1k views

How to defrag volume using mountpoint?

I am trying to defrag the volume by optimize-volume cmdlet . I have passed mount point path. But it fails as below. PS C:\Users\Administrator> Optimize-Volume -Path C:\Testvol1\disk Optimize-...
Samselvaprabu's user avatar
0 votes
0 answers
987 views

Disable Disk Fragmentation Analysis - Windows Server 2008 R2 Standard

I have been asked to look into disabling the fragmentation analysis that Windows performs automatically for one of our servers. I have verified that the Disk Defrag tool shows automatic ...
mblasco's user avatar
  • 141
1 vote
2 answers
209 views

After cleaning a Folder DEFRAG did not really change the Database size

I moved ~50.000 emails from the Sent Folder to several .pst files [split by year] and the size of the Sent Folder was then indeed reduced by ~36GB [This is what I see in Outlook when I right click it ...
Peter VARGA's user avatar
0 votes
2 answers
1k views

Error when defragging Exchange Server 2010 mailbox Database

I am trying to perform an offline defrag on our Mail server. We are running Windows Server 2008 R2 Standard, but have Exchange 2010 installed. I am using eseutil to perform the defrag - however I ...
user291788's user avatar
0 votes
0 answers
187 views

Running Defrag Task Against Servers

I have a PowerShell script as follows: $ListOfServers = "Server1", "Server2" $RunDefrag = { param($Server) $Volume = Get-WmiObject -Class Win32_Volume -ComputerName $Server -Filter "...
The Woo's user avatar
  • 579
2 votes
1 answer
2k views

Need to stop SQL Server when using Disk Defragmenter?

Our provider told me today that I should stop Microsoft SQL Server and other database systems like MySQL when using the Windows Disk Defragmenter. Otherwise, the database might get corrupted. Since ...
Uwe Keim's user avatar
  • 2,460
2 votes
1 answer
2k views

Defrag running Daily at 2pm. No idea why

Our file server has always had a performance blip at 2pm every day. Nothing major but annoying. Finally tracked down the cause, or potential cause, being a defrag running at 2pm every day. Event ID ...
user avatar
1 vote
1 answer
2k views

Does the Windows Server 2012 Data Deduplication feature work with 3rd party defrag programs?

Does the Windows Server 2012 Data Deduplication feature work with 3rd party defrag programs, in particular Auslogics Disk Defrag? I recently enabled the Data Deduplication feature on a drive to test ...
bbosak's user avatar
  • 119
1 vote
2 answers
585 views

Quickbooks Server - insane fragmentation and disk space concerns

So I recently came into a position to manage the server for our small, 12 person, company. The previous sysadmin here had absolutely no clue what he was doing, and has left the following situation. I ...
NRGdallas's user avatar
  • 133
3 votes
1 answer
2k views

Should you defrag before capturing an image?

If I'm capturing an image with imagex.exe /capture ..., does it matter if I defrag the hard disk prior to doing so (or strictly speaking, before sysprep)? Is there any benefit to doing so with a file-...
Tim Lehner's user avatar
0 votes
2 answers
1k views

Why can't I defragment my SQL 2008 .mdf file?

I am defragmenting a badly (95%) fragmented drive upon which large (35 gig) SQL Server 2008 .mdf files live. After defragmenting and viewing the exception report, I see that the production .mdf ...
LesterDove's user avatar
0 votes
1 answer
159 views

Exchange 2003 Defrag is too slow

I have a Exchange database that has been cleaned out and a lot of space freed up. I would like to defrag the database using eseutil, but it is taking too long. I've tried moving the files to my ...
RobinBones's user avatar
1 vote
1 answer
267 views

Exchange defragment

A few days ago, we did an offline defrag on our exchange database. We have to make it to a new partition. The command was: "C:\Program Files\Exchsrvr\bin\eseutil.exe" /d /p /i "E:\Program Files\...
holian's user avatar
  • 33
7 votes
3 answers
7k views

Is Windows Disk Defragmenter good enough?

I know this can be sound a little like an open question, but I want your thoughts here. Maybe if someone have make a benchmark test or based on your experience. Do you think that Windows Defragmenter ...
Ricardo Polo Jaramillo's user avatar
1 vote
3 answers
139 views

what's a reliable and fast defrag for Win2k8/IIS7 server?

We inherited several Win2k8/II7 that host about 40 websites each. The drives are nearly full at all times, and while we're working on moving a lot of files to the Amazon S3, files are constantly ...
andryuha's user avatar
  • 297
0 votes
1 answer
571 views

Do I have space to defrag a machine hosted on VMWare ESXi 4.1?

I have inherited what I think is a badly configured VMWare ESXi 4.1 system, I know very little about VMWare. It currently hosts 2 systems. They are both on the same datastore, which is on RAID 5. ...
ColonelFazackerley's user avatar
0 votes
3 answers
430 views

Resize a new database to predicted maximum size

Currently I have a SQL Server database which is about 2 Gb. I know over the next year it's going to grow to a maximum of about 10Gb. Hard drive space is not an issue in the slightest. Is there a ...
John Oxley's user avatar
0 votes
2 answers
326 views

Defragment a FILESTREAM data container

Has anyone ever tried to defrag a FILESTREAM data container using the Windows Disk Defragmenter? Does this work without taking the FILESTREAM enabled database offline? If this doesn't work, can ...
electricsk8's user avatar
3 votes
4 answers
443 views

Is defragmentation of VHDs necessary?

I've got about 60 servers that were migrated from physical machines running on ESX 4. I'm having issues with the Diskeeper software installed, and I'm trying to decide if I should try to fix the ...
CarloBaldini's user avatar
1 vote
1 answer
1k views

Does the Windows Server 2008 disk defragmenter work with open files?

I have a server running a number of Hyper-V guest instances. One recommendation to improve the performance of our guest OSes is to defragment the vhd files. Can I do this while the guest is still ...
Eric Falsken's user avatar
4 votes
3 answers
14k views

How do I move the physical location of $MFTMirr, to allow resizing the partition?

When an NTFS volume is created, the first four entries of the MFT are copied and placed halfway the volume in the $MFTMirr file. According to Microsoft, since XP these files (metadata files) can be ...
Abel's user avatar
  • 1,047
4 votes
4 answers
28k views

Resizing volume with DiskPart unsuccessful, while there's enough free space

I have a physical disk with two partitions, an old OS partition (with MBR) of 296GB and a RECOVERY partition of 2048MB (a default DELL recovery partition), both are not in use. I have successfully ...
Abel's user avatar
  • 1,047
2 votes
1 answer
1k views

Defrag starting when not scheduled. What is triggering the defrag

I have a fileserver that is starting a defrag around 2:00 PM everyday. This is killing performance as it runs for ours becuase this is a file server and has multiple drives. All scheduled tasks ...
Leroy Clark's user avatar
6 votes
4 answers
4k views

Does Windows Defrag utility reports fragmentation correctly on a RAID system?

We have a server with a RAID volume. Windows DEFRAG shows very high fragmentation (90%) on the volume. My chief asked if DEFRAG reported fragmentation is correct (or near correct) or not. We don't ...
Fabricio Araujo's user avatar
3 votes
5 answers
5k views

Windows 2008 Microsoft Disk Defragmenter

Is the Disk Defrag utility built into Windows 2008 and Windows 2008 R2 good enough? I see lots of 3rd party defragmentation tools out there but I'm wondering if they were meant for Windows 2003 and ...
user27387's user avatar
  • 313
1 vote
1 answer
706 views

windows server 2003 consolidate free space

I would like to move all the data on a drive in Windows Server 2003 to the beginning of the drive (a virtual hard drive) so that I can more fully compact the .vhd file. However, the Windows server ...
Nathan's user avatar
  • 306
1 vote
2 answers
2k views

What is the significance of "Percent MFT in use"?

Reading through a Disk Defragmenter analysis report I noticed that my NTFS Master File Table was 6.87GB in size, but only 4% of it was reported as in use. Is this something that could cause NTFS ...
Richard Ev's user avatar
1 vote
1 answer
597 views

Benefit of Defragging SQL Server Data files located on a SAN

In the past, I have used contig.exe to remove physical fragmentation from SQL Server data files. They have always been on locally attached storage. Is there any benefit to running this on a data file ...
Jason Horner's user avatar
6 votes
6 answers
12k views

Does defragmenting your hard drive before resizing the partition have any benefits?

Whenever I install Linux on a box that has Windows, and I want to dual boot, I always defragment the hard drive as much as possible before resizing the partition. Is this just superstition, or is it ...
andrewrk's user avatar
  • 263
1 vote
1 answer
2k views

Dealing with fragmented VM shared storage

We have a Citrix XenServer pool with 3 hosts, using a shared NFS Storage Repository for our VMs. The SR is hosted on a Windows 2003 Storage Server blade, that was included with our 3000 series HP ...
LukeR's user avatar
  • 3,146
2 votes
9 answers
564 views

Is it worthwhile to defrag workstation computers?

Our [Windows] workstations mostly just run MS Office and our CRM and ERP clients. All real data is stored on the servers. Is there any point to defragging these machines? If so, how often?
user avatar
1 vote
1 answer
3k views

Defrag a drive encrypted with Whole Drive Encryption

I am running Windows Vista where the entire system drive has been encrypted using Truecrypt 6.2 Whole Drive Encryption (WDE). I was wondering whether defragging a drive which is encrypted with WDE ...
kpax's user avatar
  • 195
4 votes
4 answers
4k views

VM Virtual guest machine disk defrag improves performance, myth or reality?

In operation of a virtual Vmware or Hyper-V guest typically advice is given to defrag the host and virtual disk images so to result in improved performance. Something like a cmd: vmware-vdiskmanager -...
jafin's user avatar
  • 335
8 votes
9 answers
758 views

Defragmenters useful for *nix?

Having come from a windows enviroment, I was curious if defragmenters are useful in *nix. More specifically, OS X.
GeoffreyF67's user avatar
25 votes
9 answers
88k views

How much space should you leave free on a hard disk? [closed]

Is there a rule of thumb for how much space to leave free on a hard disk? I used to hear you should leave at least 5% free to avoid fragmentation. [I know the answer depends on usage (eg: video files ...
username's user avatar
  • 4,785
9 votes
1 answer
1k views

How can I tell when it is time to defrag my SQLServer database?

What is the best practice for measuring SQLServer database fragmentation/performance rolloff and determining when to defrag a SQLServer database table? I'm most interested in learning what the useful ...
Jeff Leonard's user avatar
3 votes
3 answers
13k views

Is it bad to defrag a minimally fragmented drive?

Someone told me that it is not always a good idea to defragment a minimally fragmented drive (<2%); and that it could cause performance issues. Are they right, and why/why not?
BIBD's user avatar
  • 1,876
25 votes
7 answers
5k views

Do I need to defrag unix filesystems?

I know Windows file systems are very sensitive to fragmentation and Unix such as UFS, ZFS, ext3, or ext4 are not as sensitive. But, is there any reason to defragment these filesystems at all? If so, ...
paulgreg's user avatar
  • 4,164
32 votes
3 answers
32k views

Should I defrag my RAID volumes?

It seems to me that since RAID volumes are logical (as opposed to physical), the layout that the OS believes they have might not correspond to the actual phsyical layout. So does defrag make sense ...
Aidan Ryan's user avatar
  • 1,283