LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-06-2015, 02:08 PM   #1
newbeliever
LQ Newbie
 
Registered: Jan 2011
Location: Iowa, United States
Distribution: Slackware 32/64 bit
Posts: 18

Rep: Reputation: 0
second hard drive showing first drive / when mounted


On my current system I have drives sda, sdb, sdc; 1TB, 1.5TB, 1.5TB respectively.
SATA drive a is where I installed the OS and the other SATA drives b and c are from an old system that was linux software mirror, something I was using to play and learn. Now I have added b and c to my current system and before doing so I stopped the mirror and removed the partitions. I added the drives to my current system and used cfdisk to create one partition on each and then mounted the new drives. I then run ls and I see bin/....etc. listed in the new drive. Is this normal or when I create the new drive partitions should I use Logical instead of Primary.

Is there a way to get my drives back to non raid that I have missed doing?

Thanks
 
Old 01-06-2015, 07:46 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,834

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
Deleting then creating partition(s) doesn't do anything to the under-lying data - including the RAID meta-data. So when you mount /dev/sd[bc] everything reappears. If you do a mkfs on the partition you created on each of those drives (prior to mounting), you should be ok. Note this will delete all that data, so be sure before you proceed.
 
Old 01-07-2015, 12:32 AM   #3
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Assignment of /dev block devices is done by kernel and or udev. Also mounting the disks is upto you. I can't understand your problem correctly? Please clarify.
 
Old 01-07-2015, 01:20 AM   #4
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,104

Rep: Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267
yes, would be nice to explain:
Quote:
I added the drives to my current system and used cfdisk to create one partition on each and then mounted the new drives. I then run ls and I see bin/....etc
How did you add, what did you make with cfdisk, what can be seen in bin?
How your drives are mounted now?
 
Old 01-11-2015, 08:11 PM   #5
newbeliever
LQ Newbie
 
Registered: Jan 2011
Location: Iowa, United States
Distribution: Slackware 32/64 bit
Posts: 18

Original Poster
Rep: Reputation: 0
Thank you all for posting. I was able to solve my issue as explained below:

Computer #1 I had setup with one drive. Computer #2 I had setup with three drives in raid configuration.
Computer #2 was partitioned as / raid1; /home raid5. One drive failed on this system.
I then decided to add the other two drives to computer #1 and do a fresh install. I disabled the mirror on the two new drives before moving over to new system and then used cfdisk to repartition the drive, but what I actually done was just increase the size of my first partition to consume the entire drive area. According to what I have found and also the previous post by syg00 the data was still there, and what I was seeing was the / of my previous install. That made more sense then.

I then learned alot about drives and switched to gdisk to handle my partitioning do to my new learned info about BIOS and drive geometry.

Thank you.
 
  


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
hard drive not showing lungsucker Linux - General 1 02-27-2006 05:35 PM
External hard drive not showing up? newtwolinux Linux - Newbie 3 05-16-2005 11:49 AM
hard drive not showing h0p3sf411 Mandriva 13 03-15-2004 03:23 PM
Files not showing up in mounted drive JCDenton Linux - Newbie 9 08-02-2003 12:17 AM
20G hard drive only showing up as 4G... BrianK Linux - Hardware 10 01-27-2003 08:14 PM


All times are GMT -5. The time now is 02:40 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration