[{"data":1,"prerenderedAt":98},["ShallowReactive",2],{"post:\u002F2013\u002F08\u002F13\u002Fvol-maxfiles\u002F":3},{"post":4,"newer":57,"older":68,"related":77,"series":96},{"id":5,"title":6,"body":7,"canonical":34,"categories":35,"date":37,"description":38,"extension":39,"featured":40,"hero":41,"image":41,"meta":42,"navigation":43,"path":44,"readingTime":45,"seo":46,"series":41,"seriesOrder":41,"sites":47,"source":49,"stem":50,"tags":51,"updated":54,"url":55,"__hash__":56},"blog\u002Fblog\u002F2013\u002F08\u002F13\u002Fvol-maxfiles.md","vol maxfiles",{"type":8,"value":9,"toc":31},"minimark",[10,14,17,20],[11,12,13],"p",{},"I was asked the other day what happens with maxfiles. Maxfiles has to do with inodes on the NetApp. This can get full due to many small files in a volume and you can still have plenty of space but not have enough inodes.",[11,15,16],{},"Basically, increasing the maxfiles cannot be reversed, however when you grow a volume the maxfiles grows as well. When you shrink a volume the maxfiles is still set at what it was and is not shrunk.",[11,18,19],{},"The maxfiles also grows if you’ve set a higher maxfiles than what the volume would originally specify but you grow the volume and the new maxfiles for that volume size is higher than what you’ve previously set.",[21,22,28],"pre",{"className":23,"code":25,"language":26,"meta":27},[24],"language-text","na-ifas-01: vol create testvol1 aggr0 10g\nCreation of volume 'testvol1' with size 10g on containing aggregate\n'aggr0' has completed.\nna-ifas-01: maxfiles testvol1\nVolume testvol1: maximum number of files is currently 311280 (96 used).\nna-ifas-01: maxfiles testvol1 411280\n\nThe new maximum number of files specified is more than twice as big as\nit needs to be, based on current usage patterns. This invocation of the\noperation on the specified volume will allow disk space consumption for\nfiles to grow up to the new limit depending on your workload. The maxfiles\nsetting cannot be lowered below the point of any such additional disk space\nconsumption and any additional disk space consumed can never be reclaimed.\nAlso, such consumption of additional disk space could result in less\navailable memory after an upgrade.\nThe new maximum number of files will be rounded to 411270.\n\nAre you sure you want to change the maximum number of files? y\nna-ifas-01: maxfiles testvol1\nVolume testvol1: maximum number of files is currently 411270 (96 used).\nna-ifas-01: vol size testvol1 20g\nvol size: Flexible volume 'testvol1' size set to 20g.\nna-ifas-01: maxfiles testvol1\nVolume testvol1: maximum number of files is currently 622580 (96 used).\n\nna-ifas-01: vol create testvol2 aggr0 10g\nCreation of volume 'testvol2' with size 10g on containing aggregate\n'aggr0' has completed.\nna-ifas-01: vol size testvol2 20g\nvol size: Flexible volume 'testvol2' size set to 20g.\nna-ifas-01: maxfiles testvol2\nVolume testvol2: maximum number of files is currently 622580 (96 used).\nna-ifas-01: vol size testvol2 10g\nvol size: Flexible volume 'testvol2' size set to 10g.\nna-ifas-01: maxfiles testvol2\nVolume testvol2: maximum number of files is currently 622580 (96 used).\n","text","",[29,30,25],"code",{"__ignoreMap":27},{"title":27,"searchDepth":32,"depth":32,"links":33},2,[],"techcolumnist",[36],"engineering","2013-08-13T15:03:15Z","I was asked the other day what happens with maxfiles. Maxfiles has to do with inodes on the NetApp.","md",false,null,{},true,"\u002Fblog\u002F2013\u002F08\u002F13\u002Fvol-maxfiles",1,{"title":6,"description":38},[48,34],"lasswell","both","blog\u002F2013\u002F08\u002F13\u002Fvol-maxfiles",[52,53],"netapp","vol","2024-02-12T03:18:38Z","\u002F2013\u002F08\u002F13\u002Fvol-maxfiles\u002F","6-O98-pD333Mj1A9UvKgHxkkOvZBv-2Eup7DJli2Gzw",{"title":58,"description":59,"date":60,"url":61,"categories":62,"tags":65,"image":41,"readingTime":45,"canonical":34,"sites":67,"series":41,"seriesOrder":41},"PowerShell: Find Installed NetApp Products","A slightly modified version of a scriptingGuy post to find NetApp software installed from a csv file (export from active directory)","2013-09-03T17:32:50Z","\u002F2013\u002F09\u002F03\u002Fpowershell-find-installed-netapp-products\u002F",[63,64],"ps","scripts",[52,66],"powershell",[48,34],{"title":69,"description":70,"date":71,"url":72,"categories":73,"tags":74,"image":41,"readingTime":45,"canonical":34,"sites":76,"series":41,"seriesOrder":41},"NetApp: cli vol create – match SM2.2 vols","2 creates as a vol type but via CLI, some of us still batch out our commands in notepad so here yah go: SAN: NAS:","2013-08-01T17:12:34Z","\u002F2013\u002F08\u002F01\u002Fnetapp-cli-vol-create-match-sm2-2-vols\u002F",[36],[75,52],"cli",[48,34],[68,78,87],{"title":79,"description":80,"date":81,"url":82,"categories":83,"tags":84,"image":41,"readingTime":45,"canonical":34,"sites":86,"series":41,"seriesOrder":41},"Update Disk Label","Have you ever had a system where you were running 7.3.x and got a new disk shelf intended for an 8.x release, and the disks show as broken?","2013-06-22T14:24:10Z","\u002F2013\u002F06\u002F22\u002Fupdate-disk-label\u002F",[36],[52,85],"ontap",[48,34],{"title":88,"description":89,"date":90,"url":91,"categories":92,"tags":93,"image":41,"readingTime":45,"canonical":34,"sites":95,"series":41,"seriesOrder":41},"Unown Disks – Remove Disk Ownership","A quick command that I always forget to remember when you want to unown disks from a NetApp where nether filer owns the disks.","2013-04-24T12:51:21Z","\u002F2013\u002F04\u002F24\u002Funown-disks-remove-disk-ownership\u002F",[36],[94,52],"7-mode",[48,34],{"doc":41,"posts":97},[],1790223956568]