LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-11-2013, 07:33 PM   #1
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
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?
 
Old 05-11-2013, 08:09 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,129

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
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.
 
Old 05-12-2013, 11:00 AM   #3
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Original Poster
Rep: Reputation: 110Reputation: 110
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.
 
Old 05-12-2013, 01:03 PM   #4
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
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.
 
Old 05-12-2013, 04:08 PM   #5
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Original Poster
Rep: Reputation: 110Reputation: 110
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.
 
  


Reply

Tags
extended, logical partitions, non-lvm



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
Can I add a logical partition to a filesystem with an LVM? uschxc Linux - General 2 08-15-2012 01:40 AM
[SOLVED] partition table seems to be corrupted .. (physical != logical ) LVM weeb0_tikris Linux - General 1 01-16-2011 11:39 AM
Growing an LVM Partition in Fedora 10 using Logical Volume Manager Lee_Ball Linux - General 1 01-29-2009 08:14 AM
Mounting a logical partition... J_Bone Linux - Newbie 11 08-17-2003 07:35 PM
Mounting mounting extended partition and its Logical drives desbyleo Linux - Newbie 10 02-18-2002 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:40 AM.

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
Open Source Consulting | Domain Registration