Difference between revisions of "Resize Partition"

From IVS Wiki
Jump to: navigation, search
Line 1: Line 1:
 
Typically this process will only need to be performed on a Valt virtual appliance after allocating additional space to the virtual disk.
 
Typically this process will only need to be performed on a Valt virtual appliance after allocating additional space to the virtual disk.
  
# Stop the Wowza Streaming Engine
+
# Stop the Wowza Streaming Engine: <pre>sudo service WowzaStreamingEngine stop</pre>
#: '''sudo service WowzaStreamingEngine stop'''
+
# Identify the Valt Data Storage device: <pre>sudo lsblk</pre>
# Identify the Valt Data Storage device
 
#: '''sudo lsblk'''
 
 
#: [[File:Resize1.png]]
 
#: [[File:Resize1.png]]
# Unmount the Valt Data Storage Drive
+
# Unmount the Valt Data Storage Drive: <pre>sudo umount /usr/local/WowzaStreamingEngine-4.7.1/content</pre>
#: '''sudo umount /usr/local/WowzaStreamingEngine-4.7.1/content'''
+
# Run parted: <pre>sudo parted /dev/sdb</pre>
# Run parted
 
#: '''sudo parted /dev/sdb
 
 
#: [[File:Resize2.png]]
 
#: [[File:Resize2.png]]
# Resize the partition
+
# Resize the partition: <pre>resizepart 1 -1</pre>
#: '''resizepart 1 -1'''
 
 
#: [[File:Resize3.png]]
 
#: [[File:Resize3.png]]
# Quit parted
+
# Quit parted: <pre>quit</pre>
#: '''quit'''
+
# Resize the File System: <pre>sudo resize2fs /dev/sbd1</pre>
# Resize the File System
+
# Mount the Valt Data Storage Drive: <pre>sudo mount -a</pre>
#: '''sudo resize2fs /dev/sbd1'''
 
# Mount the Valt Data Storage Drive
 
#: '''sudo mount -a'''
 
 
#: [[File:Resize5.png]]
 
#: [[File:Resize5.png]]
# Start the Wowza Streaming Engine
+
# Start the Wowza Streaming Engine: <pre>sudo service WowzaStreamingEngine start</pre>
#: '''sudo service WowzaStreamingEngine start'''
 

Revision as of 09:24, 1 May 2019

Typically this process will only need to be performed on a Valt virtual appliance after allocating additional space to the virtual disk.

  1. Stop the Wowza Streaming Engine:
    sudo service WowzaStreamingEngine stop
  2. Identify the Valt Data Storage device:
    sudo lsblk
    Resize1.png
  3. Unmount the Valt Data Storage Drive:
    sudo umount /usr/local/WowzaStreamingEngine-4.7.1/content
  4. Run parted:
    sudo parted /dev/sdb
    Resize2.png
  5. Resize the partition:
    resizepart 1 -1
    Resize3.png
  6. Quit parted:
    quit
  7. Resize the File System:
    sudo resize2fs /dev/sbd1
  8. Mount the Valt Data Storage Drive:
    sudo mount -a
    Resize5.png
  9. Start the Wowza Streaming Engine:
    sudo service WowzaStreamingEngine start