Re: xfs_check - out of memory | xfs_repair - superblock error reading

Eric Sandeen
2006-09-19T16:07:44Z

christian gattermair wrote:
> hi!
>
> thanks for all your answers
>
>
> parted:
>
> Disk geometry for /dev/sda: 0.000-3147012,000 megabytes
> Disk label type: msdos
> Minor Start End Type Filesystem Flags
> 1 0,031 1049854,423 primary xfs
>
> cat /proc/partitions
>
> 8 0 3222540288 sda
> 8 1 1075050898 sda1

sda1 is only 1 terabyte. sda itself appears to be about 3 terabytes.

I think you need to sort out where your filesystem is living...

Did someone repartition sda?

> Vendor: AMCC Model: 9500S-12 DISK Rev: 2.06
> Type: Direct-Access ANSI SCSI revision: 03
> sda : very big device. try to use READ CAPACITY(16).

Or perhaps this is the 2T lun problem... although you say it was working
before. At any rate this isn't looking like an xfs problem at this
stage - your kernel thinks that your storage is smaller than you think
it is.

-Eric

> SCSI device sda: 6445080576 512-byte hdwr sectors (3299881 MB)
> SCSI device sda: drive cache: write back, no read (daft)
> /dev/scsi/host0/bus0/target0/lun0: p1
> Attached scsi disk sda at scsi0, channel 0, id 0, lun 0