Hello everyone,

I hope you will be able to help me here because it is the first time in in
five years of Debian use that I encounter a problem that I haven't been able
to solve simply by googling it.

So here is the situation: I am upgrading my home server from an old Pentium
II to a more recent architecture with a bigger hard disk. For some strange
reason (I hope I won't regret it), I have used the gparted tool from a
liveUSB Ubuntu 10.10 to create an XFS filesystem occupying all the space on
my new 1TB SATA hard disk. Then I migrated all my files to this new
partition from a 320Gb disk that I recycled as my new system disk. Then I
proceeded to install Debian Squeeze (amd64), which is now running fine on
the machine.
However, the problem is that I haven't managed to mount the XFS filesystem
from Debian!

After I bit of Googling, I feared that this could be related to filesystem
corruption problems, but if I boot back onto the LiveUSB Ubuntu, I can mount
the partition and access the files without problem. I know that Ubuntu is
based on Debian, so if Ubuntu can mount the partition, I'm sure there must
be a way to do it under Debian as well, but I don't know where to look at.

Here is what I tried under Debian, based on the content of /etc/mtab under
Ubuntu:

root@atlantis:~# mount -t xfs -o rw,nosuid,nodev /dev/sda /mnt/multimedia/
mount: /dev/sda: can't read superblock

root@atlantis:~# tail /var/log/messages
Feb  9 23:31:23 atlantis kernel: [ 2290.237187] attempt to access beyond end
of device
Feb  9 23:31:23 atlantis kernel: [ 2290.237194] sda: rw=0, want=1953525168,
limit=1953523055
Feb  9 23:31:23 atlantis kernel: [ 2290.237278] XFS: size check 2 failed

What I find a little bit surprising is the output of fdisk:
root@atlantis:~# fdisk -l /dev/sda
Disk /dev/sda: 1000.2 GB, 1000203804160 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/sda doesn't contain a valid partition table

Do you have any idea on how to proceed?

Reply via email to