-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Aug 17, 2016 at 08:54:47AM -0400, Gene Heskett wrote: > On Wednesday 17 August 2016 03:43:36 ML mail wrote: > > > Hello > > > > On my Debian 8 machine I have two XFS data partitions on my disk: > > > > - /dev/sdb1 of 4TB > > - /dev/sdb2 of 9TB > > > > Now I would like to decrease the first partition [...]
> I think this is a job for gparted [...] Gparted will grow (or shrink) the partition. Not the file system. The file system has to play along, otherwise you'll get a train wreck. - Shrinking: - first, shrink the file system (make sure FS has no data beyond some block [1] - then, shrink the partition accordingly - Growing - first, grow the partition - then, grow the filesystem accordingly (i.e. tell the file system it can use the extra space [2] [1] Ext2/3/4 supports shrinking. XFS not, according to the FAQ [2] XFS (and Ext*) support growing regards - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAle0Y5EACgkQBcgs9XrR2kZojQCdH/KcqZ6M+5UdhxqtmSAFhT2i lnEAn0XLNyV3mlpF4KF2TzKWLwKz/0Ra =Zemq -----END PGP SIGNATURE-----