On Tue, 19 Nov 2002, Stefano Pogliani wrote:

> I just tried today to create an XFS partition on a new hard drive. It 
> was the first time I was playing with Journalized partitions, so I may 
> have done something strange.
> 
> I used diskdrake and created an XFS partition. I formatted it and then I 
> rebooted (as I was asked to do).
> 
> On rebooting I noticed an error message when trying to mount the newly 
> created partition. I did not make that much attention.
> 
> Then when issuing the "df -Tk" command (to just see my brand new 
> first-time XFS partition listed) I did not see it. Well, I thought, 
> maybe there is something I am missing.... so I verified in /etc/fstab 
> and the partition is listed correctly there.
> 
> I can copy files in this partition (mount point is /mnt/backup) and all 
> went well with the copy (and subsequent "ls" command).

You're not actually copying to the xfs filesystem, only to the directory
/mnt/backup.
> 
> So, I decided to MOUNT that partition to verify if mounting would make 
> the partition visible by the "df -Tk" command.... and, surprise, I saw 
> the same error message I saw during boot:
> 
>         [root@scarlet root]# mount /mnt/backup/
>         mount: wrong fs type, bad option, bad superblock on /dev/hda5,
>                or too many mounted file systems
> 

What does your /etc/fstab show?

> (/dev/hd5 is where the /mnt/backup XFS partition is created).
> 
> Any idea of what I did wrong?
> This was an experiment: I wanted to make sure I was able to do something 
> with Journalized partitions before moving to MDK 9.0 where I am planning 
> to use journalized partitions everywhere.
> 
> Thanks a lot for any hint.

It could be a few things:
  The disk is formatted but no filesystem is created. I've not played
  much with XFS, but on most other filesystems the formatting and
  creation of the actual filesystem are separate steps.

  Your /etc/fstab has an incorrect entry for the mount.

  Your kernel does not support XFS or the module is not loaded. This
  would be unusual unless you've modified your kernel.




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to