Mailinglist Archive: opensuse-factory (393 mails)

< Previous Next >
Re: [opensuse-factory] Large file size problem under xen
  • From: Andreas Jaeger <aj@xxxxxxx>
  • Date: Sun, 18 Mar 2007 11:15:18 +0100
  • Message-id: <m3odmqx3gp.fsf@xxxxxxxxxxx>
"Dr. Gustav Quade" <quade@xxxxxxxxxxx> writes:

> Hello,
>
> for an advanced scientific project we use a large server with 64Gbyte
> memory and 10TB disk space. Since some jobs will run for several weeks
> we plan to use virtual machines which can be saved during maintenance
> tasks.
>
> Using kernel 2.6.18.8-0.1-xen x86_64 I can create a several terabytes
> large partition using yast. Using xfs I created a 4.7 terabytes large
> file.
> df -k:
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/sde1 6835799424 4608001068 2227798356 68% /test
>
>
> Fdisk, sfdisk or cfdisk show wrong partition size.
>
> yast:
> /dev/sde │ 6.3 TB│ │Areca-ARC-1280-VOL#04
> /dev/sde1│ 6.3 TB│ │Linux native │/test
>
> fdisk -l /dev/sde
>
> Disk /dev/sde: 6999.9 GB, 6999999774720 bytes
> 255 heads, 63 sectors/track, 851034 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sde1 1 48986 393479629+ 83 Linux

Please file a bug for this in bugzilla, fdisk should show the right
data.

> After "exporting" the disk to DomU the partition can't be mounted.
>
> mount /dev/hdc1 /test
> mount: /dev/hdc1: can't read superblock
>
> fdisk shows the same results as in Dom0
>
> fdisk -l /dev/hdc
>
> Disk /dev/hdc: 6999.9 GB, 6999999774720 bytes
> 255 heads, 63 sectors/track, 851034 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hdc1 1 48986 393479629+ 83 Linux
>
> but yast in DomU is not able to recognize the correct partition size.
>
> /dev/hdc │ 6.3 TB│ │DISK hdc │
> /dev/hdc1│ 375.2 GB│ │Linux native
>
> I have two questions:
>
> 1. why fdisk is not showing the correct partition date?
> 2. is xen forwarding the partition parameters correctly?

Does it work if you are not using Xen? I mean: Can you create such a
file with our default x86-64 kernel?

Andreas
--
Andreas Jaeger, aj@xxxxxxx, http://www.suse.de/~aj/
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
< Previous Next >
References