Pages

Monday, July 28, 2014

Expanding VMDK disk under VirtualBox

Was trying to resize a VMDK disk and found out that the VBoxManage does not support VMDK as of yet (or my version of VirtualBox didn’t support it)

Important thing to take note when trying to resize !

  1. Resizing does not work if the guest has snapshots (prior to version 4.3.*)
  2. It will NOT work on Fixed drives
  3. VDI disk ONLY

*** after resize you NEED TO expand the partition using tools such as GParted !

image

Solution

  1. Shutdown the virtual machine
  2. Remove the virtual disk
  3. vboxmanage clonehd original.vmdk clone.vdi --format vdi
  4. vboxmanage modifyhd clone.vdi --resize 40960
  5. vboxmanage clonehd clone.vdi newdisk.vmdk --format vmdk

Finally download GParted Live CD and boot it up. Resize the partition and format it.

Done.

Sunday, July 20, 2014

Missing mandatory statement: ‘root-authentication’

After a fresh install of the JUNOS and assign an IP address on a interface and tried to execute “commit” but encounter an error:

Missing mandatory statement: 'root-authentication'

image

Junos OS requires configuration of the root password before it accepts a commit operation.

Assign the root password:

# set system root-authentication plain-text-password

image

The password set need to meet the requirements.

Now commit again.

image

The journey begins.

[ref] http://www.juniper.net/techpubs/en_US/junos14.1/topics/task/configuration/root-password.html

INIT: Id “T0” respawning too fast: disabled for 5 minutes

After you installed the Brocade vRouter, you would notice the error message which keep popping up.

INIT: Id “T0” respawning too fast: disabled for 5 minutes

image

/etc/inittab

image

Solution, issue this command witin vRouter

# sudo sed -i 's/T0/#T0/' /etc/inittab

Install Brocade 5400 vRouter in VirtualBox

Brocade v5400
VirtualBox 4.2.8

Start VirtualBox and create a new virtual machine

image

Give the virtual machine a Name and type Linux , Version

image

The minimum RAM size needed to run a vRouter is 1 GB.

image

Create a new hard disk for this installation

image

Select VMDK disk type

image

Select the dynamic disk type @ thin install

image

Allocate the disk space

image

After creation, right click and select Settings

image

Add the vRouter ISO file in the CD/DVD Drive

image

Locate the ISO file

image

Power the virtual machine up and you will see the Vyatta logo

image

After finish booting you will be at the live CD login prompt

image

Login using the following credentials

Username : vyatta

Password : vyatta

image

Install the Brocade vRouter onto the virtual harddisk

# install image

image

image

image

image

image

image

Note down the password you enter during installation !

image

image

Shut the virtual machine down and remove the ISO from the virtual CDROM. The boot the virtual machine up.

image

Upon boot up, login using the password you set during installation process

image

Done. Brocade vRouter installed

Tuesday, July 8, 2014

VTP protocol user notification: MD5 digest checksum mismatch on receipt of equal revision summary on trunk

Error Message

VTP protocol user notification: MD5 digest checksum mismatch on receipt of equal revision summary on trunk

The domain was changed from NULL to CCNA but VTP client has a different MD5 digest which causing the error to prompt out.

MD5 after changing the VTP domain (VTP Server)

image

MD5 after changing the VTP domain (VTP Client)

image

Solution

Create a temporary VLAN and then removing it will cause the VTP server to send out updates hence clearing this issue.


config t
vlan 99
exit
no vlan 99

Wednesday, July 2, 2014

Lucky winner for the Symantec surveys - 8GB USB

image

Today received in the mail a parcel which felt heavy inside, by looking at the it did said it came from Symantec and inside was the USB drive which look like and felt like a lock !

A picture is worth a million word ! Thanks Symantec !

symantec_usb_sm