home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux      Getting to be as bloated as Windows!      107,822 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 106,148 of 107,822   
   Carlos E.R. to J.O. Aho   
   Re: xfs_growfs too quick   
   02 May 24 07:52:11   
   
   From: robin_listas@es.invalid   
      
   On 2024-04-30 15:33, J.O. Aho wrote:   
   > On 30/04/2024 12.58, Woozy Song wrote:   
   >> Trying to install Alma Linux with 2 hard drives, the Ass Hat installer   
   >> is a PITA for custom partitioning. Wanted home on larger drive and the   
   >> rest on the other drive. But login after install, and found home was   
   >> only 500 GB of the 2 TB drive. It was xfs and to my surprise, I see   
   >> xfs_growfs can run on a mounted drive. So did control-alt-F3 for a   
   >> text terminal, then sudo xfs_growfs /dev/sda1   
   >> It only took a second, so apparently only change partition table   
   >> limits. Shouldn't format the rest of the drive?   
   >   
   > When adding space to file system, no "format" is done on the new blocks,   
   > they will just be marked as empty internally regardless of the data they   
   > may have had before.   
   >   
   > xfs_growfs will not change partition data, so if your 500GB /home was in   
   > a partition that was just 500GB then running the xfs_growfs will not do   
   > anything as there is nothing to do. If the partition was larger than the   
   > file system, then the command you run would add the rest of the   
   > partition to the file system.   
      
   It has to reserve more space for the metadata structures, but most of   
   them are dynamically created when needed.   
      
   There are some disadvantages for a grown xfs system compared to one   
   created with the big size from the start. I don't remember which, but   
   some of the structures do not cope very well (with large size grown). I   
   read about it in the xfs mail list.   
      
   >   
   > To see how your partitions look like you can always run: sudo fdisk -l   
   > /dev/sda   
   >   
      
   --   
   Cheers, Carlos.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca