Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[202012] Move /var/log to RAM for Mellanox SN2700, Nokia 7215 and Del…
…l S6100 ### Why I did it The commit by prgeor that was merged to master had conflict with 202012 branch and needed to be manually cherrypicked. ##### Work item tracking - Microsoft ADO **(number only)**: 25086124 #### How I did it Manually cherrypicked changes from PR #15077 #### How to verify it Built image with these changes and checked the filesystem: **Mellanox-SN2700** ``` admin@str-msn2700-02:~$ show ver | grep -i "sonic software version" SONiC Software Version: SONiC.202012-16544.362113-6980ffe77 admin@str-msn2700-02:~$ admin@str-msn2700-02:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 3.9G 0 3.9G 0% /dev tmpfs 793M 8.4M 785M 2% /run root-overlay 15G 6.4G 7.9G 45% / /dev/sda3 15G 6.4G 7.9G 45% /host tmpfs 792M 4.7M 788M 1% /var/log tmpfs 3.9G 104M 3.8G 3% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup admin@str-msn2700-02:~$ free -h total used free shared buff/cache available Mem: 7.7Gi 2.5Gi 3.9Gi 120Mi 1.4Gi 4.9Gi Swap: 0B 0B 0B ``` **Nokia-M0-7215** ``` SONiC Software Version: SONiC.202012-16544.362113-6980ffe77 Platform: armhf-nokia_ixs7215_52x-r0 HwSKU: Nokia-M0-7215 ASIC: marvell admin@str2-7215-acs-1:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 1.5G 0 1.5G 0% /dev tmpfs 304M 7.3M 296M 3% /run root-overlay 15G 5.0G 9.5G 35% / /dev/sda2 15G 5.0G 9.5G 35% /host tmpfs 303M 728K 303M 1% /var/log tmpfs 1.5G 0 1.5G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup admin@str2-7215-acs-1:~$ free -h total used free shared buff/cache available Mem: 3.0Gi 632Mi 1.6Gi 9.0Mi 772Mi 2.3Gi Swap: 0B 0B 0B ``` **Dell S6100** ``` SONiC Software Version: SONiC.202012-16544.362113-00aac5392 Platform: x86_64-dell_s6100_c2538-r0 HwSKU: Force10-S6100 ASIC: broadcom ASIC Count: 1 Uptime: 19:50:04 up 2 min, 1 user, load average: 3.38, 1.66, 0.65 admin@str-s6100-acs-4:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 3.9G 0 3.9G 0% /dev tmpfs 797M 7.8M 789M 1% /run root-overlay 14G 4.7G 8.8G 35% / /dev/sda4 14G 4.7G 8.8G 35% /host tmpfs 796M 6.7M 790M 1% /var/log tmpfs 3.9G 0 3.9G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup admin@str-s6100-acs-4:~$ free -h total used free shared buff/cache available Mem: 7.8Gi 1.6Gi 4.9Gi 14Mi 1.3Gi 5.9Gi Swap: 0B 0B 0B admin@str-s6100-acs-4:~$ ``` ### Tested branch (Please provide the tested image version) - [x] SONiC.202012-16544.362113-6980ffe77 #### Description for the changelog Move /var/log to RAM for Mellanox SN2700, Nokia 7215 and Dell S6100 for the 202012 image.
- Loading branch information