Topic: 3TB, GPT, HPA enabled culprit gigabyte [SOLVED]
I started my HTPC as usual, only to be greeted with "movie share" not found. I was suprised, looking at console, it seemed the kernely suddently stopped looking for my HDD.
Manually mounting the HDD
mount -t ext4 /dev/sdg1 /mnt
mount: special device /dev/sdg1 does not exist
fdisk /dev/sdg
Disk /dev/sdg: 3000.6 GB, 3000591900160 bytes, 5860531055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: dos
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdg1 1 4294967295 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.
dmesg | grep sdg
8.035214] sd 8:0:0:0: [sdg] 5860531055 512-byte logical blocks: (3.00 TB/2.72 TiB)
[ 8.035217] sd 8:0:0:0: [sdg] 4096-byte physical blocks
[ 8.035280] sd 8:0:0:0: [sdg] Write Protect is off
[ 8.035282] sd 8:0:0:0: [sdg] Mode Sense: 00 3a 00 00
[ 8.035306] sd 8:0:0:0: [sdg] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 8.090129] sdg:
[ 8.090458] sd 8:0:0:0: [sdg] Attached SCSI disk.
stat /dev/sdg1
stat: cannot stat /dev/sdg1: No such file or directory
Also ran testdisk, tried the analyze, it said all okay, tried rebuilding partition structure. I think maybe that's why it's now complaining about "Error: Can't have a partition outside the disk!"
sudo parted /dev/sdg unit s print
Error: Can't have a partition outside the disk!
Model: ATA ST3000DM001-1CH1 (scsi)
Disk /dev/sdg: 5860531055s
Sector size (logical/physical): 512B/4096B
Partition Table: unknown
Disk Flags:
fdisk -l | less
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes, 1953525168 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 label type: dos
Disk identifier: 0xe81808b3Device Boot Start End Blocks Id System
/dev/sda1 63 1953520064 976760001 83 LinuxDisk /dev/sdb: 4022 MB, 4022337024 bytes, 7856127 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 label type: dos
Disk identifier: 0x43756644Device Boot Start End Blocks Id System
/dev/sdb1 * 0 1077247 538624 0 Empty
/dev/sdb2 4728 68215 31744 ef EFI (FAT-12/16/32)Disk /dev/sdb1: 551 MB, 551550976 bytes, 1077248 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 label type: dos
Disk identifier: 0x43756644Device Boot Start End Blocks Id System
/dev/sdb1p1 * 0 1077247 538624 0 Empty
/dev/sdb1p2 4728 68215 31744 ef EFI (FAT-12/16/32)Disk /dev/sdc: 1500.3 GB, 1500301910016 bytes, 2930277168 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 label type: dos
Disk identifier: 0x31f60035Device Boot Start End Blocks Id System
/dev/sdc1 63 2930272064 1465136001 83 LinuxDisk /dev/sdd: 1000.2 GB, 1000203804160 bytes, 1953523055 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 label type: dos
Disk identifier: 0x00000000Device Boot Start End Blocks Id System
/dev/sdd1 63 1953520064 976760001 83 LinuxDisk /dev/sde: 3000.6 GB, 3000592982016 bytes, 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: dos
Disk identifier: 0x00000000Device Boot Start End Blocks Id System
/dev/sde1 1 4294967295 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.Disk /dev/sdf: 160.0 GB, 160040803840 bytes, 312579695 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 label type: dos
Disk identifier: 0x000c4ba1Device Boot Start End Blocks Id System
/dev/sdf1 2048 293603327 146800640 83 Linux
/dev/sdf2 293603328 312579694 9488183+ 83 LinuxDisk /dev/sdg: 3000.6 GB, 3000591900160 bytes, 5860531055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: dos
Disk identifier: 0x00000000Device Boot Start End Blocks Id System
/dev/sdg1 1 4294967295 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.Disk /dev/mapper/arch_root-image: 1561 MB, 1561329664 bytes, 3049472 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesroot@archiso ~ # stat /dev/sdg1
stat: cannot stat â/dev/sdg1â: No such file or directory
1 root@archiso ~ # stat /dev/sdg1
stat: cannot stat â/dev/sdg1â: No such file or directory
1 root@archiso ~ # stat: cannot stat dev/sdg1 No such file or directory
zsh: correct 'stat:' to 'stat' [nyae]? n
zsh: command not found: stat:
127 root@archiso ~ # sudo fdisk -l | less
/dev/sdc1 63 2930272064 1465136001 83 LinuxDisk /dev/sdd: 1000.2 GB, 1000203804160 bytes, 1953523055 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 label type: dos
Disk identifier: 0x00000000Device Boot Start End Blocks Id System
/dev/sdd1 63 1953520064 976760001 83 LinuxDisk /dev/sde: 3000.6 GB, 3000592982016 bytes, 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: dos
Disk identifier: 0x00000000Device Boot Start End Blocks Id System
/dev/sde1 1 4294967295 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.Disk /dev/sdf: 160.0 GB, 160040803840 bytes, 312579695 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 label type: dos
Disk identifier: 0x000c4ba1Device Boot Start End Blocks Id System
/dev/sdf1 2048 293603327 146800640 83 Linux
/dev/sdf2 293603328 312579694 9488183+ 83 LinuxDisk /dev/sdg: 3000.6 GB, 3000591900160 bytes, 5860531055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: dos
Disk identifier: 0x00000000Device Boot Start End Blocks Id System
/dev/sdg1 1 4294967295 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.Disk /dev/mapper/arch_root-image: 1561 MB, 1561329664 bytes, 3049472 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesLog file is already in use (press RETURN)
dmesg http://bpaste.net/show/142956/
lsblk -f
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
ââsda1 ext4 1TB-D fc268167-056f-4e5b-9e02-74626236a500 /mnt/1
sdb iso9660 ARCH_201308 2013-08-01-08-13-08-00
ââsdb1 iso9660 ARCH_201308 2013-08-01-08-13-08-00 /run/archiso/bootmnt
ââsdb2 vfat ARCHISO_EFI 8567-F798
sdc
ââsdc1 ext4 1.5TB-F 0fba37d8-a29a-4214-a5b7-f725de4bbb4e /mnt/2
sdd
ââsdd1 ext4 1TB-C d5651eb3-6e63-4e27-a13d-a02eb13983c6 /mnt/3
sde
ââsde1 ext4 7d7c8734-b060-4715-a867-3886dddf54e6 /mnt/4
sdf
ââsdf1 ext4 87c51044-75cf-496c-9733-936047c5ec18
ââsdf2 swap 2cfb72c0-4d1e-450c-a807-6875fa094543
sdg
loop0 squashfs /run/archiso/sfs/root-image
loop1 ext4 46e2ebd2-7640-49d1-89e9-a45d6e236fa7
ââarch_root-image ext4 46e2ebd2-7640-49d1-89e9-a45d6e236fa7 /
loop2 ext4 46e2ebd2-7640-49d1-89e9-a45d6e236fa7
ââarch_root-image ext4 46e2ebd2-7640-49d1-89e9-a45d6e236fa7 /
It's a fresh HDD, couple of weeks old, seagate 3TB, partioned with GPT/EXT4. I have over 300GB stored of PERSONAL video files on this HDD.
Please is there away at all to get access to my files? I just want to transfer the files I have on the hdd onto another one.
And perhaps re-partion this HDD. How can a hdd just stop working like this?
Is there a "magical" way i'm suppose to partition a 3TB hdd? My other 3TB works just fine. I'm quite puzzled here gentlemen