{"action":"created","issue":{"url":"https://api.github.com/repos/sysstat/sysstat/issues/48","labels_url":"https://api.github.com/repos/sysstat/sysstat/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/sysstat/sysstat/issues/48/comments","events_url":"https://api.github.com/repos/sysstat/sysstat/issues/48/events","html_url":"https://github.com/sysstat/sysstat/issues/48","id":61049738,"number":48,"title":"sar skips long filesystem names","user":{"login":"jaunix","id":11431624,"avatar_url":"https://avatars.githubusercontent.com/u/11431624?v=3","gravatar_id":"","url":"https://api.github.com/users/jaunix","html_url":"https://github.com/jaunix","followers_url":"https://api.github.com/users/jaunix/followers","following_url":"https://api.github.com/users/jaunix/following{/other_user}","gists_url":"https://api.github.com/users/jaunix/gists{/gist_id}","starred_url":"https://api.github.com/users/jaunix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaunix/subscriptions","organizations_url":"https://api.github.com/users/jaunix/orgs","repos_url":"https://api.github.com/users/jaunix/repos","events_url":"https://api.github.com/users/jaunix/events{/privacy}","received_events_url":"https://api.github.com/users/jaunix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-13T12:06:12Z","updated_at":"2015-03-20T14:57:14Z","closed_at":null,"body":"If a filesystem is more than 72 characters in length, sar skips it.  \r\n\r\nCurious how the 72 limit in rd_stats.h was arrived at, and whether it should be increased.  Or use MAX_FILE_LEN which is defined as 256 in common.h ?\r\n\r\n    /* Maximum length of filesystem name */\r\n    #define MAX_FS_LEN      72\r\n\r\nExample:\r\n\r\n    $ mount|grep lvname\r\n    /dev/mapper/foo-longlvname12345678901234567890123456789012345678901234567890 on /mnt type ext2 (rw,relatime,seclabel)\r\n    /dev/mapper/foo-shortlvname on /mnt2 type ext2 (rw,relatime,seclabel)\r\n    $ ./sar -F 1 1\r\n    Linux 3.18.7-100.fc20.x86_64 (localhost.localdomain)    03/13/2015      _x86_64_        (2 CPU)\r\n    \r\n    04:56:11 AM  MBfsfree  MBfsused   %fsused  %ufsused     Ifree     Iused    %Iused FILESYSTEM\r\n    04:56:12 AM      6866     10850     61.24     66.45    902345    258647     22.28 /dev/sda5\r\n    04:56:12 AM       170       113     39.88     46.61     76592       320      0.42 /dev/sda2\r\n    04:56:12 AM        12         0      0.91      6.07      3061        11      0.36 /dev/mapper/foo-shortlvname\r\n    \r\n    Summary:     MBfsfree  MBfsused   %fsused  %ufsused     Ifree     Iused    %Iused FILESYSTEM\r\n    Summary:         6866     10850     61.24     66.45    902345    258647     22.28 /dev/sda5\r\n    Summary:          170       113     39.88     46.61     76592       320      0.42 /dev/sda2\r\n    Summary:           12         0      0.91      6.07      3061        11      0.36 /dev/mapper/foo-shortlvname\r\n    $\r\n"},"comment":{"url":"https://api.github.com/repos/sysstat/sysstat/issues/comments/84037137","html_url":"https://github.com/sysstat/sysstat/issues/48#issuecomment-84037137","issue_url":"https://api.github.com/repos/sysstat/sysstat/issues/48","id":84037137,"user":{"login":"sysstat","id":4254780,"avatar_url":"https://avatars.githubusercontent.com/u/4254780?v=3","gravatar_id":"","url":"https://api.github.com/users/sysstat","html_url":"https://github.com/sysstat","followers_url":"https://api.github.com/users/sysstat/followers","following_url":"https://api.github.com/users/sysstat/following{/other_user}","gists_url":"https://api.github.com/users/sysstat/gists{/gist_id}","starred_url":"https://api.github.com/users/sysstat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sysstat/subscriptions","organizations_url":"https://api.github.com/users/sysstat/orgs","repos_url":"https://api.github.com/users/sysstat/repos","events_url":"https://api.github.com/users/sysstat/events{/privacy}","received_events_url":"https://api.github.com/users/sysstat/received_events","type":"User","site_admin":false},"created_at":"2015-03-20T14:57:14Z","updated_at":"2015-03-20T14:57:14Z","body":"I'm suggesting here to increase MAX_FS_LEN to 128 instead of 72.\r\nDoesn't look like a breakthrough but I still feel concerned about disk usage (and I think it should be enough for most users).\r\nAnd BTW, it doesn't break compatibility with previous sa datafiles format.\r\n"}}