View Single Post
  #6   (View Single Post)  
Old 5th November 2009
jb_daefo jb_daefo is offline
Spam Deminer
 
Join Date: May 2008
Posts: 303
Default

/edit, today, of this post/
bsd v8 STABLE

Some> Much progress on this end of the problem. I have a SATA
which had 2 partitions, empty space, but
neither partition (was) seen in
/dev. One or more of the following resulted in *many*
(some short, some long, some inbetween...)
(roughly three times that number quoted below, for one drive...)
/dev entries for the drive, but I can mount the existing
fat32 one, none of the other 20 or so match the
2nd, bsd, partition. (maybe no bsdlabel ?)
YES. NO BSDLABEL YET.
Code:
kldload geom_label.ko
kldload geom_bsd.ko
kldload geom_mbr.ko  # all _8
Then, I figured out how to make 2 more "slices" (primary
partitions) with Fdisk, and nothing mounts (maybe no
disklabel yet, but I intended to skip that to gmirror them
maybe first...) If I have time to fix the "mount ufs"
problem with bsdlabel, maybe I will re-edit this *beta*
post.
/edit/. Reading, I learned the 'a' are labels. Deduced
the ad10s2 ad10s3 and ad10s4 were the 3 bsd fdisk'd
partitions. bsdlabelled them...
Code:
bsdlabel -w /dev/ad10s[2,3,4]
and one at least is newfs'd so far, after gmirror'ing.
Still learning...
BTW SORRY for the no complete-writeup. Never
any time, not enough knowledge,
....
Something for a future version of bsd to "fix" with
more-verbose /dev entries maybe... then one would
only have to operate on half of them in trial-and-error...
/edit: ending in "a" means is a label/




Quote:
Originally Posted by Calderon View Post
I tried to recompile the kernel with removing

"options GEOM_PART_GPT" and
added "options GEOM_BSD" and "options GEOM_MBR"

Now my dev looks like

Code:
bsdkone# ls -l
total 2
crw-r-----  1 root  operator    0,  75 Oct 28 11:22 acd0
crw-r--r--  1 root  wheel       0,  34 Oct 28 11:22 acpi
crw-r-----  1 root  operator    0,  73 Oct 28 11:22 ad0
crw-r-----  1 root  operator    0,  76 Oct 28 11:25 ad0a
crw-r-----  1 root  operator    0,  76 Oct 28 11:25 ad0a
crw-r-----  1 root  operator    0,  97 Oct 28 11:25 ad0as1
crw-r-----  1 root  operator    0,  97 Oct 28 11:25 ad0as1
crw-r-----  1 root  operator    0,  97 Oct 28 11:25 ad0as1
crw-r-----  1 root  operator    0,  79 Oct 28 11:25 ad0c
crw-r-----  1 root  operator    0, 103 Oct 28 11:25 ad0ca
crw-r-----  1 root  operator    0, 105 Oct 28 11:25 ad0cas1
crw-r-----  1 root  operator    0, 102 Oct 28 11:25 ad0cs1
crw-r-----  1 root  operator    0,  84 Oct 28 11:25 ad0s1
crw-r-----  1 root  operator    0,  74 Oct 28 11:22 ad2
crw-r-----  1 root  operator    0,  80 Oct 28 11:22 ad2s1
crw-r-----  1 root  operator    0,  87 Oct 28 13:22 ad2s1a
crw-r-----  1 root  operator    0,  88 Oct 28 11:22 ad2s1b
crw-r-----  1 root  operator    0,  89 Oct 28 11:22 ad2s1c
crw-r-----  1 root  operator    0, 116 Oct 28 11:22 ad2s1ca
crw-r-----  1 root  operator    0, 117 Oct 28 11:22 ad2s1cb
crw-r-----  1 root  operator    0, 118 Oct 28 11:22 ad2s1cd
crw-r-----  1 root  operator    0, 119 Oct 28 11:22 ad2s1ce
crw-r-----  1 root  operator    0, 120 Oct 28 11:22 ad2s1cf
crw-r-----  1 root  operator    0,  90 Oct 28 13:22 ad2s1d
crw-r-----  1 root  operator    0,  91 Oct 28 13:22 ad2s1e
crw-r-----  1 root  operator    0,  92 Oct 28 13:22 ad2s1f
crw-------  1 root  operator    0,  33 Oct 28 11:22 ata
crw-------  1 root  wheel       0,  35 Oct 28 11:22 atkbd0
I have tried to mount every ad0 but it only says:

Code:
bsdkone# mount -t ufs /dev/ad0cs1 /kakkonen
mount: /dev/ad0cs1 : Invalid argument
bsdkone#
__________________
FreeBSD 13-STABLE

Last edited by jb_daefo; 5th November 2009 at 02:54 AM. Reason: learned something, fixed something.
Reply With Quote