Breaking out NFS for DRBL

View: New views
10 Messages — Rating Filter:   Alert me  

Breaking out NFS for DRBL

by McEnroe, Michael :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

My company is evaluating DRBL for a diskless solution for our call center.  We're looking for a way for DRBL to handle ~250 machines.  We're looking at setting up multiple DRBL servers, with each being assigned a batch of clients.  While the read-only aspects of NFS are not a problem, we need a way to have clients from any DRBL server talk to one specific NFS server for their home directories.

The plan calls for at least six DRBL servers, each with their own NFS shares, with the exception of a single server for handling /home.

Is there a way to force a specific server for mounting /home, leaving the other directories to be read from the DRBL server it booted from?
------------------------------------------------------------------------------
_______________________________________________
Drbl-user mailing list
Drbl-user@...
https://lists.sourceforge.net/lists/listinfo/drbl-user

Re: Breaking out NFS for DRBL

by Steven Shiau :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Michael,
You can edit client's /etc/fstab to mount the NFS server as /home manually.
The files you have to modify are in DRBL server's
/tftpboot/nodes/$IP/etc/fstab.
BTW, with this and drblpush:
http://drbl.sourceforge.net/one4all/

    * Before executing step <3a>, you can do some customized config:
         1. ...
         2. If all the clients have their local harddisk, and the
            partition is formated (For example, /dev/hda1, its
            filesystem is ext3), then if you want the client to mount
            /dev/hda1 as /localwork when booting. Therefore you can edit
            /opt/drbl/conf/client-append-fstab, and its syntax is just
            like /etc/fstab. In this example, you can make
            /opt/drbl/conf/client-append-fstab like this:
            /dev/hda1 /localwork ext3 defaults 0 0
            (PS: You do not have to create the directory
            /tftpboot/node_root/localwork in DRBL server manually, later
            drblpush will do that for you)

You can try this, too.

Steven.


McEnroe, Michael wrote:

> My company is evaluating DRBL for a diskless solution for our call center.  We're looking for a way for DRBL to handle ~250 machines.  We're looking at setting up multiple DRBL servers, with each being assigned a batch of clients.  While the read-only aspects of NFS are not a problem, we need a way to have clients from any DRBL server talk to one specific NFS server for their home directories.
>
> The plan calls for at least six DRBL servers, each with their own NFS shares, with the exception of a single server for handling /home.
>
> Is there a way to force a specific server for mounting /home, leaving the other directories to be read from the DRBL server it booted from?
> ------------------------------------------------------------------------------
> _______________________________________________
> Drbl-user mailing list
> Drbl-user@...
> https://lists.sourceforge.net/lists/listinfo/drbl-user
>  

--
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A


------------------------------------------------------------------------------
_______________________________________________
Drbl-user mailing list
Drbl-user@...
https://lists.sourceforge.net/lists/listinfo/drbl-user

Re: Breaking out NFS for DRBL

by McEnroe, Michael :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

OK, I tried editing the fstab you mentioned.  For a test, I commented out the regular /opt in favor of our custom NFS server's /opt

Clip for /tftpboot/nodes/192.168.0.10/etc/fstab
#192.168.0.2:/opt             /opt        nfs    ro,rsize=65536,wsize=65536,tcp,,defaults        0 0
172.16.0.20:/export/opt    /opt        nfs    ro,rsize=65536,wsize=65536,tcp,,defaults        0 0

However, when the client is booted, the fstab gets rewritten during the boot process.

The client's /etc/fstab:
172.16.0.20:/export/opt    /opt        nfs    ro,rsize=65536,wsize=65536,tcp,,defaults        0 0
becomes
192.168.0.2:/export/opt    /opt        nfs    ro,rsize=65536,wsize=65536,tcp,,defaults        0 0

During boot, an access denied error comes up when trying to mount /opt (fstab now points to a directory that doesn't exist).

What would be causing this to happen?
________________________________________
From: Steven Shiau [steven@...]
Sent: Friday, June 26, 2009 9:06 PM
To: McEnroe, Michael
Cc: drbl-user@...
Subject: Re: [Drbl-user] Breaking out NFS for DRBL

Hi Michael,
You can edit client's /etc/fstab to mount the NFS server as /home manually.
The files you have to modify are in DRBL server's
/tftpboot/nodes/$IP/etc/fstab.
BTW, with this and drblpush:
http://drbl.sourceforge.net/one4all/

    * Before executing step <3a>, you can do some customized config:
         1. ...
         2. If all the clients have their local harddisk, and the
            partition is formated (For example, /dev/hda1, its
            filesystem is ext3), then if you want the client to mount
            /dev/hda1 as /localwork when booting. Therefore you can edit
            /opt/drbl/conf/client-append-fstab, and its syntax is just
            like /etc/fstab. In this example, you can make
            /opt/drbl/conf/client-append-fstab like this:
            /dev/hda1 /localwork ext3 defaults 0 0
            (PS: You do not have to create the directory
            /tftpboot/node_root/localwork in DRBL server manually, later
            drblpush will do that for you)

You can try this, too.

Steven.


McEnroe, Michael wrote:

> My company is evaluating DRBL for a diskless solution for our call center.  We're looking for a way for DRBL to handle ~250 machines.  We're looking at setting up multiple DRBL servers, with each being assigned a batch of clients.  While the read-only aspects of NFS are not a problem, we need a way to have clients from any DRBL server talk to one specific NFS server for their home directories.
>
> The plan calls for at least six DRBL servers, each with their own NFS shares, with the exception of a single server for handling /home.
>
> Is there a way to force a specific server for mounting /home, leaving the other directories to be read from the DRBL server it booted from?
> ------------------------------------------------------------------------------
> _______________________________________________
> Drbl-user mailing list
> Drbl-user@...
> https://lists.sourceforge.net/lists/listinfo/drbl-user
>

--
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Drbl-user mailing list
Drbl-user@...
https://lists.sourceforge.net/lists/listinfo/drbl-user

Re: Breaking out NFS for DRBL

by Steven Shiau :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Are you running DRBL SSI mode?

Did you try to edit /opt/drbl/conf/client-append-fstab as mentioned in
the previous mail, then run "/opt/drbl/sbin/drblpush -i" again?

Steven.

McEnroe, Michael wrote:

> OK, I tried editing the fstab you mentioned.  For a test, I commented out the regular /opt in favor of our custom NFS server's /opt
>
> Clip for /tftpboot/nodes/192.168.0.10/etc/fstab
> #192.168.0.2:/opt             /opt        nfs    ro,rsize=65536,wsize=65536,tcp,,defaults        0 0
> 172.16.0.20:/export/opt    /opt        nfs    ro,rsize=65536,wsize=65536,tcp,,defaults        0 0
>
> However, when the client is booted, the fstab gets rewritten during the boot process.
>
> The client's /etc/fstab:
> 172.€

--
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Drbl-user mailing list
Drbl-user@...
https://lists.sourceforge.net/lists/listinfo/drbl-user

Re: Breaking out NFS for DRBL

by McEnroe, Michael :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I tried adding the line to the client-append-fstab, and noticed something interesting.

When I specify an IP, it gets overwritten during boot.
When I specify a name, it is left alone.

Also, DRBL still attempt to mount the original /opt on the DRBL server even though there's the new /opt there.  Commenting it out in the fstab has no effect, even though it remains commented out after boot.

Is there a way to explicitly tell DRBL to use my /opt source instead of the standard one?

________________________________________
From: Steven Shiau [steven@...]
Sent: Wednesday, September 23, 2009 11:15 PM
To: McEnroe, Michael
Cc: drbl-user@...
Subject: Re: [Drbl-user] Breaking out NFS for DRBL

Are you running DRBL SSI mode?

Did you try to edit /opt/drbl/conf/client-append-fstab as mentioned in
the previous mail, then run "/opt/drbl/sbin/drblpush -i" again?

Steven.

McEnroe, Michael wrote:

> OK, I tried editing the fstab you mentioned.  For a test, I commented out the regular /opt in favor of our custom NFS server's /opt
>
> Clip for /tftpboot/nodes/192.168.0.10/etc/fstab
> #192.168.0.2:/opt             /opt        nfs    ro,rsize=65536,wsize=65536,tcp,,defaults        0 0
> 172.16.0.20:/export/opt    /opt        nfs    ro,rsize=65536,wsize=65536,tcp,,defaults        0 0
>
> However, when the client is booted, the fstab gets rewritten during the boot process.
>
> The client's /etc/fstab:
> 172.€

--
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Drbl-user mailing list
Drbl-user@...
https://lists.sourceforge.net/lists/listinfo/drbl-user

Re: Breaking out NFS for DRBL

by Steven Shiau :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
Thanks for the bug report. However, you did not tell us more details
about the environment you have set, e.g. is it a DRBL SSI mode?
Which version of drbl are you using?
I think it's better to follow
http://drbl.sourceforge.net/one4all/#bug-report
to provide more detail info so that we can improve it.
Thanks.

Steven.

McEnroe, Michael wrote:

> I tried adding the line to the client-append-fstab, and noticed something interesting.
>
> When I specify an IP, it gets overwritten during boot.
> When I specify a name, it is left alone.
>
> Also, DRBL still attempt to mount the original /opt on the DRBL server even though there's the new /opt there.  Commenting it out in the fstab has no effect, even though it remains commented out after boot.
>
> Is there a way to explicitly tell DRBL to use my /opt source instead of the standard one?
>
> ________________________________________
> From: Steven Shiau [steven@...]
> Sent: Wednesday, September 23, 2009 11:15 PM
> To: McEnroe, Michael
> Cc: drbl-user@...
> Subject: Re: [Drbl-user] Breaking out NFS for DRBL
>
> Are you running DRBL SSI mode?
>
> Did you try to edit /opt/drbl/conf/client-append-fstab as mentioned in
> the previous mail, then run "/opt/drbl/sbin/drblpush -i" again?
>
> Steven.
>
> McEnroe, Michael wrote:
>> OK, I tried editing the fstab you mentioned.  For a test, I commented out the regular /opt in favor of our custom NFS server's /opt
>>
>> Clip for /tftpboot/nodes/192.168.0.10/etc/fstab
>> #192.168.0.2:/opt             /opt        nfs    ro,rsize=65536,wsize=65536,tcp,,defaults        0 0
>> 172.16.0.20:/export/opt    /opt        nfs    ro,rsize=65536,wsize=65536,tcp,,defaults        0 0
>>
>> However, when the client is booted, the fstab gets rewritten during the boot process.
>>
>> The client's /etc/fstab:
>> 172.€
>
> --
> Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
> National Center for High-performance Computing, Taiwan.
> http://www.nchc.org.tw
> Public Key Server PGP Key ID: 1024D/9762755A
> Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Drbl-user mailing list
> Drbl-user@...
> https://lists.sourceforge.net/lists/listinfo/drbl-user

--
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Drbl-user mailing list
Drbl-user@...
https://lists.sourceforge.net/lists/listinfo/drbl-user

Re: Breaking out NFS for DRBL

by McEnroe, Michael :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is in SSI mode, version 1.9.4-47.

Description of problem:
IPs of NFS servers specified in client-append-fstab are changed to the
DRBL server's IP

How reproducible:
Edit client-append-fstab and add an NFS mount via IP.

Steps to Reproduce:
Edited client-append-fstab and added:
10.224.23.120:/export/opt    /opt        nfs    ro,rsize=65536,wsize=65536,tcp,,defaults        0 0
Then ran /opt/drbl/sbin/drblpush -c /etc/drbl/drblpush.conf

Actual results:
When client is booted, /etc/fstab on client shows:
10.224.35.2:/export/opt    /opt        nfs    ro,rsize=65536,wsize=65536,tcp,,defaults        0 0
This fails to mount, since /opt isn't kept in /export/opt on the DRBL
server.

Expected results:
Client mounts 10.224.23.120:/export/opt over /opt
Problem does not occur when server is specified via hostname


===
OS version: Ubuntu 8.04
Server arch: i686
Server CPU:  Intel(R) Pentium(R) D CPU 3.40GHz
Server memory size: 3894088 kB
Server Kernel version: 2.6.24-24-generic
Installed DRBL-related packages:  drbl-1.9.4-47 clonezilla-2.3.3-68
mkswap-uuid-0.1.1-1 drbl-partimage-0.6.7-1drbl drbl-ntfsprogs-2.0.0-4
partclone-0.1.1-15 drbl-chntpw-0.0.20040818-7 drbl-lzop-1.02-0.8drbl
pigz-2.1.4-1drbl pbzip2-1.0.5-1drbl mkpxeinitrd-net-1.2-43
udpcast-20081213-1drbl drbl-etherboot-5.4.3-2 gpxe-0.9.7-1drbl
freedos-1.0-11drbl
Client kernel version: 2.6.24-24-generic
Client kernel arch: i586
NICs with private IP address in server: eth0
Private IP address in server: 10.224.35.2
Total client no: 243
Client IP address: 10.224.35.10 10.224.35.100 10.224.35.101
10.224.35.102 10.224.35.103 10.224.35.104 10.224.35.105 10.224.35.106
10.224.35.107 10.224.35.108 10.224.35.109 10.224.35.11 10.224.35.110
10.224.35.111 10.224.35.112 10.224.35.113 10.224.35.114 10.224.35.115
10.224.35.116 10.224.35.117 10.224.35.118 10.224.35.119 10.224.35.12
10.224.35.120 10.224.35.121 10.224.35.122 10.224.35.123 10.224.35.124
10.224.35.125 10.224.35.126 10.224.35.127 10.224.35.128 10.224.35.129
10.224.35.13 10.224.35.130 10.224.35.131 10.224.35.132 10.224.35.133
10.224.35.134 10.224.35.135 10.224.35.136 10.224.35.137 10.224.35.138
10.224.35.139 10.224.35.14 10.224.35.140 10.224.35.141 10.224.35.142
10.224.35.143 10.224.35.144 10.224.35.145 10.224.35.146 10.224.35.147
10.224.35.148 10.224.35.149 10.224.35.15 10.224.35.150 10.224.35.151
10.224.35.152 10.224.35.153 10.224.35.154 10.224.35.155 10.224.35.156
10.224.35.157 10.224.35.158 10.224.35.159 10.224.35.16 10.224.35.160
10.224.35.161 10.224.35.162 10.224.35.163 10.224.35.164 10.224.35.165
10.224.35.166 10.224.35.167 10.224.35.168 10.224.35.169 10.224.35.17
10.224.35.170 10.224.35.171 10.224.35.172 10.224.35.173 10.224.35.174
10.224.35.175 10.224.35.176 10.224.35.177 10.224.35.178 10.224.35.179
10.224.35.18 10.224.35.180 10.224.35.181 10.224.35.182 10.224.35.183
10.224.35.184 10.224.35.185 10.224.35.186 10.224.35.187 10.224.35.188
10.224.35.189 10.224.35.19 10.224.35.190 10.224.35.191 10.224.35.192
10.224.35.193 10.224.35.194 10.224.35.195 10.224.35.196 10.224.35.197
10.224.35.198 10.224.35.199 10.224.35.20 10.224.35.200 10.224.35.201
10.224.35.202 10.224.35.203 10.224.35.204 10.224.35.205 10.224.35.206
10.224.35.207 10.224.35.208 10.224.35.209 10.224.35.21 10.224.35.210
10.224.35.211 10.224.35.212 10.224.35.213 10.224.35.214 10.224.35.215
10.224.35.216 10.224.35.217 10.224.35.218 10.224.35.219 10.224.35.22
10.224.35.220 10.224.35.221 10.224.35.222 10.224.35.223 10.224.35.224
10.224.35.225 10.224.35.226 10.224.35.227 10.224.35.228 10.224.35.229
10.224.35.23 10.224.35.230 10.224.35.231 10.224.35.232 10.224.35.233
10.224.35.234 10.224.35.235 10.224.35.236 10.224.35.237 10.224.35.238
10.224.35.239 10.224.35.24 10.224.35.240 10.224.35.241 10.224.35.242
10.224.35.243 10.224.35.244 10.224.35.245 10.224.35.246 10.224.35.247
10.224.35.248 10.224.35.249 10.224.35.25 10.224.35.250 10.224.35.251
10.224.35.252 10.224.35.26 10.224.35.27 10.224.35.28 10.224.35.29
10.224.35.30 10.224.35.31 10.224.35.32 10.224.35.33 10.224.35.34
10.224.35.35 10.224.35.36 10.224.35.37 10.224.35.38 10.224.35.39
10.224.35.40 10.224.35.41 10.224.35.42 10.224.35.43 10.224.35.44
10.224.35.45 10.224.35.46 10.224.35.47 10.224.35.48 10.224.35.49
10.224.35.50 10.224.35.51 10.224.35.52 10.224.35.53 10.224.35.54
10.224.35.55 10.224.35.56 10.224.35.57 10.224.35.58 10.224.35.59
10.224.35.60 10.224.35.61 10.224.35.62 10.224.35.63 10.224.35.64
10.224.35.65 10.224.35.66 10.224.35.67 10.224.35.68 10.224.35.69
10.224.35.70 10.224.35.71 10.224.35.72 10.224.35.73 10.224.35.74
10.224.35.75 10.224.35.76 10.224.35.77 10.224.35.78 10.224.35.79
10.224.35.80 10.224.35.81 10.224.35.82 10.224.35.83 10.224.35.84
10.224.35.85 10.224.35.86 10.224.35.87 10.224.35.88 10.224.35.89
10.224.35.90 10.224.35.91 10.224.35.92 10.224.35.93 10.224.35.94
10.224.35.95 10.224.35.96 10.224.35.97 10.224.35.98 10.224.35.99
===
-------CUT END HERE----------------------------------------------



On Mon, 2009-10-05 at 20:27 -0500, Steven Shiau wrote:

> Hi,
> Thanks for the bug report. However, you did not tell us more details
> about the environment you have set, e.g. is it a DRBL SSI mode?
> Which version of drbl are you using?
> I think it's better to follow
> http://drbl.sourceforge.net/one4all/#bug-report
> to provide more detail info so that we can improve it.
> Thanks.
>
> Steven.
>
> McEnroe, Michael wrote:
> > I tried adding the line to the client-append-fstab, and noticed something interesting.
> >
> > When I specify an IP, it gets overwritten during boot.
> > When I specify a name, it is left alone.
> >
> > Also, DRBL still attempt to mount the original /opt on the DRBL server even though there's the new /opt there.  Commenting it out in the fstab has no effect, even though it remains commented out after boot.
> >
> > Is there a way to explicitly tell DRBL to use my /opt source instead of the standard one?
> >
> > ________________________________________
> > From: Steven Shiau [steven@...]
> > Sent: Wednesday, September 23, 2009 11:15 PM
> > To: McEnroe, Michael
> > Cc: drbl-user@...
> > Subject: Re: [Drbl-user] Breaking out NFS for DRBL
> >
> > Are you running DRBL SSI mode?
> >
> > Did you try to edit /opt/drbl/conf/client-append-fstab as mentioned in
> > the previous mail, then run "/opt/drbl/sbin/drblpush -i" again?
> >
> > Steven.
> >
> > McEnroe, Michael wrote:
> >> OK, I tried editing the fstab you mentioned.  For a test, I commented out the regular /opt in favor of our custom NFS server's /opt
> >>
> >> Clip for /tftpboot/nodes/192.168.0.10/etc/fstab
> >> #192.168.0.2:/opt             /opt        nfs    ro,rsize=65536,wsize=65536,tcp,,defaults        0 0
> >> 172.16.0.20:/export/opt    /opt        nfs    ro,rsize=65536,wsize=65536,tcp,,defaults        0 0
> >>
> >> However, when the client is booted, the fstab gets rewritten during the boot process.
> >>
> >> The client's /etc/fstab:
> >> 172.€
> >
> > --
> > Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
> > National Center for High-performance Computing, Taiwan.
> > http://www.nchc.org.tw
> > Public Key Server PGP Key ID: 1024D/9762755A
> > Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A
> >
> > ------------------------------------------------------------------------------
> > Come build with us! The BlackBerry® Developer Conference in SF, CA
> > is the only developer event you need to attend this year. Jumpstart your
> > developing skills, take BlackBerry mobile applications to market and stay
> > ahead of the curve. Join us from November 9-12, 2009. Register now!
> > http://p.sf.net/sfu/devconf
> > _______________________________________________
> > Drbl-user mailing list
> > Drbl-user@...
> > https://lists.sourceforge.net/lists/listinfo/drbl-user
>


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Drbl-user mailing list
Drbl-user@...
https://lists.sourceforge.net/lists/listinfo/drbl-user

Re: Breaking out NFS for DRBL

by Steven Shiau :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Michael,
Thanks for the bug report.
Yes, the /etc/fstab will be modified by
/opt/drbl/sbin/drbl-ssi-client-prepare when the client boots.
drbl-ssi-client-prepare will replace the NFS server IP address from the
template to be the one of DRBL server. It happens to replace your
config, i.e.
10.224.23.120:/export/opt /opt nfs
ro,rsize=65536,wsize=65536,tcp,,defaults 0 0
will be replaced to be
10.224.35.2:/export/opt /opt nfs
ro,rsize=65536,wsize=65536,tcp,,defaults 0 0

I am thinking a better way to make it work now. If you have a good
suggestion to make drbl-ssi-client-prepare won't replace the wrong line,
please let me know.

Steven.

Michael McEnroe wrote:

> This is in SSI mode, version 1.9.4-47.
>
> Description of problem:
> IPs of NFS servers specified in client-append-fstab are changed to the
> DRBL server's IP
>
> How reproducible:
> Edit client-append-fstab and add an NFS mount via IP.
>
> Steps to Reproduce:
> Edited client-append-fstab and added:
> 10.224.23.120:/export/opt    /opt        nfs    ro,rsize=65536,wsize=65536,tcp,,defaults        0 0
> Then ran /opt/drbl/sbin/drblpush -c /etc/drbl/drblpush.conf
>
> Actual results:
> When client is booted, /etc/fstab on client shows:
> 10.224.35.2:/export/opt    /opt        nfs    ro,rsize=65536,wsize=65536,tcp,,defaults        0 0
> This fails to mount, since /opt isn't kept in /export/opt on the DRBL
> server.
>
> Expected results:
> Client mounts 10.224.23.120:/export/opt over /opt
> Problem does not occur when server is specified via hostname
>
>
> ===
> OS version: Ubuntu 8.04
> Server arch: i686
> Server CPU:  Intel(R) Pentium(R) D CPU 3.40GHz
> Server memory size: 3894088 kB
> Server Kernel version: 2.6.24-24-generic
> Installed DRBL-related packages:  drbl-1.9.4-47 clonezilla-2.3.3-68
> mkswap-uuid-0.1.1-1 drbl-partimage-0.6.7-1drbl drbl-ntfsprogs-2.0.0-4
> partclone-0.1.1-15 drbl-chntpw-0.0.20040818-7 drbl-lzop-1.02-0.8drbl
> pigz-2.1.4-1drbl pbzip2-1.0.5-1drbl mkpxeinitrd-net-1.2-43
> udpcast-20081213-1drbl drbl-etherboot-5.4.3-2 gpxe-0.9.7-1drbl
> freedos-1.0-11drbl
> Client kernel version: 2.6.24-24-generic
> Client kernel arch: i586
> NICs with private IP address in server: eth0
> Private IP address in server: 10.224.35.2
> Total client no: 243
> Client IP address: 10.224.35.10 10.224.35.100 10.224.35.101
> 10.224.35.102 10.224.35.103 10.224.35.104 10.224.35.105 10.224.35.106
> 10.224.35.107 10.224.35.108 10.224.35.109 10.224.35.11 10.224.35.110
> 10.224.35.111 10.224.35.112 10.224.35.113 10.224.35.114 10.224.35.115
> 10.224.35.116 10.224.35.117 10.224.35.118 10.224.35.119 10.224.35.12
> 10.224.35.120 10.224.35.121 10.224.35.122 10.224.35.123 10.224.35.124
> 10.224.35.125 10.224.35.126 10.224.35.127 10.224.35.128 10.224.35.129
> 10.224.35.13 10.224.35.130 10.224.35.131 10.224.35.132 10.224.35.133
> 10.224.35.134 10.224.35.135 10.224.35.136 10.224.35.137 10.224.35.138
> 10.224.35.139 10.224.35.14 10.224.35.140 10.224.35.141 10.224.35.142
> 10.224.35.143 10.224.35.144 10.224.35.145 10.224.35.146 10.224.35.147
> 10.224.35.148 10.224.35.149 10.224.35.15 10.224.35.150 10.224.35.151
> 10.224.35.152 10.224.35.153 10.224.35.154 10.224.35.155 10.224.35.156
> 10.224.35.157 10.224.35.158 10.224.35.159 10.224.35.16 10.224.35.160
> 10.224.35.161 10.224.35.162 10.224.35.163 10.224.35.164 10.224.35.165
> 10.224.35.166 10.224.35.167 10.224.35.168 10.224.35.169 10.224.35.17
> 10.224.35.170 10.224.35.171 10.224.35.172 10.224.35.173 10.224.35.174
> 10.224.35.175 10.224.35.176 10.224.35.177 10.224.35.178 10.224.35.179
> 10.224.35.18 10.224.35.180 10.224.35.181 10.224.35.182 10.224.35.183
> 10.224.35.184 10.224.35.185 10.224.35.186 10.224.35.187 10.224.35.188
> 10.224.35.189 10.224.35.19 10.224.35.190 10.224.35.191 10.224.35.192
> 10.224.35.193 10.224.35.194 10.224.35.195 10.224.35.196 10.224.35.197
> 10.224.35.198 10.224.35.199 10.224.35.20 10.224.35.200 10.224.35.201
> 10.224.35.202 10.224.35.203 10.224.35.204 10.224.35.205 10.224.35.206
> 10.224.35.207 10.224.35.208 10.224.35.209 10.224.35.21 10.224.35.210
> 10.224.35.211 10.224.35.212 10.224.35.213 10.224.35.214 10.224.35.215
> 10.224.35.216 10.224.35.217 10.224.35.218 10.224.35.219 10.224.35.22
> 10.224.35.220 10.224.35.221 10.224.35.222 10.224.35.223 10.224.35.224
> 10.224.35.225 10.224.35.226 10.224.35.227 10.224.35.228 10.224.35.229
> 10.224.35.23 10.224.35.230 10.224.35.231 10.224.35.232 10.224.35.233
> 10.224.35.234 10.224.35.235 10.224.35.236 10.224.35.237 10.224.35.238
> 10.224.35.239 10.224.35.24 10.224.35.240 10.224.35.241 10.224.35.242
> 10.224.35.243 10.224.35.244 10.224.35.245 10.224.35.246 10.224.35.247
> 10.224.35.248 10.224.35.249 10.224.35.25 10.224.35.250 10.224.35.251
> 10.224.35.252 10.224.35.26 10.224.35.27 10.224.35.28 10.224.35.29
> 10.224.35.30 10.224.35.31 10.224.35.32 10.224.35.33 10.224.35.34
> 10.224.35.35 10.224.35.36 10.224.35.37 10.224.35.38 10.224.35.39
> 10.224.35.40 10.224.35.41 10.224.35.42 10.224.35.43 10.224.35.44
> 10.224.35.45 10.224.35.46 10.224.35.47 10.224.35.48 10.224.35.49
> 10.224.35.50 10.224.35.51 10.224.35.52 10.224.35.53 10.224.35.54
> 10.224.35.55 10.224.35.56 10.224.35.57 10.224.35.58 10.224.35.59
> 10.224.35.60 10.224.35.61 10.224.35.62 10.224.35.63 10.224.35.64
> 10.224.35.65 10.224.35.66 10.224.35.67 10.224.35.68 10.224.35.69
> 10.224.35.70 10.224.35.71 10.224.35.72 10.224.35.73 10.224.35.74
> 10.224.35.75 10.224.35.76 10.224.35.77 10.224.35.78 10.224.35.79
> 10.224.35.80 10.224.35.81 10.224.35.82 10.224.35.83 10.224.35.84
> 10.224.35.85 10.224.35.86 10.224.35.87 10.224.35.88 10.224.35.89
> 10.224.35.90 10.224.35.91 10.224.35.92 10.224.35.93 10.224.35.94
> 10.224.35.95 10.224.35.96 10.224.35.97 10.224.35.98 10.224.35.99
> ===
> -------CUT END HERE----------------------------------------------
>
>
>
> On Mon, 2009-10-05 at 20:27 -0500, Steven Shiau wrote:
>  
>> Hi,
>> Thanks for the bug report. However, you did not tell us more details
>> about the environment you have set, e.g. is it a DRBL SSI mode?
>> Which version of drbl are you using?
>> I think it's better to follow
>> http://drbl.sourceforge.net/one4all/#bug-report
>> to provide more detail info so that we can improve it.
>> Thanks.
>>
>> Steven.
>>
>> McEnroe, Michael wrote:
>>    
>>> I tried adding the line to the client-append-fstab, and noticed something interesting.
>>>
>>> When I specify an IP, it gets overwritten during boot.
>>> When I specify a name, it is left alone.
>>>
>>> Also, DRBL still attempt to mount the original /opt on the DRBL server even though there's the new /opt there.  Commenting it out in the fstab has no effect, even though it remains commented out after boot.
>>>
>>> Is there a way to explicitly tell DRBL to use my /opt source instead of the standard one?
>>>
>>> ________________________________________
>>> From: Steven Shiau [steven@...]
>>> Sent: Wednesday, September 23, 2009 11:15 PM
>>> To: McEnroe, Michael
>>> Cc: drbl-user@...
>>> Subject: Re: [Drbl-user] Breaking out NFS for DRBL
>>>
>>> Are you running DRBL SSI mode?
>>>
>>> Did you try to edit /opt/drbl/conf/client-append-fstab as mentioned in
>>> the previous mail, then run "/opt/drbl/sbin/drblpush -i" again?
>>>
>>> Steven.
>>>
>>> McEnroe, Michael wrote:
>>>      
>>>> OK, I tried editing the fstab you mentioned.  For a test, I commented out the regular /opt in favor of our custom NFS server's /opt
>>>>
>>>> Clip for /tftpboot/nodes/192.168.0.10/etc/fstab
>>>> #192.168.0.2:/opt             /opt        nfs    ro,rsize=65536,wsize=65536,tcp,,defaults        0 0
>>>> 172.16.0.20:/export/opt    /opt        nfs    ro,rsize=65536,wsize=65536,tcp,,defaults        0 0
>>>>
>>>> However, when the client is booted, the fstab gets rewritten during the boot process.
>>>>
>>>> The client's /etc/fstab:
>>>> 172.€
>>>>        
>>> --
>>> Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
>>> National Center for High-performance Computing, Taiwan.
>>> http://www.nchc.org.tw
>>> Public Key Server PGP Key ID: 1024D/9762755A
>>> Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A
>>>
>>> ------------------------------------------------------------------------------
>>> Come build with us! The BlackBerry® Developer Conference in SF, CA
>>> is the only developer event you need to attend this year. Jumpstart your
>>> developing skills, take BlackBerry mobile applications to market and stay
>>> ahead of the curve. Join us from November 9-12, 2009. Register now!
>>> http://p.sf.net/sfu/devconf
>>> _______________________________________________
>>> Drbl-user mailing list
>>> Drbl-user@...
>>> https://lists.sourceforge.net/lists/listinfo/drbl-user
>>>      
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Drbl-user mailing list
> Drbl-user@...
> https://lists.sourceforge.net/lists/listinfo/drbl-user
>  

--
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Drbl-user mailing list
Drbl-user@...
https://lists.sourceforge.net/lists/listinfo/drbl-user

Re: Breaking out NFS for DRBL

by Steven Shiau :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Michael,
OK, I found a good way to fix it.
This problem should have been fixed in drbl 1.9.4-70 or later (unstable
branch), could you please give it a try?

Please let us know the results if you test it.
Thanks.

Steven.

Michael McEnroe wrote:

> This is in SSI mode, version 1.9.4-47.
>
> Description of problem:
> IPs of NFS servers specified in client-append-fstab are changed to the
> DRBL server's IP
>
> How reproducible:
> Edit client-append-fstab and add an NFS mount via IP.
>
> Steps to Reproduce:
> Edited client-append-fstab and added:
> 10.224.23.120:/export/opt    /opt        nfs    ro,rsize=65536,wsize=65536,tcp,,defaults        0 0
> Then ran /opt/drbl/sbin/drblpush -c /etc/drbl/drblpush.conf
>
> Actual results:
> When client is booted, /etc/fstab on client shows:
> 10.224.35.2:/export/opt    /opt        nfs    ro,rsize=65536,wsize=65536,tcp,,defaults        0 0
> This fails to mount, since /opt isn't kept in /export/opt on the DRBL
> server.
>
> Expected results:
> Client mounts 10.224.23.120:/export/opt over /opt
> Problem does not occur when server is specified via hostname
>
>
> ===
> OS version: Ubuntu 8.04
> Server arch: i686
> Server CPU:  Intel(R) Pentium(R) D CPU 3.40GHz
> Server memory size: 3894088 kB
> Server Kernel version: 2.6.24-24-generic
> Installed DRBL-related packages:  drbl-1.9.4-47 clonezilla-2.3.3-68
> mkswap-uuid-0.1.1-1 drbl-partimage-0.6.7-1drbl drbl-ntfsprogs-2.0.0-4
> partclone-0.1.1-15 drbl-chntpw-0.0.20040818-7 drbl-lzop-1.02-0.8drbl
> pigz-2.1.4-1drbl pbzip2-1.0.5-1drbl mkpxeinitrd-net-1.2-43
> udpcast-20081213-1drbl drbl-etherboot-5.4.3-2 gpxe-0.9.7-1drbl
> freedos-1.0-11drbl
> Client kernel version: 2.6.24-24-generic
> Client kernel arch: i586
> NICs with private IP address in server: eth0
> Private IP address in server: 10.224.35.2
> Total client no: 243
> Client IP address: 10.224.35.10 10.224.35.100 10.224.35.101
> 10.224.35.102 10.224.35.103 10.224.35.104 10.224.35.105 10.224.35.106
> 10.224.35.107 10.224.35.108 10.224.35.109 10.224.35.11 10.224.35.110
> 10.224.35.111 10.224.35.112 10.224.35.113 10.224.35.114 10.224.35.115
> 10.224.35.116 10.224.35.117 10.224.35.118 10.224.35.119 10.224.35.12
> 10.224.35.120 10.224.35.121 10.224.35.122 10.224.35.123 10.224.35.124
> 10.224.35.125 10.224.35.126 10.224.35.127 10.224.35.128 10.224.35.129
> 10.224.35.13 10.224.35.130 10.224.35.131 10.224.35.132 10.224.35.133
> 10.224.35.134 10.224.35.135 10.224.35.136 10.224.35.137 10.224.35.138
> 10.224.35.139 10.224.35.14 10.224.35.140 10.224.35.141 10.224.35.142
> 10.224.35.143 10.224.35.144 10.224.35.145 10.224.35.146 10.224.35.147
> 10.224.35.148 10.224.35.149 10.224.35.15 10.224.35.150 10.224.35.151
> 10.224.35.152 10.224.35.153 10.224.35.154 10.224.35.155 10.224.35.156
> 10.224.35.157 10.224.35.158 10.224.35.159 10.224.35.16 10.224.35.160
> 10.224.35.161 10.224.35.162 10.224.35.163 10.224.35.164 10.224.35.165
> 10.224.35.166 10.224.35.167 10.224.35.168 10.224.35.169 10.224.35.17
> 10.224.35.170 10.224.35.171 10.224.35.172 10.224.35.173 10.224.35.174
> 10.224.35.175 10.224.35.176 10.224.35.177 10.224.35.178 10.224.35.179
> 10.224.35.18 10.224.35.180 10.224.35.181 10.224.35.182 10.224.35.183
> 10.224.35.184 10.224.35.185 10.224.35.186 10.224.35.187 10.224.35.188
> 10.224.35.189 10.224.35.19 10.224.35.190 10.224.35.191 10.224.35.192
> 10.224.35.193 10.224.35.194 10.224.35.195 10.224.35.196 10.224.35.197
> 10.224.35.198 10.224.35.199 10.224.35.20 10.224.35.200 10.224.35.201
> 10.224.35.202 10.224.35.203 10.224.35.204 10.224.35.205 10.224.35.206
> 10.224.35.207 10.224.35.208 10.224.35.209 10.224.35.21 10.224.35.210
> 10.224.35.211 10.224.35.212 10.224.35.213 10.224.35.214 10.224.35.215
> 10.224.35.216 10.224.35.217 10.224.35.218 10.224.35.219 10.224.35.22
> 10.224.35.220 10.224.35.221 10.224.35.222 10.224.35.223 10.224.35.224
> 10.224.35.225 10.224.35.226 10.224.35.227 10.224.35.228 10.224.35.229
> 10.224.35.23 10.224.35.230 10.224.35.231 10.224.35.232 10.224.35.233
> 10.224.35.234 10.224.35.235 10.224.35.236 10.224.35.237 10.224.35.238
> 10.224.35.239 10.224.35.24 10.224.35.240 10.224.35.241 10.224.35.242
> 10.224.35.243 10.224.35.244 10.224.35.245 10.224.35.246 10.224.35.247
> 10.224.35.248 10.224.35.249 10.224.35.25 10.224.35.250 10.224.35.251
> 10.224.35.252 10.224.35.26 10.224.35.27 10.224.35.28 10.224.35.29
> 10.224.35.30 10.224.35.31 10.224.35.32 10.224.35.33 10.224.35.34
> 10.224.35.35 10.224.35.36 10.224.35.37 10.224.35.38 10.224.35.39
> 10.224.35.40 10.224.35.41 10.224.35.42 10.224.35.43 10.224.35.44
> 10.224.35.45 10.224.35.46 10.224.35.47 10.224.35.48 10.224.35.49
> 10.224.35.50 10.224.35.51 10.224.35.52 10.224.35.53 10.224.35.54
> 10.224.35.55 10.224.35.56 10.224.35.57 10.224.35.58 10.224.35.59
> 10.224.35.60 10.224.35.61 10.224.35.62 10.224.35.63 10.224.35.64
> 10.224.35.65 10.224.35.66 10.224.35.67 10.224.35.68 10.224.35.69
> 10.224.35.70 10.224.35.71 10.224.35.72 10.224.35.73 10.224.35.74
> 10.224.35.75 10.224.35.76 10.224.35.77 10.224.35.78 10.224.35.79
> 10.224.35.80 10.224.35.81 10.224.35.82 10.224.35.83 10.224.35.84
> 10.224.35.85 10.224.35.86 10.224.35.87 10.224.35.88 10.224.35.89
> 10.224.35.90 10.224.35.91 10.224.35.92 10.224.35.93 10.224.35.94
> 10.224.35.95 10.224.35.96 10.224.35.97 10.224.35.98 10.224.35.99
> ===
> -------CUT END HERE----------------------------------------------
>
>
>
> On Mon, 2009-10-05 at 20:27 -0500, Steven Shiau wrote:
>  
>> Hi,
>> Thanks for the bug report. However, you did not tell us more details
>> about the environment you have set, e.g. is it a DRBL SSI mode?
>> Which version of drbl are you using?
>> I think it's better to follow
>> http://drbl.sourceforge.net/one4all/#bug-report
>> to provide more detail info so that we can improve it.
>> Thanks.
>>
>> Steven.
>>
>> McEnroe, Michael wrote:
>>    
>>> I tried adding the line to the client-append-fstab, and noticed something interesting.
>>>
>>> When I specify an IP, it gets overwritten during boot.
>>> When I specify a name, it is left alone.
>>>
>>> Also, DRBL still attempt to mount the original /opt on the DRBL server even though there's the new /opt there.  Commenting it out in the fstab has no effect, even though it remains commented out after boot.
>>>
>>> Is there a way to explicitly tell DRBL to use my /opt source instead of the standard one?
>>>
>>> ________________________________________
>>> From: Steven Shiau [steven@...]
>>> Sent: Wednesday, September 23, 2009 11:15 PM
>>> To: McEnroe, Michael
>>> Cc: drbl-user@...
>>> Subject: Re: [Drbl-user] Breaking out NFS for DRBL
>>>
>>> Are you running DRBL SSI mode?
>>>
>>> Did you try to edit /opt/drbl/conf/client-append-fstab as mentioned in
>>> the previous mail, then run "/opt/drbl/sbin/drblpush -i" again?
>>>
>>> Steven.
>>>
>>> McEnroe, Michael wrote:
>>>      
>>>> OK, I tried editing the fstab you mentioned.  For a test, I commented out the regular /opt in favor of our custom NFS server's /opt
>>>>
>>>> Clip for /tftpboot/nodes/192.168.0.10/etc/fstab
>>>> #192.168.0.2:/opt             /opt        nfs    ro,rsize=65536,wsize=65536,tcp,,defaults        0 0
>>>> 172.16.0.20:/export/opt    /opt        nfs    ro,rsize=65536,wsize=65536,tcp,,defaults        0 0
>>>>
>>>> However, when the client is booted, the fstab gets rewritten during the boot process.
>>>>
>>>> The client's /etc/fstab:
>>>> 172.€
>>>>        
>>> --
>>> Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
>>> National Center for High-performance Computing, Taiwan.
>>> http://www.nchc.org.tw
>>> Public Key Server PGP Key ID: 1024D/9762755A
>>> Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A
>>>
>>> ------------------------------------------------------------------------------
>>> Come build with us! The BlackBerry® Developer Conference in SF, CA
>>> is the only developer event you need to attend this year. Jumpstart your
>>> developing skills, take BlackBerry mobile applications to market and stay
>>> ahead of the curve. Join us from November 9-12, 2009. Register now!
>>> http://p.sf.net/sfu/devconf
>>> _______________________________________________
>>> Drbl-user mailing list
>>> Drbl-user@...
>>> https://lists.sourceforge.net/lists/listinfo/drbl-user
>>>      
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Drbl-user mailing list
> Drbl-user@...
> https://lists.sourceforge.net/lists/listinfo/drbl-user
>  

--
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Drbl-user mailing list
Drbl-user@...
https://lists.sourceforge.net/lists/listinfo/drbl-user

Re: Breaking out NFS for DRBL

by McEnroe, Michael :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'll try it if we get a chance.  We're up and running current version
installed from stable (1.9.4-47), and will be committed to it for the
time being.  I should be able to test the new one in a couple weeks.

On Mon, 2009-10-12 at 03:40 -0500, Steven Shiau wrote:

> Hi Michael,
> OK, I found a good way to fix it.
> This problem should have been fixed in drbl 1.9.4-70 or later (unstable
> branch), could you please give it a try?
>
> Please let us know the results if you test it.
> Thanks.
>
> Steven.
>
> Michael McEnroe wrote:
> > This is in SSI mode, version 1.9.4-47.
> >
> > Description of problem:
> > IPs of NFS servers specified in client-append-fstab are changed to the
> > DRBL server's IP
> >
> > How reproducible:
> > Edit client-append-fstab and add an NFS mount via IP.
> >
> > Steps to Reproduce:
> > Edited client-append-fstab and added:
> > 10.224.23.120:/export/opt    /opt        nfs    ro,rsize=65536,wsize=65536,tcp,,defaults        0 0
> > Then ran /opt/drbl/sbin/drblpush -c /etc/drbl/drblpush.conf
> >
> > Actual results:
> > When client is booted, /etc/fstab on client shows:
> > 10.224.35.2:/export/opt    /opt        nfs    ro,rsize=65536,wsize=65536,tcp,,defaults        0 0
> > This fails to mount, since /opt isn't kept in /export/opt on the DRBL
> > server.
> >
> > Expected results:
> > Client mounts 10.224.23.120:/export/opt over /opt
> > Problem does not occur when server is specified via hostname
> >
> >
> > ===
> > OS version: Ubuntu 8.04
> > Server arch: i686
> > Server CPU:  Intel(R) Pentium(R) D CPU 3.40GHz
> > Server memory size: 3894088 kB
> > Server Kernel version: 2.6.24-24-generic
> > Installed DRBL-related packages:  drbl-1.9.4-47 clonezilla-2.3.3-68
> > mkswap-uuid-0.1.1-1 drbl-partimage-0.6.7-1drbl drbl-ntfsprogs-2.0.0-4
> > partclone-0.1.1-15 drbl-chntpw-0.0.20040818-7 drbl-lzop-1.02-0.8drbl
> > pigz-2.1.4-1drbl pbzip2-1.0.5-1drbl mkpxeinitrd-net-1.2-43
> > udpcast-20081213-1drbl drbl-etherboot-5.4.3-2 gpxe-0.9.7-1drbl
> > freedos-1.0-11drbl
> > Client kernel version: 2.6.24-24-generic
> > Client kernel arch: i586
> > NICs with private IP address in server: eth0
> > Private IP address in server: 10.224.35.2
> > Total client no: 243
> > Client IP address: 10.224.35.10 10.224.35.100 10.224.35.101
> > 10.224.35.102 10.224.35.103 10.224.35.104 10.224.35.105 10.224.35.106
> > 10.224.35.107 10.224.35.108 10.224.35.109 10.224.35.11 10.224.35.110
> > 10.224.35.111 10.224.35.112 10.224.35.113 10.224.35.114 10.224.35.115
> > 10.224.35.116 10.224.35.117 10.224.35.118 10.224.35.119 10.224.35.12
> > 10.224.35.120 10.224.35.121 10.224.35.122 10.224.35.123 10.224.35.124
> > 10.224.35.125 10.224.35.126 10.224.35.127 10.224.35.128 10.224.35.129
> > 10.224.35.13 10.224.35.130 10.224.35.131 10.224.35.132 10.224.35.133
> > 10.224.35.134 10.224.35.135 10.224.35.136 10.224.35.137 10.224.35.138
> > 10.224.35.139 10.224.35.14 10.224.35.140 10.224.35.141 10.224.35.142
> > 10.224.35.143 10.224.35.144 10.224.35.145 10.224.35.146 10.224.35.147
> > 10.224.35.148 10.224.35.149 10.224.35.15 10.224.35.150 10.224.35.151
> > 10.224.35.152 10.224.35.153 10.224.35.154 10.224.35.155 10.224.35.156
> > 10.224.35.157 10.224.35.158 10.224.35.159 10.224.35.16 10.224.35.160
> > 10.224.35.161 10.224.35.162 10.224.35.163 10.224.35.164 10.224.35.165
> > 10.224.35.166 10.224.35.167 10.224.35.168 10.224.35.169 10.224.35.17
> > 10.224.35.170 10.224.35.171 10.224.35.172 10.224.35.173 10.224.35.174
> > 10.224.35.175 10.224.35.176 10.224.35.177 10.224.35.178 10.224.35.179
> > 10.224.35.18 10.224.35.180 10.224.35.181 10.224.35.182 10.224.35.183
> > 10.224.35.184 10.224.35.185 10.224.35.186 10.224.35.187 10.224.35.188
> > 10.224.35.189 10.224.35.19 10.224.35.190 10.224.35.191 10.224.35.192
> > 10.224.35.193 10.224.35.194 10.224.35.195 10.224.35.196 10.224.35.197
> > 10.224.35.198 10.224.35.199 10.224.35.20 10.224.35.200 10.224.35.201
> > 10.224.35.202 10.224.35.203 10.224.35.204 10.224.35.205 10.224.35.206
> > 10.224.35.207 10.224.35.208 10.224.35.209 10.224.35.21 10.224.35.210
> > 10.224.35.211 10.224.35.212 10.224.35.213 10.224.35.214 10.224.35.215
> > 10.224.35.216 10.224.35.217 10.224.35.218 10.224.35.219 10.224.35.22
> > 10.224.35.220 10.224.35.221 10.224.35.222 10.224.35.223 10.224.35.224
> > 10.224.35.225 10.224.35.226 10.224.35.227 10.224.35.228 10.224.35.229
> > 10.224.35.23 10.224.35.230 10.224.35.231 10.224.35.232 10.224.35.233
> > 10.224.35.234 10.224.35.235 10.224.35.236 10.224.35.237 10.224.35.238
> > 10.224.35.239 10.224.35.24 10.224.35.240 10.224.35.241 10.224.35.242
> > 10.224.35.243 10.224.35.244 10.224.35.245 10.224.35.246 10.224.35.247
> > 10.224.35.248 10.224.35.249 10.224.35.25 10.224.35.250 10.224.35.251
> > 10.224.35.252 10.224.35.26 10.224.35.27 10.224.35.28 10.224.35.29
> > 10.224.35.30 10.224.35.31 10.224.35.32 10.224.35.33 10.224.35.34
> > 10.224.35.35 10.224.35.36 10.224.35.37 10.224.35.38 10.224.35.39
> > 10.224.35.40 10.224.35.41 10.224.35.42 10.224.35.43 10.224.35.44
> > 10.224.35.45 10.224.35.46 10.224.35.47 10.224.35.48 10.224.35.49
> > 10.224.35.50 10.224.35.51 10.224.35.52 10.224.35.53 10.224.35.54
> > 10.224.35.55 10.224.35.56 10.224.35.57 10.224.35.58 10.224.35.59
> > 10.224.35.60 10.224.35.61 10.224.35.62 10.224.35.63 10.224.35.64
> > 10.224.35.65 10.224.35.66 10.224.35.67 10.224.35.68 10.224.35.69
> > 10.224.35.70 10.224.35.71 10.224.35.72 10.224.35.73 10.224.35.74
> > 10.224.35.75 10.224.35.76 10.224.35.77 10.224.35.78 10.224.35.79
> > 10.224.35.80 10.224.35.81 10.224.35.82 10.224.35.83 10.224.35.84
> > 10.224.35.85 10.224.35.86 10.224.35.87 10.224.35.88 10.224.35.89
> > 10.224.35.90 10.224.35.91 10.224.35.92 10.224.35.93 10.224.35.94
> > 10.224.35.95 10.224.35.96 10.224.35.97 10.224.35.98 10.224.35.99
> > ===
> > -------CUT END HERE----------------------------------------------
> >
> >
> >
> > On Mon, 2009-10-05 at 20:27 -0500, Steven Shiau wrote:
> >  
> >> Hi,
> >> Thanks for the bug report. However, you did not tell us more details
> >> about the environment you have set, e.g. is it a DRBL SSI mode?
> >> Which version of drbl are you using?
> >> I think it's better to follow
> >> http://drbl.sourceforge.net/one4all/#bug-report
> >> to provide more detail info so that we can improve it.
> >> Thanks.
> >>
> >> Steven.
> >>
> >> McEnroe, Michael wrote:
> >>    
> >>> I tried adding the line to the client-append-fstab, and noticed something interesting.
> >>>
> >>> When I specify an IP, it gets overwritten during boot.
> >>> When I specify a name, it is left alone.
> >>>
> >>> Also, DRBL still attempt to mount the original /opt on the DRBL server even though there's the new /opt there.  Commenting it out in the fstab has no effect, even though it remains commented out after boot.
> >>>
> >>> Is there a way to explicitly tell DRBL to use my /opt source instead of the standard one?
> >>>
> >>> ________________________________________
> >>> From: Steven Shiau [steven@...]
> >>> Sent: Wednesday, September 23, 2009 11:15 PM
> >>> To: McEnroe, Michael
> >>> Cc: drbl-user@...
> >>> Subject: Re: [Drbl-user] Breaking out NFS for DRBL
> >>>
> >>> Are you running DRBL SSI mode?
> >>>
> >>> Did you try to edit /opt/drbl/conf/client-append-fstab as mentioned in
> >>> the previous mail, then run "/opt/drbl/sbin/drblpush -i" again?
> >>>
> >>> Steven.
> >>>
> >>> McEnroe, Michael wrote:
> >>>      
> >>>> OK, I tried editing the fstab you mentioned.  For a test, I commented out the regular /opt in favor of our custom NFS server's /opt
> >>>>
> >>>> Clip for /tftpboot/nodes/192.168.0.10/etc/fstab
> >>>> #192.168.0.2:/opt             /opt        nfs    ro,rsize=65536,wsize=65536,tcp,,defaults        0 0
> >>>> 172.16.0.20:/export/opt    /opt        nfs    ro,rsize=65536,wsize=65536,tcp,,defaults        0 0
> >>>>
> >>>> However, when the client is booted, the fstab gets rewritten during the boot process.
> >>>>
> >>>> The client's /etc/fstab:
> >>>> 172.€
> >>>>        
> >>> --
> >>> Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
> >>> National Center for High-performance Computing, Taiwan.
> >>> http://www.nchc.org.tw
> >>> Public Key Server PGP Key ID: 1024D/9762755A
> >>> Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A
> >>>
> >>> ------------------------------------------------------------------------------
> >>> Come build with us! The BlackBerry® Developer Conference in SF, CA
> >>> is the only developer event you need to attend this year. Jumpstart your
> >>> developing skills, take BlackBerry mobile applications to market and stay
> >>> ahead of the curve. Join us from November 9-12, 2009. Register now!
> >>> http://p.sf.net/sfu/devconf
> >>> _______________________________________________
> >>> Drbl-user mailing list
> >>> Drbl-user@...
> >>> https://lists.sourceforge.net/lists/listinfo/drbl-user
> >>>      
> >
> >
> > ------------------------------------------------------------------------------
> > Come build with us! The BlackBerry® Developer Conference in SF, CA
> > is the only developer event you need to attend this year. Jumpstart your
> > developing skills, take BlackBerry mobile applications to market and stay
> > ahead of the curve. Join us from November 9-12, 2009. Register now!
> > http://p.sf.net/sfu/devconf
> > _______________________________________________
> > Drbl-user mailing list
> > Drbl-user@...
> > https://lists.sourceforge.net/lists/listinfo/drbl-user
> >  
>


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Drbl-user mailing list
Drbl-user@...
https://lists.sourceforge.net/lists/listinfo/drbl-user