Difference between revisions of "Resize Partition"

From IVS Wiki
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{Article | content =
 
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: <pre>sudo service WowzaStreamingEngine stop</pre>
 
# Stop the Wowza Streaming Engine: <pre>sudo service WowzaStreamingEngine stop</pre>
 
# Identify the VALT Data Storage device: <pre>sudo lsblk</pre>
 
# Identify the VALT Data Storage device: <pre>sudo lsblk</pre>
#: [[File:Resize1.png]]
+
#: {{img | file = Resize1.png}}
 
# Unmount the VALT Data Storage Drive: <pre>sudo umount /usr/local/WowzaStreamingEngine-4.7.1/content</pre>
 
# Unmount the VALT Data Storage Drive: <pre>sudo umount /usr/local/WowzaStreamingEngine-4.7.1/content</pre>
 
# Run parted: <pre>sudo parted /dev/sdb</pre>
 
# Run parted: <pre>sudo parted /dev/sdb</pre>
#: [[File:Resize2.png]]
+
#: {{img | file = Resize2.png}}
 
# Resize the partition: <pre>resizepart 1 -1</pre>
 
# Resize the partition: <pre>resizepart 1 -1</pre>
#: [[File:Resize3.png]]
+
#: {{img | file = Resize3.png}}
 
# Quit parted: <pre>quit</pre>
 
# Quit parted: <pre>quit</pre>
# Resize the File System: <pre>sudo resize2fs /dev/sbd1</pre>
+
# Resize the File System: <pre>sudo resize2fs -p /dev/sbd1</pre>
 
# Mount the VALT Data Storage Drive: <pre>sudo mount -a</pre>
 
# Mount the VALT Data Storage Drive: <pre>sudo mount -a</pre>
#: [[File:Resize5.png]]
+
#: {{img | file = Resize5.png}}
 
# Start the Wowza Streaming Engine: <pre>sudo service WowzaStreamingEngine start</pre>
 
# Start the Wowza Streaming Engine: <pre>sudo service WowzaStreamingEngine start</pre>
 +
}}

Latest revision as of 10:08, 22 February 2024

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 -p /dev/sbd1
  8. Mount the VALT Data Storage Drive:
    sudo mount -a
    Resize5.png
  9. Start the Wowza Streaming Engine:
    sudo service WowzaStreamingEngine start