Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Oct 1998 10:11:17 -0600 (MDT)
From:      "Kenneth D. Merry" <ken@plutotech.com>
To:        rcarter@pinyon.org (Russell L. Carter)
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: sda?? to da?
Message-ID:  <199810011611.KAA07497@panzer.plutotech.com>
In-Reply-To: <199810010536.WAA00322@psf.Pinyon.ORG> from "Russell L. Carter" at "Sep 30, 98 10:36:12 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Russell L. Carter wrote...
> 
> Ok, fine, sd->da.  However, the following mapping of
> old vs. new fstabs fails very nasty:
> 
> This works just peachy keen with a C'd system:
> 
> /dev/sd0s1a      63486    42802    15606    73%    /
> /dev/sd0s1g    4511020  1709772  2440368    41%    /u1
> /dev/sd0s1f     793790   304062   426226    42%    /usr
> /dev/sd0s1e      59502    12054    42688    22%    /var
> /dev/sd1s2e    7876854  3277934  3968772    45%    /u2
> procfs               8        8        0   100%    /proc
> 
> This map to a "once and future" fstab gives me lots of 
> sd1 (da1) fsck failures:
> 
> /dev/sd0s1b => /dev/da0b
> /dev/sd1s1b => /dev/da1b
> /dev/sd0s1a => /dev/da0a
> /dev/sd0s1g => /dev/da0g
> /dev/sd0s1f => /dev/da0f
> /dev/sd0s1e => /dev/da0e
> /dev/sd1s2e => /dev/da1e
> 
> Duh, where is the map documented|described?

*whap*

Just use your old fstab.  The major and minor numbers for SCSI disks are
the same.  Your old fstab will work just fine.  This has been beaten to
death on -current over the past few days.

If you really want to change it over from sd to da, first make the device
nodes in /dev, and then here's the translation:

/dev/sd0s1b => /dev/da0s1b
/dev/sd1s1b => /dev/da1s1b
/dev/sd0s1a => /dev/da0s1a
/dev/sd0s1g => /dev/da0s1g
/dev/sd0s1f => /dev/da0s1f
/dev/sd0s1e => /dev/da0s1e
/dev/sd1s2e => /dev/da1s2e


Ken
-- 
Kenneth Merry
ken@plutotech.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810011611.KAA07497>