Date: Sun, 21 Jan 2018 13:58:31 +0100 From: Marek Krawczyk <marek@mky.waw.pl> To: Christos Chatzaras <chris@cretaforce.gr> Cc: freebsd-questions@freebsd.org Subject: Re: gpart and differences in FreeBSD 10 and 11 Message-ID: <d849ebb329ce04fda3c97034be45d4e5@mky.waw.pl> In-Reply-To: <DC3EAED5-CCB6-4CF1-906D-EC8B19DDF7BC@cretaforce.gr> References: <DC3EAED5-CCB6-4CF1-906D-EC8B19DDF7BC@cretaforce.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
W dniu 2018-01-21 10:37, Christos Chatzaras napisaĆ(a): > The first disk created with gpart on FreeBSD 11 and the second with > gpart on FreeBSD 10. > > gpart show > => 40 7814037088 ada0 GPT (3.6T) > 40 88 - free - (44K) > 128 128 1 freebsd-boot (64K) > 256 8388608 2 freebsd-ufs (4.0G) > 8388864 134217728 3 freebsd-swap (64G) > 142606592 33554432 4 freebsd-ufs (16G) > 176161024 134217728 5 freebsd-ufs (64G) > 310378752 33554432 6 freebsd-ufs (16G) > 343933184 7470103944 7 freebsd-ufs (3.5T) > > => 34 7814037101 ada1 GPT (3.6T) > 34 94 - free - (47K) > 128 128 1 freebsd-boot (64K) > 256 8388608 2 freebsd-ufs (4.0G) > 8388864 134217728 3 freebsd-swap (64G) > 142606592 33554432 4 freebsd-ufs (16G) > 176161024 134217728 5 freebsd-ufs (64G) > 310378752 33554432 6 freebsd-ufs (16G) > 343933184 7470103944 7 freebsd-ufs (3.5T) > 7814037128 7 - free - (3.5K) > > Any idea why it shows as first sector 40 in first case and 34 in second > case? First partition scheme (from ada0) looks like auto aligned for 4K sectors on the disk. Probably gpart from FreeBSD 11 mind the sector size when creating partitions. Regards, Marek Krawczyk
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d849ebb329ce04fda3c97034be45d4e5>