gpt-disk oder -partition unter linux mounten

mit der steigenden größe der datenträger kommt der wechsel vom alten mbr-partitionsschema (“master boot record”) zu zur gpt (“guid partition table”).

als ich vor kurzem eine 4-tb-platte, die einst an einem windows 2003 sbs mit gpt partitioniert wurde, auf einer debian-maschine mounten wollte, stand ich vor dem problem:

server:~# mount -t ntfs-3g -o ro /dev/sdc1 /mnt/ntfs1
NTFS signature is missing.
Failed to mount '/dev/sdc1': Das Argument ist ungültig
The device '/dev/sdc1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?

server:~# mount -t ntfs-3g -o ro /dev/sdc /mnt/ntfs1
NTFS signature is missing.
Failed to mount '/dev/sdc': Das Argument ist ungültig
The device '/dev/sdc' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?

das tool der wahl heißt “gpt fdisk” und kann hier bezogen werden. nach der installation des .deb paketes ging ich wie folgt weiter vor:

server:~# gdisk -l /dev/sdc
GPT fdisk (gdisk) version 0.8.1

Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sdc: 3904708608 sectors, 3.6 TiB
Logical sector size: 1024 bytes
Disk identifier (GUID): 86333A71-E348-4292-9D4B-1A46FC72A679
Partition table holds up to 128 entries
First usable sector is 18, last usable sector is 3904708590
Partitions will be aligned on 8-sector boundaries
Total free space is 989 sectors (989.0 KiB)

Number Start (sector) End (sector) Size Code Name
1 18 131089 128.0 MiB 0C01 Microsoft reserved part
2 131090 3904707601 3.6 TiB 0700 Basic data partition

server:~# mount -t ntfs-3g -o ro /dev/sdc2 /mnt/ntfs1

server:~# mount | grep sdc2
/dev/sdc2 on /mnt/ntfs1 type fuseblk (ro,allow_other,blksize=4096)

This entry was posted in blog: der maschinist and tagged , , , , , , . Bookmark the permalink.

Hinterlasse eine Antwort

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind markiert *

*

Du kannst folgende HTML-Tags benutzen: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">