#LUN shrink
1 messages · Page 1 of 1 (latest)
You can do that from the CLI. MY Advice, First, try this when the lun is less active, Create a clone of the lun, so you can have something to revert to incase. Using the CLI, use the lun resize command to set the desires size.
Thanks, but what is the previous size?
Is it exactly what "lun show" told me before running the resize command?
Yes. The lun show command shows the size of the lun.
I will advise that you double-check this time that you are working on the correct lun
If you expanded the partition in Windows I don't think it would be a good idea to resize the LUN from the CLI... If you have expanded the partition there are also ways to shrink it... but you will have to involve Windows... You can use SnapCenter and install an agent on the Windows server which will then be able to shrink the LUN for you... (there are no doubt other ways too)
Generally I would recommend the following:
- look at the size of the partition in Windows
- round it up a gigabyte or a few gigabytes
- shrink the LUN to that (larger) size
- expand the partition in the disk to use the remainng bit of space (the "rounded up" value)
That way you can be reasonably sure that you are not losing data. If you specify the current partition size or something, you might cut off a bit from the end of the LUN, resulting in data corruption