Re: Truncated Filesystem

2007-09-28 Thread Alan Cox
On Fri, 28 Sep 2007 20:49:12 -0400 (EDT) Benjamin Carr <[EMAIL PROTECTED]> wrote: > > What kind of partition table is it? MS-DOS partition tables have a 2 TB > > limit. > > Hadn't thought of that, doesn't look good. > -Ben > > sudo fdisk -l /dev/sdc1 > benc's password: That would be on /dev/sd

Re: Truncated Filesystem

2007-09-28 Thread Benjamin Carr
> >> What kind of partition table is it? MS-DOS partition tables have a 2 TB > >> limit. > Issue number one -- don't use fdisk, as it doesn't support devices that > big. Use parted instead: climate:~ benc$ sudo parted /dev/sdc check 1 Warning: Partition 1 is 2005GB, but the file system is 13TB.

Re: Truncated Filesystem

2007-09-28 Thread Joshua Baker-LePain
On Fri, 28 Sep 2007 at 8:49pm, Benjamin Carr wrote What kind of partition table is it? MS-DOS partition tables have a 2 TB limit. Hadn't thought of that, doesn't look good. -Ben sudo fdisk -l /dev/sdc1 benc's password: Issue number one -- don't use fdisk, as it doesn't support devices that

Re: Truncated Filesystem

2007-09-28 Thread Benjamin Carr
> What kind of partition table is it? MS-DOS partition tables have a 2 TB > limit. Hadn't thought of that, doesn't look good. -Ben sudo fdisk -l /dev/sdc1 benc's password: Disk /dev/sdc1: 2004.8 GB, 2004856477184 bytes 255 heads, 63 sectors/track, 243743 cylinders Units = cylinders of 16065 * 5

Re: Truncated Filesystem

2007-09-28 Thread H. Peter Anvin
Benjamin Carr wrote: >>> sudo fdisk -l /dev/sdc1 >> ^ Uh... > > yeah, long day: > > Disk /dev/sdc: 12999.9 GB, 1288871168 bytes > 255 heads, 63 sectors/track, 1580491 cylinders > Units = cylinders of 16065 * 512 = 8225280 bytes > >Device Boot Start En

Re: Truncated Filesystem

2007-09-28 Thread Benjamin Carr
> > sudo fdisk -l /dev/sdc1 > ^ Uh... yeah, long day: Disk /dev/sdc: 12999.9 GB, 1288871168 bytes 255 heads, 63 sectors/track, 1580491 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdc1

Re: Truncated Filesystem

2007-09-28 Thread H. Peter Anvin
Benjamin Carr wrote: >> What kind of partition table is it? MS-DOS partition tables have a 2 TB >> limit. > > Hadn't thought of that, doesn't look good. > -Ben > > sudo fdisk -l /dev/sdc1 ^ Uh... > benc's password: > > Disk /dev/sdc1: 2004.8 GB, 2004856477184 bytes > 255

Re: Truncated Filesystem

2007-09-28 Thread H. Peter Anvin
Eric Sandeen wrote: > Justin Piszcz wrote: >> Including LKML on this one as it may be a partition size limit? Sdc1 is >> not 11TB. >> >> Justin. > > Yup saw the same thing: > > (1957867653*1024)/1024/1024/1024/1024 = 1.82T > > I'm afraid

Re: Truncated Filesystem

2007-09-28 Thread Eric Sandeen
Justin Piszcz wrote: > Including LKML on this one as it may be a partition size limit? Sdc1 is > not 11TB. > > Justin. Yup saw the same thing: (1957867653*1024)/1024/1024/1024/1024 = 1.82T I'm afraid you don't have a truncated filesystem, you have a truncated block de

Re: Truncated Filesystem

2007-09-28 Thread Justin Piszcz
Including LKML on this one as it may be a partition size limit? Sdc1 is not 11TB. Justin. On Fri, 28 Sep 2007, Benjamin Carr wrote: For the second time in two weeks, a system restart has resulted in a truncated filesystem on my server. The server is running 64bit SuSE with a fibrechannel