UNSOLVED

Ed_R1

updated

16 years ago

E

Ed_R1

53 Posts

0

825

June 9th, 2010 04:00

Symmetrix hyper defragmentation, using symmetrix optimizer

I'm looking at my Symmetrix array, and over 3 years or so of 'adds and deletes' of LUNs, we've ended up with quite a lot of 'gaps' showing up on our disks.

As these things turn out, these gaps seem to have ended up inconveniently sized, such that of our theoretical available capacity, not all that much is really usable.

So I was wondering - has anyone tried to defragment the symmetrix disks, by relocating the hypers?

I'm... well, sort of thinking it'll be difficult, because a symconfigure create won't let me control where the hypers go precisely. But they do, at least, use a predicatable pattern, and therefore it's possible to predict an outcome.

So I could:

Identify the 'gaps' I want to consolidate, and the LUNs that come 'after' said gaps.

Create new hypers - of the right size/geometry - elsewhere - either in the same disk group, or ideally (for this purpose at least - I recognise it may not be optimal elsewhere) a separate DG.

Use Symmetrix optimizer to manually swap - such that your 'real' data is moved onto the temporary devices.

delete the devices that have been swapped onto your existing disk, and re-create them, such that they'll be right at the end of the existing data.

And then use symmetrix optimizer to swap back.

This might need to swap off a bunch of hypers, delete and recreate them, but if you're lucky/smart about it, you may well be able to get away with just a little bit of re-arranging - that gap is _probably_ of a standard-ish size, that's been left because you deleted a lun, so you can probabably 'fill' it, and reshuffle accordingly.

Now, I thought I'd post here as a sanity check - does this sound feasible?

Does functionality like this exist already/is there a better way of doing it?

Please note - I'm talking about fragmentation of the hypers on the symmetrix disk groups, not the host filesystem - that we've got host-side tools for.