* reiserfs on all my SRM-alpha drives: how I did it
@ 2001-10-26 20:26 James D. Freels
2001-10-28 3:59 ` Christopher C. Chimelis
0 siblings, 1 reply; 12+ messages in thread
From: James D. Freels @ 2001-10-26 20:26 UTC (permalink / raw)
To: debian-alpha, axp-list; +Cc: Victor R Cain
Because I have been happy with reiserfs on my Intel Linux machines,
I have just converted all my ext2 filesystems to reiserfs filesystems on
my first Alpha machine (after testing a single filesystem for a few days).
All appears well. My system is SRM based, and since aboot doesn't
recognize reiserfs yet, I had to pull a few configuration tricks to get
things like I want. All partitions except the boot partition (sda1) were
easily converted by copying contents to another drive, issuing a
mkreiserfs on the empty partition, and copying the saved contents
back to the new partition. The boot partition required some more work.
I thought others might be interested so I am posting my how-to below:
_____________________________________________________
October 26, 2001
These are notes to myself on how to setup the boot process for
a Debian/Alpha computer using the SRM console.
First, create the kernel image. This is the normal process for
creating a kernel image. Particular configuration options that go
into the "/usr/src/linux/.config" file that are unique to this machine
CONFIG_ALPHA=y
CONFIG_ALPHA_PC164=y
CONFIG_ALPHA_EV5=y
CONFIG_ALPHA_CIA=y
CONFIG_ALPHA_SRM=y
CONFIG_ALPHA_BROKEN_IRQ_MASK=y
CONFIG_SRM_ENV=y
CONFIG_SCSI_NCR53C8XX=y
CONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS=8
CONFIG_SCSI_NCR53C8XX_MAX_TAGS=32
CONFIG_SCSI_NCR53C8XX_SYNC=0
CONFIG_DE4X5=y
CONFIG_RTC=y
CONFIG_REISERFS_FS=y
CONFIG_MATHEMU=y
Actually build the kernel by issuing the command
"make dep;make clean;make boot"
from the /usr/src/linux area. You will then have the following two
files of importance after the build (since we do not use modules for
this machine):
/usr/src/linux/System.map
/usr/src/linux/arch/alpha/boot/vmlinux.gz
Second, and assuming a new v2.4.13 kernel, copy these essential files
to four places:
1) archival:
cp /usr/src/linux/System.map /boot/System.map-2.4.13
cp /usr/src/linux/arch/alpha/boot/vmlinux.gz /boot/vmlinuz-2.4.13
ln -sf /boot/System.map-2.4.13 System.map
ln -sf /boot/vmlinuz-2.4.13 vmlinuz
2) 1st boot option (1.44 Mb floppy drive):
Put a new floppy diskette (1.44 Mb) into the floppy drive.
Format the drive by issuing the command "fdformat /dev/fd0"
Create an ext2 filesystem on the floppy drive "mke2fs /dev/fd0"
Copy an SRM-bootable image (in aboot Debian package) by
"e2writeboot /dev/fd0 /boot/bootlx"
Mount the floppy diskette as an ext2 filesystem
"mount /dev/fd0 /mnt/floppy"
Copy the kernel image to the floppy
"cp /boot/vmlinuz /mnt/floppy"
umount /mnt/floppy
You can now boot the machine from this kernel stored on the floppy by
issuing the sequence starting with "shutdown -h now". Then push the
reset botton on the from panel. While the machine is booting up, you
will see SRM messages "e2.e3.e4.e5.e6.e7". At this point issue a
couple of control-Cs (^-C). Then it will try and boot, and issue a
couple more control-Cs (^-C). Note control-c is the "halt" key in SRM
lingo. This key could be reconfigured to something else, but
control-c is fine. You should now be at the SRM prompt that looks
like ">>" without the double quotes. If you did not issue the
control-Cs, the SRM firmware would automatically start booting with
the default boot configuration which is the same as the "hard drive
direct-boot" configuration below.
Some important SRM configuration parameters that have been set for
this machine (and given in the /proc/srm_environment) are:
bootdef_dev = dka0
boot_file = vmlinuz
bootos_flags = "root=/dev/sdb1 cycle=500000000"
auto_action = restart
boot_reset = on
Note: the "cycle=500000000" is a requirement that arose due to a
clock-timing problem in the 2.4.x kernels on the alpha that did not
exist in the 2.2.x kernels. It is a workaround that will likely get
corrected and be unnecessary in a future kernel.
Note2: The SRM console still doesn't behave exactly like I would want
because I have to push the reset button to reboot. I get the prompt ">>"
after a "shutdown -r now" or "shutdown -h now", but I cannot get a
reboot unless I hit the reset button.
To boot the floppy issue
boot dva0 -fi vmlinuz -fl "root=/dev/sdb1 cycle=500000000"
3) 2nd boot option (hard drive directly)
Previously, the 1st harddrive (lowest scsi ID or sda, which would get
you the c:\ drive in the dos/windows world) has been partitioned using
the BSD partition option of fdisk. sda1 is 4-sector partition
(sectors 2-5 of the sda drive) that is an ext2 filesystem type because
aboot does not understand reiserfs, but does understand UFS, ext2,
iso9660, etc. sda2 starts at sector 6 and goes to the end of the
drive and is presently a reiserfs partition. sector 1 is left alone
(no filesystem placed) to make room for raw binary files for aboot and
the kernel. The partition print from fdisk looks like this:
fdisk /dev/sda
Detected an OSF/1 disklabel on /dev/sda, entering disklabel mode.
To return to DOS partition table mode, use the 'r' command.
BSD disklabel command (m for help): p
2 partitions:
# start end size fstype [fsize bsize cpg]
a: 2 5 4 ext2
b: 6 1022 1017 ext2
BSD disklabel command (m for help):
The filesystems were made by issuing
mke2fs /dev/sda1
mkreiserfs /dev/sda2
The sda2 partition is used by the system as /usr3 (general user
area). The sda1 partition is used to store kernels, boot
configuration, etc., and is not automounted in /etc/fstab to minimize
the possibility of corruption (not journeled as now all the other
partitions are with the reiserfs).
After having created the partitions and filesystems on /dev/sda, then
we must create the direct-boot information.
A filesystem-less boot (direct-boot) is created with (from the
/boot area):
swriteboot /dev/sda bootlx vmlinuz
The SRM system is configured by default to boot this image. This
default configuration is also duplicated in the aboot configuration
(see next).
4) 3rd boot option (hard drive boot options)
Copy the new kernel image to the ext2 boot options area with the
commands:
mount -t ext2 /dev/sda1 /mnt/sda1
cp /usr/src/linux/arch/alpha/boot/vmlinux.gz /mnt/sda1/vmlinuz-2.4.13
Also included in the same area (/mnt/sda1) are other older kernel
images and the aboot configuration file in "/mnt/sda1/etc/aboot.conf".
Confirm the correct location of the aboot configuration file by
issuing the command
abootconf /dev/sda 1
It turns out that abootconf will only work for /dev/sda (as far as I
can tell) which forces aboot.conf to be located where it is. Debian
by default puts it into /etc/aboot.conf and this would work if the
root filesystem were sda1. We could do this if we always booted
from floppy or direct-boot from the hard drive. But, if we want
reiserfs and "hard drive boot options", then we have to have the
little ext2 filesystem in sda1. That is basically why it is set up
the way it is.
Now the contents of /mnt/sda1/etc/aboot.conf is
#
# aboot default configurations jdf 10/26/2001
#
# boot option descriptions:
#
# 0 boots a compressed kernel image "vmlinuz" from aboot
# space just before the first partition. This aboot
# space is created with the command (from /boot)
# swriteboot /dev/sda bootlx vmlinuz
# 1 boots current kernel
# 2 boots current kernel in single-user mode
# 3 boots prior kernel
# 4 boots previous stable kernel
#
0:0/vmlinuz ro root=/dev/sdb1 cycle=500000000
1:1/vmlinuz-2.4.13 ro root=/dev/sdb1 cycle=500000000
2:1/vmlinuz-2.4.13 ro root=/dev/sdb1 cycle=500000000 single
3:1/vmlinuz-2.4.12 ro root=/dev/sdb1 cycle=500000000
4:1/vmlinuz-2.2.19 ro root=/dev/sdb1 cycle=500000000
-
With this type of arrangement, you can optionally boot from the SRM
prompt (to get the prompt see above) by getting into the interactive
mode of aboot:
>>boot -fl i
Then issue the options directly (see the aboot help menu) when it goes
into interactive mode)"
0 (same as hard drive direct boot)
or
1 (effectively the same, but now booting from the ext2 partition)
or
2 (same as boot 1, but single-user mode)
or
etc. (older kernels, test kernels, etc.)
BOTTOM LINE
cd /usr/src/linux
make menuconfig
make dep;make clean;make boot
cp System.map /boot/System.map
cp ./arch/alpha/boot/vmlinux.gz /boot/vmlinuz
cd /boot
swriteboot /dev/sda bootlx vmlinuz
cp other kernel images to floppy and/or hard-drive options as desired
and described above.
REFERENCES
SRM Firmware Howto (from Linux Howto web pages)
Alpha SRM Console for Alpha Microprossor Motherboards User's Guide
(from Compaq web pages)
man pages (from aboot Debian packages) on aboot.conf, swriteboot,
e2writeboot, aboot
reserifsprogs (Debian package and man pages)
TO BE DONE
Add CD-ROM as a boot option and create my own boot CDs.
--
James D. Freels, P.E._i, Ph.D.
Oak Ridge National Laboratory
freelsjd@ornl.gov - work
jdfreels@home.com - home
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: reiserfs on all my SRM-alpha drives: how I did it
2001-10-26 20:26 reiserfs on all my SRM-alpha drives: how I did it James D. Freels
@ 2001-10-28 3:59 ` Christopher C. Chimelis
2001-10-28 4:34 ` Michal Jaegermann
0 siblings, 1 reply; 12+ messages in thread
From: Christopher C. Chimelis @ 2001-10-28 3:59 UTC (permalink / raw)
To: James D. Freels; +Cc: debian-alpha, axp-list, Victor R Cain
Just today, I converted the partition that I use to hold a partial Debian
mirror to reiserfs. I already had a reiserfs partition on my i386 (which
also held a partial mirror) and have had nothing but good experiences with
it, so I figured "why not?".
On Fri, 26 Oct 2001, James D. Freels wrote:
> Because I have been happy with reiserfs on my Intel Linux machines,
> I have just converted all my ext2 filesystems to reiserfs filesystems on
> my first Alpha machine (after testing a single filesystem for a few days).
> All appears well. My system is SRM based, and since aboot doesn't
> recognize reiserfs yet, I had to pull a few configuration tricks to get
> things like I want. All partitions except the boot partition (sda1) were
> easily converted by copying contents to another drive, issuing a
> mkreiserfs on the empty partition, and copying the saved contents
> back to the new partition. The boot partition required some more work.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: reiserfs on all my SRM-alpha drives: how I did it
2001-10-28 3:59 ` Christopher C. Chimelis
@ 2001-10-28 4:34 ` Michal Jaegermann
2001-10-28 14:50 ` Christopher C. Chimelis
0 siblings, 1 reply; 12+ messages in thread
From: Michal Jaegermann @ 2001-10-28 4:34 UTC (permalink / raw)
To: axp-list
On Sat, Oct 27, 2001 at 11:59:24PM -0400, Christopher C. Chimelis wrote:
>
> Just today, I converted the partition that I use to hold a partial Debian
> mirror to reiserfs. I already had a reiserfs partition on my i386 (which
> also held a partial mirror) and have had nothing but good experiences with
> it, so I figured "why not?".
There could be some reasons. Like the fact that reiserfs was _designed_
to journal only metadata. Translated into less technical terms this
means that after an unclean shutdown your file system should survive,
and after a journal reply should be clean, but there are no guarantees
whatsoever what will be in these files. A number of people found
out to their dismay that this is not only a theorethical possibility.
For an intended application this is not likely be a big concern
but in other situations you better check possible "gotchas" before
jumping into that as the above is not an exhaustive list.
Michal
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: reiserfs on all my SRM-alpha drives: how I did it
2001-10-28 4:34 ` Michal Jaegermann
@ 2001-10-28 14:50 ` Christopher C. Chimelis
2001-10-28 19:01 ` Michal Jaegermann
0 siblings, 1 reply; 12+ messages in thread
From: Christopher C. Chimelis @ 2001-10-28 14:50 UTC (permalink / raw)
To: axp-list
On Sat, 27 Oct 2001, Michal Jaegermann wrote:
> There could be some reasons. Like the fact that reiserfs was _designed_
> to journal only metadata. Translated into less technical terms this
> means that after an unclean shutdown your file system should survive,
> and after a journal reply should be clean, but there are no guarantees
> whatsoever what will be in these files. A number of people found
> out to their dismay that this is not only a theorethical possibility.
Yes, I saw a few horror stories. Luckily, this isn't really a production
system, just a home machine that happens to have a partial mirror on
it, so if it dies, I'm not worried. But, the partition's contents only
change once per day and it sure beats a 20 min. fsck :-)
My root partition and the others that hold system data on them are still
ext2.
C
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: reiserfs on all my SRM-alpha drives: how I did it
2001-10-28 14:50 ` Christopher C. Chimelis
@ 2001-10-28 19:01 ` Michal Jaegermann
2001-10-29 14:13 ` James D. Freels
0 siblings, 1 reply; 12+ messages in thread
From: Michal Jaegermann @ 2001-10-28 19:01 UTC (permalink / raw)
To: axp-list
On Sun, Oct 28, 2001 at 09:50:47AM -0500, Christopher C. Chimelis wrote:
>
> Yes, I saw a few horror stories. Luckily, this isn't really a production
> system, just a home machine that happens to have a partial mirror on
> it, so if it dies, I'm not worried. But, the partition's contents only
> change once per day and it sure beats a 20 min. fsck :-)
I do not mean to imply that journaled file systems do not have their
uses. But those who will understand them as a license to play rough
with file systems are replacement for backups may be for some nasty
surprises.
BTW - ext3 in its default, "ordered writes", mode practically prevents
accidents with a messed up content of files. You may loose latest
updates on a journal replay but things should be sane. In its "fast"
mode it behaves in this respect like reiserfs. It also has "full
journal" mode which is expected to maintain a complete integrity of data
for a price of a drop in a performance and a bigger journal.
You would need updated e2fsprogs (the latest one from updates to
RH 7.1, i.e. e2fsprogs-1.23-1.7.1, should be ok and just recompile
if you have different libraries) and a kernel with a support for it
if you want to experiment with ext3. A big attraction is that you
can convert ext2 filesystem to ext3, and back, without redoing the
whole filesystem from scratch. Just use 'tune2fs'. Also booting
an older kernel without ext3 support will simply mount even converted
filesystem as ext2 type and will not use journal (but I would think
that in an event of an unclean shutdown when you had it mounted as
ext2 replaying journal on the next boot would be not a good idea :-).
Michal
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: reiserfs on all my SRM-alpha drives: how I did it
2001-10-28 19:01 ` Michal Jaegermann
@ 2001-10-29 14:13 ` James D. Freels
2001-10-29 16:01 ` Michal Jaegermann
2001-10-29 16:58 ` Michal Jaegermann
0 siblings, 2 replies; 12+ messages in thread
From: James D. Freels @ 2001-10-29 14:13 UTC (permalink / raw)
To: axp-list, Michal Jaegermann
Michal,
Do you have references you can cite on the problems people have had
with reiserfs? Are these problems with some of the earlier versions?
I have not heard of any problems recently.
I am also aware of the other journaling filesystems available (ext3,
jfs (IBM), xfs (SGI)), but until these are in the kernel proper, I am
not interested in patching. Are their plans to include any of these in
the kernel? These may be better also and I have some good experiences
with both AIX and IRIX.
I also do daily backups on these systems with AMANDA. So far though, I
have had absolutely no problems with reiserfs on either Intel or Alpha.
Thanks for the info...
On Sunday 28 October 2001 02:01 pm, Michal Jaegermann wrote:
> On Sun, Oct 28, 2001 at 09:50:47AM -0500, Christopher C. Chimelis
wrote:
> > Yes, I saw a few horror stories. Luckily, this isn't really a
> > production system, just a home machine that happens to have a
> > partial mirror on it, so if it dies, I'm not worried. But, the
> > partition's contents only change once per day and it sure beats a
> > 20 min. fsck :-)
>
> I do not mean to imply that journaled file systems do not have their
> uses. But those who will understand them as a license to play rough
> with file systems are replacement for backups may be for some nasty
> surprises.
>
> BTW - ext3 in its default, "ordered writes", mode practically
> prevents accidents with a messed up content of files. You may loose
> latest updates on a journal replay but things should be sane. In its
> "fast" mode it behaves in this respect like reiserfs. It also has
> "full journal" mode which is expected to maintain a complete
> integrity of data for a price of a drop in a performance and a bigger
> journal.
>
> You would need updated e2fsprogs (the latest one from updates to
> RH 7.1, i.e. e2fsprogs-1.23-1.7.1, should be ok and just recompile
> if you have different libraries) and a kernel with a support for it
> if you want to experiment with ext3. A big attraction is that you
> can convert ext2 filesystem to ext3, and back, without redoing the
> whole filesystem from scratch. Just use 'tune2fs'. Also booting
> an older kernel without ext3 support will simply mount even converted
> filesystem as ext2 type and will not use journal (but I would think
> that in an event of an unclean shutdown when you had it mounted as
> ext2 replaying journal on the next boot would be not a good idea :-).
>
> Michal
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
--
James D. Freels, P.E._i, Ph.D.
Oak Ridge National Laboratory
freelsjd@ornl.gov - work
jdfreels@home.com - home
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: reiserfs on all my SRM-alpha drives: how I did it
2001-10-29 14:13 ` James D. Freels
@ 2001-10-29 16:01 ` Michal Jaegermann
2001-10-29 16:58 ` Michal Jaegermann
1 sibling, 0 replies; 12+ messages in thread
From: Michal Jaegermann @ 2001-10-29 16:01 UTC (permalink / raw)
To: axp-list
On Mon, Oct 29, 2001 at 09:13:46AM -0500, James D. Freels wrote:
> Michal,
>
> Do you have references you can cite on the problems people have had
> with reiserfs? Are these problems with some of the earlier versions?
My sources consists mostly from what I read on linux-kernel mailing
list where reports "reiserfs ate my filesystem", or "my filesystem
is ok but data are screwed" are pretty standard if not really everyday
fare. It is true that after numerous bug fixes, rewrites and format
changes (Chris Mason did a lot of an excellent work) their frequency
now seem to be lower. ReiserFS until quite recently was also unusable
with NFS. This is supposedly currently fixed but personally I would
be very careful in this respect unless this is used on scratch and
experimental systems. After what I have seen ReiserFS does not give
me much confidence for now. There are numerous reports of "works for
me" kind. That is fine but if bugs hit only in some "weird" usage
patterns there is no guarantee that my usage will not turn out to
be "weird".
It is also quite unfortunate that http://www.reiserfs.org contains much
hype, and claims that raise alarm flags, but it is hard (possible at
all?) to find there a hard technical information. In particular my
information that reiserfs journals only metadata, by design, comes
not from any ReiserFS documents but from peple whom I believe have
some pretty good idea what they are talking about.
Michal
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: reiserfs on all my SRM-alpha drives: how I did it
2001-10-29 14:13 ` James D. Freels
2001-10-29 16:01 ` Michal Jaegermann
@ 2001-10-29 16:58 ` Michal Jaegermann
2001-10-29 19:56 ` Martin K. Petersen
1 sibling, 1 reply; 12+ messages in thread
From: Michal Jaegermann @ 2001-10-29 16:58 UTC (permalink / raw)
To: axp-list
On Mon, Oct 29, 2001 at 09:13:46AM -0500, James D. Freels wrote:
>
> I am also aware of the other journaling filesystems available (ext3,
> jfs (IBM), xfs (SGI)), but until these are in the kernel proper, I am
> not interested in patching. Are their plans to include any of these in
> the kernel?
As I wrote - ext3 is already an integral part of "ac" series. It will
likely show up in "Linus kernels" RSN as well. There are also already
patched "vendor" kernels with ext3 - sources and binaries.
Both 'jfs' and 'xfs' will likely show up in "standard" sources as well
but in a longer perspective. 'jfs' is still having "issues". 'xfs',
from what I understand, intervenes now quite deeply into other kernel
structures and it may be not very surprising to see yet a more thorough
rewrite of it, or two. Or maybe there will be a better fit later but
do not expect that in 2.4.
You can track status of these at
<http://oss.sgi.com/projects/xfs/>, and
<http://oss.lotus.com/jfs/>.
There are people using both but they are not recommended in this moment
for a "production".
Michal
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: reiserfs on all my SRM-alpha drives: how I did it
2001-10-29 16:58 ` Michal Jaegermann
@ 2001-10-29 19:56 ` Martin K. Petersen
2001-10-29 21:52 ` xfs (was: reiserfs on all my SRM-alpha drives...) Michal Jaegermann
2001-10-30 0:04 ` reiserfs on all my SRM-alpha drives: how I did it Rob Byrnes
0 siblings, 2 replies; 12+ messages in thread
From: Martin K. Petersen @ 2001-10-29 19:56 UTC (permalink / raw)
To: axp-list
>>>>> "Michal" == Michal Jaegermann <michal@ellpspace.math.ualberta.ca> writes:
Michal> 'xfs', from what I understand, intervenes now quite deeply
Michal> into other kernel structures and it may be not very surprising
Michal> to see yet a more thorough rewrite of it, or two.
Uhm, uhm, uhm. A rewrite? Why would we rewrite it?
The XFS core code is identical between Linux and IRIX. It is very
stable and has been shipping in IRIX since the mid nineties.
The Linux interface is changing somewhat but that is mostly due to VM
being a constantly moving target.
As for the changes to the kernel outside the filesystem:
(mkp@hammond) ~> wc -l patch-2.4.12-xfs-*
530 patch-2.4.12-xfs-easy
533 patch-2.4.12-xfs-tricky
IOW, we're adding ~300 lines of code which does not alter existing
kernel behaviour. And roughly the same number of lines affecting
existing paths. Changes to Makefiles etc. are also included in the
patches above. Looks like a fairly small footprint to me.
The patches above exclude features of XFS which Linux doesn't
currently have an infrastructure to support. Like ACLs and extended
attributes. We're actively contributing to the effort of coming up
with a common API across filesystems for those. And we have sample
implementations which will obviously affect several areas of the
kernel in order to work.
But as far as the core filesystem goes, the changes are pretty small.
Michal> There are people using both but they are not recommended in
Michal> this moment for a "production".
Sorry, that's just FUD. There are plenty of people out there using
XFS on production systems.
--
Martin K. Petersen, Principal Linux Consultant, Linuxcare, Inc.
mkp@linuxcare.com, http://www.linuxcare.com/
SGI XFS for Linux Developer, http://oss.sgi.com/projects/xfs/
^ permalink raw reply [flat|nested] 12+ messages in thread
* xfs (was: reiserfs on all my SRM-alpha drives...)
2001-10-29 19:56 ` Martin K. Petersen
@ 2001-10-29 21:52 ` Michal Jaegermann
2001-10-30 18:35 ` Martin K. Petersen
2001-10-30 0:04 ` reiserfs on all my SRM-alpha drives: how I did it Rob Byrnes
1 sibling, 1 reply; 12+ messages in thread
From: Michal Jaegermann @ 2001-10-29 21:52 UTC (permalink / raw)
To: axp-list
On Mon, Oct 29, 2001 at 02:56:37PM -0500, Martin K. Petersen wrote:
> >>>>> "Michal" == Michal Jaegermann <michal@ellpspace.math.ualberta.ca> writes:
>
> Michal> 'xfs', from what I understand, intervenes now quite deeply
> Michal> into other kernel structures and it may be not very surprising
> Michal> to see yet a more thorough rewrite of it, or two.
>
> Uhm, uhm, uhm. A rewrite? Why would we rewrite it?
To better fit with the rest of the kernel. I recall quite distincly
suggestions of that sort from some people who will have some say
in matters of a final acceptance. Myself I have none.
> The XFS core code is identical between Linux and IRIX.
Well, but we are talking here mostly about "impendance on connections".
I hear (mind you, I hear!) that right now, for example, it is
non-trivial to have at once both ext3 and xfs support. An issue of xfs
going "too deep" into other structures was mentioned on linux-kernel
list quite a few times. Again this really will be not up to me.
> Michal> There are people using both but they are not recommended in
> Michal> this moment for a "production".
>
> Sorry, that's just FUD. There are plenty of people out there using
> XFS on production systems.
FUD yourself. You may notice that "production" above was in quotes.
As long as this is not a part of standard kernel sources there could be
changes and if are using that you may expect surprises, better know what
you are doing and be prepared to solve troubles yourself. The fact that
there are numerous sites using xfs for serious tasks is great and a part
of a regular development process in Linux. But folks not willing to get
hands dirty from time to time better stay away.
If you suggest that xfs is likely to become a part of a standard kernel
in 2.4 series then you know something which I did not hear yet. OTOH
personally I would rather trust my data to xfs than to reiserfs - but
these are my private opinions.
Michal
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: reiserfs on all my SRM-alpha drives: how I did it
2001-10-29 19:56 ` Martin K. Petersen
2001-10-29 21:52 ` xfs (was: reiserfs on all my SRM-alpha drives...) Michal Jaegermann
@ 2001-10-30 0:04 ` Rob Byrnes
1 sibling, 0 replies; 12+ messages in thread
From: Rob Byrnes @ 2001-10-30 0:04 UTC (permalink / raw)
To: axp-list
At 06:56 30/10/2001, Martin K. Petersen sent this up the stick:
>There are plenty of people out there using
>XFS on production systems.
I know of a couple of people using it as the filesystem on the spool
directories for mail servers (Intel, not Alpha though). Postfix runs great
on XFS, whereas the author basically says if you run it on ReiserFS and it
eats your data, he will not help, but no comments like this on XFS.
Cheers,
Rob
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: xfs (was: reiserfs on all my SRM-alpha drives...)
2001-10-29 21:52 ` xfs (was: reiserfs on all my SRM-alpha drives...) Michal Jaegermann
@ 2001-10-30 18:35 ` Martin K. Petersen
0 siblings, 0 replies; 12+ messages in thread
From: Martin K. Petersen @ 2001-10-30 18:35 UTC (permalink / raw)
To: axp-list
>>>>> "Michal" == Michal Jaegermann <michal@ellpspace.math.ualberta.ca> writes:
#include <disclaimers/i-am-not-speaking-for-sgi.h>
>> Uhm, uhm, uhm. A rewrite? Why would we rewrite it?
Michal> To better fit with the rest of the kernel. I recall quite
Michal> distincly suggestions of that sort from some people who will
Michal> have some say in matters of a final acceptance.
We have a slim layer mapping between Linux VFS and what the core XFS
code thinks is the IRIX vnode layer. That's what Al dislikes.
And while I mostly share his opinion, ripping linvfs out and teaching
XFS to talk directly to Linux' VFS would not only be a big task. It
would also mean throwing away hundreds of man-years of development,
testing, and QA that SGI has put into the filesystem.
And that is simply not worth the effort. A stable filesystem is more
important. Plus SGI is obviously interested in sharing code base
between IRIX and Linux.
Michal> I hear (mind you, I hear!) that right now, for example, it is
Michal> non-trivial to have at once both ext3 and xfs support.
Not true. There's an export symbol conflict and that's it.
I have both on my machine right here.
Michal> An issue of xfs going "too deep" into other structures was
Michal> mentioned on linux-kernel list quite a few times.
A few points I'd like to make:
Chances are that people making statements like that haven't looked at
the patches recently.
XFS used to have a bigger footprint, yes. When we started the
project we kept joking about porting Linux to XFS. And to some
extent that turned out to be the case. XFS is by far the most
advanced Linux filesystem out there. And it has feature requirements
beyond what currently Linux offers.
SGI has been actively participating in the kernel development process
in order to add the required functionality to the generic kernel.
Most of the things XFS needs are now part of 2.4 as a result of this.
And the process is ongoing. We're helping define a common interface
for access control lists and extended attributes, for instance.
The single big XFS feature Linux is missing right now is support for
delayed allocations in the VM. And that's where the bulk of our
changes are. None of the other filesystems on Linux support delayed
allocations yet, so there's no infrastructure to support it. But I
know that at least the reiser folks are interested in adding support
to their filesystem.
So when you see comments about ``XFS going too deep into other
structures'' it usually means ``Linux doesn't have feature XYZ yet''.
Michal> If you suggest that xfs is likely to become a part of a
Michal> standard kernel in 2.4 series then you know something which I
Michal> did not hear yet.
Well, who knows? Right now a stable VM is the primary target...
--
Martin K. Petersen, Principal Linux Consultant, Linuxcare, Inc.
mkp@linuxcare.com, http://www.linuxcare.com/
SGI XFS for Linux Developer, http://oss.sgi.com/projects/xfs/
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2001-10-30 18:35 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-26 20:26 reiserfs on all my SRM-alpha drives: how I did it James D. Freels
2001-10-28 3:59 ` Christopher C. Chimelis
2001-10-28 4:34 ` Michal Jaegermann
2001-10-28 14:50 ` Christopher C. Chimelis
2001-10-28 19:01 ` Michal Jaegermann
2001-10-29 14:13 ` James D. Freels
2001-10-29 16:01 ` Michal Jaegermann
2001-10-29 16:58 ` Michal Jaegermann
2001-10-29 19:56 ` Martin K. Petersen
2001-10-29 21:52 ` xfs (was: reiserfs on all my SRM-alpha drives...) Michal Jaegermann
2001-10-30 18:35 ` Martin K. Petersen
2001-10-30 0:04 ` reiserfs on all my SRM-alpha drives: how I did it Rob Byrnes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox