Hi,
I get the below issue when i install CentOS 5.6 x86_64 on IBM x3650 M3 when i run "linux xfs" at boot prompt. Please suggest/guide.
Regards
Kaushal
20:14:50 INFO : moving (1) to step confirminstall 20:14:55 INFO : moving (1) to step install 20:14:55 INFO : moving (1) to step enablefilesystems 20:14:55 DEBUG : starting mpaths 20:14:55 DEBUG : self.driveList(): ['sda', 'sdb'] 20:14:55 DEBUG : DiskSet.skippedDisks: ['sdb'] 20:14:55 DEBUG : DiskSet.skippedDisks: ['sdb'] 20:14:55 DEBUG : done starting mpaths. Drivelist: ['sda', 'sdb'] 20:14:57 INFO : disk.commit() for /dev/sda 20:14:57 DEBUG : removing drive sda from disk lists 20:14:57 DEBUG : starting mpaths 20:14:57 DEBUG : self.driveList(): ['sda', 'sdb'] 20:14:57 DEBUG : DiskSet.skippedDisks: ['sdb'] 20:14:57 DEBUG : DiskSet.skippedDisks: ['sdb'] 20:14:57 DEBUG : done starting mpaths. Drivelist: ['sda', 'sdb'] 20:14:57 DEBUG : adding drive sda to disk list 20:14:57 INFO : formatting swap as swap 20:15:01 DEBUG : starting mpaths 20:15:01 DEBUG : self.driveList(): ['sda', 'sdb'] 20:15:01 DEBUG : DiskSet.skippedDisks: ['sdb'] 20:15:01 DEBUG : DiskSet.skippedDisks: ['sdb'] 20:15:01 DEBUG : done starting mpaths. Drivelist: ['sda', 'sdb'] 20:15:01 DEBUG : adding drive sda to disk list 20:15:04 INFO : formatting / as xfs 20:15:04 CRITICAL: Traceback (most recent call first): File "/usr/lib64/python2.4/subprocess.py", line 996, in _execute_child raise child_exception File "/usr/lib64/python2.4/subprocess.py", line 550, in __init__ errread, errwrite) File "/tmp/treedir.24003/instimage/usr/lib/anaconda/iutil.py", line 51, in execWithRedirect stderr=stderr, preexec_fn=chroot, cwd=root) File "/tmp/treedir.24003/instimage/usr/lib/anaconda/fsset.py", line 471, in formatDevice stderr = "/dev/tty5") File "/tmp/treedir.24003/instimage/usr/lib/anaconda/fsset.py", line 1823, in formatEntry entry.fsystem.formatDevice(entry, self.progressWindow, chroot) File "/tmp/treedir.24003/instimage/usr/lib/anaconda/fsset.py", line 1900, in makeFilesystems self.formatEntry(entry, chroot) File "/tmp/treedir.24003/instimage/usr/lib/anaconda/packages.py", line 162, in turnOnFilesystems anaconda.id.fsset.makeFilesystems (anaconda.rootPath) File "/usr/lib/anaconda/dispatch.py", line 207, in moveStep rc = stepFunc(self.anaconda) File "/usr/lib/anaconda/dispatch.py", line 130, in gotoNext self.moveStep() File "/usr/lib/anaconda/gui.py", line 1156, in nextClicked self.anaconda.dispatch.gotoNext() File "/usr/lib/anaconda/iw/progress_gui.py", line 251, in renderCallback self.intf.icw.nextClicked() File "/usr/lib/anaconda/gui.py", line 1183, in handleRenderCallback self.currentWindow.renderCallback() RuntimeError: /usr/sbin/mkfs.xfs can not be run
Kaushal Shriyan wrote:
Hi,
I get the below issue when i install CentOS 5.6 x86_64 on IBM x3650 M3 when i run "linux xfs" at boot prompt. Please suggest/guide.
Regards
Kaushal
20:15:04 INFO : formatting / as xfs 20:15:04 CRITICAL: Traceback (most recent call first): File "/usr/lib64/python2.4/subprocess.py", line 996, in _execute_child
... RuntimeError: /usr/sbin/mkfs.xfs can not be run
CentOS 5 doesn't support XFS in the installer
Once you have installed CentOS (with ext3 on the root disk), you can then install the xfsprogs RPM and make XFS file systems on other partitions/disks
James Pearson
On Mon, 5 Sep 2011, James Pearson wrote:
Kaushal Shriyan wrote:
RuntimeError: /usr/sbin/mkfs.xfs can not be run
CentOS 5 doesn't support XFS in the installer
Once you have installed CentOS (with ext3 on the root disk), you can then install the xfsprogs RPM and make XFS file systems on other partitions/disks
And that's the exact same answer Kaushal was given on #centos earlier in the day. Let's not forget he was wanting an XFS /boot and / (and so using a LiveCD was suggested to do the format and partition in advance of the installer). Then there was a desire to do it all within the installer, so it was suggested you could just copy mkfs.xfs into the installer and do it by hand in the shell.
jh
John Hodrien wrote:
On Mon, 5 Sep 2011, James Pearson wrote:
Kaushal Shriyan wrote:
RuntimeError: /usr/sbin/mkfs.xfs can not be run
CentOS 5 doesn't support XFS in the installer
Once you have installed CentOS (with ext3 on the root disk), you can then install the xfsprogs RPM and make XFS file systems on other partitions/disks
And that's the exact same answer Kaushal was given on #centos earlier in the day. Let's not forget he was wanting an XFS /boot and / (and so using a LiveCD was suggested to do the format and partition in advance of the installer). Then there was a desire to do it all within the installer, so it was suggested you could just copy mkfs.xfs into the installer and do it by hand in the shell.
I use a custom CentOS 5 installer that will create (and install on) XFS /boot and / - so it is possible, but does involve patching and rebuilding anaconda and then rebuilding the installer images (not a straight forward process).
However, I'm not sure there is much to gain by having XFS /boot and / file systems
James Pearson
On Tue, 6 Sep 2011, James Pearson wrote:
I use a custom CentOS 5 installer that will create (and install on) XFS /boot and / - so it is possible, but does involve patching and rebuilding anaconda and then rebuilding the installer images (not a straight forward process).
Can you not just do it with a pre script? I'd have thought you could wget mkfs.xfs and do the partition at that stage, then have it not format later on. Or are the partition probing issues?
However, I'm not sure there is much to gain by having XFS /boot and / file systems
No, I wasn't convinced there was either.
jh
John Hodrien wrote:
On Tue, 6 Sep 2011, James Pearson wrote:
I use a custom CentOS 5 installer that will create (and install on) XFS /boot and / - so it is possible, but does involve patching and rebuilding anaconda and then rebuilding the installer images (not a straight forward process).
Can you not just do it with a pre script? I'd have thought you could wget mkfs.xfs and do the partition at that stage, then have it not format later on. Or are the partition probing issues?
I wanted to add XFS as an available filesystem using the standard installer menu items for others to use.
James Pearson