On 17 May 2011 14:40, Maciej Milewski <m...@dat.pl> wrote: > On Tuesday 17 of May 2011 15:19:40, n dhert wrote: > > Thanks for your answer! > > I am trying out gpart. > > On an old PC with 38 GB disk, I have triple boot Windows, OpenSuSE and > > FreeBSD-8.2. > > I created an unalloated space of 973 MB at the end. > > To see the actuel disk geometry, I used FreeBSDs sysinstall > > # sysinstall > > Disk name: ad0 FDISK Partition > > Editor > > DISK Geometry: 79780 cyls/16 heads/63 sectors = 80418240 sectors > (39266MB) > > Offset Size(ST) End Name PType Desc Subtype > > Flags > > 0 63 62 - 12 unused 0 > > 63 22233897 22233959 ad0s1 4 NTFS/HPFS/QNX 7 > > 22233960 29639736 51873695 ad0s3 8 freebsd 165 > > 51873696 189 51873884 - 12 unused 0 > > 51873885 26539380 78413264 ad0s2 4 extended DOS, LBA > 15 > > 78413265 1992060 80405324 ad0s4 4 ext2fs 131 > > 80405325 12915 80418239 - 12 unused 0 > > > > ad0s1 is my Windows, > > ad0s2 is the extended partition where SuSE resides (swap and / partition) > > ad0s3 is my FreeBSD-8.2 (with sections a, e, f, d for /, /tmp, /usr, > /var) > > and ad0s4 is the new freed space of 1992060 sectors = 973 MB > > > > I tried > > # gpart create -s gpt ad0s4 > > gpart: provider: Device not configured > > ( gpart create -s gtp /dev/ad0s4 : same error) > > > > # gpart show > > => 63 80418177 ad0 MBR (38G) > > 63 22233897 1 ntfs (11G) > > 22233960 29639736 3 freebsd [active] (14G) > > 51873696 189 - free - (95K) > > 51873885 26539380 2 !15 (13G) > > 78413265 1992060 4 !131 (973M) > > 80405325 12915 - free - (6.3M) > > > > => 0 26539380 ad0s2 EBR (13G) > > 0 2072385 1 !130 (1.0G) > > 2072385 18249840 32896 !131 (8.7G) > > 20322225 6152895 322576 !131 (2.9G) > > 26475120 64260 - free - (31M) > > > > => 0 29639736 ad0s3 BSD (14G) > > 0 1048576 1 freebsd-ufs (512M) > > 1048576 1994384 2 freebsd-swap (974M) > > 3042960 3092480 4 freebsd-ufs (1.5G) > > 6135440 1048576 5 freebsd-ufs (512M) > > 7184016 22455720 6 freebsd-ufs (11G) > > # gpart create -s gpt ad4 > > gpart: provider 'ad4': Invalid argument > > > > how do I address the 974 MB partition ??? > You can't create gpt table on top of existing MBR table. > If you want to use gpt you need to have clean hard drive for that(removed > all > partitions and destroy current table) > If you just want to add ad0s4 you should do gpart add ... > > Maciej > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscr...@freebsd.org" >
sounds like you maybe using some kind of LUN to generate a 9 TB disk. If I have misunderstood this though and you are using the advanced format drives (generally satas above 1.5tb) then make sure you 4k align any partitions you create _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"