trouble creating UFS slise with gpart
Andrey Groshev
greenx at yartv.ru
Thu Jun 17 11:33:48 UTC 2010
Hi, All!
I decided to use "gpart" for partitioning, instead of the standard
fdisk, bsdlabel , which were used during initial installation freebsd.
On first slice is installed windows, and the second freebsd.
I can not remove windose, because for his computer owned by an
organization in which I work, and for windose paid. :)
I want to make just one more slice with UFS.
#gpart show
=> 63 976773105 ada0 MBR (466G)
63 69561387 1 !7 (33G)
69561450 125821080 2 freebsd [active] (60G)
195382530 671083245 3 freebsd (320G)
866465775 110307393 - free - (53G)
=> 0 125821080 ada0s2 BSD (60G)
0 16 - free - (8.0K)
16 2097152 1 freebsd-ufs (1.0G)
2097168 4194304 2 freebsd-swap (2.0G)
6291472 8388608 4 freebsd-ufs (4.0G)
14680080 8388608 5 freebsd-ufs (4.0G)
23068688 102752392 6 freebsd-ufs (49G)
=> 0 671083245 ada0s3 BSD (320G)
0 16 - free - (8.0K)
16 671083229 1 freebsd-ufs (320G)
Now since MBR already have, I just create another one with freebsd.
#gpart add -t freebsd ada0
ada0s4 added
I saw what happened ...
#gpart show
=> 63 976773105 ada0 MBR (466G)
63 69561387 1 !7 (33G)
69561450 125821080 2 freebsd [active] (60G)
195382530 671083245 3 freebsd (320G)
866465775 110307393 4 freebsd (53G)
=> 0 125821080 ada0s2 BSD (60G)
0 16 - free - (8.0K)
16 2097152 1 freebsd-ufs (1.0G)
2097168 4194304 2 freebsd-swap (2.0G)
6291472 8388608 4 freebsd-ufs (4.0G)
14680080 8388608 5 freebsd-ufs (4.0G)
23068688 102752392 6 freebsd-ufs (49G)
=> 0 671083245 ada0s3 BSD (320G)
0 16 - free - (8.0K)
16 671083229 1 freebsd-ufs (320G)
=> 0 110307393 ada0s4 EBR (53G)
0 110307393 - free - (53G)
Why did the resulting slice has a type of EBR and not BSD (as I asked)?
It's me doing something wrong or gpart considers himself very clever?
More information about the freebsd-geom
mailing list