Mailinglist Archive: opensuse-factory (393 mails)

< Previous Next >
[opensuse-factory] Large file size problem under xen
  • From: "Dr. Gustav Quade" <quade@xxxxxxxxxxx>
  • Date: Sat, 17 Mar 2007 20:04:02 +0100
  • Message-id: <45FC3BA2.8090708@xxxxxxxxxxx>
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

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?

Many thanks in advance

Gustav Quade
IMBIE
Uni Bonn






---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >