Scrutinizer Vritual Appliance Extending Disk Partition

Scrutinizer is an enterprise/business class NetFlow and sFlow analysis tool. Scrutinizer provides historical trends of the company's critical network interfaces as well as the details on:

Who: The end system causing the traffic
What: The application/protocol that is being used
When: The time frame it has been occurring for
Where: The network connection that is affected

Moderators: scottr, Moderator Team

Post Reply
bookem4096
Posts: 1
Joined: Fri Nov 22, 2013 3:59 pm

Scrutinizer Vritual Appliance Extending Disk Partition

Post by bookem4096 » Tue Nov 26, 2013 9:28 am

I recently installed the Scrutinizer Virtual Appliance (version 11.0.2) and when I created the VMWare virtual machine, I created it with a 1TB disk LUN. When I installed the Scrutinizer OVF file, it created logical disks but the /var/db volume was only 99MB. Since I am not real familiar with CENTos LINUX, I had to do some research and found an excellent article on how to extend a disk partition (thanks to "A bozo's blog" from blogspot.com).

I documented the procedure specific to the Scrutinizer Virtual Machine Installation here:

Signed in as root, here are the commands:

Here is what we started with:

Code: Select all

   # df -kh
   Filesystem            Size  Used Avail Use% Mounted on
   /dev/mapper/vg_scrut-lv_root
                          20G  4.1G   15G  22% /
   tmpfs                  16G     0   16G   0% /dev/shm
   /dev/sda1             194M  125M   60M  68% /boot
   /dev/mapper/vg_scrut-lv_db
                          [color=#FF0000]71G [/color] 320M   67G   1% /var/db
Create a new disk partion:

Code: Select all

   # fdisk /dev/sda  
      c     (turn off dos compatibility)
      n     (create a new partition)
      p     (make it primary)
      3     (make it partition #3)
      <CR>  (default to the next available cylinder)
      <CR>  (default to the last available cylinder)  
      t     (change the type)
      3     (on partition 3)
      8e    (make it match the /var/db partition)
      w     (write your changes)


Reboot the system.

Code: Select all

   # reboot
Log back in as root:

Make sure your partition is there:

Code: Select all

   # fdisck -l /dev/sda
   Disk /dev/sda: 1175.7 GB, 1175747297280 bytes
   255 heads, 63 sectors/track, 142943 cylinders
   Units = cylinders of 16065 * 512 = 8225280 bytes
   Sector size (logical/physical): 512 bytes / 512 bytes
   I/O size (minimum/optimal): 512 bytes / 512 bytes
   Disk identifier: 0x0000aba4

   Device Boot      Start         End      Blocks   Id  System
   /dev/sda1   *           1          26      204800   83  Linux
   /dev/sda2              26       13055   104651776   8e  Linux LVM
   /dev/sda3           13055      142943  1043332047+  8e  Linux LVM

Create a physical volume:

Code: Select all

   # pvcreate /dev/sda3

Look to see what your logical volume groups are:

Code: Select all

   # vgdisplay

Add the new partition to the logical volume group:

Code: Select all

   # vgextend lv_db /dev/sda3

Resize the logical volume group to include the new disk:

Code: Select all

   # lvextend /dev/vg_scrut/lv_db /dev/sda3

Map a file system to the newly extended volume:

Code: Select all

   # resize2fs  /dev/vg_scrut/lv_db

Check your work:

Code: Select all

   # df -hk
   Filesystem            Size  Used Avail Use% Mounted on
   /dev/mapper/vg_scrut-lv_root
                          20G  4.1G   15G  22% /
   tmpfs                  16G     0   16G   0% /dev/shm
   /dev/sda1             194M  125M   60M  68% /boot
   /dev/mapper/vg_scrut-lv_db
                         [color=#FF0000]1.1T[/color]  302M  997G   1% /var/db

Reboot one more time:

Code: Select all

   # reboot

Jeff M
Posts: 16
Joined: Tue May 12, 2015 8:10 am

Re: Scrutinizer Vritual Appliance Extending Disk Partition

Post by Jeff M » Tue Aug 04, 2015 10:42 am

Thanks for the information!

If you have any questions or concerns please don't hesitate to contact support (207)-324-8805 x4

Thanks
Jeff

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests