List Info

Thread: Is it possible to mount OpenBSD FFS partitions in FreeBSD?




Is it possible to mount OpenBSD FFS partitions in FreeBSD?
user name
2007-12-31 04:21:03
Hi list,

I'm in the mid of migrating my workstation from
OpenBSD/amd64 to
FreeBSD/amd64. I have three hard discs installed in it (two
identical
250GByte SATA300, and one 500GByte SATA300 drive).

When still running OpenBSD, I copied all data I want to
transfer to the
500GByte drive; I plan to run the two 250GByte HDs as RAID1
when running
FreeBSD.

Prior to installing FreeBSD on this machine, I grabbed the
500GByte HD (with
one single OpenBSD FFS partition on it, 'wd2a' in OpenBSD
speak) and tried
to mount it on a FreeBSD machine.

Unfortunately, this doesn't work, but I'm pretty sure it
should. I probably
don't use the right parameter:

# mount /dev/ad8s1a /mnt/
mount: /dev/ad8s1a : No such file or directory

(I thought that the first -- and only -- partition on
OpenBSD would show up
as 'slice 1' on FreeBSD.)

Help greatly appreciated -- thank you!

Seth
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Is it possible to mount OpenBSD FFS partitions in FreeBSD?
user name
2007-12-31 04:58:17
[Second try, first email disappeared in the way to the list
server...?]

Hi list,

I'm in the mid of migrating my workstation from
OpenBSD/amd64 to
FreeBSD/amd64. I have three hard discs installed in it (two
identical
250GByte SATA300, and one 500GByte SATA300 drive).

When still running OpenBSD, I copied all data I want to
transfer to the
500GByte drive; I plan to run the two 250GByte HDs as RAID1
when running
FreeBSD.

Prior to installing FreeBSD on this machine, I grabbed the
500GByte HD (with
one single OpenBSD FFS partition on it, 'wd2a' in OpenBSD
speak) and tried
to mount it on a FreeBSD machine.

Unfortunately, this doesn't work, but I'm pretty sure it
should. I probably
don't use the right parameter:

# mount /dev/ad8s1a /mnt/
mount: /dev/ad8s1a : No such file or directory

(I thought that the first -- and only -- partition on
OpenBSD would show up
as 'slice 1' on FreeBSD.)

Help greatly appreciated -- thank you!

Seth
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: Is it possible to mount OpenBSD FFS partitions in FreeBSD?
country flaguser name
Yugoslavia
2007-12-31 05:11:51
On Mon, 31 Dec 2007 11:58:17 +0100
"Seth Brundle" <cdanza335googlemail.com> wrote:
 
[...]
> # mount /dev/ad8s1a /mnt/
> mount: /dev/ad8s1a : No such file or directory
> 
> (I thought that the first -- and only -- partition on
OpenBSD would
> show up as 'slice 1' on FreeBSD.)

(The disk area occupied by OpenBSD is a slice, whilst
BSD-style chunk(s)
within are partitions.)

Is it possible to mount it just with 'mount /dev/ad8s1
/mnt'?

-- 
Nikola Lečić :: Никола Лечић
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: Is it possible to mount OpenBSD FFS partitions in FreeBSD?
user name
2007-12-31 05:16:50
2007/12/31, Nikola Lečić <nikola.lecicanthesphoria.net>:
>
> On Mon, 31 Dec 2007 11:58:17 +0100
> "Seth Brundle" <cdanza335googlemail.com> wrote:
>
> [...]
> > # mount /dev/ad8s1a /mnt/
> > mount: /dev/ad8s1a : No such file or directory
> >
> > (I thought that the first -- and only -- partition
on OpenBSD would
> > show up as 'slice 1' on FreeBSD.)
>
> (The disk area occupied by OpenBSD is a slice, whilst
BSD-style chunk(s)
> within are partitions.)
>
> Is it possible to mount it just with 'mount /dev/ad8s1
/mnt'?



Thanks for your fast reply;

# mount /dev/ad8s1 /mnt
mount: /dev/ad8s1 : No such file or directory

Also tried this before, doesn't work. The main problem for
me is that I
don't know the way the OpenBSD disc appears to FreeBSD,
layout-wise. A
``disklabel ad8'' to have a peek also doesn't work:

# disklabel ad8
disklabel: /dev/ad8: no valid label found

Thanks,

Seth

--
> Nikola Lečić :: Никола Лечић
>
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
Re: Is it possible to mount OpenBSD FFS partitions in FreeBSD?
country flaguser name
Yugoslavia
2007-12-31 05:37:02
On Mon, 31 Dec 2007 12:16:50 +0100
"Seth Brundle" <cdanza335googlemail.com> wrote:
 
> 2007/12/31, Nikola Lečić <nikola.lecicanthesphoria.net>:
> >
> > On Mon, 31 Dec 2007 11:58:17 +0100
> > "Seth Brundle" <cdanza335googlemail.com> wrote:
> >
> > [...]
> > > # mount /dev/ad8s1a /mnt/
> > > mount: /dev/ad8s1a : No such file or
directory
> > >
> > > (I thought that the first -- and only --
partition on OpenBSD
> > > would show up as 'slice 1' on FreeBSD.)
> >
> > (The disk area occupied by OpenBSD is a slice,
whilst BSD-style
> > chunk(s) within are partitions.)
> >
> > Is it possible to mount it just with 'mount
/dev/ad8s1 /mnt'?
> 
> 
> 
> Thanks for your fast reply;
> 
> # mount /dev/ad8s1 /mnt
> mount: /dev/ad8s1 : No such file or directory
> 
> Also tried this before, doesn't work. The main problem
for me is that
> I don't know the way the OpenBSD disc appears to
FreeBSD,
> layout-wise. A ``disklabel ad8'' to have a peek also
doesn't work:

Ah sorry, I misunderstood you; the ad8 is dedicated to
OpenBSD in its
entirety? In that case I'm pretty sure that, in standard
cases, it
should be possible to mounted it as /dev/ad8. (Yes, you
wrote that it's
seen as wd2a from OpenBSD.)

(Btw, what does 'ls /dev/ad*' show?)
 
> # disklabel ad8
> disklabel: /dev/ad8: no valid label found

This is expected, BSD labels are not compatible among BSDs:

     The various BSDs all use slightly different versions of
BSD labels
     and are not generally compatible.

(from bsdlabel(8) manpage).

That's why you can't (by default) see BSD labels created by
another
BSD. However, I know that first partition of a NetBSD
slice/disk can be
mounted from FreeBSD _without_ partition-letter addition
(e.g. ad8 will
represent what you would expect to be ad8a -- it the disk
is
"dedicated" -- and ad8s1 will represent what you
would expect to be
ad8s1a -- if the disk is sliced), but maybe OpenBSD does
something
differently.

-- 
Nikola Lečić :: Никола Лечић
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: Is it possible to mount OpenBSD FFS partitions in FreeBSD?
user name
2007-12-31 05:44:33
2007/12/31, Nikola Lečić <nikola.lecicanthesphoria.net>:
>
> On Mon, 31 Dec 2007 12:16:50 +0100
> "Seth Brundle" <cdanza335googlemail.com> wrote:
>
> > 2007/12/31, Nikola Lečić <nikola.lecicanthesphoria.net>:
> > >
> > > On Mon, 31 Dec 2007 11:58:17 +0100
> > > "Seth Brundle" <cdanza335googlemail.com> wrote:
> > >
> > > [...]
> > > > # mount /dev/ad8s1a /mnt/
> > > > mount: /dev/ad8s1a : No such file or
directory
> > > >
> > > > (I thought that the first -- and only --
partition on OpenBSD
> > > > would show up as 'slice 1' on FreeBSD.)
> > >
> > > (The disk area occupied by OpenBSD is a
slice, whilst BSD-style
> > > chunk(s) within are partitions.)
> > >
> > > Is it possible to mount it just with 'mount
/dev/ad8s1 /mnt'?
> >
> >
> >
> > Thanks for your fast reply;
> >
> > # mount /dev/ad8s1 /mnt
> > mount: /dev/ad8s1 : No such file or directory
> >
> > Also tried this before, doesn't work. The main
problem for me is that
> > I don't know the way the OpenBSD disc appears to
FreeBSD,
> > layout-wise. A ``disklabel ad8'' to have a peek
also doesn't work:
>
> Ah sorry, I misunderstood you; the ad8 is dedicated to
OpenBSD in its
> entirety?


Yes. Just a big fat place to put files.

In that case I'm pretty sure that, in standard cases, it
> should be possible to mounted it as /dev/ad8. (Yes, you
wrote that it's
> seen as wd2a from OpenBSD.)
>
> (Btw, what does 'ls /dev/ad*' show?)


What it should ;)

 # ls /dev/ad*
/dev/ad4        /dev/ad4s1b     /dev/ad4s1e     /dev/ad6
/dev/ad4s1      /dev/ad4s1c     /dev/ad4s1f     /dev/ad6s4
/dev/ad4s1a     /dev/ad4s1d     /dev/ad4s1g     /dev/ad8

> # disklabel ad8
> > disklabel: /dev/ad8: no valid label found
>
> This is expected, BSD labels are not compatible among
BSDs:
>
>      The various BSDs all use slightly different
versions of BSD labels
>      and are not generally compatible.
>
> (from bsdlabel(8) manpage).


Thanks, didn't check it yet.

That's why you can't (by default) see BSD labels created by
another
> BSD. However, I know that first partition of a NetBSD
slice/disk can be
> mounted from FreeBSD _without_ partition-letter
addition (e.g. ad8 will
> represent what you would expect to be ad8a -- it the
disk is
> "dedicated" -- and ad8s1 will represent what
you would expect to be
> ad8s1a -- if the disk is sliced), but maybe OpenBSD
does something
> differently.


Obviously, yes. AFAIR they have their own identifier, too
(read: There's a
NetBSD identifier as well as an OpenBSD one)...

Okay, I think I'll set up another machine running OpenBSD,
migrate my
workstation to FreeBSD and copy the stuff over the net...
(Most convenient
way, AFAICS.)

Thanks, Nikola! 

--
> Nikola Lečić :: Никола Лечић
>
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
Re: Is it possible to mount OpenBSD FFS partitions in FreeBSD?
country flaguser name
Yugoslavia
2007-12-31 05:52:02
On Mon, 31 Dec 2007 12:44:33 +0100
"Seth Brundle" <cdanza335googlemail.com> wrote:
 
>  # ls /dev/ad*
> /dev/ad4        /dev/ad4s1b     /dev/ad4s1e    
/dev/ad6
> /dev/ad4s1      /dev/ad4s1c     /dev/ad4s1f    
/dev/ad6s4
> /dev/ad4s1a     /dev/ad4s1d     /dev/ad4s1g    
/dev/ad8

Just for the record, 'mount /dev/ad8 /mnt' works?

-- 
Nikola Lečić :: Никола Лечић
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: Is it possible to mount OpenBSD FFS partitions in FreeBSD?
user name
2007-12-31 07:06:04
2007/12/31, Nikola Lečić <nikola.lecicanthesphoria.net>:
>
> On Mon, 31 Dec 2007 12:44:33 +0100
> "Seth Brundle" <cdanza335googlemail.com> wrote:
>
> >  # ls /dev/ad*
> > /dev/ad4        /dev/ad4s1b     /dev/ad4s1e    
/dev/ad6
> > /dev/ad4s1      /dev/ad4s1c     /dev/ad4s1f    
/dev/ad6s4
> > /dev/ad4s1a     /dev/ad4s1d     /dev/ad4s1g    
/dev/ad8
>
> Just for the record, 'mount /dev/ad8 /mnt' works?



No, unfortunately not:

 # mount /dev/ad8 /mnt
mount: /dev/ad8 : Invalid argument

Seth

--
> Nikola Lečić :: Никола Лечић
>
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
[1-8]

about | contact  Other archives ( Real Estate discussion Medical topics )