1 Summary: Shared-disk cluster file system
2 Summary(pl): Klastrowy system plików na wspó³dzielonym dysku
8 Group: Applications/System
9 Source0: ftp://sources.redhat.com/pub/cluster/releases/cluster-%{version}.tar.gz
10 # Source0-md5: e98551b02ee8ed46ae0ab8fca193d751
11 URL: http://sources.redhat.com/cluster/gfs/
13 BuildRequires: perl-base
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define _sbindir /sbin
19 GFS (Global File System) is a cluster file system. It allows a cluster
20 of computers to simultaneously use a block device that is shared
21 between them (with FC, iSCSI, NBD, etc...). GFS reads and writes to
22 the block device like a local filesystem, but also uses a lock module
23 to allow the computers coordinate their I/O so filesystem consistency
24 is maintained. One of the nifty features of GFS is perfect consistency
25 -- changes made to the filesystem on one machine show up immediately
26 on all other machines in the cluster.
29 GFS (Global File System) to klastrowy system plików. Pozwala klastrowi
30 komputerów na jednoczesne korzystanie z urz±dzenia blokowego
31 dzielonego miêdzy nimi (poprzez FC, iSCSI, NBD itp.). GFS odczytuje i
32 zapisuje urz±dzenie blokowe jak lokalny system plików, ale u¿ywa
33 dodatkowo modu³u blokuj±cego, aby umo¿liwiæ komputerom koordynowanie
34 ich operacji I/O w celu zachowania spójno¶ci systemu plików. Jedn± z
35 szykownych mo¿liwo¶ci GFS-a jest idealna spójno¶æ - zmiany wykonane w
36 systemie plików na jednej maszynie natychmiast pokazuj± siê na
37 wszystkich innych maszynach w klastrze.
40 %setup -q -n cluster-%{version}
41 install -d %{name}/include/linux
42 install %{name}-kernel/src/gfs/{gfs_ioctl.h,gfs_ondisk.h} %{name}/include/linux
43 install %{name}-kernel/src/harness/lm_interface.h %{name}/include/linux
46 %{__perl} -pi -e 's/-Wall/%{rpmcflags} -Wall/' make/defines.mk.input
47 %{__perl} -pi -e 's/-O2 //' gfs_{mkfs,quota,tool}/Makefile
52 --incdir=%{_includedir} \
61 rm -rf $RPM_BUILD_ROOT
65 DESTDIR=$RPM_BUILD_ROOT
68 rm -rf $RPM_BUILD_ROOT
71 %defattr(644,root,root,755)
72 %attr(755,root,root) %{_sbindir}/*
73 #%attr(754,root,root) /etc/rc.d/init.d/gfs