I am trying to mount a partition on a GPT disk, but I get the following error:
$ sudo mount -t ext4 /dev/sda1 disk/ mount: special device /dev/sda1 does not exist
Looking at dmesg, I don't see any errors on /dev/sda:
$ dmesg | grep sda [ 1.367508] sd 0:0:0:0: [sda] 5860533168 512-byte logical blocks: (3.00 TB/2.72 TiB) [ 1.367514] sd 0:0:0:0: [sda] 4096-byte physical blocks [ 1.367607] sd 0:0:0:0: [sda] Write Protect is off [ 1.367611] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 1.367654] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 1.367936] sda: [ 1.392417] sd 0:0:0:0: [sda] Attached SCSI disk
fdisk reports the GPT partition:
$ sudo fdisk -l /dev/sda Disk /dev/sda: 3000.6 GB, 3000592982016 bytes 256 heads, 63 sectors/track, 363376 cylinders Units = cylinders of 16128 * 512 = 8257536 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sda1 1 45423 366283322+ ee GPT Partition 1 does not start on physical sector boundary.
$ sudo parted /dev/sda print Error: /dev/sda: unrecognised disk label
kernel seems to have support for EFI (followed this article)
$ cat /boot/config-2.6.32-5-amd64 | grep EFI CONFIG_EFI=y CONFIG_FB_EFI=y CONFIG_EFI_VARS=m CONFIG_CACHEFILES=m # CONFIG_CACHEFILES_DEBUG is not set # CONFIG_CACHEFILES_HISTOGRAM is not set CONFIG_EFI_PARTITION=y
How can I mount this GPT partition?
EDIT: I've just attached the same disk that is failing to another machine and I can see the contents without a hitch. Putting it back to the original box, I am having the same issue.