Author |
Message |
ThisPageIntentionallyLeft
|
Posted: Thu Aug 11, 2005 3:14 pm |
|
Joined: Fri Jun 24, 2005 3:22 pm
Posts: 124
|
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
_________________ AMD Athlon XP 2800+
MSI K7N2 Delta2 ATX w/FX5200 AGP video
2X256MB PC3200 RAM
Maxtor 250GB drive (master on IDE 1)
Pioneer DVR-109 (master on IDE 2)
Antec Overture II ATX case with 330watts
Hauppauge 250 in PCI slot 2
|
|
Top |
|
|
tjc
|
Posted: Thu Aug 11, 2005 6:58 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
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
|
|
Top |
|
|
ThisPageIntentionallyLeft
|
Posted: Thu Aug 11, 2005 7:09 pm |
|
Joined: Fri Jun 24, 2005 3:22 pm
Posts: 124
|
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.
_________________ AMD Athlon XP 2800+
MSI K7N2 Delta2 ATX w/FX5200 AGP video
2X256MB PC3200 RAM
Maxtor 250GB drive (master on IDE 1)
Pioneer DVR-109 (master on IDE 2)
Antec Overture II ATX case with 330watts
Hauppauge 250 in PCI slot 2
|
|
Top |
|
|
ThisPageIntentionallyLeft
|
Posted: Thu Aug 11, 2005 7:18 pm |
|
Joined: Fri Jun 24, 2005 3:22 pm
Posts: 124
|
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.
_________________ AMD Athlon XP 2800+
MSI K7N2 Delta2 ATX w/FX5200 AGP video
2X256MB PC3200 RAM
Maxtor 250GB drive (master on IDE 1)
Pioneer DVR-109 (master on IDE 2)
Antec Overture II ATX case with 330watts
Hauppauge 250 in PCI slot 2
|
|
Top |
|
|
cesman
|
Posted: Thu Aug 11, 2005 10:43 pm |
|
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location:
Fontana, Ca
|
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.
_________________ cesman
When the source is open, the possibilities are endless!
|
|
Top |
|
|
ThisPageIntentionallyLeft
|
Posted: Thu Aug 11, 2005 10:58 pm |
|
Joined: Fri Jun 24, 2005 3:22 pm
Posts: 124
|
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.
_________________ AMD Athlon XP 2800+
MSI K7N2 Delta2 ATX w/FX5200 AGP video
2X256MB PC3200 RAM
Maxtor 250GB drive (master on IDE 1)
Pioneer DVR-109 (master on IDE 2)
Antec Overture II ATX case with 330watts
Hauppauge 250 in PCI slot 2
|
|
Top |
|
|
cesman
|
Posted: Fri Aug 12, 2005 1:51 am |
|
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location:
Fontana, Ca
|
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.
_________________ cesman
When the source is open, the possibilities are endless!
|
|
Top |
|
|
ThisPageIntentionallyLeft
|
Posted: Fri Aug 12, 2005 7:48 am |
|
Joined: Fri Jun 24, 2005 3:22 pm
Posts: 124
|
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
_________________ AMD Athlon XP 2800+
MSI K7N2 Delta2 ATX w/FX5200 AGP video
2X256MB PC3200 RAM
Maxtor 250GB drive (master on IDE 1)
Pioneer DVR-109 (master on IDE 2)
Antec Overture II ATX case with 330watts
Hauppauge 250 in PCI slot 2
|
|
Top |
|
|
cesman
|
Posted: Fri Aug 12, 2005 8:55 am |
|
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location:
Fontana, Ca
|
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.
_________________ cesman
When the source is open, the possibilities are endless!
|
|
Top |
|
|
ThisPageIntentionallyLeft
|
Posted: Fri Aug 12, 2005 9:02 am |
|
Joined: Fri Jun 24, 2005 3:22 pm
Posts: 124
|
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.
_________________ AMD Athlon XP 2800+
MSI K7N2 Delta2 ATX w/FX5200 AGP video
2X256MB PC3200 RAM
Maxtor 250GB drive (master on IDE 1)
Pioneer DVR-109 (master on IDE 2)
Antec Overture II ATX case with 330watts
Hauppauge 250 in PCI slot 2
|
|
Top |
|
|
cesman
|
Posted: Fri Aug 12, 2005 10:32 am |
|
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location:
Fontana, Ca
|
You're welcome. You know all you need to create LVM is to follow the instructions here.
_________________ cesman
When the source is open, the possibilities are endless!
|
|
Top |
|
|
ThisPageIntentionallyLeft
|
Posted: Fri Aug 12, 2005 1:46 pm |
|
Joined: Fri Jun 24, 2005 3:22 pm
Posts: 124
|
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.
_________________ AMD Athlon XP 2800+
MSI K7N2 Delta2 ATX w/FX5200 AGP video
2X256MB PC3200 RAM
Maxtor 250GB drive (master on IDE 1)
Pioneer DVR-109 (master on IDE 2)
Antec Overture II ATX case with 330watts
Hauppauge 250 in PCI slot 2
|
|
Top |
|
|