[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



Relevant Pages

  • Re: [opensuse] how to fix partition table
    ... I cloned my HD, using clonzilla, to a 1 TB drive however once the OS boots up the partitions aren't correct. ... However, df-h shows, 359 GB, the original disk size prior to cloning; ... Type 'help' to view a list of commands. ... Number Start End Size Type File system Flags ...
    (SuSE)
  • Re: Names of Windows partitions
    ... Also "fdisk -l" gives a usable list of all hard drives (and their partitions). ... I tried these two commands, ... Disk identifier: 0x27f227f1 ...
    (Ubuntu)
  • Re: [opensuse] Large disks in Opensuse 11
    ... Have you tried accessing it with a partitioning program yet? ... And if there are partitions but they're unformatted or ... I usually assume that any off-the-shelf external disk is unusable ... If you don't understand commands like fdisk and mkfs be sure ...
    (SuSE)
  • Re: [opensuse] moving a disk to a different computer.
    ... and very few commands. ... I've never rebuilt the initramfs to fix it, what I've done is just figure out what it is going to be by looking at what the by-id info is on the box I'm moving to or by sticking a live-CD or boot CD in and checking. ... The disk is just a disk and the partitions are just partitions -- you just have to figure out what the system wants to call them:p ...
    (SuSE)
  • LVM on SW RAID for sarge - success
    ... I've just had success migrating Debian Sarge to root on LVM on RAID. ... First make sure the SCSI BIOS boots from the first disk. ... I made reiserfs on all the filesystem partitions and completed the ... The remaining two disks were partitioned and used to create RAID arrays ...
    (Debian-User)