Re: Large file system oddities

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

 



On Thu, Nov 03, 2005 at 08:03:34PM +0100, Lukas Hejtmanek wrote:
> Hello,
> 
> I use vanilla kernel 2.6.13.4 on Pentium 4 with EM64T extensions in x86_64 mode.
> 
> I have 3.5TB partition formated as XFS.

Looks like you actually ended up with a 1.2TB partition formatted
as XFS on a 3.5TB device...

> Using fdisk I made one big partition accross whole disk:

Why?  Just use /dev/sdc directly, and you'll avoid the 32 bit
problems fdisk (or the default partition table type, I can't
remember which it is now) evidently has.

>    Device Boot      Start         End      Blocks   Id  System
> /dev/sdc1               1       53201  3418696008   83  Linux

> # cat /proc/partitions 
>    8    32 3418704128 sdc
>    8    33 1271212360 sdc1

Yes, there's your problem.

> I made XFS file system on it:
> # mkfs.xfs -f -s size=4096 -d su=65536,sw=7 /dev/sdc1

mkfs.xfs is just using the information that its given from the
kernel, which is the second /proc/partitions line above.

> So what's wrong? Or am I something missing?

Try without the partition, looks like that'll work.

cheers.

-- 
Nathan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux