<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article PTA: Increase size of /dev/shm in PAM Self-Hosted Articles</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/pta-increase-size-of-dev-shm/ta-p/1429804</link>
    <description>This article illustrates how to increase the size of /dev/shm on Linux variants to facilitate the proper installation of PTA and PTA Network Sensor&lt;BR /&gt;&lt;BR /&gt;Note:&lt;BR /&gt;The manual PTA and manual PTA Network Sensor installation use /dev/shm as temporary storage for installation. This is not applicable when PTA and PTA Network Sensor is imported from the OVF / Hyper-V images

&lt;H3&gt;Steps&lt;/H3&gt;
DISCLAIMER: If the target machine is on a virtual image, it is &lt;B&gt;HIGHLY RECOMMENDED&amp;nbsp;&lt;/B&gt;to take a snapshot of the machine before using this process.&lt;BR /&gt;&lt;BR /&gt;This process involves editing the /etc/fstab and running a command to remount the /dev/shm partition&lt;BR /&gt;&lt;BR /&gt;1. You must be logged into the machine as root or a user with 'sudo' privileges.&lt;BR /&gt;&lt;BR /&gt;2. Make a copy of the /etc/fstab file&lt;BR /&gt;&lt;BR /&gt;3. Open /etc/fstab in a text editor. Look for the following line:
&lt;DIV style="margin-left: 40px;"&gt;/dev/mapper/centos-dev_shm /dev/shm &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xfs &amp;nbsp; &amp;nbsp; defaults&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 0&lt;BR /&gt;&lt;BR /&gt;a. In some variants, the line may not be present. If this is the case, add the following line&lt;BR /&gt;/dev/mapper/centos-dev_shm /dev/shm &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xfs &amp;nbsp; &amp;nbsp; defaults,size=3G &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 0&lt;BR /&gt;&lt;BR /&gt;b. If the line is already present as above, add ',size=&amp;lt;size&amp;gt;' after 'defaults', where &amp;lt;size&amp;gt; is the desired filesystem size. A 2GB or 3GB partition is usually sufficient. The above example has a 3 GB size. The line should look like this:&lt;BR /&gt;/dev/mapper/centos-dev_shm /dev/shm &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xfs &amp;nbsp; &amp;nbsp; defaults,size=3G &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 0&lt;/DIV&gt;
&lt;DIV&gt;4. Save the /etc/fstab file&lt;BR /&gt;5. Run the following command: &lt;I&gt;&lt;B&gt;sudo mount -o remount /dev/shm&lt;/B&gt;&lt;/I&gt;&lt;BR /&gt;6. Run the following command:&lt;B&gt; &lt;I&gt;df -h&lt;/I&gt;&lt;/B&gt;. The output, if configured correctly should look something like this:&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;[tsawyer@lab-ptasensor ~]$ df -h&lt;BR /&gt;Filesystem &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Size &amp;nbsp;Used Avail Use% Mounted on&lt;BR /&gt;devtmpfs &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 906M &amp;nbsp; &amp;nbsp; 0 &amp;nbsp;906M &amp;nbsp; 0% /dev&lt;BR /&gt;tmpfs &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3.0G &amp;nbsp; &amp;nbsp; 0 &amp;nbsp;3.0G &amp;nbsp; 0% /dev/shm&lt;BR /&gt;tmpfs &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;917M &amp;nbsp;9.0M &amp;nbsp;908M &amp;nbsp; 1% /run&lt;BR /&gt;tmpfs &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;917M &amp;nbsp; &amp;nbsp; 0 &amp;nbsp;917M &amp;nbsp; 0% /sys/fs/cgroup&lt;BR /&gt;/dev/mapper/centos-root &amp;nbsp; 41G &amp;nbsp;1.3G &amp;nbsp; 40G &amp;nbsp; 3% /&lt;BR /&gt;/dev/sda1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1014M &amp;nbsp;150M &amp;nbsp;865M &amp;nbsp;15% /boot&lt;BR /&gt;/dev/mapper/centos-home &amp;nbsp; 20G &amp;nbsp; 33M &amp;nbsp; 20G &amp;nbsp; 1% /home&lt;BR /&gt;tmpfs &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;184M &amp;nbsp; &amp;nbsp; 0 &amp;nbsp;184M &amp;nbsp; 0% /run/user/0&lt;BR /&gt;tmpfs &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;184M &amp;nbsp; &amp;nbsp; 0 &amp;nbsp;184M &amp;nbsp; 0% /run/user/1000&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;Note the /dev/shm partition now has 3 GB of space available.&lt;/DIV&gt;</description>
    <pubDate>Tue, 06 Apr 2021 17:16:50 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2021-04-06T17:16:50Z</dc:date>
    <item>
      <title>PTA: Increase size of /dev/shm</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/pta-increase-size-of-dev-shm/ta-p/1429804</link>
      <description>This article illustrates how to increase the size of /dev/shm on Linux variants to facilitate the proper installation of PTA and PTA Network Sensor&lt;BR /&gt;&lt;BR /&gt;Note:&lt;BR /&gt;The manual PTA and manual PTA Network Sensor installation use /dev/shm as temporary storage for installation. This is not applicable when PTA and PTA Network Sensor is imported from the OVF / Hyper-V images

&lt;H3&gt;Steps&lt;/H3&gt;
DISCLAIMER: If the target machine is on a virtual image, it is &lt;B&gt;HIGHLY RECOMMENDED&amp;nbsp;&lt;/B&gt;to take a snapshot of the machine before using this process.&lt;BR /&gt;&lt;BR /&gt;This process involves editing the /etc/fstab and running a command to remount the /dev/shm partition&lt;BR /&gt;&lt;BR /&gt;1. You must be logged into the machine as root or a user with 'sudo' privileges.&lt;BR /&gt;&lt;BR /&gt;2. Make a copy of the /etc/fstab file&lt;BR /&gt;&lt;BR /&gt;3. Open /etc/fstab in a text editor. Look for the following line:
&lt;DIV style="margin-left: 40px;"&gt;/dev/mapper/centos-dev_shm /dev/shm &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xfs &amp;nbsp; &amp;nbsp; defaults&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 0&lt;BR /&gt;&lt;BR /&gt;a. In some variants, the line may not be present. If this is the case, add the following line&lt;BR /&gt;/dev/mapper/centos-dev_shm /dev/shm &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xfs &amp;nbsp; &amp;nbsp; defaults,size=3G &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 0&lt;BR /&gt;&lt;BR /&gt;b. If the line is already present as above, add ',size=&amp;lt;size&amp;gt;' after 'defaults', where &amp;lt;size&amp;gt; is the desired filesystem size. A 2GB or 3GB partition is usually sufficient. The above example has a 3 GB size. The line should look like this:&lt;BR /&gt;/dev/mapper/centos-dev_shm /dev/shm &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xfs &amp;nbsp; &amp;nbsp; defaults,size=3G &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 0&lt;/DIV&gt;
&lt;DIV&gt;4. Save the /etc/fstab file&lt;BR /&gt;5. Run the following command: &lt;I&gt;&lt;B&gt;sudo mount -o remount /dev/shm&lt;/B&gt;&lt;/I&gt;&lt;BR /&gt;6. Run the following command:&lt;B&gt; &lt;I&gt;df -h&lt;/I&gt;&lt;/B&gt;. The output, if configured correctly should look something like this:&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;[tsawyer@lab-ptasensor ~]$ df -h&lt;BR /&gt;Filesystem &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Size &amp;nbsp;Used Avail Use% Mounted on&lt;BR /&gt;devtmpfs &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 906M &amp;nbsp; &amp;nbsp; 0 &amp;nbsp;906M &amp;nbsp; 0% /dev&lt;BR /&gt;tmpfs &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3.0G &amp;nbsp; &amp;nbsp; 0 &amp;nbsp;3.0G &amp;nbsp; 0% /dev/shm&lt;BR /&gt;tmpfs &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;917M &amp;nbsp;9.0M &amp;nbsp;908M &amp;nbsp; 1% /run&lt;BR /&gt;tmpfs &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;917M &amp;nbsp; &amp;nbsp; 0 &amp;nbsp;917M &amp;nbsp; 0% /sys/fs/cgroup&lt;BR /&gt;/dev/mapper/centos-root &amp;nbsp; 41G &amp;nbsp;1.3G &amp;nbsp; 40G &amp;nbsp; 3% /&lt;BR /&gt;/dev/sda1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1014M &amp;nbsp;150M &amp;nbsp;865M &amp;nbsp;15% /boot&lt;BR /&gt;/dev/mapper/centos-home &amp;nbsp; 20G &amp;nbsp; 33M &amp;nbsp; 20G &amp;nbsp; 1% /home&lt;BR /&gt;tmpfs &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;184M &amp;nbsp; &amp;nbsp; 0 &amp;nbsp;184M &amp;nbsp; 0% /run/user/0&lt;BR /&gt;tmpfs &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;184M &amp;nbsp; &amp;nbsp; 0 &amp;nbsp;184M &amp;nbsp; 0% /run/user/1000&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;Note the /dev/shm partition now has 3 GB of space available.&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Apr 2021 17:16:50 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/pta-increase-size-of-dev-shm/ta-p/1429804</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2021-04-06T17:16:50Z</dc:date>
    </item>
  </channel>
</rss>

