Skip to content

Commit

Permalink
Use tmpfs for /var/log for Arista 7260 (sonic-net#13587)
Browse files Browse the repository at this point in the history
This is to reduce writes to disk, which then can use the SSD to get worn
out faster.

Signed-off-by: Saikrishna Arcot <[email protected]>
  • Loading branch information
saiarcot895 authored Feb 2, 2023
1 parent 225bba0 commit ee1c32a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions files/Aboot/boot0.j2
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,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
Expand Down

0 comments on commit ee1c32a

Please sign in to comment.