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,146 of 107,822   
   J.O. Aho to Woozy Song   
   Re: xfs_growfs too quick   
   30 Apr 24 15:33:36   
   
   From: user@example.net   
      
   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.   
      
   To see how your partitions look like you can always run: sudo fdisk -l   
   /dev/sda   
      
   --   
     //Aho   
      
   --- 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