LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 08-05-2014, 04:11 AM   #16
Foxhound
LQ Newbie
 
Registered: Jul 2014
Posts: 15

Original Poster
Rep: Reputation: Disabled

Sorry for the long delay before replying. I had to go to the beach and enjoy the sun for some days (yep, I have no saying in that)

Anyway, I have executed both commands you have given me and afterwards rebooted the server.
So, I created the partition again however if I now run my mkfs command I get the following error:
Code:
Invalid argument passed to ext2 library while setting up superblock
That on itself is also weird cause I run this command:
Code:
mkfs -t ext3 /dev/sdb1

This is how my sdb drive looks:

Device Boot Start End Blocks Id System
/dev/sdb1 1 91201 732572001 5 Extended


I did some searching for the error and I find mostly some weird chinese websites which are of no use but I also found this:
http://www.iamlinux.com/2014/06/gett...ing-partition/
I dont understand that though, as I only have one partition as extended only allows one. So how can it not allow more than one if I only have one?


I am really sorry that this just keeps on going and I hope you are still willing to share your knowledge with me about all this. It is truly very much appreciated
 
Old 08-05-2014, 08:43 AM   #17
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 1,822

Rep: Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752
Quote:
Originally Posted by Foxhound View Post
This is how my sdb drive looks:

Device Boot Start End Blocks Id System
/dev/sdb1 1 91201 732572001 5 Extended
An extended (type 5) partition is just a container for logical partitions. That type exists as a way to have more than the 4 allowed primary partitions. You can't use it directly. Using the partitioning tool of your choice, delete the existing partition 1 on that drive and create a Linux (type 83) partition in its place. You can then run mkfs to format a filesystem there. If you use a tool like gparted, it can create the partition and build the filesystem too.
 
Old 08-05-2014, 12:16 PM   #18
Foxhound
LQ Newbie
 
Registered: Jul 2014
Posts: 15

Original Poster
Rep: Reputation: Disabled
Hmm yes, that sounds pretty logical.

I have deleted the partition again, now I need to wait till tomorrow before I can reboot cause this is a live website server so I can only reboot at quiet times, which are really never there but at around 6 in the morning only 500 or so users are online and they can wait a bit
Once I have done the reboot I will make a "p" partition (I did choose extended before). I really hope that it will work than.

I will let you know how it goes! Thanks for all your help, really amazing and very much appreciated.



[edit]
Success! My 2nd harddrive is working again.
Thanks again for all your help!

Last edited by Foxhound; 08-06-2014 at 12:12 AM.
 
  


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
[SOLVED] Harddrive Replaced recover LVM vibes Linux - Software 2 06-04-2011 06:45 AM
Difference between mkfs.vfat and mkfs.msdos? EmrldDrgn Linux - Newbie 6 07-23-2009 03:27 AM
Fedora Core 6 won't recognize second internal harddrive or usb harddrive Rockgod1969 Linux - Hardware 14 01-26-2007 01:03 AM
Installing linux on 2nd harddrive(dual boot) windows on seperate harddrive lysol Linux - Software 25 08-03-2004 09:33 AM
Need to replace full harddrive with new, larger harddrive pearlr Linux - Newbie 1 01-02-2004 12:59 PM


All times are GMT -5. The time now is 08:12 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration