[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@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 2011-08-13 at 15:27 -0700, James D. Parra wrote:
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,
Did you clone directly to the new drive or create an image which you then restored to the new drive? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2011/08/13 15:27 (GMT-0700) James D. Parra composed:
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.
I'm totally familiar with what Clonezilla can or cannot do.
For example, Yast shows 624 GB for /dev/sda4;
│ ├──NFS ││/dev/sda4 │624.20 GB│ │ │Linux native │XFS│
However, df-h shows, 359 GB, the original disk size prior to cloning;
Exactly what size was the whole original HD?
df -h / Filesystem Size Used Avail Use% Mounted on /dev/sda4 359G 356G 3.5G 100% / <snip>
Parted shows; Disk /dev/sda: 1000GB
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
Any suggestion how to fix this? I keep running out of disk space.
DF reports filesystem size, not partition size. I suspect that Clonezilla only enlarged the partition, and not the filesystem. Were that 4th partition EXT3, it would require a separate resize2fs operation to match the filesystem size to the partition size. Likely something similar is required for XFS. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Felix Miata
-
James D. Parra
-
Mike McMullin