Start a Conversation

Unsolved

This post is more than 5 years old

P

2495

October 24th, 2012 08:00

Preallocated LUN (VMAX)

IHAC

I have a device (LUN) - with 128GB

Previsouly it was FULLY pre-allocated (100%)

Now I preallocated to 50% and reclaimed remaining space.

How can i make sure the data within it and the new writes going to be in 50% preallocated space? Any primus?

thanks in advance.

regards

Prasanth

96 Posts

October 24th, 2012 10:00

Thanks Saurabh. Any updated document shows this?

859 Posts

October 24th, 2012 10:00

None that I am aware of?

859 Posts

October 24th, 2012 10:00

the writes will go to the preallocated space first and then to unallocated. I am not sure if any primus article exist which states the same?

96 Posts

October 24th, 2012 10:00

Hi Quincy - Can you pl guide me with one sample CLI command? eg - device 0F10

1.3K Posts

October 24th, 2012 10:00

As far as I know, preallocated space is assigned to specific LBA ranges on the TDEV.  I would assume that a 50% allocated TDEV would have the first 50% of the LBA range to be allocated.  Any write past that point would be a new allocation.   Writes to the LBA addresses below the 50% would not create a new allocation.

This could easily be confirmed using a simple dd command with a count option.

465 Posts

October 24th, 2012 16:00

It is the file system that is in control of where within the lun that new allocations are made. There is no CLI functionality that maps out LBA ranges by preallocated / written etc. Even if there were, how are you going to influence your file system to make the allocations in certain locations?

1.3K Posts

October 24th, 2012 17:00

For example with a 1GB device, writing to 1/2 of it.

dd if=/dev/zero of=/dev/rdsk/c1t10d0s0 bs=512k count=1024

96 Posts

October 25th, 2012 03:00

Hi Quincy - Thanks.

Is this command run at host level and can be run on production LUNs (I mean no performance impact while verifying the write counts) ??

Thanks in advance.

1.3K Posts

October 25th, 2012 05:00

The command listed will write zeros to every block from the first block until the count specified.  So please don't run it against any device that has data you want on it.

448 Posts

October 25th, 2012 05:00

I would suggest you create a new lun to run that command on and do not place any production data on it prior. 

No Events found!

Top