CURRENT sees only /dev/ad2s1a, but not /dev/ad3s1a

Matthias Apitz guru at unixarea.de
Fri Apr 17 01:13:33 PDT 2009


El día Thursday, April 02, 2009 a las 05:06:53PM +0200, Paul B. Mahol escribió:

> On 4/2/09, Matthias Apitz <guru at unixarea.de> wrote:
> > El día Friday, March 27, 2009 a las 05:52:40PM +0100, Paul B. Mahol
> > escribió:
> >
> >> On 3/27/09, Matthias Apitz <guru at unixarea.de> wrote:
> >> >
> >> > Hello,
> >> >
> >> > When I boot my EeePC from USB key (/dev/da0s1a) -CURRENT it sees the two
> >> > SSD
> >> > only
> >> > as
> >> >
> >> > $ ls -l /dev/ad*
> >> > /dev/ad2
> >> > /dev/ad2s1
> >> > /dev/ad2s1a
> >> > /dev/ad3
> >> > /dev/ad3a
> >> >
> >> > I can mount /dev/ad2s1a but ofc not /dev/ad3s1a;
> >> >
> >> > when I'm booting the RELENG_7 from /dev/ad2s1a itself it looks like
> >> > this:
> >> >
> >> > $ mount
> >> > /dev/ad2s1a on / (ufs, local, noatime)
> >> > /dev/ad3s1a on /usr/home (ufs, local, noatime)
> >>
> >> CURRENT have replaced geom_bsd with geom_part_bsd
> >> and that can cause various problems, search current archives for more
> >> info.
> >
> > When I will update the EeePC from USB key (/dev/da0s1a) to CURRENT I
> > will install into /dev/ad2s1a (with make installworld/installkernel ...)
> > and I want to keep the partition /dev/ad3s1a as it is; would it be
> > enough to just do:
> >
> > # bsdlabel -w ad3s1 auto
> >
> > from CURRENT booted?
> 
> When you do that, make backups anyway.
> 
> I dont use bsdlabel/fdisk/sade any more, I use gpart(8) instead. I
> actually wiped completely old crappy parttion table and replaced it
> with gpart one, and now I'm using more than 8 labels.

This is only to close this thread: Today morning I installed CURRENT
into /dev/ad2s1a (without problems) and I've found no way to re-use the
other old (RELENG_7) partition in the 2nd SSD /dev/ad3; I had to wipe
it out to make fdisk happy:

# dd if=/dev/zero of=/dev/ad3 count=2
# fdisk -I /dev/ad3
# newfs -m 0 -o space /dev/ad3s1a
# echo "/dev/ad3s1a  /usr/local  ufs  rw,noatime  1  1" >> /etc/fstab
# mount /usr/local

	matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <matthias.apitz at oclc.org> - w http://www.oclc.org/ http://www.UnixArea.de/
People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD.


More information about the freebsd-hackers mailing list