LinHES Forums http://forums.linhes.org/ |
|
LVM setup = super-block error http://forums.linhes.org/viewtopic.php?f=17&t=5644 |
Page 1 of 1 |
Author: | ThisPageIntentionallyLeft [ Thu Aug 11, 2005 3:14 pm ] |
Post subject: | LVM setup = super-block error |
Hi there. I followed the wiki's LVM instructions (adding a 300GB drive to the original system), but every reboot stops and gives the following error: Bad magic number while trying to opn /dev/hdb1 ... suggest: e2fsck -b 8193 /dev/hdb1 I ran the recommended fsck command, but it says it can't read it. I searched here for "super-block" and found this post: http://mysettopbox.tv/phpBB2/viewtopic. ... superblock in which Mr. cesman says to ignore the error. Does this also apply to my circumstance? Should I ignore it, or is my case different than Wim's? Thanks much. Peter |
Author: | tjc [ Thu Aug 11, 2005 6:58 pm ] |
Post subject: | |
To create an LVM group over a certain size you need to use bigger blocks. The LVM setup page on the wiki mentions this in passing, and the appropriate man pages provide more detail. I provided a detailed discussion of this not too long ago, and a search should turn that up quickly... Oh what the heck, I'm trapped at the office by an unexpected (to me anyway) rain storm, and in a kindly mood, so you get spoon fed tonight... http://mysettopbox.tv/phpBB2/viewtopic.php?t=5218&start=8 |
Author: | ThisPageIntentionallyLeft [ Thu Aug 11, 2005 7:09 pm ] |
Post subject: | |
Oh, yes, I see. I just used: vgcreate -s 8M vg /dev/hdb1 as directed. Thanks a lot. I'm studying your other post now. |
Author: | ThisPageIntentionallyLeft [ Thu Aug 11, 2005 7:18 pm ] |
Post subject: | |
Well, it appears that if I cp /myth off, follow the undo instructions and repeat the process with this: vgcreate -s 16M vg /dev/hdb1 at the right time, it should be fine. You're saying it is more complex than that? Thanks. |
Author: | cesman [ Thu Aug 11, 2005 10:43 pm ] |
Post subject: | |
It isn't Mr. cesman, just cesman. During the installing, the error can be safely ignored. Installation should have nothing to do with setting up LVM. |
Author: | ThisPageIntentionallyLeft [ Thu Aug 11, 2005 10:58 pm ] |
Post subject: | |
Sorry, wasn't trying to be improper. Thanks for your answer, but I'm not sure I fully understand it. I have completed the process, so I guess I wouldn't call it "during installation". I'm saying this error message is stopping every boot, but allowing me to continue if I select Ctrl-D. Sorry if I wasn't clear about that. If this is OK, because it involves something being worked on, then that's cool. Please clarify for me. Thanks. |
Author: | cesman [ Fri Aug 12, 2005 1:51 am ] |
Post subject: | |
I'm not certain I understand your question/problem. You seem to be starting that you cannot create an LVM partition and that you cannot boot unless you Ctrl+D. I don't understand this at all. Please clarify. If you have a problem booting, then please state with details what that problem is then we can move on to LVM. |
Author: | ThisPageIntentionallyLeft [ Fri Aug 12, 2005 7:48 am ] |
Post subject: | |
As I said, I get this boot up message advising me to run a variant of fsck (e2fsck -b 8193 <device>) because the OS says "Bad magic number in super-block." It also says that I may continue by pressing ctrl-d. Running the variant, it just throws another error saying it can't read it, due to the same issue. Continuing with ctrl-d allows a normal boot, and apparently normal functioning, at least for now. Searching the forum, I found one post in which you told another person not to worry, but that appears to be a different circumstance. This morning, I'm reading and taking notes from this post: http://mysettopbox.tv/phpBB2/viewtopic. ... 18&start=8 |
Author: | cesman [ Fri Aug 12, 2005 8:55 am ] |
Post subject: | |
Boot off the CD and exit the installer. Code: fsck.ext3 /dev/hda1 This of course assumes that you are using /dev/hda1 which is formatted with ext3. of course if you are using SATA, you'd use /dev/sda1.
|
Author: | ThisPageIntentionallyLeft [ Fri Aug 12, 2005 9:02 am ] |
Post subject: | |
Excellent advice. Thank you very much. I'll try that, but then I think I have to take apart what I put together after that since the vgcreate -s 8M vg /dev/hdb1 command was close, but not quite right. I'll be reading all the man pages and newbie sites to come up with the correct command. Thanks again. |
Author: | cesman [ Fri Aug 12, 2005 10:32 am ] |
Post subject: | |
You're welcome. You know all you need to create LVM is to follow the instructions here. |
Author: | ThisPageIntentionallyLeft [ Fri Aug 12, 2005 1:46 pm ] |
Post subject: | |
This page: http://docs.hp.com/en/6054/Limits_wp.htm has a shell script that will calculate the optimum extend size when running HP-UX releases 11.00, 11.11 and 11.23 . Not suprisingly, it doesn't output properly in KnoppMyth (my output was 'cc vgrasize.c -o vgrasize'), but perhaps someone would like to modify it. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |