LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 01:08 PM   #1
newbeliever
LQ Newbie
 
Registered: Jan 2011
Location: Iowa, United States
Distribution: Slackware
Posts: 21

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, 06:46 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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-06-2015, 11:32 PM   #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, 12:20 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,849

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
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, 07:11 PM   #5
newbeliever
LQ Newbie
 
Registered: Jan 2011
Location: Iowa, United States
Distribution: Slackware
Posts: 21

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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:06 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