Am Freitag, 31. Oktober 2014, 18:47:52 schrieb David Haller:
Hallo,
Am Fri, 31 Oct 2014, Herbert Albert schrieb:
mein OS 12.2 läuft seit mehr als 3 Jahren auf einer Platte, die laut parted keine Partitionstabelle hat. Ich will sie nun auf eine andre Platte umkopieren (entweder mit partimage oder via tar) und habe da 2 Fragen: a) ist das Filesystem btrfs der OS 12.2 stabil und brächte es Vorteile gegenüber des jetzigen ext4?
Ist IMO noch nicht stabil genug.
b) könnte ich auf die Platte ohne der Partitionstabelle diese nachträglich ohne Datenverlust anlegen? Wenn ja wie?
Zeig mal die Ausgaben von:
fdisk -l /dev/sdX gdisk -l /dev/sdX file -s /dev/sdX
Wenn du tatsächlich das FS direkt auf der Platte angelegt hast, dann MUSS die Zielplatte etwas größer sein als die Quellfestplatte.
Näheres, wenn du obige Details nachgeliefert hast.
-dnh Hallo
ich meine mich zu erinnern, dass ich die Platte damals mit Yast -> parted angelegt habe, die neue habe ich jedenfalls so angelegt. Hier der output: Das Original :~ # fdisk -l /dev/sda Disk /dev/sda: 2000.4 GB, 2000397852160 bytes 255 heads, 63 sectors/track, 243201 cylinders, total 3907027055 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000a25eb Device Boot Start End Blocks Id System /dev/sda1 * 2048 209713151 104855552 83 Linux /dev/sda2 209713152 226484223 8385536 82 Linux swap / Solaris /dev/sda3 226484224 3907027055 1840271416 f W95 Ext'd (LBA) /dev/sda5 226486272 2373974015 1073743872 83 Linux :~ # gdisk -l /dev/sda GPT fdisk (gdisk) version 0.8.2 Partition table scan: MBR: MBR only BSD: not present APM: not present GPT: not present *************************************************************** Found invalid GPT and valid MBR; converting MBR to GPT format. *************************************************************** Disk /dev/sda: 3907027055 sectors, 1.8 TiB Logical sector size: 512 bytes Disk identifier (GUID): 1E317714-F84C-4139-A54A-1900E71CCAA2 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 3907027021 Partitions will be aligned on 2048-sector boundaries Total free space is 1533057068 sectors (731.0 GiB) Number Start (sector) End (sector) Size Code Name 1 2048 209713151 100.0 GiB 8300 Linux filesystem 2 209713152 226484223 8.0 GiB 8200 Linux swap 5 226486272 2373974015 1.0 TiB 8300 Linux filesystem :~ # file -s /dev/sda /dev/sda: x86 boot sector; GRand Unified Bootloader, stage1 version 0x3, LBA flag 0x1, stage2 address 0x2000, stage2 segment 0x200, GRUB version 0.97; partition 1: ID=0x83, active, starthead 32, startsector 2048, 209711104 sectors; partition 2: ID=0x82, starthead 254, startsector 209713152, 16771072 sectors; partition 3: ID=0xf, starthead 254, startsector 226484224, 3680542832 sectors, code offset 0x48 :~ # Der Clone :~ # fdisk -l /dev/sdh Disk /dev/sdh: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0006d2c6 Device Boot Start End Blocks Id System /dev/sdh1 * 2048 209713151 104855552 83 Linux /dev/sdh2 209713152 226484223 8385536 82 Linux swap / Solaris /dev/sdh3 226484224 3907028991 1840272384 f W95 Ext'd (LBA) /dev/sdh5 226486272 3907028991 1840271360 83 Linux :~ # gdisk -l /dev/sdh GPT fdisk (gdisk) version 0.8.2 Partition table scan: MBR: MBR only BSD: not present APM: not present GPT: not present *************************************************************** Found invalid GPT and valid MBR; converting MBR to GPT format. *************************************************************** Disk /dev/sdh: 3907029168 sectors, 1.8 TiB Logical sector size: 512 bytes Disk identifier (GUID): F532E84C-DA65-450E-B164-5628A084DF8B Partition table holds up to 128 entries First usable sector is 34, last usable sector is 3907029134 Partitions will be aligned on 2048-sector boundaries Total free space is 4205 sectors (2.1 MiB) Number Start (sector) End (sector) Size Code Name 1 2048 209713151 100.0 GiB 8300 Linux filesystem 2 209713152 226484223 8.0 GiB 8200 Linux swap 5 226486272 3907028991 1.7 TiB 8300 Linux filesystem :~ # file -s /dev/sdh /dev/sdh: x86 boot sector; partition 1: ID=0x83, active, starthead 32, startsector 2048, 209711104 sectors; partition 2: ID=0x82, starthead 254, startsector 209713152, 16771072 sectors; partition 3: ID=0xf, starthead 254, startsector 226484224, 3680544768 sectors, code offset 0xb8 :~ # -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um den Listen Administrator zu erreichen, schicken Sie eine Mail an: opensuse-de+owner@opensuse.org