Expand disk

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
vsanfan2
Posts: 4
Joined: Mon Nov 19, 2018 3:36 pm

Mon Nov 19, 2018 3:43 pm

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.
Attachments
vsan.png
vsan.png (32.25 KiB) Viewed 4965 times
Oleg(staff)
Staff
Posts: 568
Joined: Fri Nov 24, 2017 7:52 am

Wed Nov 21, 2018 3:23 pm

This option should be available via a console.
vsanfan2
Posts: 4
Joined: Mon Nov 19, 2018 3:36 pm

Thu Nov 22, 2018 12:28 am

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 )
Attachments
100GB.png
100GB.png (20.6 KiB) Viewed 4948 times
Oleg(staff)
Staff
Posts: 568
Joined: Fri Nov 24, 2017 7:52 am

Thu Nov 22, 2018 3:14 pm

I am telling about Linux Cockpit, you should extend drive inside Linux VMs initially.
vsanfan2
Posts: 4
Joined: Mon Nov 19, 2018 3:36 pm

Sun Nov 25, 2018 3:15 am

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.
Oleg(staff)
Staff
Posts: 568
Joined: Fri Nov 24, 2017 7:52 am

Mon Nov 26, 2018 4:09 pm

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.
vsanfan2
Posts: 4
Joined: Mon Nov 19, 2018 3:36 pm

Thu Nov 29, 2018 3:27 am

Oleg - that worked for me. Appreciate the assistance.
Oleg(staff)
Staff
Posts: 568
Joined: Fri Nov 24, 2017 7:52 am

Thu Nov 29, 2018 10:03 am

You are welcome :)
Post Reply