[prev in list] [next in list] [prev in thread] [next in thread] 

List:       npaci-rocks-discussion
Subject:    [Rocks-Discuss] Re: Install zfs-linux roll on frontend
From:       Krishna Teja <teja781 () gmail ! com>
Date:       2017-04-10 15:35:30
Message-ID: CAOtkijHMMznX83Drvc8_cxQwu9KqK9uDZHmeSbaqvAnP5fsbjg () mail ! gmail ! com
[Download RAW message or body]

Hello,

Re-adding the roll fixed it. Thanks.

Krishna

On Fri, Apr 7, 2017 at 1:00 PM, nadya williams <nadya@sdsc.edu> wrote:

> how many zfs-linux rolls do you have, what is in the output of
> rocks list roll
> 
> if you see 2 zfs-linux rolls this may be the reason. Then chose one
> (specifying its version)
> that you newly added.
> 
> If you see only 1 try to re-add your roll
> rocks add roll your-zfs-linux-version.iso  clean=1
> (cd /export/rocks/install; rocks create distro)
> rocks run roll zfs-linux > /tmp/add-zfsroll.sh
> 
> examine the add-zfsroll.sh file  and if ok  run it
> bash /tmp/add-zfsroll.sh
> 
> 
> > On Apr 7, 2017, at 9:31 AM, Krishna Teja <teja781@gmail.com> wrote:
> > 
> > Hello,
> > 
> > I did build the binary roll and copied it over to the frontend. Also I
> ran
> > the `rocks create distro`, and as you mentioned, there are 21 rpms in the
> > /export/rocks/install/rolls/zfs-linux/0.6.4.1/x86_64/RedHat/RPMS/
> > directory. Running `rocks run roll zfs-linux` generates the file I
> > mentioned previously. I am not sure why it doesn't have the commands to
> > actually install zfs.
> > 
> > Thanks
> > Krishna
> > 
> > 
> > On Thu, Apr 6, 2017 at 9:45 PM, nadya williams <nadya@sdsc.edu> wrote:
> > 
> > > 
> > > > On Apr 6, 2017, at 1:53 PM, Kenja, Krishna (kenjakt) <
> > > kenjakt@mail.uc.edu> wrote:
> > > > 
> > > > Hello All,
> > > > 
> > > > 
> > > > I am trying to install the rocks zfs-linux roll on the frontend of our
> > > cluster. I followed the instructions given on the rocks website.
> > > > 
> > > > 
> > > > http://central6.rocksclusters.org/roll-documentation/zfs-
> > > linux/0.6.4.1/adding-the-roll.html
> > > > 
> > > > Getting the Roll - central6.rocksclusters.org<htt
> > > p://central6.rocksclusters.org/roll-documentation/zfs-
> > > linux/0.6.4.1/adding-the-roll.html>
> > > > central6.rocksclusters.org
> > > > If you choose the zfs-linux roll from a Rocks central server, you the
> > > source form of the roll will be installed for you. You must then go to
> the
> > > directory /opt/zfs ...
> > > > 
> > > > I built the roll on a development server, copied the iso over to the
> > > frontend, added the roll, enabled it and ran
> > > did you build a binary-roll target?
> > > > 
> > > > rocks create distro
> > > 
> > > what is in your ls /export/rocks/install/rolls/
> zfs-linux/…./x86_64/RedHat/RPMS/
> > > directory ?
> > > should be about 21 RPMs. If not then you either did not add the roll
> > > correctly or did not build it correctly.
> > > 
> > > nadya
> > > 
> > > 
> > > > 
> > > > and then finally
> > > > 
> > > > rocks run roll zfs-linux | sh
> > > > 
> > > > 
> > > > Even after this I wasn't able to locate any of the zfs binaries so I
> > > took a look at the bash file that running the roll creates and here is
> the
> > > output
> > > > 
> > > > 
> > > > #!/bin/sh
> > > > yum clean all
> > > > yum install roll-zfs-linux-usersguide
> > > > [ $? -ne 0 ] && \
> > > > echo "# YUM failed - trying with RPM" && \
> > > > rpm -Uvh --force --nodeps http://homer.mie.uc.edu/
> > > install/rocks-dist/x86_64/RedHat/RPMS/roll-zfs-linux-
> > > usersguide-0.6.4.1-0.x86_64.rpm
> > > > 
> > > > yum install zfs-source-roll
> > > > [ $? -ne 0 ] && \
> > > > echo "# YUM failed - trying with RPM" && \
> > > > rpm -Uvh --force --nodeps http://homer.mie.uc.edu/
> > > install/rocks-dist/x86_64/RedHat/RPMS/zfs-source-roll-0.
> 6.4.1-1.x86_64.rpm
> > > > 
> > > > cat > /tmp/tmpcXsP_C << 'ROCKS-KS-POST'
> > > > #!/bin/bash
> > > > 
> > > > 
> > > > if [ ! -f /var/log/RCS/rocks-install.log,v ]; then
> > > > if [ ! -f /var/log/rocks-install.log ]; then
> > > > touch /var/log/rocks-install.log;
> > > > fi
> > > > if [ ! -d /var/log/RCS ]; then
> > > > mkdir -m 700 /var/log/RCS
> > > > chown 0:0 /var/log/RCS
> > > > fi;
> > > > echo "original" | /opt/rocks/bin/ci /var/log/rocks-install.log;
> > > > /opt/rocks/bin/co -f -l /var/log/rocks-install.log;
> > > > fi
> > > > cat >> /var/log/rocks-install.log << 'EOF'
> > > > ./nodes/zfs-linux-server.xml: begin post section
> > > > EOF
> > > > 
> > > > 
> > > > ROCKS-KS-POST
> > > > /bin/chmod +x /tmp/tmpcXsP_C
> > > > /tmp/tmpcXsP_C
> > > > /bin/rm /tmp/tmpcXsP_C
> > > > cat > /tmp/tmpSJUj_v << 'ROCKS-KS-POST'
> > > > #!/bin/bash
> > > > 
> > > > /opt/rocks/bin/rocks set appliance attr frontend zfs true
> > > > /opt/rocks/bin/rocks set appliance attr nas zfs true
> > > > 
> > > > ROCKS-KS-POST
> > > > /bin/chmod +x /tmp/tmpSJUj_v
> > > > /tmp/tmpSJUj_v
> > > > /bin/rm /tmp/tmpSJUj_v
> > > > cat > /tmp/tmpFI9mwm << 'ROCKS-KS-POST'
> > > > #!/bin/bash
> > > > 
> > > > 
> > > > cat >> /var/log/rocks-install.log << 'EOF'
> > > > ./nodes/zfs-linux-server.xml: end post section
> > > > EOF
> > > > 
> > > > 
> > > > ROCKS-KS-POST
> > > > /bin/chmod +x /tmp/tmpFI9mwm
> > > > /tmp/tmpFI9mwm
> > > > /bin/rm /tmp/tmpFI9mwm
> > > > 
> > > > 
> > > > It looks like its not actually installing anything other than the users
> > > guide and the source-roll(which only creates a directory in /opt) and
> > > nothing else. Am I missing something here? How do I install zfs-linux
> on a
> > > rocks cluster?
> > > > 
> > > > 
> > > > Thanks
> > > > 
> > > > Krishna
> > > > -------------- next part --------------
> > > > An HTML attachment was scrubbed...
> > > > URL: http://lists.sdsc.edu/pipermail/npaci-rocks-
> discussion/attachments/
> > > 20170406/73ae8a81/attachment.html
> > > 
> > > Nadya Williams                 University of California, San Diego
> > > nadya@sdsc.edu             9500 Gilman Dr. MC 0444
> > > +1 858 534 1820 (ofc)      La Jolla, CA 92093-0444
> > > +1 858 822 1619 (fax)      USA
> > > 
> > > 
> > > 
> > > -------------- next part --------------
> > > A non-text attachment was scrubbed...
> > > Name: signature.asc
> > > Type: application/pgp-signature
> > > Size: 163 bytes
> > > Desc: Message signed with OpenPGP using GPGMail
> > > Url : http://lists.sdsc.edu/pipermail/npaci-rocks-
> discussion/attachments/
> > > 20170406/dca814f1/attachment.bin
> > > 
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: http://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/
> 20170407/12a31f17/attachment.html
> 
> Nadya Williams                 University of California, San Diego
> nadya@sdsc.edu             9500 Gilman Dr. MC 0444
> +1 858 534 1820 (ofc)      La Jolla, CA 92093-0444
> +1 858 822 1619 (fax)      USA
> 
> 
> 
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 163 bytes
> Desc: Message signed with OpenPGP using GPGMail
> Url : http://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/
> 20170407/2c2abdc4/attachment.bin
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20170410/b8e853a5/attachment.html \



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic