LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Trouble mounting non-LVM logical partition (https://www.linuxquestions.org/questions/slackware-14/trouble-mounting-non-lvm-logical-partition-4175461580/)

manwichmakesameal 05-11-2013 07:33 PM

Trouble mounting non-LVM logical partition
 
OK, so I decided to do some hardware changes involving the hdd. I got the new install up and going and wanted to restore my /home from the old hdd. Problem is, it has 3 primary partitions and 1 logical partition. Here's my partition table:
Code:

fdisk -l /dev/sdc

Disk /dev/sdc: 250.1 GB, 250059349504 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397167 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: 0x0008be7c

  Device Boot      Start        End      Blocks  Id  System
/dev/sdc1              63    1992059      995998+  82  Linux swap
/dev/sdc2        1992060    2988089      498015  83  Linux
/dev/sdc3        2988090  100647224    48829567+  83  Linux
/dev/sdc4      100647225  488397167  193874971+  5  Extended
/dev/sdc5      100647288  488397167  193874940  83  Linux

I'm trying to mount /dev/sdc5, but all I get is:
Code:

EXT4-fs (sdc5): bad geometry: block count 48468735 exceeds size of device (48468734 blocks)
I've tried mounting the extended partition of /dev/sdc4 too, but get a similar error. Any help?

syg00 05-11-2013 08:09 PM

If you look at the numbers reported, seems the system is now returning the count of 4k blocks - in this case the extended (container) partition. Rounded down of course.

If it were me I'd reboot the old system and resize /dev/sdc5 by a few meg, then do the similar to the extended, but leave it bigger.

manwichmakesameal 05-12-2013 11:00 AM

Well, for anyone reading this thread, I never figured out how to mount the partition. I instead booted into the original install and just rsynced to the new drive.

GazL 05-12-2013 01:03 PM

Quote:

EXT4-fs (sdc5): bad geometry: block count 48468735 exceeds size of device (48468734 blocks)
It's possible that you hit some weird "off by one" bug. I noticed there's been a few ext4 fixes in the kernel changelogs recently.

manwichmakesameal 05-12-2013 04:08 PM

Yeah, the weird thing is, this drive works absolutely fine. I don't get any errors whatsoever when running the install on it. I just replaced it with a ssd+mechanical drive setup.


All times are GMT -5. The time now is 08:49 AM.