View previous topic :: View next topic |
Author |
Message |
Lasitus Apprentice
Joined: 05 Oct 2002 Posts: 188 Location: Orlando, FL
|
Posted: Sat Oct 12, 2002 10:16 pm Post subject: Switch from XFS to ext3 |
|
|
Hello,
I did a test install of Gentoo to get a feel for it and see if I like it. I have now decided to replace my server with it. I started the bootstrap process with an XFS partition. I later read that it no longer is supported by the later kernels. I then stopped the process and restarted from the beginning, formatting it as ext3. It now says:
mount: wrong fs type, bad option, bad superblock on /dev/hda3, or too many mounted file systems
Is there anything special I need to do to get rid of the XFS format? I tried re-partitioning it and starting completely from scratch and still get this error.
Thanks in advance,
Lasitus |
|
Back to top |
|
|
medic n00b
Joined: 08 Oct 2002 Posts: 7 Location: Johnstown, PA
|
Posted: Sun Oct 13, 2002 3:23 am Post subject: Lasitus |
|
|
I go the same error when mounting hda1 to /boot
to get around this, I used mount/dev/hda1 /mnt/gentoo/boot -t ext3
it worked for me
good luck |
|
Back to top |
|
|
Lasitus Apprentice
Joined: 05 Oct 2002 Posts: 188 Location: Orlando, FL
|
Posted: Sun Oct 13, 2002 6:01 am Post subject: |
|
|
hmm, but does this mean there is a straggling XFS partition somewhere that should be taken care of? |
|
Back to top |
|
|
elzbal Guru
Joined: 31 Aug 2002 Posts: 364 Location: Seattle, WA, USA
|
Posted: Sun Oct 13, 2002 6:16 am Post subject: |
|
|
Did you check the /etc/fstab file to verify the partition was being loaded as 'ext3' as opposed to 'xfs'? |
|
Back to top |
|
|
craftyc Guru
Joined: 23 May 2002 Posts: 443 Location: Behind You.
|
Posted: Sun Oct 13, 2002 12:31 pm Post subject: |
|
|
If you still get problems you can zero out the partition by doing a "dd if=/dev/zero of=/dev/hdaX bs=512" Where X is the partition number. _________________ Postcount ++ |
|
Back to top |
|
|
Lasitus Apprentice
Joined: 05 Oct 2002 Posts: 188 Location: Orlando, FL
|
Posted: Sun Oct 13, 2002 7:22 pm Post subject: |
|
|
The fstab file has only the temp mounts made by the live CD. I am starting from scratch. I tried deleting all the partitions and rebooting and remaking the partition, but XFS is still there somehow.
I havn't tried zeroing out the drive just yet. |
|
Back to top |
|
|
Lasitus Apprentice
Joined: 05 Oct 2002 Posts: 188 Location: Orlando, FL
|
Posted: Sun Oct 13, 2002 9:31 pm Post subject: |
|
|
I now zeroed out the drive and it works.
Thanks for the help,
Lasitus |
|
Back to top |
|
|
alexmaz n00b
Joined: 07 Jul 2002 Posts: 35 Location: Milano - Italia
|
Posted: Mon Oct 14, 2002 12:19 am Post subject: Re: Switch from XFS to ext3 |
|
|
Lasitus wrote: | I later read that it no longer is supported by the later kernels. |
A little OT: XFS was merged with the main development kernel tree starting from 2.5.36, so it will surely supported in future kernels...
bye _________________ Italy rejects war as an instrument of aggression against the freedoms of others peoples and as a means for settling international controversies |
|
Back to top |
|
|
elzbal Guru
Joined: 31 Aug 2002 Posts: 364 Location: Seattle, WA, USA
|
Posted: Mon Oct 14, 2002 4:43 am Post subject: |
|
|
Quote: | A little OT: XFS was merged with the main development kernel tree starting from 2.5.36, so it will surely supported in future kernels... |
Yeah. Much, much later kernels.
This is good news, though. I too started with a XFS partition that I had to roll back to ext3. |
|
Back to top |
|
|
chavez n00b
Joined: 29 May 2002 Posts: 35 Location: Austin, Texas
|
Posted: Mon Oct 14, 2002 11:03 pm Post subject: Re: Lasitus |
|
|
medic wrote: | I go the same error when mounting hda1 to /boot
to get around this, I used mount/dev/hda1 /mnt/gentoo/boot -t ext3
it worked for me
good luck |
The reason that you got this problem was because XFS places its superblock starting on the first logical sector of the partition. When you reformatted it with ext3, the mke2fs skips the first few sectors (presumably to leave space for lilo if it is applied to this partition).
Now if you did not specify the -t ext3 option of the mount, then the mount command probes the partition for known filesystem signatures.Since it starts at the first sector, it find the XFS signature and tries to mount it using XFS. XFS recognizes that other meta-data is incorrect or missing and fails the mount.
When you zeroed out the first sector, you essentially blew away the XFS signature and allowed the ext3 signatures to be recognized during the filesytem probe and thus your mount succeeds without having to explicitly use the -t ext3 option. _________________ regards,
Luciano Chavez |
|
Back to top |
|
|
|