[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help! Cannot mount XFS filesystem createt with Ubuntu on Debian



On Wednesday 09 February 2011 17:35:38 Federico Cislaghi wrote:
> Hello everyone,
>
[ snippage ]

> 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

  The part of this that looks weird is that you said you partitioned
the drive, with gparted, but you are apparently attempting to mount
the device, /dev/sda, and not a particular partition, like /dev/sda1
or similar.  Is this really what the Ubuntu system does?  After the
disk is attached to the Debian system, what's in /proc/partitions?


> 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

  This part makes sense to me -- fdisk can't read gparted-style
partition tables.

				-- A.
-- 
Andrew Reid / reidac@bellatlantic.net


Reply to: