8

First of all, Linux detects the partitions:

sdg1: <solaris: [s0] sdg5 [s1] sdg6 [s2] sdg7 [s8] sdg8 >

However, FreeBSD 9.0 shows only the main partition. Is it possible that only Solaris labels for sparc64 are supported?

7
  • 1
    Not sure about the FreeBSD but does FreeBSD has the capability of reading Solaris Disk Labels? Linux does for sure.
    – Karlson
    Commented Feb 26, 2012 at 1:54
  • @Karlson, isn't it the thing my question is all about? )
    – poige
    Commented Feb 26, 2012 at 5:52
  • What's the value of kern.features.geom_sunlabel?
    – Karlson
    Commented Feb 26, 2012 at 17:00
  • 1
    @Karlson — it depends on whether geom_sunlabel is loaded or not. It's 1 when it's loaded.
    – poige
    Commented Feb 27, 2012 at 5:32
  • 2
    And is it loaded?
    – Karlson
    Commented Feb 27, 2012 at 20:18

1 Answer 1

1

Try going to:

/boot/kernel

and loading:

kldload geom_sunlabel.ko

Check if labels showed up. If they didn't you're unlikely to be able to access them (easily)

Long time ago I made it work:

http://marc.info/?l=freebsd-bugs&m=110942523517592&w=4

But soon after that I removed Solaris and never came back to it.

FreeBSD disk infrastructure is based on GEOM subsystem. GEOM modules are kernel modules. They are made so that upon insertion of each module in the kernel, modules will 'taste' first several sectors of your disk. If they recognize the format, they'll attach to it and start serving convent. Sun's "labels" are basically separate partitioning scheme, that must be recognized by the OS.

If you still can't see it, you'll be either forced to find another solution, or do some kernel hackery.

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .