From fd88c3c086a9f8235e9fedc77edc5d24c27c9727 Mon Sep 17 00:00:00 2001 From: Saikrishna Arcot Date: Thu, 2 Feb 2023 09:07:33 -0800 Subject: [PATCH] Use tmpfs for /var/log for Arista 7260 (#13587) This is to reduce writes to disk, which then can use the SSD to get worn out faster. Signed-off-by: Saikrishna Arcot (cherry picked from commit ee1c32a802d4fab9da0e22a8b803831cdee6f45e) --- files/Aboot/boot0.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/files/Aboot/boot0.j2 b/files/Aboot/boot0.j2 index 0944bc54cf6f..10dfd8e83044 100644 --- a/files/Aboot/boot0.j2 +++ b/files/Aboot/boot0.j2 @@ -497,6 +497,7 @@ write_platform_specific_cmdline() { if [ "$sid" = "Gardena" ] || [ "$sid" = "GardenaE" ]; then aboot_machine=arista_7260cx3_64 flash_size=28000 + cmdline_add logs_inram=on fi if [ "$sid" = "Alhambra" ]; then aboot_machine=arista_7170_64c