Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98024 - new ocfs2 (Oracle Cluster File System 2) ebuilds
Summary: new ocfs2 (Oracle Cluster File System 2) ebuilds
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords: EBUILD
Depends on: 101812
Blocks:
  Show dependency tree
 
Reported: 2005-07-05 10:22 UTC by Mauricio Zambrano
Modified: 2010-09-10 19:00 UTC (History)
12 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ocfs2-tools (ocfs2-tools.tar.gz,1.79 KB, application/x-gzip)
2005-07-05 10:23 UTC, Mauricio Zambrano
Details
The kernel module (ocfs2.tar.gz,1.25 KB, application/x-gzip)
2005-07-05 10:24 UTC, Mauricio Zambrano
Details
new ocfs2-tools package (ocfs2-tools.tar.gz,2.21 KB, application/x-gzip)
2005-07-06 06:49 UTC, Mauricio Zambrano
Details
new kernel module package (ocfs2.tar.gz,1.20 KB, application/x-gzip)
2005-07-06 07:01 UTC, Mauricio Zambrano
Details
1.0.0 version - kernel module (ocfs2-1.0.0.tar.gz,1.36 KB, application/octet-stream)
2005-08-08 17:53 UTC, Lazar Obradovic
Details
1.0.0 version - userspace tools (ocfs2-tools-1.0.0.tar.gz,4.66 KB, application/octet-stream)
2005-08-08 17:56 UTC, Lazar Obradovic
Details
1.0.1 version - kernel module (ocfs2-1.0.1.tar.gz,1.17 KB, application/x-gzip)
2005-08-15 14:10 UTC, Lazar Obradovic
Details
1.0.1 version - userspace tools (ocfs2-tools-1.0.1.tar.gz,4.35 KB, application/x-gzip)
2005-08-15 14:13 UTC, Lazar Obradovic
Details
1.2.0 version - userspace tools (sys-fs/ocfs2) (ocfs2-tools-1.2.0.tar.gz,4.34 KB, application/x-tgz)
2006-03-23 09:24 UTC, Daniel Franke
Details
patch from ocfs2-tools-1.2.0 to 1.2.1 (ofcs2-tools-1.2.0-1.2.1.patch,612 bytes, patch)
2006-06-13 14:34 UTC, Martin Hierling
Details | Diff
Plain Text ebuild for 1.2.1 (ocfs2-tools-1.2.1.ebuild,2.30 KB, text/plain)
2006-06-26 12:20 UTC, Martin Hierling
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mauricio Zambrano 2005-07-05 10:22:27 UTC
Hi

   I ve just made two new ebuilds that compiles OCFS2 and it s tools.

   Enjoy!

Reproducible: Always
Steps to Reproduce:
 Just uncompress the tar.gz to /usr/portage and emerge them.
Actual Results:  
 Wow I m running a kernel with ocfs2.
Comment 1 Mauricio Zambrano 2005-07-05 10:23:41 UTC
Created attachment 62684 [details]
ocfs2-tools
Comment 2 Mauricio Zambrano 2005-07-05 10:24:19 UTC
Created attachment 62685 [details]
The kernel module
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2005-07-05 12:56:00 UTC
Uhm, didn't the kernel part get accepted into Linus's upstream already? Or am I
thinking of something else?
Comment 4 Mauricio Zambrano 2005-07-05 13:07:20 UTC
(In reply to comment #3)
> Uhm, didn't the kernel part get accepted into Linus's upstream already? Or am I
> thinking of something else?

 It isnt on vanilla kernel, ocfs1 isnt there too.
Comment 5 Mauricio Zambrano 2005-07-06 06:49:50 UTC
Created attachment 62761 [details]
new ocfs2-tools package

  Added IUSE gtk2
  Added DEPEND from python, pygtk, e2fsprog and readline.
  Removed RDEPEND.
  Added the configuration section for /etc/init.d, /etc/default and /etc/ocfs2.

  New ebuild info on post install.
Comment 6 Mauricio Zambrano 2005-07-06 07:01:28 UTC
Created attachment 62763 [details]
new kernel module package

Removed configuration section from this package, ocfs2-tools handles that.
Removed deprecated options on configure.
Added RDEPEND on ocfs2-tools.
Comment 7 Lazar Obradovic 2005-08-08 17:53:00 UTC
Created attachment 65494 [details]
1.0.0 version - kernel module

This is 1.0.0 release of ocfs2 kernel module. Changes: 
* Upgraded to 1.0.0
* Added Gentoo copyright notice in ebuild
* Added suggestion about generic_drop_inode
Comment 8 Lazar Obradovic 2005-08-08 17:56:37 UTC
Created attachment 65495 [details]
1.0.0 version - userspace tools

This is 1.0.0 version of ocfs2 userspace tools. Changes:
* Upgraded to 1.0.0
* Added Gentoo copyright notice 
* Corrected IUSE typo
* Corrected DEPEND 
* Fixed dynamic compilation
* Wrote gentoo-style init scripts 
* Kept /config and /dlm dirs
* Wrote INSTALL.GENTOO mini-howto
* Lame-fixed python library paths

Please test.
Comment 9 Michael Steinmann 2005-08-09 03:44:10 UTC
(In reply to comment #7)
the path to the kernel patch in the ewarn misses the /work/ocfs2-1.0.0/ part. 
the statement I used to patch the kernel:

cat
/var/tmp/portage/ocfs2-1.0.0/work/ocfs2-1.0.0/patches/export_generic_drop_inode.patch
| patch -p1

Both ocfs2 and ocfs2-tools build fine here (2.6.12-gentoo-r6 i686).
Thanks for the ebuild!
Comment 10 Lazar Obradovic 2005-08-10 09:31:16 UTC
(In reply to comment #9)
> the path to the kernel patch in the ewarn misses the /work/ocfs2-1.0.0/ part. 

Quite true, my bad. 

I also found that upgrading from ocfs2-0.99.* (or from a previous manual
install) breaks if /config and /dlm are already present. 

I'll correct both things, as well as kernel deps and few other tidy-ups, and
upload it as 1.0.0-r1 when finished. 

Is INSTALL.GENTOO clear enough? 
Any comments from developers?
Comment 11 Lazar Obradovic 2005-08-15 14:10:43 UTC
Created attachment 66023 [details]
1.0.1 version - kernel module
Comment 12 Lazar Obradovic 2005-08-15 14:13:59 UTC
Created attachment 66025 [details]
1.0.1 version - userspace tools

Changelog: 
* Took out BUG from INSTALL.GENTOO about kernel upgrade
* Added "unmounts" to stop() of init script (actually, stole it from netmount)
* Added check for existing /dlm or /config
* Corrected patch path (Thanks to Michael Steinmann)
Comment 13 Martin Hierling 2005-08-22 09:01:48 UTC
# lynx -head -dump
http://oss.oracle.com/projects/ocfs2/dist/files/source/ocfs2-1.0.1.tar.gz
HTTP/1.0 404 Not Found
Comment 14 Michael Imhof (RETIRED) gentoo-dev 2005-09-05 06:05:34 UTC
404 confirmed.
Can someone bump the ebuild or provide an alternative location for the files?
Comment 15 Michael Steinmann 2005-09-05 06:26:12 UTC
(In reply to comment #14)
> 404 confirmed.
> Can someone bump the ebuild or provide an alternative location for the files?

they moved the sources up one level (/v1.0), ocfs2-1.0.1.ebuild:

-SRC_URI="http://oss.oracle.com/projects/ocfs2/dist/files/source/${P}.tar.gz"
+SRC_URI="http://oss.oracle.com/projects/ocfs2/dist/files/source/v1.0/${P}.tar.gz"
Comment 16 Michael Crawford (ali3nx) 2006-03-01 21:12:48 UTC
ocfs2-1.2.0 released 2006.02.16 
Comment 17 Daniel Franke 2006-03-23 06:41:22 UTC
vanilla-kernel-2.6.16 with experimental ocfs2 was released.
Please add the ocfs2-tools ebuilds to portage (current version 1.2.0, available from http://oss.oracle.com/projects/ocfs2-tools/dist/files/source/v1.2/ocfs2-tools-1.2.0.tar.gz)

Thanks!
Comment 18 Daniel Franke 2006-03-23 09:24:28 UTC
Created attachment 82943 [details]
1.2.0 version - userspace tools (sys-fs/ocfs2)

New ebuild for ocfs2-tools v1.2.0.
Fixes a couple of typos and inconsistencies within the INSTALL.GENTOO file and the ocfs2.init script.
Comment 19 Martin Hierling 2006-06-13 14:34:35 UTC
Created attachment 89092 [details, diff]
patch from ocfs2-tools-1.2.0 to 1.2.1 

patch for 1.2.0 to 1.2.1, some paths have changed.
Comment 20 Donnie Berkholz (RETIRED) gentoo-dev 2006-06-24 00:34:31 UTC
Could someone attach plain-text versions of the current files so it's easier to review them?
Comment 21 Donnie Berkholz (RETIRED) gentoo-dev 2006-06-24 23:00:45 UTC
I see sys-fs/ocfs-tools -- is that the same thing as your ocfs2-tools?
Comment 22 Donnie Berkholz (RETIRED) gentoo-dev 2006-06-24 23:13:22 UTC
(In reply to comment #21)
> I see sys-fs/ocfs-tools -- is that the same thing as your ocfs2-tools?

Got bored, did the research, no it's not. I do find one feature of ocfs2 crippling, however. From the manual:

"Whereas one can add new nodes to the cluster dynamically, any other change, like name, ip address, requires the cluster to be restarted for the changes to take effect."

Seriously, who wants to be restarting the whole cluster for changes to a single node.
Comment 23 Martin Hierling 2006-06-26 12:20:14 UTC
Created attachment 90203 [details]
Plain Text ebuild for 1.2.1

plain text ebuild for ocfs2 version 1.2.1 
primary Daniel Frankes ebuild, only version bump to 1.2.1 and some corrected paths
Comment 24 Wolfram Schlich (RETIRED) gentoo-dev 2006-07-01 07:14:00 UTC
Can we please get ocfs2-tools into Portage? TIA!
Comment 25 Donnie Berkholz (RETIRED) gentoo-dev 2006-07-19 22:13:11 UTC
Added, thanks for your patience!