How does xfs_growfs select the disk
by new_user3085 from LinuxQuestions.org on (#5CFQR)
Hi Team,
I'm running SLES 12.3 on a VM. I want to increase space on a XFS file system (non-LVM) and I have 2 disks added to my server with an intention to use one of the disk for growing this file system and another disk for a future use. I searched on internet and for growing a file systems they were suggesting to use "Code:xfs_growfs /mount/point/name" command. But I don't see an argument defining which device to be used. How does the system know which disk/device it's suppose to use for this purpose?. And also is there a way to explicitly tell the system to use a particular disk/device (say /dev/sdh). Please help me understand this. Appreciate your time and input.


I'm running SLES 12.3 on a VM. I want to increase space on a XFS file system (non-LVM) and I have 2 disks added to my server with an intention to use one of the disk for growing this file system and another disk for a future use. I searched on internet and for growing a file systems they were suggesting to use "Code:xfs_growfs /mount/point/name" command. But I don't see an argument defining which device to be used. How does the system know which disk/device it's suppose to use for this purpose?. And also is there a way to explicitly tell the system to use a particular disk/device (say /dev/sdh). Please help me understand this. Appreciate your time and input.