SGI XFS = Linux XFS ?
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
SGI XFS = Linux XFS ?
Hi,
I wanted to use a Linux machine as install server.
All installation media has been copied with the Octane onto harddisk with IRIX.
As Linux support the XFS file system, would it be possible to take the disk out of the Octane and mount it under Linux?
Or are there differences and resulting problems?
As further challenge I want a generic install server, by using Linux directly running from the Knoppix DVD.
Thanks,
Ebbi
I wanted to use a Linux machine as install server.
All installation media has been copied with the Octane onto harddisk with IRIX.
As Linux support the XFS file system, would it be possible to take the disk out of the Octane and mount it under Linux?
Or are there differences and resulting problems?
As further challenge I want a generic install server, by using Linux directly running from the Knoppix DVD.
Thanks,
Ebbi
- regan_russell
- Posts: 888
- Joined: Tue Jul 18, 2006 9:32 pm
- Location: Sydney, Australia
- Contact:
Re: SGI XFS = Linux XFS ?
Ebbi wrote:Hi,
I wanted to use a Linux machine as install server.
All installation media has been copied with the Octane onto harddisk with IRIX.
As Linux support the XFS file system, would it be possible to take the disk out of the Octane and mount it under Linux?
Your Linux box has ultra 160 drives...?
Or are there differences and resulting problems?
As further challenge I want a generic install server, by using Linux directly running from the Knoppix DVD.
Thanks,
Ebbi
Why not use the network, NFS, scp, etc?
Regan




















Linux XFS
The biggie is that Linux supports XFSv2 ONLY so drives built with IRIX 6.2 or an early version of 6.5 (or 6.3, or 6.4, or 5.3XFS) will not be readable.
Your Linux kernel also has to be configured with (a) XFS support and (b) SGI disklabel support.
It does work, though- I've done it.
Linux can also be configured with read-only EFS support to read IRIX distCDs. Note that you will either need a 512-byte CD-ROM or mount it with the loopback drivers.
Your Linux kernel also has to be configured with (a) XFS support and (b) SGI disklabel support.
It does work, though- I've done it.
Linux can also be configured with read-only EFS support to read IRIX distCDs. Note that you will either need a 512-byte CD-ROM or mount it with the loopback drivers.
Re: SGI XFS = Linux XFS ?
regan_russell wrote:Your Linux box has ultra 160 drives...?
Yes and no. I have a few U160 controllers, but an UW controller with 40MB/s and an SCA adapter will be sufficient.
regan_russell wrote:Why not use the network, NFS, scp, etc?
I'm sorry, but I don't understand what you mean by that.

I have an 18GB disk with all installation media and I want to install my Indy via network. That's why I need an install server. The Linux idea arises from the fact that I maybe will install the Indy at another place and I don't want to carry both machines around.
So I would just pick up the XFS disk with the installation media, an SCA adapter, an U160 controller with cable, a Knoppix DVD and the Indy (of course) and go to another place, grab a generic PC put everything into it, boot the DVD, mount the XFS disk and set up my install server.
SAQ wrote:The biggie is that Linux supports XFSv2 ONLY so drives built with IRIX 6.2 or an early version of 6.5 (or 6.3, or 6.4, or 5.3XFS) will not be readable.
Your Linux kernel also has to be configured with (a) XFS support and (b) SGI disklabel support.
It does work, though- I've done it.
Lucky enough my drive was configured with 6.5.10.

But if I need a new kernel I'm knocked out of Knoppix. But a standard Linux installation would do it. AFAIK the Linux version of fdisk supports SGI disklabels and SuSE offers XFS as filesystem. So maybe I don't need a new kernel...
Which distribution did you use?
SAQ wrote:Linux can also be configured with read-only EFS support to read IRIX distCDs. Note that you will either need a 512-byte CD-ROM or mount it with the loopback drivers.
Would also be possible, but since I'm out of Knoppix, I'd prefer your first idea.
- Hakimoto
- Moderator
- Posts: 2677
- Joined: Sun Mar 30, 2003 4:29 am
- Location: Nijmegen, Netherlands, Europe
- Contact:
Re: SGI XFS = Linux XFS ?
regan_russell wrote:Your Linux box has ultra 160 drives...?
Mine sure does.

The Bandito wrote:In a few years, no doubt, you'll be able to buy a computer,
software and operating system that will match the capabilities
of your current Amiga at about the price you paid for the
Amiga way back when. But you can smile to yourself, knowing
that you were touching the future years before the rest of
the world. And that other computers and operating systems
will do with brute force what the Amiga did years before with
grace, elegance and style.
Eroteme.ch - my end of the internet...
Re: SGI XFS = Linux XFS ?
Ebbi wrote:regan_russell wrote:Your Linux box has ultra 160 drives...?
Yes and no. I have a few U160 controllers, but an UW controller with 40MB/s and an SCA adapter will be sufficient.regan_russell wrote:Why not use the network, NFS, scp, etc?
I'm sorry, but I don't understand what you mean by that.
I have an 18GB disk with all installation media and I want to install my Indy via network. That's why I need an install server. The Linux idea arises from the fact that I maybe will install the Indy at another place and I don't want to carry both machines around.
So I would just pick up the XFS disk with the installation media, an SCA adapter, an U160 controller with cable, a Knoppix DVD and the Indy (of course) and go to another place, grab a generic PC put everything into it, boot the DVD, mount the XFS disk and set up my install server.SAQ wrote:The biggie is that Linux supports XFSv2 ONLY so drives built with IRIX 6.2 or an early version of 6.5 (or 6.3, or 6.4, or 5.3XFS) will not be readable.
Your Linux kernel also has to be configured with (a) XFS support and (b) SGI disklabel support.
It does work, though- I've done it.
Lucky enough my drive was configured with 6.5.10.
But if I need a new kernel I'm knocked out of Knoppix. But a standard Linux installation would do it. AFAIK the Linux version of fdisk supports SGI disklabels and SuSE offers XFS as filesystem. So maybe I don't need a new kernel...
Which distribution did you use?
I haven't done an install with Linux yet, just mounted various SGI media for various reasons. I use Debian (my kernel is custom, but the stock Debian (on which Knoppix is based) supports XFS. Knoppix supports XFS at least on PCs- I can see my disks just fine). One idea that jumps to mind would be creating a custom Knoppix DVD that includes the IRIX stuff right on it. This would take care of some of the other issues with Linux acting as an install server for SGIs as well (there's a good page on it at http://software.majix.org/irix/install- ... inux.shtml ).
Ok, I tried it with a basic installation of SLES10. Here we go:
SGI partition table seems to be supported by default:
But mounting does not work:
Using xfs_check you hear the disk, but nothing happens and no error appears:
Ok, got it: :cry:
It seems that even 6.5.10 is too old. Damn...
SGI partition table seems to be supported by default:
Code: Select all
sles10:/ # fdisk -l /dev/sda
Disk /dev/sda (SGI disk label): 255 heads, 63 sectors, 2213 cylinders
Units = cylinders of 16065 * 512 bytes
----- partitions -----
Pt# Device Info Start End Sectors Id System
8: /dev/sda1 1 2213 35562384 a SGI xfs
9: /dev/sda2 0 0 4096 0 SGI volhdr
11: /dev/sda3 0 2213 35566480 6 SGI volume
----- Bootinfo -----
Bootfile: /unix
----- Directory Entries -----
0: sgilabel sector 2 size 512
But mounting does not work:
Code: Select all
sles10:/ # mount -t xfs /dev/sda8 /irix
mount: Function not implemented
Using xfs_check you hear the disk, but nothing happens and no error appears:
Code: Select all
sles10:/ # xfs_check /dev/sda8
sles10:/ #
Ok, got it: :cry:
Code: Select all
sles10:/ # dmesg
XFS: Attempted to mount file system using version 1 directory format
XFS: SB validate failed
It seems that even 6.5.10 is too old. Damn...
XFS versions
6.5.10 can create a XFSv2 filesystem, but does not by default. Somewhere around the middle teens it switched to v2 by default. If you don't mind starting all over again
try re-mkfsing the disk with the option -version=2 (exact syntax is in the manpage).

Re: SGI XFS = Linux XFS ?
Ebbi wrote:As further challenge I want a generic install server, by using Linux directly running from the Knoppix DVD.
I use NetBSD on an i386 as an install server for my Indy. Not using any XFS on the i386, it's all bootp, tftp and NFS.
porter wrote:I use NetBSD on an i386 as an install server for my Indy. Not using any XFS on the i386, it's all bootp, tftp and NFS.
I just wanted to use XFS as all my installation media is on an IRIX disk inside the Octane and I wanted to save copying everything again.
Today I tried mounting the IRIX CD media, using a Pioneer DVD with 512k blocksize switch. The SLES10 kernel is capable of EFS, but still no luck.
Yes, I would mind starting all over.

But I guess I'll start the Octane and copy everything to the linux box via NFS.
Or maybe I configure a disk with FAT on the Octane and make a local copy.
Re: XFS versions
SAQ wrote:6.5.10 can create a XFSv2 filesystem, but does not by default. Somewhere around the middle teens it switched to v2 by default. If you don't mind starting all over againtry re-mkfsing the disk with the option -version=2 (exact syntax is in the manpage).
Ok, I decided to connect the disk I want to use under Linux to the Octane, create an XFSv2 file system and copy everything.
I searched man mkfs and man mkfs_xfs but I couldn't find the "version" option.
Need assistance!

Re: XFS versions
Ebbi wrote:SAQ wrote:6.5.10 can create a XFSv2 filesystem, but does not by default. Somewhere around the middle teens it switched to v2 by default. If you don't mind starting all over againtry re-mkfsing the disk with the option -version=2 (exact syntax is in the manpage).
Ok, I decided to connect the disk I want to use under Linux to the Octane, create an XFSv2 file system and copy everything.
I searched man mkfs and man mkfs_xfs but I couldn't find the "version" option.
Need assistance!
Oh fine- be that way. I told you it wasn't quite exact syntax

Here's the exact syntax:
mkfs -t xfs -n version=2 /dev/[my_device_here]
Guess I should start up a SGI before attempting to remember little-used commands.

-
- Posts: 126
- Joined: Sat Feb 10, 2018 3:28 am
Re: XFS versions
is there a way under Irix (v6.5.29 here) to convert XFS v1 into XFS v2 without reformatting?
Pointless reminders of the human ego:
- arguing that you don't care about the right to privacy
- because you have nothing to hide
- is no different than saying you don't care about free speech
- because you have nothing to say
Re: XFS versions
shutitalldown wrote:is there a way under Irix (v6.5.29 here) to convert XFS v1 into XFS v2 without reformatting?
There is no support for doing an in-place conversion from v1 to v2.
The recommended way to convert is to backup via xfsdump, then create a new filesystem with mkfs_xfs, and finally restore from the backup to the new filesystem with xfsrestore.
Who is online
Users browsing this forum: alex_n505x, jirka and 3 guests