[opensuse] how to fix partition table



Hello,

I cloned my HD, using clonzilla, to a 1 TB drive however once the OS boots up (OpenSuse 11.2) the partitions aren't correct.

For example, Yast shows 624 GB for /dev/sda4;

/dev/sda │931.51 GB│ │ │WDC-WD1002FBYS-0│ │
│ ├──Volume Management ││/dev/sda1 │298.14 GB│ │ │HPFS/NTFS │NTF│
│ ├──Crypt Files ││/dev/sda2 │172.57 MB│ │ │Linux native │Ext│
│ ├──Device Mapper ││/dev/sda3 │ 9.00 GB│ │ │Linux swap │Swa│
│ ├──NFS ││/dev/sda4 │624.20 GB│ │ │Linux native │XFS│

However, df-h shows, 359 GB, the original disk size prior to cloning;

df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/sda4 359G 356G 3.5G 100% /
<snip>

Parted shows;
GNU Parted 1.9.0
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: ATA WDC WD1002FBYS-0 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 32.3kB 320GB 320GB primary ntfs type=07
2 320GB 320GB 181MB primary ext3 boot, type=83
3 320GB 330GB 9665MB primary linux-swap(v1) type=82
4 330GB 1000GB 670GB primary xfs type=83
<snip>


Any suggestion how to fix this? I keep running out of disk space.

Many thanks in advance,

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