[Drbd-dev] Re: [john.cagle@hp.com: FW: device number request for drbd]

Philipp Reisner philipp.reisner@linbit.com
Fri, 30 Jul 2004 14:29:40 +0200


On Friday 30 July 2004 14:14, Lars Ellenberg wrote:
> / 2004-07-30 13:32:20 +0200
>
> \ Philipp Reisner:
> > On Friday 30 July 2004 11:56, Philipp Reisner wrote:
> > > On Friday 30 July 2004 00:32, Lars Marowsky-Bree wrote:
> > > > On 2004-07-28T19:56:09,
> > > >
> > > >    Philipp Reisner <philipp.reisner@linbit.com> said:
> > > > > > This is _not_ a change we can push out. The major number _might_
> > > > > > be changed, but the device path absolutely has to stay stable.
> > > > >
> > > > > Maybe
> > > > > for ((i=0;i<16;i++)); do mknod /dev/nb$i b 147 $i; done
> > > >
> > > > No. Because the user might have the RPM installed (thus the
> > > > post-install would get triggered on update), but may in fact be using
> > > > nbd.
> > > >
> > > > We'll have to make the drbd we ship default to the old major/minor
> > > > and also keep the examples consistent with that.
> > > >
> > > > However, we can advise them use the different major in the future,
> > > > but for a GA'ed product, we cannot break what is essentially the ABI
> > > > to userspace.
> > >
> > > So then, we will reenable the major_nr module parameter.
> > > Then SuSE only needs to patch the init script to pass the module
> > > parameter..
> >
> > You could even use the supplied init script and put
> > ADD_MOD_PARAM="major_nr=43" into /etc/default/drbd
>
> patch will follow soon which will replace that with
> "use_nbd_major"
>
> ok?
>

Ist auch ok...

... blos will ich recht bald das .tar.gz machen...

-Philipp
-- 
: Dipl-Ing Philipp Reisner                      Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH          Fax +43-1-8178292-82 :
: Schönbrunnerstr 244, 1120 Vienna, Austria    http://www.linbit.com :