Page 1 of 1

Expand disk

Posted: Mon Nov 19, 2018 3:43 pm
by vsanfan2
Hi.

Using the Vsphere Appliance.

I expanded the VMDK disks on both appliances, and the additional space is showing up in the STARWIND VIRTUAL SAN, but I don't know how to safely allocated the additional space to the already mounted drive.

The desktop Starwind manager does not show the additional space either, for either node, thus expansion is not an option.

** Please see attached screenshot.

Thank you.

Re: Expand disk

Posted: Wed Nov 21, 2018 3:23 pm
by Oleg(staff)
This option should be available via a console.

Re: Expand disk

Posted: Thu Nov 22, 2018 12:28 am
by vsanfan2
I'm afraid I don't see that option; or the option does not allow me to perform the operation, as it only shows the original disk size ( 100GB ) as available. ( attached screenshot )

Re: Expand disk

Posted: Thu Nov 22, 2018 3:14 pm
by Oleg(staff)
I am telling about Linux Cockpit, you should extend drive inside Linux VMs initially.

Re: Expand disk

Posted: Sun Nov 25, 2018 3:15 am
by vsanfan2
Thank you for the reply. Is this something I have to perform in the Terminal portion of the Cockpit; or is there a menu option that I am not seeing?

I could not find any documentation on the subject.

Thanks.

Re: Expand disk

Posted: Mon Nov 26, 2018 4:09 pm
by Oleg(staff)
Sorry, you should extend the disk initially via Terminal or Linux console.
For this:
-stop StarWind VSA with the help of command: systemctl stop StarWindVSA;
-extend the drive: xfs_growfs -d /mnt/disk2;
-rescan the storage: echo 1 > /sys/class/scsi_device/device/rescan (should be something like echo 1 >/sys/class/scsi_device/32\:0\:2\:0/device/rescan);
-start StarWind VSA with the help of systemctl start StarWindVSA.

You should be able to see the new size of storage.

Re: Expand disk

Posted: Thu Nov 29, 2018 3:27 am
by vsanfan2
Oleg - that worked for me. Appreciate the assistance.

Re: Expand disk

Posted: Thu Nov 29, 2018 10:03 am
by Oleg(staff)
You are welcome :)