LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-14-2015, 08:33 AM   #16
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,696

Rep: Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261

I believe the controller that the disk is attached to affects how the disk gets treated.

One problem with the SATA is that is is treated as a regular disk - with the usual restrictions of block addressing...

The SATA to USB conversion doesn't have to follow the same conventions...
I grant, this may not be the problem though. (It is possible the SATA to USB conversion limited the size of the disk to exactly 2TB. Usually, there is a bit more space on a disk than exactly 2TB, which would have invalidated the use of the older partitioning).

One difference is that 2TB is the limit for the older partition table, and GPT is different, and doesn't have the same partition table locations - thus addressing appears different, which would make the blocks within a partition start at a different offset.

And that would make the disk appear empty.

You might check the disk using gdisk.... Not sure it will work, but it has a method of converting an MBR partitioning to GPT - though there is a warning that it can loose data.

Noticed one more item - I'm surprised the disk didn't report a 4k block size...
On the laptop and PC the disk size is reported as 1953514584 1K blocks.
The partitions on the laptop report 131072 and 1953382400 (total 1953513472), which indicates you lost 1112 blocks somewhere (could be some alignment issues there). To me, it looks like the PC is interpreting the partitioning as being GPT, and not MBR (hence the suggestion for gdisk to look)

Last edited by jpollard; 07-14-2015 at 09:05 AM.
 
Old 07-15-2015, 08:28 AM   #17
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 3,021
Blog Entries: 1

Rep: Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640Reputation: 640
Code:
Disk /dev/sdc: 243201 cylinders, 255 heads, 63 sectors/track
sfdisk: Warning: The partition table looks like it was made
  for C/H/S=*/256/63 (instead of 243201/255/63).
For this listing I'll assume that geometry.
Units: cylinders of 8257536 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sdc1          0+ 266305- 266306- 2147483647+  ee  GPT
/dev/sdc2          0       -       0          0    0  Empty
/dev/sdc3          0       -       0          0    0  Empty
/dev/sdc4          0       -       0          0    0  Empty
This looks like you ran partitioning on the partition, not the drive. Or I could be wrong. Otherwise mount the partitions and rsync / cp / ... the files between the drives. You're probably over thinking it.
 
Old 07-15-2015, 09:37 AM   #18
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,696

Rep: Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261
Quote:
Originally Posted by Shadow_7 View Post
Code:
Disk /dev/sdc: 243201 cylinders, 255 heads, 63 sectors/track
sfdisk: Warning: The partition table looks like it was made
  for C/H/S=*/256/63 (instead of 243201/255/63).
For this listing I'll assume that geometry.
Units: cylinders of 8257536 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sdc1          0+ 266305- 266306- 2147483647+  ee  GPT
/dev/sdc2          0       -       0          0    0  Empty
/dev/sdc3          0       -       0          0    0  Empty
/dev/sdc4          0       -       0          0    0  Empty
This looks like you ran partitioning on the partition, not the drive. Or I could be wrong. Otherwise mount the partitions and rsync / cp / ... the files between the drives. You're probably over thinking it.
I believe this is the drive with MBR partitioning... being interpreted as GPT...

And is the same data drive with data showing if connected via the SATA to USB adapter.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard drive mounting woes Average Linux - Newbie 1 07-14-2015 10:23 AM
Help on mounting Hard Disk Drive and CD-ROM drive in Dapper. ussr_1991 Ubuntu 2 08-18-2007 11:33 PM
Hard drive woes, something's borked FliesLikeABrick Linux - Hardware 6 12-09-2005 05:02 PM
hard drive woes FliesLikeABrick Linux - Hardware 3 10-10-2005 02:12 AM
Hard Drive Woes jwchanman Linux - Hardware 11 02-12-2003 12:28 PM


All times are GMT -5. The time now is 06:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration