Increasing the Flash Size on a KVM Hypervisor

ArubaOS enables you to increase the size of your flash to ensure that the flash is hosted on a separate disk. By doing this you can move to a hard disk with higher storage capacity for flash with minimal impact. Follow the steps below to increase the size of the flash on the Mobility Master Virtual Appliance.

1. To protect the data on the controller, take a flashback up of ArubaOS using scp/ftp/tftp.

(mm) [mynode] #show storage

Filesystem Size Used Available Use% Mounted on

none 3.0G 5.6M 3.0G 0% /tmp

/dev/vdb1 7.7G 452.7M 6.9G 6% /flash

/dev/vda5 1.4G 380.3M 1022.7M 27% /mnt/disk1

/dev/vda6 1.4G 380.3M 1022.7M 27% /mnt/disk2

(mm) [mynode] #backup flash

Please wait while we take the flash backup.......

File flashbackup.tar.gz created successfully on flash.

Please copy it out of the controller and delete it when done.

(mm) [mynode] # copy flash: flashbackup.tar.gz scp: 10.16.9.107 tester flashbackup.tar.gz

2. Access the virt-manager and right click on the VM Virtual Machine. A VM is an emulation of a computer system. VMs are based on computer architectures and provide functionality of a physical computer.. Select Shut Down.

3. Click Shut Down for a graceful shutdown of the VM Virtual Machine. A VM is an emulation of a computer system. VMs are based on computer architectures and provide functionality of a physical computer..

Figure 1  Graceful Shutdown

4. Add a new VirtIO Disk according to your requirement. For more information refer to the sizing table in Aruba Mobility Master Virtual Appliance.

5. Double click the VM Virtual Machine. A VM is an emulation of a computer system. VMs are based on computer architectures and provide functionality of a physical computer. and click Show virtual hardware details. Click on Add Hardware.

6. In the Add New Virtual Hardware window click Storage. Enter a desired value for the Create a disk image on the computer hard drive option and click Finish. A new disk is added.

Figure 2  Adding New Virtual Hardware

7. Power on the VM Virtual Machine. A VM is an emulation of a computer system. VMs are based on computer architectures and provide functionality of a physical computer.. The following message is displayed when ArubaOS boots up.

ArubaNetworks

ArubaOS Version 8.1.0.0 (build 57204 / label #57204)

Built by p4build@lemnos on 2017-04-06 at 20:26:23 PST (gcc version 4.7.2)

(c) Copyright 2017 Hewlett Packard Enterprise Development LP.

[10:18:22]:Starting device manager [ OK ]

Formatting new flash [ OK ]

Forcing filesystem check on new flash [ OK ]

Mounting new flash [ OK ]

Copying files to new flash [ OK ]

8. Once the system boots up, the new disk will show up as vdc and not vdb. The flash will contain the old data.

(mm) [mynode] #show storage

Filesystem Size Used Available Use% Mounted on

none 3.0G 7.5M 3.0G 0% /tmp

/dev/vdc1 15.6G 477.7M 14.4G 3% /flash

/dev/vda5 1.4G 380.3M 1022.7M 27% /mnt/disk1

/dev/vda6 1.4G 380.3M 1022.7M 27% /mnt/disk2

(mm) [mynode] #

9. Power off the VM Virtual Machine. A VM is an emulation of a computer system. VMs are based on computer architectures and provide functionality of a physical computer. and select VirtIO Disk2. Click Remove and reboot the controller.

10. Click Yes in the Are you sure you want to remove this device window.

11. The following information is displayed after rebbot and you will be able to use the new disk.

(mm) [mynode] #show storage

Filesystem Size Used Available Use% Mounted on

none 3.0G 7.6M 3.0G 0% /tmp

/dev/vdb1 15.6G 477.8M 14.4G 3% /flash

/dev/vda5 1.4G 380.3M 1022.7M 27% /mnt/disk1

/dev/vda6 1.4G 380.3M 1022.7M 27% /mnt/disk2

(ArubaMM) [mynode] #

 

ArubaOS supports only 3 disks and the size of the new disk that is added should be more than the current disk size.